/* ============================================
   DESIGN SYSTEM — Psicomaternar (Eliete Vale)
   Variáveis CSS centralizadas para fácil customização
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* ── Cores Principais da Logo ── */
  --color-primary: #B68C81; /* Cor da Logo (Rosa Antigo / Dusty Rose) */
  --color-primary-dark: #8A645A; /* Tom mais escuro e sóbrio para textos curtos/ícones */
  --color-primary-light: #edcfe3; /* Fundo suave análogo */
  --color-accent: #821938; /* Bordô (Bordeaux) elegante */
  --color-accent-light: #A84260;

  /* ── Backgrounds ── */
  --color-bg: #FAF5F4; /* Fundo principal (quase branco, com toque quente) */
  --color-bg-alt: #FFFFFF; /* Fundo alternativo */
  --color-bg-dark: #8A645A;
  --color-bg-card: rgba(255, 255, 255, 0.7);
  --color-bg-hero-gradient: linear-gradient(135deg, #FFF9F8 0%, #F5EAE7 30%, #FFF9F8 100%);

  /* ── Textos ── */
  --color-text: #4A3C39; /* Marrom acinzentado bem escuro (suave aos olhos) */
  --color-text-light: #8C7A75;
  --color-text-inverse: #FFFFFF;
  --color-text-heading: #362926;

  /* ── Bordas & Sombras ── */
  --color-border: rgba(182, 140, 129, 0.2);
  --color-border-light: rgba(182, 140, 129, 0.1);
  --shadow-sm: 0 2px 8px rgba(74, 60, 57, 0.05);
  --shadow-md: 0 4px 20px rgba(74, 60, 57, 0.08);
  --shadow-lg: 0 8px 40px rgba(74, 60, 57, 0.12);
  --shadow-card: 0 4px 24px rgba(182, 140, 129, 0.15);
  --shadow-card-hover: 0 8px 40px rgba(182, 140, 129, 0.25);

  /* ── Tipografia ── */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', 'Segoe UI', Tahoma, sans-serif;

  --fs-hero-title: clamp(2.4rem, 5vw, 4rem);
  --fs-section-title: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-card-title: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.1rem);
  --fs-body-sm: clamp(0.85rem, 1vw, 0.95rem);
  --fs-label: 0.8rem;
  --fs-nav: 0.95rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-heading: 1.25;
  --lh-body: 1.7;
  --ls-heading: -0.02em;
  --ls-body: 0.01em;
  --ls-label: 0.08em;

  /* ── Espaçamento ── */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --section-padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  --container-max: 1200px;
  --container-narrow: 800px;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;

  /* ── Transições ── */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── WhatsApp ── */
  --whatsapp-color: #25D366;
  --whatsapp-hover: #1EBE57;
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--color-text-heading);
}

/* ============================================
   DECORAÇÕES — Partículas de areia + Borboleta
   ============================================ */

/* ── Partículas de Areia (sand dust — falling) ── */
.hero::after,
.sobre::after,
.servicos::after,
.metodologia::after,
.espaco::after,
.faq::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    /* Camada rápida (tile 150px de altura) */
    radial-gradient(circle 1.5px, var(--color-primary) 100%, transparent 100%),
    radial-gradient(circle 1px, var(--color-accent) 100%, transparent 100%),
    radial-gradient(circle 2px, var(--color-primary-light) 100%, transparent 100%),
    radial-gradient(circle 1.5px, var(--color-primary-dark) 100%, transparent 100%),
    /* Camada média (tile 200px de altura) */
    radial-gradient(circle 1px, var(--color-primary) 100%, transparent 100%),
    radial-gradient(circle 2px, var(--color-accent) 100%, transparent 100%),
    radial-gradient(circle 1.5px, var(--color-primary-light) 100%, transparent 100%),
    radial-gradient(circle 1px, var(--color-primary-dark) 100%, transparent 100%),
    /* Camada lenta (tile 300px de altura) */
    radial-gradient(circle 2px, var(--color-primary) 100%, transparent 100%),
    radial-gradient(circle 1.5px, var(--color-accent) 100%, transparent 100%),
    radial-gradient(circle 1px, var(--color-primary-light) 100%, transparent 100%),
    radial-gradient(circle 2px, var(--color-primary-dark) 100%, transparent 100%);
  background-size:
    290px 600px,
    390px 600px,
    510px 600px,
    630px 600px,
    330px 600px,
    480px 600px,
    660px 600px,
    750px 600px,
    420px 1200px,
    600px 1200px,
    780px 1200px,
    930px 1200px;
  background-repeat: repeat;
  opacity: 0.25;
  animation: sandFall 24s linear infinite;
}

