/* =====================================================================
   CONCEITO.CSS — Albarello Odontologia Avançada
   Paleta: claro e sóbrio, preto na tipografia, acento dourado quente
   (inspirado no bordado dourado do jaleco da Dra. Adriana).
   Fontes: Figtree (heading) + Noto Sans (body) — Medical Clean.
   Carregado DEPOIS de base.css + cenario.css.
   ===================================================================== */

/* ── TOKENS ── */
:root {
  --cor-fundo-1: #F7F5F2;
  --cor-fundo-2: #FFFFFF;
  --cor-texto: #111111;
  --cor-texto-muted: #5A5751;
  --cor-destaque: #C8A96E;
  --cor-destaque-dark: #9E7A3C;
  --cor-borda: #E2DDD5;
  --cor-scrim: rgba(247,245,242,0.92);

  --font-display: 'Figtree', sans-serif;
  --font-body: 'Noto Sans', sans-serif;

  /* Anel */
  --anel-perspective: 1300px;
}

/* ── BODY / GLOBAL ── */
body {
  background: var(--cor-fundo-1);
  color: var(--cor-texto);
  font-family: var(--font-body);
}

/* Cenário scrim — overlay leve para preservar contraste do texto */
.cenario-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(247,245,242,0.34);
}

/* ── GRÃO SUAVE ── */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: clamp(14px,2vw,20px) clamp(20px,5vw,60px);
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background .4s ease;
}
.nav.scrolled {
  background: rgba(247,245,242,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cor-borda);
}
.nav-inner {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-link { text-decoration: none; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--cor-texto);
  letter-spacing: -.01em;
}
.nav-cta {
  display: inline-block;
  padding: 9px 22px;
  background: var(--cor-destaque);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .22s ease;
}
.nav-cta:hover { background: var(--cor-destaque-dark); }

/* ── WA FLUTUANTE ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.38);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.52);
}

/* ── HERO ── */
.panel-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Desktop: split layout — foto left, copy right */
.hero-inner {
  display: flex;
  width: 100%;
  min-height: 100svh;
  position: relative;
  z-index: 2;
}

.hero-photo-col {
  position: relative;
  flex: 0 0 48%;
  overflow: hidden;
}

.hero-camera-stage {
  width: 100%; height: 100%;
}

/* Ken Burns CSS puro: 9s, scale 1.02→1.19, prefers-reduced-motion off */
@keyframes kenburns-hero {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.19); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-kenburns {
    animation: kenburns-hero 9s ease-in-out infinite alternate;
    background-image: url('assets/hero-desktop-real.webp');
    background-position: center 15%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kenburns {
    background-image: url('assets/hero-desktop-real.webp');
    background-position: center 15%;
    animation: none;
  }
}

.hero-photo-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(247,245,242,0) 60%, rgba(247,245,242,.85) 100%);
}

.hero-copy-col {
  flex: 0 0 52%;
  display: flex;
  align-items: center;
  padding: clamp(80px,8vw,120px) clamp(32px,5vw,80px) clamp(48px,6vw,80px) clamp(32px,4vw,60px);
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 540px;
}

.hero-copy .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(.7rem, 1.1vw, .82rem);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--cor-destaque);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--cor-texto);
  margin: 0 0 20px;
}

