/* =====================================================================
   CONCEITO.CSS — Yurgel Odontologia
   Paleta REAL da marca (logo IG @yurgelodontologia — tooth icon teal +
   wordmark, extraída de pixel; ver INVENTARIO-F0.md): teal #1a7d85 +
   teal escuro #0b5757 + teal claro #aae4e6 + branco. Base CLARA/airy
   (o próprio logo é teal-sobre-branco) — clima acolhedor/familiar/
   tradicional (desde 1998), NÃO dark-editorial (diferente da Mirá).
   #1a7d85 mede 4.87:1 sobre branco — passa AA e é usado como acento
   FUNCIONAL direto (texto/botão), sem precisar de um teal sintético.
   Motor (base.css/cenario.css/motor-*.js) segue 100% genérico — nada
   daqui vive nele.
   Fonte: Fraunces (títulos — serif humanista, calorosa/acolhedora) +
   Inter (corpo — legibilidade clínica).
   ===================================================================== */
:root {
  /* PALETA — REAL da Yurgel (teal #1a7d85 + branco + cinza-carvão). */
  --cor-fundo-1:    #F6FBFB; /* topo (hero) — quase-branco, leve véu teal */
  --cor-fundo-2:    #EAF5F5; /* meio — teal muito claro */
  --cor-fundo-3:    #DBEEEE; /* base (cta/rodapé) — teal claro, nunca escuro */
  --cor-destaque:   #1a7d85; /* teal REAL da marca — funcional (texto/botão), 4.87:1 em branco */
  --cor-destaque-2: #0b5757; /* teal escuro REAL (variante do logo) — decorativo/hover/bordas */
  --cor-destaque-lt:#aae4e6; /* teal claro REAL (variante do logo) — badges/highlights */
  --cor-texto:      #16302E; /* quase-preto com viés teal — texto principal s/ fundo claro (13:1+) */
  --cor-texto-soft: rgba(22,48,46,.68); /* subtítulos — deriva de --cor-texto */

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

  /* pill do contador do anel: tinta escura fixa — legível mesmo com fundo claro */
  --anel-counter-ink: #16302E;
}

.serif { font-family: var(--font-display); }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.008em; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cor-destaque); }

/* =====================================================================
   COSTURA — véu translúcido claro/teal, unifica as 3 imagens do cenário
   (hero IA + ambiente IA consultório + ambiente IA recepção) ao tom da
   página e mantém texto escuro sempre legível.
   ===================================================================== */
.cenario-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(246,251,251,.72) 0%,
    rgba(234,245,245,.8) 45%,
    rgba(219,238,238,.93) 100%);
}

/* =====================================================================
   NAV — wordmark tipográfico (a única fonte de logo em alta é um JPEG
   100x100 ilegível ampliado — GATE-PROVENIENCIA.md; texto honesto na
   cor real da marca substitui um crop pixelado).
   ===================================================================== */
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo-badge {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--cor-destaque), var(--cor-destaque-2));
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(26,125,133,.45);
}
.nav-logo-badge svg { width: 20px; height: 20px; }
.nav-logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--cor-texto); line-height: 1.1; white-space: nowrap; letter-spacing: .01em; }
.nav-logo-word span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cor-destaque); margin-top: 2px; }
.nav.scrolled {
  background: rgba(246,251,251,.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 24px -16px rgba(22,48,46,.18);
}
.nav-links a { color: var(--cor-texto); }
.nav-cta { color: #fff; box-shadow: 0 10px 24px -10px rgba(26,125,133,.4); }

/* =====================================================================
   BOTÕES
   ===================================================================== */
.btn-primary { background: var(--cor-destaque); color: #fff; box-shadow: 0 14px 30px -12px rgba(26,125,133,.4); }
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(26,125,133,.52); transform: translateY(-1px); filter: brightness(1.06); }
.btn-lg { padding: 19px 38px; font-size: 1.05rem; }

/* =====================================================================
   1. HERO — imagem IA de intenção (sorriso radiante, clima teal
   premium), Ken Burns CSS puro 9s
   ===================================================================== */
.panel-hero { display: flex; align-items: center; }
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1320px; margin: 0 auto;
  padding: calc(var(--nav-h) + 24px) clamp(20px,5vw,56px) 60px;
}
.hero-copy { max-width: 600px; position: relative; }
.hero-copy::before {
  content: ''; position: absolute; inset: -28px -36px -20px -40px; z-index: -1;
  background: radial-gradient(125% 105% at 22% 40%,
    rgba(246,251,251,.94) 0%, rgba(246,251,251,.68) 48%, rgba(246,251,251,0) 100%);
  border-radius: 28px; pointer-events: none;
}
.hero-kicker { display: block; margin-bottom: 18px; }
.hero-title {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.14;
  color: var(--cor-texto);
  margin-bottom: 22px;
  font-weight: 600;
}
.hero-title em { font-style: italic; color: var(--cor-destaque); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--cor-texto-soft);
  max-width: 54ch;
  line-height: 1.62;
  margin-bottom: 30px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-micro { font-size: .84rem; color: var(--cor-texto-soft); font-weight: 600; }
.hero-scrolldown {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; width: 22px; height: 34px; border: 2px solid var(--cor-destaque);
  border-radius: 100px; opacity: .55;
}
.hero-scrolldown span {
  display: block; width: 4px; height: 8px; border-radius: 2px;
  background: var(--cor-destaque); margin: 6px auto 0;
  animation: scrolldown 1.8s ease-in-out infinite;
}
@keyframes scrolldown { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(9px); opacity: .3; } }

