/* =====================================================================
   DRA. CÁSSIA RIBEIRO — Ortodontista
   Folha de estilos principal
   Paleta da marca: branco / dourado / marinho
   Fontes: BOOWIE (display), Welliams (assinatura), Jost (corpo)
   ===================================================================== */

/* ---------- Fontes próprias da marca ---------- */
@font-face {
  font-family: "Boowie";
  src: url("assets/fonts/boowie.woff2") format("woff2"),
       url("assets/fonts/boowie.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Welliams";
  src: url("assets/fonts/welliams.woff2") format("woff2"),
       url("assets/fonts/welliams.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variáveis (edite cores aqui) ---------- */
:root {
  --white:       #ffffff;
  --cream:       #f6f3ee;   /* fundo claro das seções */
  --cream-2:     #efeae1;
  --gold:        #c39d6d;
  --gold-light:  #ffe7b8;
  --gold-deep:   #a07f53;
  --navy:        #0a0d1d;
  --navy-2:      #1c1e3f;
  --ink:         #20242f;   /* texto sobre fundo claro */
  --muted:       #6c6f7a;   /* texto secundário */

  --font-display: "Boowie", "Cormorant Garamond", serif;
  --font-script:  "Welliams", cursive;
  --font-body:    "Jost", -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --radius: 16px;
  --shadow: 0 24px 60px -22px rgba(10, 13, 29, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
.nowrap { white-space: nowrap; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy);
  max-width: 16ch;
}
.section-title.light { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(195, 157, 109, 0.7);
}
.btn-gold:hover { box-shadow: 0 20px 40px -12px rgba(195, 157, 109, 0.85); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 231, 184, 0.5);
}
.btn-outline:hover { border-color: var(--gold-light); background: rgba(255, 231, 184, 0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-2); box-shadow: var(--shadow); }

.btn-lg { padding: 18px 42px; font-size: 0.95rem; }
.ic-wa { width: 20px; height: 20px; fill: currentColor; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(10, 13, 29, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold-light);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 11px 24px; }

/* Botão hambúrguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding-top: 120px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 35%, rgba(195, 157, 109, 0.34) 0%, rgba(195, 157, 109, 0) 55%),
    radial-gradient(80% 70% at 90% 80%, rgba(255, 231, 184, 0.18) 0%, rgba(255, 231, 184, 0) 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy) 100%);
}
.hero-bg::after { /* textura sutil */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.hero-vertical {
  position: absolute;
  right: clamp(-8px, 1vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8.5rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(195, 157, 109, 0.28);
  text-stroke: 1px rgba(195, 157, 109, 0.28);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.hero-logo { width: clamp(190px, 18vw, 250px); margin-bottom: 30px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.14;
  color: var(--white);
  letter-spacing: 0.005em;
  margin-bottom: 0;
}
.hero-title .gold-word {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 24px;
}
.hero-divider::before {
  content: "";
  width: 64px;
  height: 1px;
  background: var(--gold);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.hero-local {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-local .ic { width: 18px; height: 18px; fill: var(--gold-light); }

.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
}
/* Quando a foto do hero ainda não foi enviada: texto ocupa a largura, sem espaço vazio */
.hero-inner.no-hero-photo { grid-template-columns: 1fr; }
.hero-inner.no-hero-photo .hero-figure { display: none; }
.hero-inner.no-hero-photo .hero-content { max-width: 760px; padding: 20px 0 40px; }
.hero-figure::before { /* halo dourado atrás da silhueta */
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 115%;
  height: 92%;
  background: radial-gradient(closest-side, rgba(255, 231, 184, 0.5) 0%, rgba(195, 157, 109, 0.18) 45%, transparent 72%);
  filter: blur(6px);
  z-index: -1;
}
.hero-figure img {
  width: clamp(280px, 34vw, 460px);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  /* esmaece laterais e base para nunca aparecer linha reta de recorte */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, #000 0, #000 70%, transparent 99%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, #000 0, #000 70%, transparent 99%);
  mask-composite: intersect;
}

/* =====================================================================
   SOBRE
   ===================================================================== */
.sobre { background: var(--cream); }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sobre-media { position: relative; }
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.sobre-media::before { /* moldura dourada deslocada */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.sobre-seal {
  position: absolute;
  right: -14px; bottom: -14px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.2;
  box-shadow: var(--shadow);
}
.sobre-seal strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--white);
}
.sobre-text p { color: var(--muted); margin-bottom: 16px; max-width: 56ch; }
.sobre-text .sobre-extra {
  font-style: italic;
  color: var(--gold-deep);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin: 24px 0 30px;
}

/* Esconde elegantemente figuras opcionais sem imagem */
.img-missing { display: none; }
/* Quando a foto "Sobre" ainda não foi enviada: recolhe a coluna e centraliza o texto */
.sobre-media.has-no-photo { display: none; }
.sobre-grid.single { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; text-align: center; }
.sobre-grid.single .section-title { max-width: none; margin-inline: auto; }
.sobre-grid.single .sobre-text p,
.sobre-grid.single .sobre-text .sobre-extra { margin-inline: auto; }
.sobre-grid.single .sobre-text .sobre-extra { border-left: 0; padding-left: 0; }
/* Diferenciais sem foto: a lista ocupa a largura total */
.dif-grid.single { grid-template-columns: 1fr; }

/* =====================================================================
   TRATAMENTOS
   ===================================================================== */
.tratamentos { background: var(--white); }
.tratamentos-clinicos { background: var(--white); }
.tratamentos-clinicos .cards-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .tratamentos-clinicos .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tratamentos-clinicos .cards-grid { grid-template-columns: 1fr; } }
.section-head.reveal { text-align: left; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 38px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card-ic {
  display: inline-flex;
  width: 58px; height: 58px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  margin-bottom: 22px;
  transition: background 0.4s var(--ease);
}
.card:hover .card-ic { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.card-ic svg { width: 28px; height: 28px; fill: var(--gold-deep); stroke: var(--gold-deep); }
.card:hover .card-ic svg { fill: var(--navy); stroke: var(--navy); }
.card h3 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* =====================================================================
   DIFERENCIAIS  (faixa marinho)
   ===================================================================== */
.diferenciais {
  background:
    radial-gradient(90% 80% at 15% 10%, rgba(195,157,109,0.22) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy) 100%);
}
.dif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.dif-intro .section-title { max-width: 18ch; margin-bottom: 30px; }
.dif-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  border: 1px solid rgba(195, 157, 109, 0.3);
}
.dif-photo img { width: 100%; height: 100%; object-fit: cover; }

.dif-list { display: grid; gap: 4px; }
.dif-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dif-list li:last-child { border-bottom: 0; }
.dif-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  min-width: 40px;
}
.dif-list p { color: rgba(255, 255, 255, 0.86); font-size: 1.02rem; }

/* =====================================================================
   EXPERIÊNCIA DO PACIENTE  (boxes numerados estilo referência)
   ===================================================================== */
.experiencia { background: var(--cream); }
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  position: relative;
  flex: 1 1 220px;
  max-width: 270px;
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 40px 26px 30px;
  margin-top: 22px;
  box-shadow: 0 16px 40px -28px rgba(10, 13, 29, 0.5);
  transition: transform 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px); }
.step-num {
  position: absolute;
  top: -22px; left: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(10, 13, 29, 0.6);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 6px 0 12px;
}
.step p { color: var(--muted); font-size: 0.92rem; }
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 300;
}

