/* =====================================================================
   CONCEITO.CSS — Dra. Flávia Oliveira · Odontologia Clínica Geral
   Paleta: verde-oliva + dourado, extraída por conta-gotas do LOGO OFICIAL
   dela (fundo do logo RGB médio 88,129,87 ≈ #588157; monograma "F" dourado
   RGB médio 198,161,103 ≈ #C6A167) + terroso (card de tratamentos do site
   Canva dela, RGB 142,104,81 ≈ #8E6851). NUNCA azul/rosa genérico de
   odonto — é a cor REAL da marca dela.
   Fontes: Cormorant Garamond (display, mais fina/romântica que Playfair)
   + Manrope (corpo, geométrica) — par PRÓPRIO, distinto de Playfair+Inter
   (Dallegrave/Vitah/Pocztaruk) e Fraunces+Jost (Cristiane).
   Grande Ideia: "Uma dentista só, do começo ao fim."
   ===================================================================== */

/* ── TOKENS — satisfaz o contrato do kit (base.css) + tokens próprios ── */
:root {
  /* Contrato base.css */
  --cor-fundo-1:    #232E1F;  /* oliva bem escuro — topo/hero */
  --cor-fundo-2:    #3A4A33;  /* oliva médio — transição */
  --cor-fundo-3:    #F6F1E7;  /* creme quente — fim do gradiente */
  --cor-destaque:   #C6A167;  /* dourado — derivado do monograma do logo */
  --cor-texto:      #F7F3EC;  /* osso/branco quente */
  --cor-texto-soft: rgba(247,243,236,.68);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Tokens próprios da marca */
  --oliva:       #588157;   /* base — fundo do logo oficial (amostrado) */
  --oliva-deep:  #232E1F;
  --oliva-line:  rgba(88,129,87,.32);
  --oliva-soft:  rgba(88,129,87,.16);
  --dourado:     #C6A167;   /* monograma "F" do logo (amostrado) */
  --dourado-deep:#8A6A34;   /* CTA/botão — contraste com branco */
  --terracota:   #8E6851;   /* card de tratamentos do site Canva (amostrado) */
  --osso:        #F7F3EC;
  --osso-soft:   rgba(247,243,236,.68);
  --osso-faint:  rgba(247,243,236,.42);
  --marrom:      #2E241C;   /* texto escuro sobre fundo claro */
  --marrom-soft: rgba(46,36,28,.68);
  --marrom-faint:rgba(46,36,28,.42);

  --hover-dur: .2s;
  --press-scale: .97;
}

/* ── RESET / BODY (tipografia) ──────────────────────────────────────── */
html { background: var(--oliva-deep); }
body { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.005em; font-optical-sizing: auto; }
.display em { font-style: italic; font-weight: 500; color: var(--dourado); }
.serif   { font-family: var(--font-display); font-weight: 600; }
.eyebrow {
  display: inline-block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 600; color: var(--dourado);
}

.grain { opacity: .045; }

/* ── CENARIO SCRIM — véu oliva sobre os frames da costura ─────────────
   A cena aparece através, legibilidade vem do HALO LOCAL (não daqui). ── */
.cenario-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(35,46,31,.42) 0%,
    rgba(58,74,51,.40) 50%,
    rgba(246,241,231,.48) 100%);
}

/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
  background: linear-gradient(180deg, rgba(35,46,31,.86) 0%, rgba(35,46,31,.58) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(35,46,31,.94); border-color: var(--oliva-line); box-shadow: 0 8px 24px -18px rgba(10,14,8,.6); }
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-text {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: #FFFFFF; letter-spacing: .01em;
}
.nav-cta {
  margin-left: auto; min-height: 44px; padding: 10px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; background: var(--dourado-deep); color: #FFFFFF;
  transition: transform var(--hover-dur), box-shadow var(--hover-dur);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(138,106,52,.5); }
.nav-cta:active { transform: scale(var(--press-scale)); }

