/* CONCEITO.CSS — Afetto Clínica Infantil
   Paleta: verde-musgo (#3d6b4f) + rosa (#de7a8a) + branco
   Tipografia: Spectral (display) + Inter (corpo)
   Grande Ideia: "Aqui seu filho não faz birra. Ele pede pra voltar."
*/
:root {
  --cor-destaque: #3d6b4f;
  --cor-accent: #de7a8a;
  --cor-bg: #f5f9f6;
  --cor-texto: #1a3327;
  --cor-texto-leve: #4a6b55;
  --font-display: 'Spectral', Georgia, serif;
  --font-corpo: 'Inter', system-ui, sans-serif;
}
body { background: var(--cor-bg); font-family: var(--font-corpo); color: var(--cor-texto); }
.grain { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.3; }
.cenario-scrim { background: linear-gradient(180deg, rgba(20,40,28,0.42) 0%, rgba(20,40,28,0.15) 55%, rgba(20,40,28,0.50) 100%); }
.nav { background: transparent; }
.nav-inner { padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.5); white-space: nowrap; }
.nav-logo em { font-style: italic; }
.nav-cta { background: var(--cor-accent); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 10px 22px; border-radius: 4px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { opacity: 0.88; }
.panel-hero { min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: 72px; }
.hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(8,20,12,0.92) 0%, rgba(8,20,12,0.85) 50%, rgba(8,20,12,0.12) 64%, rgba(8,20,12,0.0) 72%); }
.hero-kenburns { animation: kb 9s ease-in-out infinite alternate; transform-origin: 52% 65%; }
/* hero é portrait (ball pit) — ancoramos transform-origin mais baixo
   pra mostrar o ball pit colorido (parte inferior) no desktop paisagem */
.panel-hero .camera-layer { background-position: center 60%; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.19); } }
@media (prefers-reduced-motion: reduce) { .hero-kenburns { animation: none; } }
.hero-inner { position: relative; z-index: 3; max-width: 860px; margin: 0 auto; padding: 0 32px; width: 100%; }
.hero-copy { max-width: 680px; }
.eyebrow { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cor-accent); margin-bottom: 16px; }
/* hero: eyebrow fica branco para garantir contraste ≥4.5:1 sobre qualquer foto de fundo
   (pastel #de7a8a tem L=0.313 — não passa 4.5:1 sem scrim quase opaco na mesma zona) */
.panel-hero .eyebrow { color: rgba(255,255,255,0.92); text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,3.8rem); font-weight: 700; color: #fff; line-height: 1.12; margin: 0 0 20px; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero-title em { font-style: italic; color: var(--cor-accent); }
.hero-sub { font-size: clamp(1rem,2vw,1.12rem); color: rgba(255,255,255,0.88); line-height: 1.65; margin: 0 0 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--cor-accent); color: #fff; font-size: 1rem; font-weight: 600; padding: 14px 30px; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { border: 2px solid rgba(255,255,255,0.6); color: #fff; font-size: 1rem; font-weight: 500; padding: 12px 26px; border-radius: 4px; text-decoration: none; }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.section-inner { max-width: 1060px; margin: 0 auto; padding: 80px 32px; }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cor-accent); margin-bottom: 14px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; color: var(--cor-destaque); line-height: 1.2; margin: 0 0 16px; }
.section-title em { font-style: italic; }
.section-sub { font-size: 1.05rem; color: var(--cor-texto-leve); line-height: 1.7; max-width: 540px; margin: 0 0 48px; }
.tratamentos-section { background: #e8f2ec; }
.tratamentos-anel-wrap { position: relative; height: 340px; overflow: hidden; }
.sobre-section { background: var(--cor-bg); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sobre-img { border-radius: 8px; overflow: hidden; }
.sobre-img img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; }
.sobre-texto .section-title { margin-bottom: 16px; }
.sobre-desc { font-size: 1rem; color: var(--cor-texto-leve); line-height: 1.7; margin-bottom: 24px; }
.sobre-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: rgba(61,107,79,0.09); border-radius: 4px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; color: var(--cor-destaque); }
.prova-section { background: var(--cor-bg); }
.prova-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 20px 28px; box-shadow: 0 2px 16px rgba(0,0,0,0.08); margin-bottom: 40px; border: 1px solid rgba(0,0,0,0.06); }
.prova-estrelas { font-size: 1.3rem; color: #fbbc04; }
.prova-nota { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--cor-destaque); }
.prova-qtd { font-size: 0.85rem; color: var(--cor-texto-leve); }
.prova-google { font-size: 0.75rem; font-weight: 700; color: #5f6368; }
.cta-section { background: var(--cor-destaque); padding: 80px 0; text-align: center; }
.cta-section .section-title { color: #fff; margin-bottom: 16px; }
.cta-section .section-sub { color: rgba(255,255,255,0.8); margin: 0 auto 40px; }
.site-footer { background: #0c1a12; color: rgba(255,255,255,0.5); text-align: center; padding: 28px 24px; font-size: 0.78rem; }
.footer-proposta { color: var(--cor-accent); font-weight: 600; }
.site-footer address { font-style: normal; margin-top: 8px; }
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 9998; background: #25d366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); text-decoration: none; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }
[data-fade] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-fade].is-visible { opacity: 1; transform: none; }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 768px) {
  .section-inner { padding: 60px 20px; }
  .hero-inner, .nav-inner { padding: 16px 20px; }
  .sobre-grid { grid-template-columns: 1fr; }
  /* hero-mobile: crop centrado no decor temático (36% Y da foto Maps);
     transform-origin: 50% 50% — ambiente sem rosto, zoom não deve puxar pro topo */
  .panel-hero .camera-layer {
    background-image: url('assets/hero-mobile.webp') !important;
    background-position: center center;
  }
  .panel-hero .camera-layer,
  .hero-kenburns { transform-origin: 50% 50%; }
}