/* =====================================================================
   LOCALIZAÇÃO
   ===================================================================== */
.localizacao { background: var(--white); }
.loc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
}
.loc-details { margin: 28px 0 34px; display: grid; gap: 22px; }
.loc-details li { display: flex; gap: 16px; align-items: flex-start; }
.loc-details .ic { width: 26px; height: 26px; fill: var(--gold-deep); stroke: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.loc-details strong { color: var(--navy); font-weight: 500; letter-spacing: 0.02em; }
.loc-details span { color: var(--muted); }
.loc-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-2);
  aspect-ratio: 16 / 11;
}
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================================================================
   CTA FINAL  (box flutuante sobreposto à divisão de seções)
   ===================================================================== */
.cta-wrap {
  position: relative;
  background: linear-gradient(var(--cream) 0%, var(--cream) 50%, var(--navy) 50%, var(--navy) 100%);
  padding: 0 0 0;
}
.cta-box {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(28px, 5vw, 70px);
  border-radius: 24px;
  background:
    radial-gradient(110% 130% at 80% 20%, rgba(195,157,109,0.30) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 65%, var(--navy) 100%);
  box-shadow: 0 40px 80px -30px rgba(10, 13, 29, 0.6);
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(195, 157, 109, 0.35);
  border-radius: 24px;
  pointer-events: none;
}
.cta-script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  color: var(--white);
  line-height: 1.2;
  max-width: 22ch;
  margin: 0 auto 18px;
}
.cta-box p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto 32px;
}

/* =====================================================================
   ESPECIALIDADES (Ortodontia / Ortopedia dos maxilares)
   ===================================================================== */