/* Offset para cada seção começar em fase diferente */
.sobre::after       { animation-delay: -3s; }
.servicos::after    { animation-delay: -7s; }
.metodologia::after { animation-delay: -11s; }
.espaco::after      { animation-delay: -5s; }
.faq::after         { animation-delay: -14s; }

@keyframes sandFall {
  from {
    background-position:
      20px 0px, 60px 40px, 30px 80px, 90px 120px,
      50px 0px, 10px 70px, 70px 140px, 40px 50px,
      80px 0px, 15px 100px, 55px 200px, 35px 150px;
  }
  to {
    background-position:
      20px 1200px, 60px 1240px, 30px 1280px, 90px 1320px,
      50px 1200px, 10px 1270px, 70px 1340px, 40px 1250px,
      80px 1200px, 15px 1300px, 55px 1400px, 35px 1350px;
  }
}

/* ── Borboleta marca d'água (Hero) ── */
.deco-butterfly-watermark {
  position: absolute;
  bottom: 5%;
  right: 3%;
  width: clamp(180px, 20vw, 300px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(20%);
  animation: butterflyFloat 16s ease-in-out infinite;
}

@keyframes butterflyFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-8px, 5px) rotate(-2deg); }
  66% { transform: translate(5px, -8px) rotate(1.5deg); }
}

/* ── Ampulheta decorativa (Metodologia) ── */
.deco-ampulheta {
  position: absolute;
  top: 15%;
  right: 5%;
  width: clamp(100px, 12vw, 150px);
  opacity: 0.12;
  top: 10%;
  right: 2%;
  width: clamp(80px, 10vw, 130px);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(20%);
  animation: butterflyFloat 18s ease-in-out infinite;
  transform: rotate(15deg);
  animation: ampulhetaFloat 18s ease-in-out infinite;
}

@keyframes ampulhetaFloat {
  0%, 100% { transform: rotate(15deg) translate(0, 0); }
  50% { transform: rotate(18deg) translate(-4px, 6px); }
}

/* ── Borboleta divisor (entre seções) ── */
.section-divider-butterfly {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-md) 0;
  position: relative;
  background: var(--color-bg-alt);
}

.section-divider-butterfly::before,
.section-divider-butterfly::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to var(--dir, right),
    transparent,
    var(--color-primary) 50%,
    transparent
  );
  max-width: 200px;
  opacity: 0.3;
}

.section-divider-butterfly::before { --dir: right; }
.section-divider-butterfly::after  { --dir: left; }

.section-divider-butterfly img {
  width: 50px;
  height: auto;
  opacity: 0.4;
  margin: 0 var(--space-md);
  filter: grayscale(10%);
  animation: butterflyPulse 4s ease-in-out infinite;
}

@keyframes butterflyPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.05); }
}

/* Separador decorativo entre seções */
.section-divider {
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0;
  overflow: hidden;
}

/* CTA banner container */
.cta-banner {
  position: relative;
  overflow: hidden;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-size: var(--fs-section-title);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -2;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  color: var(--color-text-inverse);
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
}

