/* =====================================================================
   CONCEITO.CSS — Dra. Daniela Saueressig Anversa (DaniSau)
   Ortodontia · Porto Alegre · Menino Deus
   CRO RS 14459

   Grande Ideia: "A consulta que o seu filho vai pedir pra repetir."

   Paleta: verde sage (#3E6B5A) + branco quente (#F8F6F2) + verde menta
   (#6B9E8C) — extraída do eixo pediátrico/familiar e do tom da marca
   pessoal DaniSau (lifestyle, verde/natural, quente, acolhedor).
   Contrasta com dark (Ono) e com bege-bronze (Martinez/Living):
   aqui é CLARO, luminoso, confiante — como sorriso de quem terminou.

   Hero: modelo de IA do acervo (origem rastreada em GATE-PROVENIENCIA.md).
   Sem retrato card flutuante — hero full-bleed, copy sobreposta (FASE 3.7).
   ===================================================================== */

/* ── TOKENS ──────────────────────────────────────────────────────────── */
:root {
  /* Contrato base.css */
  --cor-fundo-1:    #1C2820;   /* verde-preto escuro — topo/hero */
  --cor-fundo-2:    #3E6B5A;   /* verde sage — transição */
  --cor-fundo-3:    #F8F6F2;   /* branco quente — CTA/rodapé */
  --cor-destaque:   #3E6B5A;   /* verde sage — botões, links */
  --cor-texto:      #F8F6F2;   /* branco quente */
  --cor-texto-soft: rgba(248,246,242,.75);

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Tokens próprios */
  --sage:         #3E6B5A;
  --sage-mid:     #5A8876;
  --sage-soft:    rgba(62,107,90,.14);
  --sage-line:    rgba(62,107,90,.30);
  --sage-hover:   #2E5444;
  --branco:       #F8F6F2;
  --branco-card:  #FFFFFF;
  --verde-preto:  #1C2820;
  --verde-preto-soft: rgba(28,40,32,.68);
  --verde-preto-faint: rgba(28,40,32,.40);

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

/* ── BASE ──────────────────────────────────────────────────────────── */
html { background: var(--branco); }
body { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; font-optical-sizing: auto; }
.display em { font-style: italic; font-weight: 500; color: var(--sage); }
.serif { font-family: var(--font-display); font-weight: 600; }
.eyebrow {
  display: inline-block; font-size: .71rem; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 700; color: var(--sage);
}

.grain { opacity: .02; }

/* ── CENARIO SCRIM — véu sage/escuro sobre os frames da costura ─────── */
.cenario-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(28,40,32,.48) 0%,
    rgba(62,107,90,.28) 50%,
    rgba(248,246,242,.42) 100%);
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  background: linear-gradient(180deg, rgba(28,40,32,.88) 0%, rgba(28,40,32,.60) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(28,40,32,.96); border-color: var(--sage-line); box-shadow: 0 8px 24px -18px rgba(12,18,14,.6); }
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-text { color: #F8F6F2; font-size: clamp(1rem,2.4vw,1.18rem); letter-spacing: .01em; }
.nav-cta {
  margin-left: auto; min-height: 42px; padding: 10px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; background: var(--sage); 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(62,107,90,.55); }
.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 26px; border-radius: 100px;
  font-weight: 700; font-size: .93rem;
  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(--sage); color: #FFFFFF; border: 1px solid var(--sage); }
.btn-cta:hover { background: var(--sage-hover); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(62,107,90,.50); }
.btn-outline-link {
  color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.09); backdrop-filter: blur(6px);
}
.btn-outline-link:hover { background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.82); transform: translateY(-1px); }

/* ── WHATSAPP FLUTUANTE ──────────────────────────────────────────────── */
.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,.18);
  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 (FASE 3.7). Sem card flutuante.
   Modelo IA como cenário + Ken Burns CSS puro 1.02→1.19, 9s.
   Imagem: hero-desktop.webp (desktop) / hero-mobile.webp (mobile).
   ══════════════════════════════════════════════════════════════════════ */