/* ── BOTÕES ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 14px 24px; border-radius: 100px;
  font-weight: 700; font-size: .92rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  touch-action: manipulation;
}
.btn .arrow { font-size: .95em; }
.btn:active { transform: scale(var(--press-scale)) !important; }
.btn-cta {
  background: var(--dourado-deep); color: #FFFFFF; border: 1px solid var(--dourado-deep);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(138,106,52,.5); }
.btn-outline-link {
  color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
}
.btn-outline-link:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); transform: translateY(-1px); }

/* ── WHATSAPP FLUTUANTE (universal — verde, independe de tema) ───────── */
.wa-float {
  position: fixed; z-index: 45; right: clamp(14px,3vw,22px); bottom: clamp(14px,3vw,22px);
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .25s ease; animation: waPulse 3.2s ease-in-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); }
.wa-float:active { transform: scale(.94); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.35); }
  50%     { box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 0 0 10px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 1 · HERO — full-bleed [data-camera-scene] + Ken Burns CSS puro
   Foto real: retrato de estúdio (Google Maps "Do proprietário").
   ══════════════════════════════════════════════════════════════════════ */
.panel-hero {
  position: relative; z-index: 2;
  height: 100vh; height: 100dvh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-camera-stage { position: absolute; inset: -4%; overflow: hidden; }

@keyframes hero-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.19); }
}
.hero-kenburns {
  animation: hero-kenburns 9s ease-in-out infinite alternate;
  /* Crop (hero-desktop-real.webp, 1900x1505) recortado com folga generosa
     acima da cabeça (rosto a 17% do topo) — top-aligned (50% 0%) preserva
     essa folga nos dois extremos do Ken Burns. */
  background-position: 50% 0%;
}
@media (prefers-reduced-motion: reduce) { .hero-kenburns { animation: none; transform: scale(1.06); } }
html.no-webgl .hero-kenburns { animation: none; }

.camera-layer { position: absolute; inset: 0; background-size: cover; background-position: 50% 0%; }

@media (max-width: 767px) {
  .panel-hero .camera-layer,
  .hero-kenburns {
    background-image: url('assets/hero-mobile-real.webp') !important;
    /* Crop mobile (820x1640) recortado centrado no rosto com folga acima
       da cabeça (rosto a 17% do topo) — top-aligned preserva a folga nos
       dois extremos do Ken Burns (medido/validado com gate_rosto.py). */
    background-position: 50% 0%;
  }
  .panel-hero .camera-layer { inset: -2% -2%; width: 104%; height: 104%; }
}

/* Scrim: oliva profundo no rodapé pra legibilidade do texto claro, topo
   quase limpo (o rosto dela aparece). Véu nunca sobre o rosto. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(14,20,12,.30) 0%,
    rgba(14,20,12,.06) 26%,
    rgba(14,20,12,.10) 48%,
    rgba(14,20,12,.64) 78%,
    rgba(14,20,12,.92) 100%);
}
@media (max-width: 767px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(14,20,12,.26) 0%,
      rgba(14,20,12,.04) 28%,
      rgba(14,20,12,.10) 50%,
      rgba(14,20,12,.68) 80%,
      rgba(14,20,12,.94) 100%);
  }
  .hero-title { text-shadow: 0 2px 18px rgba(6,9,5,.8), 0 0 3px rgba(6,9,5,.6); }
  .hero-sub { text-shadow: 0 1px 12px rgba(6,9,5,.85); }
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(20px,6vw,64px) clamp(40px,7vh,80px);
  padding-top: var(--nav-h);
  display: flex; align-items: flex-end;
}
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow {
  margin-bottom: 12px; color: #F2E9D2;
  text-shadow: 0 1px 10px rgba(6,9,5,.92), 0 0 3px rgba(6,9,5,.75);
}
.hero-title {
  font-size: clamp(2.3rem,8.5vw,3.9rem); line-height: 1.06; color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0,0,0,.5); margin: 0 0 16px;
}
.hero-title em { color: #E4C88F; }
.hero-sub { font-size: clamp(.96rem,2.6vw,1.06rem); line-height: 1.6; color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 0 28px;
  text-shadow: 0 1px 14px rgba(6,9,5,.55); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-signature { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.hero-sig-filet { display: block; width: 32px; height: 1px; background: #E4C88F; flex: 0 0 auto; opacity: .85; }
.hero-sig-text { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: .82rem; letter-spacing: .03em; color: #F2E9D2; opacity: .95; }
.hero-sig-dot { opacity: .7; }

.hero-scrolldown { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; }
.hero-scrolldown span { position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #E4C88F; animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0%{opacity:1;transform:translateY(0)} 70%{opacity:0;transform:translateY(11px)} 100%{opacity:0} }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 2 · O QUE MUDA QUANDO É UMA DENTISTA SÓ — sobre a costura (translúcida)
   ══════════════════════════════════════════════════════════════════════ */
