/* =====================================================================
   CONCEITO.CSS — Vitah Odontologia · Dra. Márcia de Fernandes
   Paleta: CLARA/high-key, extraída do logo oficial + fotos editoriais
   (jaleco branco, luz natural de janela). Teal #1E9E92 (lótus) + chumbo
   #3A3A3A (wordmark) + branco/creme quente. Fontes: Playfair Display
   (display) + Inter (body) — família própria, não xerocada de outro site.
   Grande Ideia: "Você vê antes de sentir." (iTero + câmera intraoral).
   ===================================================================== */

/* ── TOKENS — satisfaz o contrato do kit (base.css) + tokens próprios ── */
:root {
  /* Contrato base.css */
  --cor-fundo-1:    #EAF3F1;  /* pale teal-wash — fallback anel-card / topo do gradiente body */
  --cor-fundo-2:    #FBF9F5;  /* off-white quente — meio */
  --cor-fundo-3:    #F6F1E9;  /* creme — fim do gradiente */
  --cor-destaque:   #1E9E92;  /* teal da marca (lótus do logo) */
  --cor-texto:      #3A3A3A;  /* chumbo — wordmark do logo */
  --cor-texto-soft: rgba(58,58,58,.68);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Tokens próprios da marca */
  --teal:        #1E9E92;
  --teal-deep:   #146F66;  /* CTA/botão — contraste ~6:1 com branco */
  --teal-soft:   rgba(30,158,146,.14);
  --teal-line:   rgba(30,158,146,.30);
  --chumbo:      #3A3A3A;
  --chumbo-soft: rgba(58,58,58,.68);
  --chumbo-faint:rgba(58,58,58,.42);
  --luz:         #FFFEFB;   /* branco quente */
  --creme:       #F6F1E9;

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

/* ── RESET / BODY (tipografia) ──────────────────────────────────────── */
html { background: var(--luz); }
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(--teal-deep); }
.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(--teal-deep);
}

/* Grain mais discreto sobre fundo claro (base.css default .05 escurece demais) */
.grain { opacity: .035; }

/* ── CENARIO SCRIM — véu CLARO/quente sobre os frames da costura ──────
   Mantém a identidade "clara" mesmo com foto de fundo: veste as cenas
   com um alpha branco-quente (nunca escurece) — a cena aparece através,
   a legibilidade do texto vem do HALO LOCAL (não daqui). ─────────────── */
.cenario-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255,254,251,.38) 0%,
    rgba(246,241,233,.44) 50%,
    rgba(234,243,241,.50) 100%);
}

/* Watermark de marca — lótus do logo, bem discreto, reforço editorial */
.lotus-watermark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  right: -4%; bottom: -6%; width: clamp(260px, 34vw, 460px); height: auto;
  opacity: .05; filter: saturate(1.4);
}

/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
  background: linear-gradient(180deg, rgba(255,254,251,.92) 0%, rgba(255,254,251,.7) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255,254,251,.96); border-color: var(--teal-line); box-shadow: 0 8px 24px -18px rgba(20,80,74,.3); }
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-img  { height: clamp(34px, 5vw, 44px); width: auto; display: block; }
.nav-cta {
  margin-left: auto; min-height: 42px; padding: 10px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; background: var(--teal-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(20,111,102,.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(--teal-deep); color: #FFFFFF; border: 1px solid var(--teal-deep);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(20,111,102,.55); }
.btn-outline-link {
  color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.btn-outline-link:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.8); 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,.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 [data-camera-scene] + Ken Burns CSS puro
   Foto real: Dra. Márcia + iTero + vista de Porto Alegre.
   ══════════════════════════════════════════════════════════════════════ */
.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;
  background-position: 68% 22%;
}
@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: 68% 22%; }

@media (max-width: 767px) {
  .panel-hero .camera-layer,
  .hero-kenburns {
    background-image: url('assets/hero-marcia-mobile.webp') !important;
    background-position: 56% 12%;
  }
  .panel-hero .camera-layer { inset: -2% -2%; width: 104%; height: 104%; }
}

/* Scrim: teal profundo no rodapé pra legibilidade do texto branco,
   topo quase limpo (a foto/luz da janela aparece). */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(11,33,31,.30) 0%,
    rgba(11,33,31,.06) 30%,
    rgba(11,33,31,.10) 52%,
    rgba(11,33,31,.58) 76%,
    rgba(11,33,31,.86) 100%);
}
/* No mobile o rosto dela ocupa a metade de cima e o queixo cai justo onde a
   rampa começava — o véu invadia a face (PADRAO-LUXO regra 11: véu NUNCA
   sobre o rosto; texto e rosto em zonas distintas). Rampa desce 8 pontos e
   a legibilidade do texto vem do halo local de cada elemento. */