.hero-copy .hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--cor-texto-muted);
  margin-bottom: 36px;
  max-width: 430px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--cor-destaque);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .22s ease, transform .18s ease;
}
.hero-cta:hover {
  background: var(--cor-destaque-dark);
  transform: translateY(-1px);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: .82rem;
  color: var(--cor-texto-muted);
}
.hero-badge strong { color: var(--cor-texto); }
.hero-badge-stars { color: #F59E0B; letter-spacing: .05em; }

/* Mobile empilhado: tela baixa (≤850px alta e ≤767px larga) */
@media (max-height: 850px) and (max-width: 767px) {
  .panel-hero { flex-direction: column; min-height: 100svh; }
  .hero-inner { flex-direction: column; min-height: 100svh; }
  .hero-photo-col { flex: 0 0 58svh; height: 58svh; }
  .hero-photo-scrim { background: linear-gradient(180deg, rgba(247,245,242,0) 55%, rgba(247,245,242,.9) 100%); }
  .hero-copy-col { flex: 1; padding: 24px 24px 36px; background: var(--cor-fundo-1); }
  .hero-kenburns {
    background-position: center 12%;
  }
}

/* Mobile geral (≤767px, telas altas normais) */
@media (max-width: 767px) {
  .hero-inner { flex-direction: column; }
  .hero-photo-col { flex: 0 0 58svh; height: 58svh; }
  .hero-photo-scrim { background: linear-gradient(180deg, rgba(247,245,242,0) 55%, rgba(247,245,242,.88) 100%); }
  .hero-copy-col { flex: 1; padding: 24px 24px 40px; background: var(--cor-fundo-1); }
  /* Derivada mobile: crop 780×900 centrada no rosto — evita over-decode do original 1040×1560 */
  .hero-kenburns { background-image: url('assets/hero-mobile-real.webp'); background-position: center 12%; }
  .hero-copy h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-copy .hero-sub { font-size: .95rem; }
}

/* ── SEÇÕES DE CONTEÚDO ── */
/* base.css já define: max-width 1320px, margin 0 auto, lateral padding, --section-pad */
.content-section {
  padding-top:    clamp(64px,8vw,110px);
  padding-bottom: clamp(64px,8vw,110px);
  position: relative;
  z-index: 2;
}

/* ── TRATAMENTOS — trat-grid/cell (contrato do motor-anel-3d.js) ── */
.trat-grid {
  display: grid;
  gap: clamp(14px,2vw,22px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: clamp(24px,4vw,40px);
}

.trat-cell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cor-fundo-2);
}

.trat-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) sepia(0.1) brightness(0.97);
}

.trat-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%);
}

.trat-cell h3 {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(18px,2.5vw,24px) clamp(18px,2.5vw,24px) clamp(20px,2.8vw,28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem,1.8vw,1.3rem);
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

.trat-cell p {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 clamp(18px,2.5vw,24px) clamp(48px,7vw,60px);
  font-size: .82rem;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  margin: 0;
}

@media (max-width: 600px) {
  .trat-cell { aspect-ratio: 4/3; }
}

/* Seções translúcidas sobre o cenário */
.section-translucida {
  background: rgba(247,245,242,0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.section-solida {
  background: rgba(247,245,242,0.96);
}

.section-dark {
  background: rgba(17,17,17,0.92);
  color: #F7F5F2;
}
.section-dark .section-label,
.section-dark .section-title,
.section-dark blockquote,
.section-dark p { color: #F7F5F2; }

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(.68rem, 1vw, .78rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cor-destaque);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cor-texto);
  margin: 0 0 clamp(28px,4vw,48px);
  max-width: 620px;
}

.section-title em {
  font-style: normal;
  color: var(--cor-destaque);
}

/* ── SEÇÃO 2 — ENTRA QUEM PRECISA ── */
.plano-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px,3vw,48px);
  margin-top: clamp(32px,4vw,56px);
}

.plano-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--cor-borda);
  border-radius: 20px;
  padding: clamp(24px,3vw,40px);
}

.plano-card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.plano-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--cor-texto);
}

.plano-card p {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  line-height: 1.7;
  color: var(--cor-texto-muted);
  margin: 0;
}

.plano-card.destaque {
  background: var(--cor-destaque);
  border-color: var(--cor-destaque-dark);
  color: #fff;
}
.plano-card.destaque h3 { color: #fff; }
.plano-card.destaque p { color: rgba(255,255,255,.88); }

@media (max-width: 600px) {
  .plano-grid { grid-template-columns: 1fr; }
}

/* ── SEÇÃO 3 — FICA QUEM FOI BEM CUIDADO ── */
.testemunho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px,2vw,28px);
  margin-top: clamp(28px,4vw,48px);
}

.testemunho-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--cor-borda);
  border-radius: 16px;
  padding: clamp(20px,2.5vw,32px);
}

.testemunho-anos {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cor-destaque);
  line-height: 1;
  margin-bottom: 6px;
}

.testemunho-card blockquote {
  font-size: clamp(.88rem, 1.1vw, .96rem);
  line-height: 1.7;
  color: var(--cor-texto-muted);
  margin: 0 0 12px;
  font-style: italic;
}

.testemunho-autor {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--cor-texto);
}

@media (max-width: 767px) {
  .testemunho-grid { grid-template-columns: 1fr; }
  .testemunho-card:not(:first-child) { display: none; }
}