.problema {
  position: relative; z-index: 5;
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(58,74,51,.34); /* translúcida — cenário aparece por trás */
}
.problema-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.problema-inner .eyebrow { display: block; margin-bottom: 18px; }
.problema-quote {
  font-size: clamp(1.4rem, 3.6vw, 2.15rem); line-height: 1.34; color: var(--osso);
  margin: 0 0 18px; position: relative;
  text-shadow: 0 0 24px rgba(20,26,17,.9), 0 0 46px rgba(20,26,17,.75);
}
.problema-quote::before {
  content: ''; position: absolute; inset: -14% -8%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(20,26,17,.82) 0%, rgba(20,26,17,0) 72%);
  filter: blur(2px);
}
.quotemark { font-family: var(--font-display); color: var(--dourado); opacity: .65; }
.problema-attr { display: block; font-size: .84rem; color: var(--osso-soft); margin-bottom: 48px; }
.problema-resposta { display: grid; gap: 20px; grid-template-columns: 1fr; }
.problema-resposta-item {
  background: rgba(35,46,31,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--oliva-line); border-radius: 20px; padding: 26px 24px; text-align: left;
}
.problema-resposta-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--dourado); margin-bottom: 8px; }
.problema-resposta-item p { font-size: .92rem; line-height: 1.55; color: var(--osso-soft); }
@media (min-width: 700px) { .problema-resposta { grid-template-columns: 1fr 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 3 · TRATAMENTOS — [data-anel-3d]. Fallback: grid claro/terroso.
   ══════════════════════════════════════════════════════════════════════ */
.tratamentos { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--oliva-deep); }
.tratamentos-head { max-width: 780px; margin: 0 auto clamp(36px,5vh,56px); text-align: center; }
.tratamentos-head .eyebrow { display: block; margin-bottom: 14px; }
.tratamentos-head h2 { font-size: clamp(1.5rem,3.6vw,2.15rem); line-height: 1.25; color: var(--osso); }

.trat-grid {
  display: grid; gap: 20px; max-width: 1280px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.trat-cell { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3/4; background: var(--terracota); }
.trat-cell-destaque { grid-column: span 2; aspect-ratio: 16/10; }
.trat-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.trat-img::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(14,20,12,0) 40%, rgba(14,20,12,.86) 100%); }
.trat-body { position: absolute; left:0; right:0; bottom:0; z-index:2; padding: clamp(18px,3vw,28px); color:#FFFFFF; }
.trat-label { display:block; font-size:.66rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#E4C88F; margin-bottom:8px; }
.trat-body h3 { font-family: var(--font-display); font-weight:600; font-size: clamp(1.15rem,2.3vw,1.55rem); margin-bottom:6px; }
.trat-body p { font-size: .86rem; line-height:1.5; color: rgba(255,255,255,.86); max-width: 38ch; }
@media (max-width: 680px) { .trat-cell-destaque { grid-column: span 1; aspect-ratio: 4/3; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 4 · QUEM CUIDA DE VOCÊ — sobre a costura (frame 2)
   ══════════════════════════════════════════════════════════════════════ */
.quemcuida {
  position: relative; z-index: 5; overflow: hidden;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(58,74,51,.42);
}
.quemcuida-inner { max-width: 1180px; margin: 0 auto; position: relative; }
.quemcuida-inner > .eyebrow { display:block; margin-bottom: 12px; text-align:center; }
.quemcuida-inner > h2 { text-align:center; font-size: clamp(1.6rem,3.6vw,2.3rem); color: var(--osso); margin-bottom: clamp(32px,5vh,52px);
  text-shadow: 0 0 30px rgba(20,26,17,.9); }
.quemcuida-grid { display: grid; gap: clamp(28px,4vw,56px); grid-template-columns: 1fr; align-items: center; }
.quemcuida-photo {
  border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(0,0,0,.6);
  max-width: 380px; margin: 0 auto;
}
.quemcuida-photo img { width: 100%; height: auto; display: block; }
/* RETRATO NUNCA MAIS ALTO QUE A TELA ÚTIL (regra do kit, 2026-07-30) —
   em viewport curto a nav fixa cobre o topo do retrato; teto de altura
   descontando a nav duas vezes + recorte mirando o topo (rosto). */
@media (max-width: 767px) {
  .quemcuida-photo {
    max-height: calc(100svh - (var(--nav-h) * 2) - 40px);
    overflow: hidden;
  }
  .quemcuida-photo img {
    height: calc(100svh - (var(--nav-h) * 2) - 40px);
    max-height: none;
    object-fit: cover;
    object-position: 50% 8%;
  }
  .quemcuida { scroll-margin-top: calc(var(--nav-h) + 16px); }
}
.quemcuida-body {
  background: rgba(35,46,31,.68); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--oliva-line); border-radius: 22px; padding: clamp(24px,3.4vw,36px);
}
.quemcuida-bio { font-size: .96rem; line-height: 1.68; color: var(--osso-soft); margin-bottom: 22px; }
.quemcuida-credenciais { list-style: none; display: grid; gap: 10px; }
.quemcuida-credenciais li {
  font-size: .84rem; font-weight: 600; color: var(--osso); padding-left: 22px; position: relative;
}
.quemcuida-credenciais li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dourado);
}
@media (min-width: 780px) { .quemcuida-grid { grid-template-columns: 340px 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 5 · PROVA SOCIAL — badge Google 1×, 2 depoimentos
   ══════════════════════════════════════════════════════════════════════ */
.prova-social { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--oliva-deep); }
.prova-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.prova-inner > .eyebrow { display:block; margin-bottom: 14px; }
.prova-title { font-size: clamp(1.5rem,3.6vw,2.15rem); color: var(--osso); margin-bottom: 28px; }
.prova-rating {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto clamp(36px,5vh,52px);
  background: var(--oliva-soft); border: 1px solid var(--oliva-line); border-radius: 100px; padding: 14px 26px;
}
.prova-rating-g { width: 26px; height: 26px; flex: 0 0 auto; }
.prova-rating-num { font-size: 1.5rem; color: var(--osso); }
.prova-rating-meta { display: flex; flex-direction: column; align-items: flex-start; font-size: .78rem; color: var(--osso-soft); }
.prova-stars { color: var(--dourado); letter-spacing: 1px; }
.prova-grid { display: grid; gap: 20px; grid-template-columns: 1fr; text-align: left; max-width: 760px; margin: 0 auto; }
.prova-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(247,243,236,.1); border-radius: 20px; padding: 26px 24px;
}
.prova-card p { font-size: .92rem; line-height: 1.58; color: var(--osso-soft); margin-bottom: 14px; }
.prova-card footer { font-size: .82rem; font-weight: 700; color: var(--osso); }
.prova-card footer span { font-weight: 500; color: var(--osso-faint); }
@media (min-width: 700px) { .prova-grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 6 · CTA FINAL + avisos práticos (verbatim FAQ)
   ══════════════════════════════════════════════════════════════════════ */
.cta-final { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: linear-gradient(180deg, var(--oliva-deep) 0%, #3A4A33 100%); text-align: center; }
.cta-final-inner { max-width: 640px; margin: 0 auto; }
.cta-final-eyebrow { display:block; margin-bottom: 14px; }
.cta-final-title { font-size: clamp(1.6rem,4vw,2.4rem); line-height: 1.28; color: var(--osso); margin-bottom: 16px; }
.cta-final-sub { font-size: .96rem; line-height: 1.6; color: var(--osso-soft); margin-bottom: 30px; }
.avisos-praticos {
  margin-top: clamp(40px,6vh,64px); display: grid; gap: 16px; grid-template-columns: 1fr;
  text-align: left; border-top: 1px solid var(--oliva-line); padding-top: clamp(24px,4vh,36px);
}
.aviso-item { display: flex; flex-direction: column; gap: 4px; }
.aviso-item strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--dourado); }
.aviso-item span { font-size: .86rem; line-height: 1.5; color: var(--osso-soft); }
@media (min-width: 620px) { .avisos-praticos { grid-template-columns: 1fr 1fr; } }

/* ── RODAPÉ ─────────────────────────────────────────────────────────── */
.site-footer { position: relative; z-index: 5; background: #1B2417; padding: 32px clamp(20px,6vw,64px); }
.site-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.site-footer-logo { color: #FFFFFF; font-size: 1rem; }
.site-footer-addr { color: rgba(255,255,255,.55); font-size: .78rem; }
.site-footer-disclaimer { color: rgba(255,255,255,.4); font-size: .74rem; }
