/* =====================================================================
   CONCEITO.CSS — Vip Harmoniza · Dra. Mariana Oliveira
   Harmonização Facial e Odontologia · Porto Alegre

   Paleta: carvão-noite profundo + dourado VH, extraída do logo
   circular dourado "VIPHARMONIZA Dra. Mariana Oliveira" visível na
   photo maps_owner_00.jpg — eixo DOURADO/ESCURO premium.
   Fundo dominante ESCURO (hero/corpo), creme só no rodapé.

   Fontes: Cormorant Garamond (display, editorial alto contraste de
   moda/luxo) + Jost (corpo, geométrica limpa premium) — par distinto
   de Bodoni+Outfit (Living), Playfair+Inter, Fraunces+Jost.

   Grande Ideia: "Um rosto avaliado com cuidado — não uma promessa vendida."
   ===================================================================== */

/* ── TOKENS — satisfaz o contrato do kit (base.css) + tokens próprios ── */
:root {
  /* Contrato base.css */
  --cor-fundo-1:    #0A0A0E;  /* carvão-noite — hero/topo */
  --cor-fundo-2:    #141018;  /* roxo-carvão — transição */
  --cor-fundo-3:    #FAF6EE;  /* creme marfim — seções claras/rodapé */
  --cor-destaque:   #C9A84C;  /* dourado VH — amostrado do logo na parede */
  --cor-texto:      #F5F0E8;  /* marfim quente */
  --cor-texto-soft: rgba(245,240,232,.68);

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

  /* Tokens próprios da marca VIP */
  --dourado:       #C9A84C;
  --dourado-deep:  #A07C38;   /* CTA/botão — contraste forte */
  --dourado-soft:  rgba(201,168,76,.14);
  --dourado-line:  rgba(201,168,76,.32);
  --dourado-glow:  rgba(201,168,76,.20);
  --noite:         #0A0A0E;
  --noite-soft:    rgba(10,10,14,.72);
  --carvao:        #141018;
  --carvao-med:    #1E1820;
  --marfim:        #FAF6EE;
  --marfim-soft:   rgba(250,246,238,.72);

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

/* ── RESET / BODY ────────────────────────────────────────────────── */
html { background: var(--noite); }
body { -webkit-font-smoothing: antialiased; background: var(--noite); }
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(--dourado); }
.serif      { font-family: var(--font-display); font-weight: 600; }
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dourado);
  font-family: var(--font-body);
}

.grain { opacity: .03; }

/* ── CENARIO SCRIM — véu carvão/dourado sobre os frames da costura ──
   Alpha moderado: a cena aparece através. Legibilidade = halo local. */
.cenario-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10,10,14,.58) 0%,
    rgba(10,10,14,.44) 50%,
    rgba(10,10,14,.56) 100%);
}

/* ── NAV ────────────────────────────────────────────────────────── */
.nav {
  background: linear-gradient(180deg, rgba(10,10,14,.88) 0%, rgba(10,10,14,.60) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,10,14,.96); border-color: var(--dourado-line); box-shadow: 0 8px 28px -18px rgba(0,0,0,.7); }
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-text { color: var(--dourado); font-size: clamp(1rem,2.2vw,1.15rem); letter-spacing: .04em; }
.nav-cta {
  margin-left: auto; min-height: 40px; padding: 9px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 600; font-family: var(--font-body);
  background: var(--dourado); color: #0A0A0E;
  transition: transform var(--hover-dur), box-shadow var(--hover-dur);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(201,168,76,.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: 600; font-size: .92rem; font-family: var(--font-body);
  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); color: #0A0A0E; border: 1px solid var(--dourado);
  font-weight: 700;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(201,168,76,.55); background: #D4B45C; }
.btn-outline-link {
  color: var(--marfim); border: 1.5px solid rgba(201,168,76,.40);
  background: rgba(201,168,76,.08); backdrop-filter: blur(6px);
}
.btn-outline-link:hover { background: rgba(201,168,76,.16); border-color: rgba(201,168,76,.70); 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 — SPLIT desktop (foto coluna esquerda full-height |
   copy coluna direita sobre fundo carvão).
   Mobile: foto full-bleed topo + copy base sobreposta.
   Ken Burns CSS puro no <img> — nunca scroll-linked no hero.
   ══════════════════════════════════════════════════════════════════ */
.panel-hero {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100dvh;
  display: grid;
  grid-template-columns: 54% 46%;
  overflow: hidden;
}

/* ── Coluna da foto (desktop) ────────────────────────────────────── */
.hero-photo-col {
  position: relative;
  overflow: hidden;
  background: var(--noite);
}
.hero-photo-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%; /* rosto no terço superior da foto 1:1 */
  display: block;
  will-change: transform;
}

/* Ken Burns CSS puro — compressor na foto dentro da coluna */
@keyframes hero-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.hero-kenburns {
  animation: hero-kenburns 9s ease-in-out infinite alternate;
  transform-origin: 50% 20%; /* ancora no rosto / terço superior */
}
@media (prefers-reduced-motion: reduce) {
  .hero-kenburns { animation: none; transform: scale(1.04); }
}
html.no-webgl .hero-kenburns { animation: none; }

/* Borda de separação dourada sutil */
.hero-photo-col::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--dourado-line) 30%, var(--dourado-line) 70%, transparent 100%);
  z-index: 2; pointer-events: none;
}