.btn--primary::before {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.btn--primary::after {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn--primary:hover {
  color: var(--color-text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 163, 115, 0.5);
  border: var(--color-accent);
}

.btn--whatsapp {
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp::before {
  background: linear-gradient(135deg, var(--whatsapp-color) 0%, var(--whatsapp-hover) 100%);
}

.btn--whatsapp::after {
  background: linear-gradient(135deg, var(--whatsapp-hover) 0%, #17a34a 100%);
}

.btn--whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

/* ============================================
   HEADER / LOGO
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
  transition: padding var(--transition-base), box-shadow var(--transition-base);
}

.header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-cta {
  margin-left: auto;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.header__logo img {
  height: 60px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: height var(--transition-base);
}

.header.scrolled .header__logo img {
  height: 40px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--color-bg-hero-gradient);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 163, 115, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  padding: var(--space-xl) 0;
}

.hero__greeting {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: var(--color-primary);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__title {
  font-size: var(--fs-hero-title);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero__title span {
  color: var(--color-accent);
  display: block;
}

.hero__text {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeInRight 1s ease 0.5s forwards;
}

.hero__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 80%;
  height: auto;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   IDENTIFICAÇÃO — "Você se reconhece?"
   ============================================ */
.identificacao {
  background: var(--color-bg-alt);
  padding: var(--section-padding);
}

.identificacao__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  max-width: 900px;
  margin: var(--space-lg) auto 0;
}

.identificacao__item {
  text-align: center;
  background: var(--color-bg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.identificacao__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.identificacao__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.identificacao__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.identificacao__cta-text {
  font-style: italic;
}

/* ============================================
   SOBRE MIM
   ============================================ */
.sobre {
  background: var(--color-bg-alt);
  padding: var(--section-padding);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
  text-align: left;
}

.sobre__image-col {
  position: relative;
}

.sobre__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre__credentials {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sobre__credential {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-body-sm);
  color: var(--color-text-light);
}

.sobre__credential-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  flex-shrink: 0;
}

.sobre__content {
  padding-top: var(--space-sm);
}

.sobre__quote {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--color-primary-dark);
  line-height: 1.6;
  text-align: center;
  margin-bottom: var(--space-sm);
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
}

.sobre__quote::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--color-bg);
}

.sobre__text {
  margin-bottom: var(--space-md);
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================================
   SERVIÇOS (Como te ajudo)
   ============================================ */
.servicos {
  background: var(--color-bg);
  padding: var(--section-padding);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.servico-card {
  background: var(--color-bg-alt);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent);
}

.servico-card:hover .servico-card__title {
  color: var(--color-accent);
}

.servico-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.servico-card__title {
  font-size: var(--fs-card-title);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary-light);
}

.servico-card__text {
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================================
   METODOLOGIA (Como funciona)
   ============================================ */
.metodologia {
  background: var(--color-bg-alt);
  padding: var(--section-padding);
}

.metodologia__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.metodo-card {
  position: relative;
  padding: var(--space-xl) var(--space-md) var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  text-align: left;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.metodo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Compensate the arrow so it doesn't move up when the card moves up */
@media (min-width: 993px) {
  .metodo-card:hover::after {
    transform: translateY(calc(-50% + 5px));
  }
}

.metodo-card__step {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-accent);
  padding-bottom: 2px;
  opacity: 1;
}

@media (min-width: 993px) {
  .metodo-card:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    top: 50%;
    right: -32px;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    opacity: 0.5;
  }
}

.metodo-card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-heading);
}

.metodo-card__text {
  font-size: var(--fs-body-sm);
  color: var(--color-text-light);
}

/* ============================================
   ESPAÇO (Onde atendo)
   ============================================ */
.espaco {
  background: var(--color-bg);
  padding: var(--section-padding);
}

.espaco__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.espaco__img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.espaco__img-frame:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.espaco__img-frame img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* ============================================
   FAQ (Dúvidas Frequentes)
   ============================================ */
.faq {
  background: var(--color-bg);
  padding: var(--section-padding);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq__item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-heading);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq__answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================
   CTA FINAL E CONTATO
   ============================================ */
.contato {
  background: var(--color-bg);
  color: var(--color-text);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contato .section-title {
  color: var(--color-text-heading);
}

.contato .section-label {
  color: var(--color-primary);
}

.contato .section-subtitle,
.contato p {
  color: var(--color-text-light);
}

/* Gradient for CTA FECHAMENTO */
#cta-fechamento {
  background: 
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(150deg, var(--color-accent) 0%, var(--color-primary-dark) 80%);
  background-size: 20px 20px, 100% 100%;
}

.contato__info-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.contato__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.1rem;
  color: var(--color-text);
  background: var(--color-bg-alt);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  color: white;
}

.cta-banner__title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.cta-banner__button {
  margin-top: var(--space-lg);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__logo img {
  height: 60px;
  width: auto;
  border-radius: var(--radius-sm);
  filter: brightness(2.5); /* Aumenta o brilho para destacar no fundo escuro */
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
}

.footer__brand-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__col-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-inverse);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer__link:hover {
  color: white;
}

.footer__bottom {
  max-width: var(--container-max);
  margin: var(--space-xl) auto 0;
  padding: var(--space-md) clamp(1.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  color: var(--color-text-light);
  width: 20px;
  height: 20px;
}

.footer__social-link:hover {
  color: var(--color-primary);
}


/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-spring);
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-5px) scale(1.05);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 35px;
  height: 35px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 992px) {
  .header-cta {
    display: none;
  }

  .header {
    justify-content: center;
  }

  .header__logo {
    position: static;
    transform: none;
  }

  .metodologia__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos__grid {
    grid-template-columns: 1fr;
  }

  .hero__inner,
  .sobre__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__image,
  .sobre__image-col {
    order: -1;
  }

  .hero__cta {
    justify-content: center;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__logo {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 576px) {
  .metodologia__grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}

