/* ============================================================
   Eduardo de Camargo — Psicólogo Clínico & Psicanalista
   CSS Principal | Digital Bloom
   ============================================================ */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; }

:root {
  /* Paleta */
  --cream:      #F8F4EE;
  --off-white:  #FDFAF6;
  --sand:       #EDE5D8;
  --sand-dark:  #D9CEBC;
  --brown-soft: #8C7B6A;
  --brown-mid:  #6B5A4A;
  --brown-deep: #3E2E22;
  --sage:       #7A8C7E;
  --sage-light: #A8B8AB;
  --text-main:  #2C2218;
  --text-body:  #5C4E42;
  --text-muted: #9A8E84;
  --white:      #FFFFFF;
  --line:       rgba(140,123,106,0.18);

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', system-ui, sans-serif;

  /* Espaço */
  --section-py: 96px;
  --section-px: 24px;
  --max-w:      1120px;

  /* Sombras */
  --shadow-sm:  0 2px 12px rgba(62,46,34,0.07);
  --shadow-md:  0 6px 32px rgba(62,46,34,0.10);
  --shadow-lg:  0 16px 56px rgba(62,46,34,0.12);

  /* Transições */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Utilitários ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 620px;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--brown-soft);
  margin: 24px 0;
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--brown-deep);
  color: var(--off-white);
  border: 1.5px solid var(--brown-deep);
}
.btn-primary:hover {
  background: var(--brown-mid);
  border-color: var(--brown-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brown-deep);
  border: 1.5px solid var(--brown-deep);
}
.btn-outline:hover {
  background: var(--brown-deep);
  color: var(--off-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--brown-deep);
  border: 1.5px solid var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: 1.5px solid #25D366;
}
.btn-whatsapp:hover {
  background: #1EB85A;
  border-color: #1EB85A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.25);
}

.btn svg { flex-shrink: 0; }

/* ── Header ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.38s var(--ease), box-shadow 0.38s var(--ease), padding 0.3s;
  padding: 20px 0;
}

#header.scrolled {
  background: rgba(253,250,246,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: color 0.25s;
}
.logo-crp {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brown-soft);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-body);
  text-transform: uppercase;
  position: relative;
  transition: color 0.22s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--brown-soft);
  transition: width 0.28s var(--ease);
}
.nav a:hover { color: var(--brown-deep); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.header-cta { margin-left: 8px; }

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.28s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--off-white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: 0.02em;
}
.mobile-nav-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 2rem;
  color: var(--text-body);
  cursor: pointer;
  line-height: 1;
}
.mobile-nav-footer {
  position: absolute;
  bottom: 40px;
  text-align: center;
}
.mobile-nav-footer .btn,
.mobile-nav-footer a.btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--off-white) !important;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(168,184,171,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(140,123,106,0.10) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-soft);
  border: 1px solid var(--sand-dark);
  border-radius: 100px;
  padding: 5px 14px;
  background: var(--off-white);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--brown-mid);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-location-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-location-item svg { color: var(--brown-soft); flex-shrink: 0; }

/* Hero imagem */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  top: 24px; right: -24px;
  width: 100%; height: 100%;
  border: 1px solid var(--sand-dark);
  border-radius: 4px;
  z-index: 0;
  pointer-events: none;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(8%) contrast(1.03);
}
.hero-img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--sand);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brown-soft);
}
.hero-img-placeholder svg { opacity: 0.4; }
.hero-img-placeholder span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }

.hero-card {
  position: absolute;
  bottom: 32px; left: -32px;
  z-index: 2;
  background: var(--white);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
}
.hero-card-stat {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--brown-mid);
  line-height: 1;
}
.hero-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ── SOBRE ── */
#sobre {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-img-col { display: flex; align-items: center; justify-content: center; }

.sobre-img-col { position: relative; }

.sobre-img-frame {
  position: relative;
  max-width: 420px;
}
.sobre-img-frame::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 60%; height: 60%;
  background: var(--sand);
  border-radius: 4px;
  z-index: 0;
}
.sobre-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.sobre-photo-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-soft);
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.credential-item:first-child { border-top: 1px solid var(--line); }
.credential-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown-soft);
}
.credential-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}
.credential-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sobre-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 18px;
}
.sobre-text p:last-of-type { margin-bottom: 0; }

/* ── PARA QUEM ── */
#para-quem {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.para-quem-header { text-align: center; margin-bottom: 64px; }
.para-quem-header .divider { margin: 24px auto; }
.para-quem-header .section-subtitle { margin: 0 auto; }

.temas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tema-card {
  flex: 0 0 196px;
  background: var(--off-white);
  border: 1px solid var(--sand-dark);
  border-radius: 8px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s var(--ease);
  cursor: default;
}
.tema-card:hover {
  background: var(--white);
  border-color: var(--brown-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.tema-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown-soft);
  font-size: 14px;
}
.tema-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
}

/* ── PROCESSO ── */
#processo {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.processo-header { margin-bottom: 72px; }

.etapas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.etapas-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(to right, transparent, var(--sand-dark) 20%, var(--sand-dark) 80%, transparent);
  z-index: 0;
}

.etapa-item {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

.etapa-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.etapa-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.etapa-item:hover .etapa-num {
  background: var(--brown-deep);
  border-color: var(--brown-deep);
}
.etapa-num-digit {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brown-mid);
  line-height: 1;
  transition: color 0.3s;
}
.etapa-item:hover .etapa-num-digit { color: var(--cream); }

.etapa-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}
.etapa-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── DIFERENCIAIS ── */
#diferenciais {
  padding: var(--section-py) 0;
  background: var(--brown-deep);
  position: relative;
  overflow: hidden;
}
#diferenciais::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
#diferenciais::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