@media (max-width: 560px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(11,33,31,.26) 0%,
      rgba(11,33,31,.04) 34%,
      rgba(11,33,31,.06) 60%,
      rgba(11,33,31,.62) 82%,
      rgba(11,33,31,.88) 100%);
  }
  .hero-title { text-shadow: 0 2px 18px rgba(9,28,26,.72), 0 0 3px rgba(9,28,26,.5); }
  .hero-sub { text-shadow: 0 1px 12px rgba(9,28,26,.8); }
}
.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; }
/* Eyebrow: halo LOCAL (não escurecer a seção — regra da costura). Gate TESS
   2026-07-29: com #BFEAE4 sobre a faixa do scrim em .10 de alpha, ficou
   ilegível no shot de 390px. Cor mais clara + halo próprio resolve sem
   mexer no véu (que precisa deixar o rosto dela limpo). */
.hero-copy .eyebrow {
  margin-bottom: 12px; color: #F2FEFC;
  text-shadow: 0 1px 10px rgba(9,28,26,.92), 0 0 3px rgba(9,28,26,.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,.4); margin: 0 0 16px;
}
.hero-title em { color: #7FE0D1; }
.hero-sub { font-size: clamp(.96rem,2.6vw,1.06rem); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 48ch; margin: 0 0 28px; }
.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: #7FE0D1; flex: 0 0 auto; opacity: .85; }
.hero-sig-text { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: .8rem; letter-spacing: .03em; color: #E8F7F4; 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,.4); border-radius: 14px; }
.hero-scrolldown span { position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #7FE0D1; 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 MEDO TEM RESPOSTA — sobre a costura (translúcida, halo local)
   ══════════════════════════════════════════════════════════════════════ */
.medo {
  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(255,254,251,.34); /* translúcida — cenário aparece por trás (alpha ~.34) */
}
.medo-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.medo-inner .eyebrow { display: block; margin-bottom: 18px; }
.medo-quote {
  font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.32; color: var(--chumbo);
  margin: 0 0 18px; position: relative;
  text-shadow: 0 0 24px rgba(255,254,251,.9), 0 0 46px rgba(255,254,251,.7);
}
.medo-quote::before {
  content: ''; position: absolute; inset: -14% -8%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255,254,251,.85) 0%, rgba(255,254,251,0) 72%);
  filter: blur(2px);
}
.quotemark { font-family: var(--font-display); color: var(--teal); opacity: .55; }
.medo-attr { display: block; font-size: .84rem; color: var(--chumbo-soft); margin-bottom: 48px; }
.medo-resposta { display: grid; gap: 20px; grid-template-columns: 1fr; }
.medo-resposta-item {
  background: rgba(255,254,251,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--teal-line); border-radius: 20px; padding: 26px 24px; text-align: left;
}
.medo-resposta-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--teal-deep); margin-bottom: 8px; }
.medo-resposta-item p { font-size: .92rem; line-height: 1.55; color: var(--chumbo-soft); }
@media (min-width: 700px) { .medo-resposta { grid-template-columns: 1fr 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 3 · TRATAMENTOS — [data-anel-3d]. Fallback: grid claro.
   ══════════════════════════════════════════════════════════════════════ */
.tratamentos { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--luz); }
.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(--chumbo); }