/* Câmera do hero: ZOOM Ken Burns em CSS PURO — assinatura Vexyon, roda em
   TODO aparelho, independe de scroll/Lenis/tier (régua CEO 2026-07-16: ~9s,
   scale 1.02→1.19). NÃO usa data-camera-scene/JS — só CSS. */
.hero-camera-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-camera-stage .camera-layer {
  background-position: 62% 32%;
  transform-origin: 62% 32%;
  animation: hero-kenburns 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.19); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-camera-stage .camera-layer { animation: none; transform: scale(1.04); }
}

/* =====================================================================
   2. PROVA RÁPIDA
   ===================================================================== */
.stats-section { padding-top: calc(var(--section-pad) * .5); padding-bottom: calc(var(--section-pad) * .5); }
.stats-band { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.stat-chip {
  flex: 1 1 220px; max-width: 320px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(26,125,133,.2);
  border-radius: 20px;
  padding: 22px 24px;
  text-align: center;
  box-shadow: 0 20px 40px -32px rgba(22,48,46,.3);
}
.stat-num {
  display: block; font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  color: var(--cor-destaque); font-weight: 700; margin-bottom: 6px;
}
.stat-label { font-size: .84rem; color: var(--cor-texto-soft); font-weight: 500; }

/* =====================================================================
   3/4/5. DESDE 1998 / A CASA / QUEM CUIDA — cards de conteúdo com imagem
   ===================================================================== */
.real-wrap {
  display: grid; gap: 44px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .real-wrap { grid-template-columns: .95fr 1.05fr; gap: 60px; } }
@media (min-width: 900px) { .real-wrap-inv { grid-template-columns: 1.05fr .95fr; } .real-wrap-inv .real-card { order: 1; } .real-wrap-inv > div:last-child { order: 2; } }
.real-photo-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(22,48,46,.35);
  border: 1px solid rgba(26,125,133,.18);
}
.real-img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.real-credit {
  display: block; margin-top: 14px; font-size: .82rem; color: var(--cor-texto-soft);
  font-style: italic;
}
.real-card {
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(26,125,133,.18);
  border-radius: 24px;
  padding: clamp(26px,4vw,44px);
  box-shadow: 0 24px 50px -32px rgba(22,48,46,.22);
}
.real-card p { color: var(--cor-texto-soft); line-height: 1.68; margin-bottom: 14px; font-size: 1rem; }
.sec-kicker { display: block; margin-bottom: 14px; }
.sec-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--cor-texto); line-height: 1.22; margin-bottom: 18px; font-weight: 600; }
.sec-sub { color: var(--cor-texto-soft); font-size: 1rem; line-height: 1.6; }
.depoimento-destaque {
  margin-top: 22px; padding: 20px 22px; border-left: 3px solid var(--cor-destaque);
  background: rgba(26,125,133,.07); border-radius: 0 14px 14px 0;
}
.depoimento-destaque p {
  color: var(--cor-texto); font-style: italic; font-size: 1.02rem; line-height: 1.62; margin-bottom: 10px;
  font-family: var(--font-display);
}
.depoimento-destaque span { font-size: .8rem; color: var(--cor-texto-soft); font-weight: 600; }
.especialidades-lista { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Avatar de credencial pequeno — retrato REAL da Dra. Karen (100x100
   original, ampliado só o suficiente pra um círculo pequeno — NUNCA
   esticado em foto grande; ver GATE-PROVENIENCIA.md). */
.credencial-avatar-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.credencial-avatar {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 8px 20px -8px rgba(22,48,46,.4), 0 0 0 1px rgba(26,125,133,.25);
  flex: none;
}
.credencial-nome { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cor-texto); line-height: 1.25; }
.credencial-cargo { font-size: .82rem; color: var(--cor-destaque); font-weight: 600; margin-top: 2px; }