/* ── SEÇÃO 4 — O CASO QUE NINGUÉM RESOLVEU ── */
.caso-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,5vw,72px);
  align-items: center;
}

.caso-body {}

.caso-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: #F7F5F2;
  margin: 0 0 20px;
  border-left: 3px solid var(--cor-destaque);
  padding-left: 24px;
}

.caso-autor {
  font-size: .86rem;
  color: rgba(247,245,242,.7);
  margin-bottom: 32px;
  padding-left: 27px;
}

.caso-servicos {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caso-servicos li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(.9rem, 1.2vw, 1rem);
  color: rgba(247,245,242,.9);
}

.caso-servicos li::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--cor-destaque);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .caso-wrap { grid-template-columns: 1fr; }
}

/* ── SEÇÃO 5 — ANEL 3D (tratamentos) ── */
#tratamentos {
  padding: 0;
  overflow: hidden;
}

#tratamentos .section-header {
  padding: clamp(48px,6vw,80px) clamp(24px,6vw,80px) 0;
}

/* Warm tint overlay on anel card images */
.anel-card-img {
  filter: saturate(0.92) sepia(0.12) brightness(0.97);
}

/* ── SEÇÃO 6 — QUEM CUIDA ── */
.quemcuida-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px,5vw,72px);
  align-items: start;
}

.quemcuida-foto {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.quemcuida-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.quemcuida-nome {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--cor-texto);
  margin: 0 0 6px;
}

.quemcuida-titulo {
  font-size: .9rem;
  color: var(--cor-destaque);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.quemcuida-texto {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  line-height: 1.75;
  color: var(--cor-texto-muted);
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .quemcuida-wrap { grid-template-columns: 1fr; }
  .quemcuida-foto { max-width: 220px; aspect-ratio: 3/4; }
}

/* ── SEÇÃO 7 — A CASA ── */
.casa-location {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: clamp(.88rem, 1.2vw, 1rem);
  color: var(--cor-texto-muted);
}
.casa-location svg { flex-shrink: 0; }

.casa-diferenciais {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.casa-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(200,169,110,.12);
  border: 1px solid rgba(200,169,110,.3);
  border-radius: 100px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--cor-texto);
}

/* ── SEÇÃO 8 — PROVA SOCIAL ── */
.prova-social-badge {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--cor-borda);
  border-radius: 16px;
  margin-bottom: 40px;
}

.prova-nota {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cor-texto);
  line-height: 1;
}

.prova-stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: .06em; }
.prova-count { font-size: .86rem; color: var(--cor-texto-muted); }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px,2vw,24px);
}

.depoimento-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--cor-borda);
  border-radius: 16px;
  padding: clamp(20px,2.5vw,28px);
}

.depoimento-card blockquote {
  font-size: clamp(.88rem, 1.1vw, .96rem);
  line-height: 1.72;
  color: var(--cor-texto-muted);
  margin: 0 0 16px;
  font-style: italic;
}

.depoimento-autor {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--cor-texto);
}

@media (max-width: 767px) {
  .depoimentos-grid { grid-template-columns: 1fr; }
}

/* ── SEÇÃO 9 — CTA FINAL ── */
.cta-section {
  text-align: center;
  padding: clamp(64px,8vw,120px) clamp(24px,6vw,80px);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cor-texto);
  margin: 0 0 16px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

.cta-section p {
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  color: var(--cor-texto-muted);
  margin-bottom: 36px;
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 38px;
  background: var(--cor-destaque);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .22s ease, transform .18s ease;
}
.cta-btn:hover {
  background: var(--cor-destaque-dark);
  transform: translateY(-2px);
}

/* ── RODAPÉ ── */
.footer {
  padding: 24px clamp(24px,6vw,80px);
  background: rgba(247,245,242,0.96);
  border-top: 1px solid var(--cor-borda);
  text-align: center;
  font-size: .78rem;
  color: var(--cor-texto-muted);
}

/* ── DATA-FADE / DATA-REVEAL ── */
[data-fade] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-fade].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease .1s, transform .8s ease .1s;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger */
[data-reveal]:nth-child(2) { transition-delay: .22s; }
[data-reveal]:nth-child(3) { transition-delay: .38s; }
[data-reveal]:nth-child(4) { transition-delay: .52s; }