/* ── Coluna de copy (desktop) ────────────────────────────────────── */
.hero-copy-col {
  position: relative;
  background: var(--noite);
  display: flex; align-items: center;
  z-index: 3;
  overflow: hidden;
}
/* Textura sutil no fundo da copy col */
.hero-copy-col::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 30%, var(--dourado-glow) 0%, transparent 70%);
  pointer-events: none;
}
/* Camera layer transparente (auto-boot aura) */
.hero-copy-col .camera-layer {
  position: absolute; inset: 0; background: transparent;
  pointer-events: none;
}
.hero-copy-inner {
  position: relative; z-index: 1;
  padding: clamp(2rem,6vw,5rem) clamp(2rem,5vw,4.5rem);
  max-width: 520px;
}

.hero-scrolldown { display: none; } /* não mostrar no split desktop */

/* ── copy interna ──────────────────────────────────────────────── */
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08;
  color: var(--marfim);
  margin: .75rem 0 1.2rem;
}
.hero-sub {
  font-size: clamp(.9rem,1.5vw,1.05rem);
  line-height: 1.7;
  color: var(--cor-texto-soft);
  font-family: var(--font-body);
  font-style: italic;
  border-left: 2px solid var(--dourado-line);
  padding-left: 1.1rem;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
}

/* ── MOBILE — foto full-bleed, copy sobreposta na base ─────────── */
@media (max-width: 768px) {
  .panel-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 60svh 1fr;
    min-height: 100svh;
  }

  .hero-photo-col {
    position: relative;
    height: 60svh;
  }
  .hero-photo-col::after { display: none; }

  /* Ken Burns: ancora centro-direita — folga no logo garantida pela margem da fonte */
  .hero-kenburns {
    transform-origin: 55% 30%;
    object-position: center 20%;
  }

  .hero-copy-col {
    position: relative;
    min-height: 40svh;
    background: var(--noite);
    align-items: flex-start;
  }
  .hero-copy-inner {
    padding: 2rem 1.4rem 2.5rem;
    max-width: 100%;
  }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-sub   { font-size: .9rem; }
}

/* ══════════════════════════════════════════════════════════════════
   SEÇÃO 2 · TESE
   ══════════════════════════════════════════════════════════════════ */