.esp-light { background: var(--cream); }
.esp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.esp-grid.single { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; text-align: center; }
.esp-grid.single .section-title { max-width: none; margin-inline: auto; }
.esp-grid.single .esp-text p { margin-inline: auto; }
.esp-grid.single .chips { justify-content: center; }
.esp-text p { color: var(--muted); margin-bottom: 16px; max-width: 54ch; }
.esp-text .section-title { margin-bottom: 24px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.chips span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold-deep);
  background: rgba(195, 157, 109, 0.07);
}
.esp-media .photo-frame.alt {
  aspect-ratio: 4 / 5;
  position: relative;
}
.esp-media .photo-frame.alt::after { /* cantoneira dourada decorativa */
  content: "";
  position: absolute;
  right: -16px; top: -16px;
  width: 70px; height: 70px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 8px 0 0;
}

/* Faixa escura (Ortopedia) */
.esp-dark {
  background:
    radial-gradient(85% 70% at 85% 5%, rgba(195,157,109,0.20) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy) 100%);
}
.esp-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.esp-dark-text p { color: rgba(255, 255, 255, 0.82); margin-bottom: 18px; }
.esp-cards { display: grid; gap: 16px; }
.esp-card {
  border: 1px solid rgba(195, 157, 109, 0.28);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.esp-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.esp-card-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}
.esp-card h3 {
  font-family: var(--font-display);
  font-weight: normal;
  color: var(--white);
  font-size: 1.2rem;
  margin: 8px 0 10px;
  letter-spacing: 0.01em;
}
.esp-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.esp-note {
  margin-top: clamp(32px, 5vw, 48px);
  text-align: center;
  color: var(--gold-light);
  font-size: 0.92rem;
  font-style: italic;
  opacity: 0.9;
}

/* =====================================================================
   CTA FINAL (faixa marinho sóbria)
   ===================================================================== */
.cta-final {
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(195,157,109,0.18) 0%, transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy) 100%);
  padding: clamp(64px, 9vw, 110px) 0;
  text-align: center;
}
.cta-final-inner { max-width: 760px; margin: 0 auto; }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  color: var(--white);
  line-height: 1.2;
  max-width: 22ch;
  margin: 0 auto 18px;
}
.cta-final p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto 32px;
}

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding-top: clamp(64px, 8vw, 96px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { width: 210px; margin-bottom: 18px; }
.footer-tag { color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px; }
.footer-desc { font-size: 0.95rem; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col li { margin-bottom: 12px; font-size: 0.95rem; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }

/* Ícones de contato no rodapé */
.footer-contacts a { display: inline-flex; align-items: center; gap: 12px; }
.ic-soc {
  width: 22px; height: 22px;
  flex-shrink: 0;
  fill: var(--gold);
  transition: transform 0.3s var(--ease);
}
.footer-contacts a:hover .ic-soc { transform: scale(1.12); }
.footer-addr { color: rgba(255, 255, 255, 0.7); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 24px 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-disclaimer { font-size: 0.8rem; max-width: 60ch; opacity: 0.7; }
.footer-credit { font-size: 0.8rem; opacity: 0.7; }

/* =====================================================================
   WhatsApp flutuante
   ===================================================================== */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }
@keyframes waPulse {
  0%   { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =====================================================================
   ANIMAÇÕES DE ENTRADA (reveal on scroll)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 24px; }
}

@media (max-width: 880px) {
  /* No mobile o header rolado fica sólido (sem backdrop-filter), pois o filtro
     criava um contexto de posicionamento que desconfigurava o menu lateral fixo. */
  .site-header.scrolled { background: var(--navy); backdrop-filter: none; }
  body.menu-open { overflow: hidden; }

  /* Menu mobile */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 80px 40px;
    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,0.7);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.05rem; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 66px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-figure { order: 1; margin: 0 auto 2px; }
  .hero-logo { display: none; }
  .hero-title { font-size: clamp(1.5rem, 6.4vw, 1.95rem); line-height: 1.12; }
  .hero-divider { margin: 10px auto 12px; justify-content: center; }
  .hero-sub { margin: 0 auto; font-size: 0.9rem; }
  .hero-actions { justify-content: center; margin-bottom: 12px; }
  .hero-local { justify-content: center; }
  .hero-figure img { width: clamp(210px, 54vw, 290px); }
  .hero-vertical { font-size: clamp(2.4rem, 16vw, 5rem); right: -4px; opacity: 0.7; }

  .sobre-grid, .dif-grid, .loc-grid, .esp-grid, .esp-dark-grid { grid-template-columns: 1fr; }
  .sobre-media { max-width: 420px; margin: 0 auto 30px; }
  .esp-media { max-width: 420px; margin: 30px auto 0; }
  .dif-intro .dif-photo { margin-top: 24px; }

  .section-title { max-width: none; }

  /* Etapas viram coluna vertical */
  .steps { flex-direction: column; align-items: stretch; gap: 30px; max-width: 460px; margin: 0 auto; }
  .step { max-width: none; }
  .step-arrow { transform: rotate(90deg); justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .cards-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .container { padding: 0 20px; }
  .brand-name { font-size: 1rem; }
}