.diferenciais-header { margin-bottom: 64px; position: relative; z-index: 1; }
.diferenciais-header .section-label { color: var(--sage-light); }
.diferenciais-header .section-title { color: var(--cream); }
.diferenciais-header .divider { background: var(--sage); }
.diferenciais-header .section-subtitle { color: rgba(255,255,255,0.65); }

.diferenciais-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.diferencial-card {
  flex: 0 0 calc(33.333% - 16px);
}

.diferencial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
}
.diferencial-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-4px);
}
.diferencial-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(168,184,171,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-light);
  margin-bottom: 20px;
}
.diferencial-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.3;
}
.diferencial-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
}

/* ── CLÍNICA ── */
#clinica {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.clinica-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.clinica-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.clinica-photos .photo-main {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.clinica-photos .photo-sub {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}
.photo-placeholder {
  background: var(--sand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 8px;
}

.clinica-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 18px;
}

.clinica-address {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 3px solid var(--brown-soft);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.clinica-address svg { color: var(--brown-soft); flex-shrink: 0; margin-top: 2px; }
.clinica-address-text { font-size: 0.9rem; color: var(--text-body); line-height: 1.65; }
.clinica-address-text strong { color: var(--text-main); font-weight: 600; display: block; margin-bottom: 2px; }

/* ── CTA INTERMEDIÁRIA ── */
#cta-mid {
  padding: 80px 0;
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-mid-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-mid-text .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-mid-text p {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  max-width: 520px;
}
.cta-mid-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ── DEPOIMENTOS ── */
#depoimentos {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.depoimentos-header { margin-bottom: 56px; }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.depoimento-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.3s var(--ease);
}
.depoimento-card:hover { box-shadow: var(--shadow-md); }

.depoimento-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #C9A96E;
}
.depoimento-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 24px;
}
.depoimento-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--brown-soft);
  flex-shrink: 0;
}
.author-name { font-size: 0.875rem; font-weight: 600; color: var(--text-main); }
.author-detail { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

/* ── FAQ ── */
#faq {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faq-col-left .section-subtitle { margin-top: 16px; }

.faq-list { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.22s;
  user-select: none;
}
.faq-question:hover { color: var(--brown-mid); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.28s var(--ease);
  color: var(--brown-soft);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brown-deep); border-color: var(--brown-deep); color: var(--cream); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease), padding 0.3s;
}
.faq-answer-inner {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  padding-bottom: 22px;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── CTA FINAL ── */
#cta-final {
  padding: var(--section-py) 0;
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-final::before {
  content: '"';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 28rem;
  color: var(--sand);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.cta-final-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-final-inner .section-title { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 20px; }
.cta-final-inner p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta-final-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FORMULÁRIO ── */
#contato {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contato-info .section-subtitle { margin-top: 16px; }

.contact-items { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown-soft);
}
.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-item-text span, .contact-item-text a {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 400;
  transition: color 0.22s;
}
.contact-item-text a:hover { color: var(--brown-mid); }

/* Form */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--sand-dark);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-main);
  background: var(--off-white);
  transition: border-color 0.22s, box-shadow 0.22s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brown-mid);
  box-shadow: 0 0 0 3px rgba(107,90,74,0.08);
  background: var(--white);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #C0392B;
}
.form-error-msg {
  font-size: 0.78rem;
  color: #C0392B;
  margin-top: 5px;
  display: none;
}
.form-error-msg.visible { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--brown-deep);
  color: var(--off-white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--brown-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-submit:disabled { opacity: 0.65; transform: none; cursor: not-allowed; }
.btn-submit.loading { pointer-events: none; }

/* ── RODAPÉ ── */
#footer {
  background: var(--text-main);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer-crp {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  border-color: var(--brown-soft);
  color: var(--cream);
  background: rgba(255,255,255,0.06);
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  transition: color 0.22s;
}
.footer-links a:hover { color: var(--cream); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-item svg { color: var(--brown-soft); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span {
  font-size: 0.845rem;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  line-height: 1.55;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.30);
}
.footer-bottom a { color: rgba(255,255,255,0.50); transition: color 0.22s; }
.footer-bottom a:hover { color: var(--cream); }

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 998;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.40);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  color: white;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 36px rgba(37,211,102,0.50);
}
.whatsapp-fab-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* ── Animações on-scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  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; }

/* ── RESPONSIVIDADE ── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid .hero-visual { order: -1; margin-top: 80px; }
  .sobre-grid,
  .contato-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero-visual { display: flex; justify-content: center; }
  .hero-img-wrap { max-width: 320px; width: 100%; }

  .etapas-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .etapas-grid::before { display: none; }

  .diferencial-card { flex: 0 0 calc(50% - 12px); }

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

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --section-px: 20px;
  }

  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  #hero { padding-top: 64px; min-height: auto; padding-bottom: 64px; }
  .hero-title { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .temas-grid { justify-content: center; }
  .tema-card { flex: 0 0 calc(50% - 6px); }

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

  .diferencial-card { flex: 0 0 100%; }

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

  .cta-mid-inner { flex-direction: column; text-align: center; }
  .cta-mid-actions { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }

  .cta-mid-actions .btn { flex: 1; justify-content: center; min-width: 0; }

  .sobre-grid { grid-template-columns: 1fr; gap: 36px; }
  .sobre-img-col { display: flex; justify-content: center; }
  .sobre-img-frame { max-width: 320px; width: 100%; }
  .sobre-img-frame::after { display: none; }
  .hero-img-wrap::before { display: none; }
}

@media (max-width: 480px) {
  .temas-grid { justify-content: center; }
  .tema-card { flex: 0 0 100%; }
  .hero-badge-row { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