.tese {
  position: relative; z-index: 2;
  background: rgba(10,10,14,.72);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem,6vw,5rem);
  color: var(--marfim);
}
.tese-inner { max-width: 920px; margin: 0 auto; }
.tese-inner .eyebrow { margin-bottom: 1rem; display: block; }
.tese-inner .display {
  font-size: clamp(1.8rem,3.5vw,3rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.tese-p {
  font-size: clamp(.95rem,1.4vw,1.05rem);
  line-height: 1.72;
  color: var(--cor-texto-soft);
  font-family: var(--font-body);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.tese-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.5rem;
}
.tese-item {
  background: rgba(201,168,76,.06);
  border: 1px solid var(--dourado-line);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  transition: background .3s;
}
.tese-item:hover { background: rgba(201,168,76,.11); }
.tese-tag {
  display: block;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; font-family: var(--font-body); color: var(--dourado);
  margin-bottom: .6rem;
}
.tese-item p {
  font-size: .9rem; line-height: 1.65;
  color: var(--cor-texto-soft); font-family: var(--font-body);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SEÇÃO 3 · TRATAMENTOS (anel 3D / grid)
   ══════════════════════════════════════════════════════════════════ */
.tratamentos {
  position: relative; z-index: 2;
  background: var(--carvao-med);
  padding: clamp(3rem,6vw,6rem) clamp(1.5rem,6vw,5rem);
  color: var(--marfim);
}
.tratamentos-head { max-width: 620px; margin: 0 auto clamp(2.5rem,4vw,3.5rem); text-align: center; }
.tratamentos-head .eyebrow { display: block; margin-bottom: .8rem; }
.tratamentos-head .display {
  font-size: clamp(1.7rem,3vw,2.6rem); line-height: 1.18;
}

/* Grid: 1 célula destaque large + N células menores */
.trat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1rem;
  max-width: 1100px; margin: 0 auto;
}

/* Primeira célula: destaque (2 colunas) */
.trat-cell-destaque {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .trat-cell-destaque { grid-column: span 1; }
}

.trat-cell {
  background: rgba(201,168,76,.05);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.trat-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,76,.30);
}

.trat-img {
  width: 100%; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  flex-shrink: 0;
  transition: transform 9s ease;
}
.trat-cell:hover .trat-img { transform: scale(1.04); }
.trat-cell-destaque .trat-img { aspect-ratio: 16/7; }

.trat-body {
  padding: 1.1rem 1.1rem 1.4rem;
  flex: 1; display: flex; flex-direction: column;
}
.trat-label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; font-family: var(--font-body); color: var(--dourado);
  margin-bottom: .45rem; display: block;
}
.trat-body h3 {
  font-size: clamp(1.1rem,2vw,1.4rem); line-height: 1.2;
  margin: 0 0 .6rem; color: var(--marfim);
}
.trat-body p {
  font-size: .88rem; line-height: 1.62;
  color: var(--cor-texto-soft); font-family: var(--font-body); margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SEÇÃO 4 · QUEM CUIDA DE VOCÊ
   ══════════════════════════════════════════════════════════════════ */
.quemcuida {
  position: relative; z-index: 2;
  background: rgba(10,10,14,.78);
  padding: clamp(4rem,8vw,7rem) clamp(1.5rem,6vw,5rem);
  color: var(--marfim);
}
.quemcuida-inner { max-width: 1000px; margin: 0 auto; }
.quemcuida-inner .eyebrow { display: block; margin-bottom: 1rem; }
.quemcuida-inner .display {
  font-size: clamp(2rem,4vw,3.2rem); line-height: 1.1;
  margin-bottom: 2.5rem;
}
.quemcuida-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: start;
}
@media (max-width: 720px) {
  .quemcuida-grid { grid-template-columns: 1fr; }
}
.quemcuida-photo {
  position: relative;
  /* Padding-top trick: garante 1:1 cross-browser — aspect-ratio no <img> não funciona
     quando o container não tem altura explícita em grid/flex com align-items:start */
  padding-top: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--dourado-line);
  box-shadow: 0 28px 64px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(201,168,76,.18);
}
.quemcuida-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  /* Dra. Mariana: rosto no quadrante direito-centro (x≈70%, y≈55%) */
  object-position: 70% 55%;
  filter: saturate(0.9) brightness(0.96);
}
.quemcuida-bio {
  font-size: clamp(.95rem,1.4vw,1.05rem);
  line-height: 1.72; color: var(--cor-texto-soft);
  font-family: var(--font-body);
  font-style: italic;
  border-left: 2px solid var(--dourado-line); padding-left: 1.1rem;
  margin-bottom: 1.8rem;
}
.quemcuida-credenciais {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.quemcuida-credenciais li {
  font-size: .8rem; font-family: var(--font-body); font-weight: 500;
  padding: .35rem .85rem; border-radius: 100px;
  border: 1px solid var(--dourado-line);
  color: var(--dourado);
  background: rgba(201,168,76,.07);
}

/* ══════════════════════════════════════════════════════════════════
   SEÇÃO 5 · PROVA SOCIAL
   ══════════════════════════════════════════════════════════════════ */
.prova-social {
  position: relative; z-index: 2;
  background: var(--marfim);
  padding: clamp(4rem,8vw,7rem) clamp(1.5rem,6vw,5rem);
  color: var(--noite);
}
.prova-inner { max-width: 960px; margin: 0 auto; }
.prova-inner .eyebrow { color: var(--dourado-deep); margin-bottom: 1rem; display: block; }
.prova-title {
  font-size: clamp(1.7rem,3.2vw,2.8rem); line-height: 1.15;
  margin-bottom: 2.5rem; color: var(--noite);
}
.prova-rating {
  display: inline-flex; align-items: center; gap: 1.1rem;
  background: rgba(10,10,14,.06); border-radius: 100px;
  padding: .8rem 1.6rem;
  border: 1px solid rgba(10,10,14,.12);
  margin-bottom: 2.8rem;
}
.prova-rating-g { width: 24px; height: 24px; flex-shrink: 0; }
.prova-rating-num {
  font-size: 2rem; line-height: 1; color: var(--noite); font-weight: 700;
}
.prova-rating-meta { display: flex; flex-direction: column; gap: .1rem; }
.prova-stars { color: #F59E0B; letter-spacing: .05em; }
.prova-rating-meta span:last-child { font-size: .78rem; font-family: var(--font-body); color: rgba(10,10,14,.55); }

.prova-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.2rem;
}
.prova-card {
  background: rgba(10,10,14,.04); border: 1px solid rgba(10,10,14,.10);
  border-radius: 14px; padding: 1.4rem 1.2rem;
  margin: 0; transition: box-shadow .25s;
}
.prova-card:hover { box-shadow: 0 8px 28px -10px rgba(0,0,0,.14); }
.prova-card p {
  font-family: var(--font-body); font-size: .9rem; line-height: 1.66;
  color: rgba(10,10,14,.82); font-style: italic; margin: 0 0 .9rem;
}
.prova-card footer {
  font-family: var(--font-body); font-size: .78rem;
  font-weight: 700; color: var(--noite); font-style: normal;
}
.prova-card footer span { font-weight: 400; color: rgba(10,10,14,.50); }

/* ══════════════════════════════════════════════════════════════════
   SEÇÃO 6 · CTA FINAL
   ══════════════════════════════════════════════════════════════════ */
.cta-final {
  position: relative; z-index: 2;
  background: var(--noite);
  padding: clamp(5rem,9vw,9rem) clamp(1.5rem,6vw,5rem);
  color: var(--marfim);
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, var(--dourado-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-final-eyebrow { margin-bottom: 1rem; }
.cta-final-title {
  font-size: clamp(2rem,4vw,3.6rem); line-height: 1.1;
  margin-bottom: 1.2rem; color: var(--marfim);
}
.cta-final-sub {
  font-family: var(--font-body); font-size: clamp(.9rem,1.3vw,1rem);
  color: var(--cor-texto-soft); line-height: 1.65;
  margin-bottom: 2.2rem;
}

/* ══════════════════════════════════════════════════════════════════
   RODAPÉ
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative; z-index: 2;
  background: rgba(10,10,14,.96);
  border-top: 1px solid var(--dourado-line);
  padding: 2rem clamp(1.5rem,6vw,5rem);
}
.site-footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 2rem; max-width: 1100px; margin: 0 auto;
}
.site-footer-logo {
  color: var(--dourado); font-size: 1.05rem; letter-spacing: .03em;
}
.site-footer-addr {
  font-family: var(--font-body); font-size: .78rem;
  color: var(--cor-texto-soft);
}
.site-footer-disclaimer {
  margin-left: auto; font-family: var(--font-body); font-size: .75rem;
  color: rgba(201,168,76,.44); letter-spacing: .04em;
}