.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 {
  width: 100%; height: 100%; inset: 0;
  animation: hero-kenburns 9s ease-in-out infinite alternate;
  background-image: url('assets/hero-desktop.webp');
  background-size: cover;
  background-position: 52% 30%;
}
@media (max-width: 639px) {
  .hero-kenburns { background-image: url('assets/hero-mobile.webp'); background-position: 52% 22%; }
}
@media (prefers-reduced-motion: reduce) { .hero-kenburns { animation: none; transform: scale(1.05); } }
html.no-webgl .hero-kenburns { animation: none; }

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

/* Overlay sage suave para tratamento de cor da Daniela */
.hero-camera-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(62,107,90,.08);
}

/* Scrim: legibilidade da copy sem sufocar a cena */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20,32,26,.28) 0%,
    rgba(20,32,26,.06) 30%,
    rgba(20,32,26,.10) 52%,
    rgba(20,32,26,.62) 78%,
    rgba(20,32,26,.92) 100%);
}
@media (max-width: 560px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(20,32,26,.26) 0%,
      rgba(20,32,26,.06) 36%,
      rgba(20,32,26,.12) 56%,
      rgba(20,32,26,.68) 84%,
      rgba(20,32,26,.94) 100%);
  }
  .hero-title { text-shadow: 0 2px 20px rgba(8,14,10,.82), 0 0 4px rgba(8,14,10,.6); }
  .hero-sub   { text-shadow: 0 1px 14px rgba(8,14,10,.88); }
}