/* Botão WhatsApp flutuante */
.wa-float {
  position: fixed; z-index: 60; right: 20px; bottom: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6), 0 4px 10px rgba(22,48,46,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 34px -8px rgba(37,211,102,.75); }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 18px; width: 54px; height: 54px; } }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge {
  font-size: .76rem; font-weight: 600; padding: 7px 14px; border-radius: 100px;
  background: rgba(26,125,133,.09); color: var(--cor-texto); border: 1px solid rgba(26,125,133,.28);
}
.badge-accent { background: var(--cor-destaque); color: #fff; border-color: transparent; }

/* =====================================================================
   7. TRATAMENTOS — anel 3D (contrato do motor-anel-3d.js: .trat-cell /
   .trat-img / h3 / p / .trat-cell-destaque — NÃO renomear)
   ===================================================================== */
.trat-head { max-width: 680px; margin-bottom: 44px; }
.trat-head .sec-sub { margin-top: 12px; }
.trat-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .trat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1240px) { .trat-grid { grid-template-columns: repeat(3, 1fr); } }
.trat-cell {
  position: relative;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(26,125,133,.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -32px rgba(22,48,46,.3);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.trat-cell:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(22,48,46,.36); }
.trat-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.trat-body { flex: 1; padding: 20px 22px 24px; }
.trat-cell h3 { font-size: 1.14rem; color: var(--cor-texto); margin-bottom: 7px; font-weight: 700; font-family: var(--font-display); }
.trat-cell p { font-size: .87rem; color: var(--cor-texto-soft); line-height: 1.5; }
.trat-cell-destaque { border: 2px solid var(--cor-destaque); }
.trat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--cor-destaque); color: #fff;
  padding: 6px 13px; border-radius: 100px;
}

/* Frame do cenário: imagem cobre bem em qualquer viewport largo */
.cenario-frame-real { background-size: cover; background-position: center 30%; }

/* =====================================================================
   8. FILOSOFIA — Missão/Visão/Valores verbatim (site WP arquivado) +
   avaliações agregadas do Google (fonte: brief Vexyon — INVENTARIO-F0.md)
   ===================================================================== */
.avaliacoes-section { text-align: center; }
.avaliacoes-section .sec-kicker { display: block; margin-bottom: 8px; }
.avaliacoes-number {
  font-size: clamp(3.2rem, 9vw, 5.2rem); color: var(--cor-destaque);
  line-height: 1; margin: 6px 0 10px; font-weight: 700;
}
.avaliacoes-stars {
  font-size: 1.3rem; color: var(--cor-destaque); letter-spacing: .06em; margin-bottom: 40px;
}
.avaliacoes-stars span { font-size: 1rem; color: var(--cor-texto-soft); font-weight: 600; margin-left: 8px; }
.depoimentos-grid {
  display: grid; gap: 18px; max-width: 980px; margin: 0 auto;
  grid-template-columns: 1fr;
  text-align: left;
}
@media (min-width: 700px) { .depoimentos-grid { grid-template-columns: repeat(2, 1fr); } }
.depoimento-card {
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(26,125,133,.18);
  border-radius: 20px;
  padding: 24px 24px;
  box-shadow: 0 20px 40px -32px rgba(22,48,46,.26);
}
.depoimento-card p { color: var(--cor-texto); font-size: .96rem; line-height: 1.6; margin-bottom: 12px; font-style: italic; font-family: var(--font-display); }
.depoimento-card span { font-size: .8rem; color: var(--cor-destaque); font-weight: 700; }

/* =====================================================================
   9. CTA FINAL / CHEGADA
   ===================================================================== */
.panel-cta {
  height: auto; min-height: 90svh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--section-pad) clamp(20px,5vw,56px);
}
.cta-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; text-align: center; }
.cta-eyebrow { display: block; font-size: 1.1rem; color: var(--cor-destaque); font-style: italic; margin-bottom: 16px; font-family: var(--font-display); font-weight: 600; }
.cta-title { font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--cor-texto); margin-bottom: 30px; line-height: 1.16; font-weight: 600; }
.cta-micro { display: block; margin-top: 16px; font-size: .86rem; color: var(--cor-texto-soft); font-weight: 500; }
.cta-footer {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(26,125,133,.24);
  display: flex; flex-direction: column; gap: 8px;
  font-size: .84rem; color: var(--cor-texto-soft);
}
.cta-footer .disclaimer { margin-top: 10px; font-size: .74rem; opacity: .7; }

/* =====================================================================
   AURA — assinatura Vexyon (câmera + anel 3D + parallax)
   ===================================================================== */
.real-photo-frame { overflow: hidden; }
.real-photo-frame img[data-parallax] { transform: scale(1.12); }

/* =====================================================================
   RESPONSIVO — ajustes mobile finos
   ===================================================================== */
@media (max-width: 600px) {
  .hero-copy { max-width: 100%; }
  /* Correção 2026-07-17: o halo ::before (pensado pra card estreito no
     desktop) cobria a largura INTEIRA do hero em mobile e apagava o
     rosto sorridente da foto (defeito medido no quadro forçado —
     "sujeito precisa aparecer no mobile", FASE 5). Halo mais estreito/
     fraco: o texto continua legível, a foto volta a aparecer. */
  .hero-copy::before {
    inset: -18px -20px -14px -20px;
    background: radial-gradient(85% 90% at 18% 38%,
      rgba(246,251,251,.88) 0%, rgba(246,251,251,.5) 45%, rgba(246,251,251,0) 78%);
  }
  .hero-camera-stage .camera-layer { background-position: 78% 30%; }
  .panel-hero { align-items: flex-start; }
  .hero-inner { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
  .nav-logo-word span { display: none; }
  .credencial-avatar { width: 64px; height: 64px; }
}