.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(--cor-fundo-1); }
.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(11,33,31,0) 40%, rgba(11,33,31,.82) 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:#9FE3D8; margin-bottom:8px; }
.trat-body h3 { font-family: var(--font-display); font-weight:600; font-size: clamp(1.1rem,2.2vw,1.5rem); margin-bottom:6px; }
.trat-body p { font-size: .86rem; line-height:1.5; color: rgba(255,255,255,.88); 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 dimmed)
   ══════════════════════════════════════════════════════════════════════ */
.quemcuida {
  position: relative; z-index: 5; overflow: hidden;
  padding: var(--section-pad) clamp(20px,6vw,64px);
  background: rgba(246,241,233,.30);
}
.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(--chumbo); margin-bottom: clamp(32px,5vh,52px);
  text-shadow: 0 0 30px rgba(255,254,251,.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(20,80,74,.4);
  max-width: 420px; margin: 0 auto;
}
.quemcuida-photo img { width: 100%; height: auto; display: block; }
.quemcuida-body {
  background: rgba(255,254,251,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--teal-line); border-radius: 22px; padding: clamp(24px,3.4vw,36px);
}
.quemcuida-bio { font-size: .96rem; line-height: 1.68; color: var(--chumbo-soft); margin-bottom: 22px; }
.quemcuida-credenciais { list-style: none; display: grid; gap: 10px; }
.quemcuida-credenciais li {
  font-size: .84rem; font-weight: 600; color: var(--chumbo); 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(--teal);
}
@media (min-width: 780px) { .quemcuida-grid { grid-template-columns: 380px 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 5 · A CASA — full-bleed própria (não usa a ancora translúcida)
   ══════════════════════════════════════════════════════════════════════ */
.acasa { position: relative; z-index: 5; min-height: 92svh; overflow: hidden; display: flex; align-items: flex-end; }
.acasa .camera-layer { background-position: center 42%; }
.acasa-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,33,31,.05) 0%, rgba(11,33,31,.15) 45%, rgba(11,33,31,.72) 100%);
}
.acasa-inner {
  position: relative; z-index: 2; max-width: 720px; margin: 0 auto;
  padding: clamp(40px,8vh,90px) clamp(20px,6vw,64px);
  text-align: center;
}
.acasa-inner .eyebrow { display:block; margin-bottom: 14px; color: #BFEAE4; }
.acasa-inner h2 { color: #FFFFFF; font-size: clamp(1.5rem,3.6vw,2.15rem); line-height:1.28; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.acasa-copy { color: rgba(255,255,255,.9); font-size: .96rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════════
   SEÇÃO 6 · PROVA SOCIAL — badge Google 1×, 3 depoimentos
   ══════════════════════════════════════════════════════════════════════ */
.prova-social { position: relative; z-index: 5; padding: var(--section-pad) clamp(20px,6vw,64px); background: var(--luz); }
.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(--chumbo); margin-bottom: 28px; }
.prova-rating {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto clamp(36px,5vh,52px);
  background: var(--teal-soft); border: 1px solid var(--teal-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(--chumbo); }
.prova-rating-meta { display: flex; flex-direction: column; align-items: flex-start; font-size: .78rem; color: var(--chumbo-soft); }
.prova-stars { color: var(--teal-deep); letter-spacing: 1px; }
.prova-grid { display: grid; gap: 20px; grid-template-columns: 1fr; text-align: left; }
.prova-card {
  background: var(--creme); border: 1px solid rgba(58,58,58,.08); border-radius: 20px; padding: 26px 24px;
}
.prova-card p { font-size: .92rem; line-height: 1.58; color: var(--chumbo-soft); margin-bottom: 14px; }
.prova-card footer { font-size: .82rem; font-weight: 700; color: var(--chumbo); }
.prova-card footer span { font-weight: 500; color: var(--chumbo-faint); }
@media (min-width: 780px) { .prova-grid { grid-template-columns: repeat(3, 1fr); } }

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

/* ── RODAPÉ ─────────────────────────────────────────────────────────── */
.site-footer { position: relative; z-index: 5; background: var(--chumbo); 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,.62); font-size: .78rem; }
.site-footer-disclaimer { color: rgba(255,255,255,.44); font-size: .74rem; }