.hero-inner {
  position: relative; z-index: 3; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(20px,6vw,64px) clamp(36px,7vh,72px);
  padding-top: var(--nav-h);
  display: flex; flex-direction: column; align-items: center; gap: clamp(20px,4vh,32px);
}
.hero-copy { max-width: 680px; text-align: center; }
.hero-copy .eyebrow {
  margin-bottom: 14px; color: rgba(255,255,255,.78);
  text-shadow: 0 1px 12px rgba(8,14,10,.94);
  letter-spacing: .15em;
}
.hero-title {
  font-size: clamp(2.1rem,7.8vw,3.7rem); line-height: 1.08; color: #FFFFFF;
  text-shadow: 0 2px 28px rgba(0,0,0,.40); margin: 0 0 18px;
}
.hero-title em { color: #A8D8C4; }
.hero-sub {
  font-size: clamp(.94rem,2.4vw,1.05rem); line-height: 1.62; color: rgba(255,255,255,.88);
  max-width: 52ch; margin: 0 auto 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero-scrolldown {
  position: absolute; z-index: 4; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.38); border-radius: 14px;
}
.hero-scrolldown span {
  position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #A8D8C4; 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} }
@media (prefers-reduced-motion: reduce) { .hero-scrolldown { display: none; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 2 · TESE — "A consulta que o seu filho vai pedir pra repetir"
   ══════════════════════════════════════════════════════════════════════ */
.tese {
  position: relative; z-index: 5;
  min-height: 80svh; display: flex; align-items: center; justify-content: center;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(248,246,242,.38);
}
.tese-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.tese-inner > .eyebrow { display: block; margin-bottom: 18px; }
.tese-inner > h2 {
  font-size: clamp(1.5rem,3.6vw,2.3rem); line-height: 1.3; color: var(--verde-preto);
  margin: 0 0 20px;
  text-shadow: 0 0 28px rgba(248,246,242,.92), 0 0 50px rgba(248,246,242,.70);
}
.tese-p {
  max-width: 64ch; margin: 0 auto clamp(32px,5vh,52px);
  font-size: .98rem; line-height: 1.68; color: var(--verde-preto-soft);
  background: rgba(255,255,255,.52); border-radius: 16px; padding: 4px 10px;
}
.tese-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tese-item {
  background: rgba(255,255,255,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--sage-line); border-radius: 20px; padding: 26px 24px; text-align: left;
}
.tese-item .tese-tag {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  color: var(--sage); margin-bottom: 8px;
}
.tese-item p { font-size: .9rem; line-height: 1.55; color: var(--verde-preto-soft); }
@media (min-width: 720px) { .tese-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 3 · PROCEDIMENTOS — [data-anel-3d], 5 serviços verbatim
   ══════════════════════════════════════════════════════════════════════ */
.tratamentos { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--branco); }
.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(--verde-preto); }

.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(--branco-card); }
.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(20,32,26,0) 40%, rgba(20,32,26,.88) 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:.65rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#A8D8C4; margin-bottom:8px; }
.trat-body h3 { font-family: var(--font-display); font-weight:600; font-size: clamp(1.08rem,2.2vw,1.48rem); margin-bottom:6px; }
.trat-body p { font-size: .86rem; line-height:1.5; color: rgba(255,255,255,.87); max-width: 38ch; }
@media (max-width: 680px) { .trat-cell-destaque { grid-column: span 1; aspect-ratio: 4/3; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 4 · QUEM CUIDA — nome + CRO, sem foto (per brief).
   Cenário frame 1 (ambiente/fachada blurred) por trás.
   ══════════════════════════════════════════════════════════════════════ */
.quemcuida {
  position: relative; z-index: 5; overflow: hidden;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(62,107,90,.18);
}
.quemcuida-inner { max-width: 760px; margin: 0 auto; position: relative; text-align: center; }
.quemcuida-inner > .eyebrow { display:block; margin-bottom: 12px; }
.quemcuida-inner > h2 {
  font-size: clamp(1.6rem,3.6vw,2.3rem); color: var(--verde-preto); margin-bottom: clamp(24px,4vh,40px);
  text-shadow: 0 0 32px rgba(248,246,242,.90);
}

/* Card central (bio + credenciais) sem foto */
.quemcuida-body {
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--sage-line); border-radius: 24px; padding: clamp(28px,4vw,44px);
  text-align: left; max-width: 640px; margin: 0 auto;
}
.quemcuida-cro {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; color: var(--sage); background: var(--sage-soft);
  border: 1px solid var(--sage-line); border-radius: 100px; padding: 6px 16px; margin-bottom: 20px;
}
.quemcuida-bio { font-size: .97rem; line-height: 1.70; color: var(--verde-preto-soft); margin-bottom: 24px; }
.quemcuida-credenciais { list-style: none; display: grid; gap: 10px; }
.quemcuida-credenciais li {
  font-size: .84rem; font-weight: 600; color: var(--verde-preto); 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(--sage);
}
@media (min-width: 600px) {
  .quemcuida-credenciais { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 5 · PROVA SOCIAL — badge Google 1× + 3 depoimentos verbatim
   ══════════════════════════════════════════════════════════════════════ */
.prova-social { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--branco); }
.prova-inner { max-width: 1080px; 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(--verde-preto); margin-bottom: 36px; }

/* Badge Google — 1× na prova social (FASE 3.-1d) */
.prova-rating {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto clamp(36px,5vh,52px);
  background: var(--sage-soft); border: 1px solid var(--sage-line); border-radius: 100px; padding: 14px 26px;
}
.prova-rating-g { width: 26px; height: 26px; flex: 0 0 auto; }
.prova-rating-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--verde-preto); }
.prova-rating-meta { display: flex; flex-direction: column; align-items: flex-start; font-size: .78rem; color: var(--verde-preto-soft); }
.prova-stars { color: #D4A017; letter-spacing: 1px; }

.prova-grid { display: grid; gap: 20px; grid-template-columns: 1fr; text-align: left; }
.prova-card {
  background: var(--branco-card); border: 1px solid rgba(28,40,32,.08); border-radius: 20px; padding: 26px 24px;
}
.prova-card p { font-size: .93rem; line-height: 1.60; color: var(--verde-preto-soft); margin-bottom: 14px; }
.prova-card footer { font-size: .82rem; font-weight: 700; color: var(--verde-preto); }
.prova-card footer span { font-weight: 500; color: var(--verde-preto-faint); }
@media (min-width: 780px) { .prova-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 6 · CTA FINAL
   ══════════════════════════════════════════════════════════════════════ */
.cta-final {
  position: relative; z-index: 5;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: linear-gradient(180deg, var(--branco) 0%, rgba(62,107,90,.10) 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(--verde-preto); margin-bottom: 16px; }
.cta-final-sub { font-size: .96rem; line-height: 1.62; color: var(--verde-preto-soft); margin-bottom: 30px; }

/* ── RODAPÉ ──────────────────────────────────────────────────────────── */
.site-footer { position: relative; z-index: 5; background: var(--verde-preto); 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: #F8F6F2; font-size: 1rem; }
.site-footer-addr { color: rgba(248,246,242,.58); font-size: .78rem; }
.site-footer-disclaimer { color: rgba(248,246,242,.40); font-size: .74rem; }
