/* ==========================================================================
   Face Doctor Perdizes — 4 variações de hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 100svh; display: flex; }
.hero > .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.08; }
.hero h1 strong { font-weight: 600; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 48ch; margin-top: 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 28px; }
.hero .eyebrow::before { content: ''; width: 40px; height: 1px; background: currentColor; }

.triptych { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.triptych img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .triptych { grid-template-columns: 1fr; } .triptych img:not(:nth-child(2)) { display: none; } }

.scroll-line { position: absolute; left: 50%; bottom: 0; z-index: 3; width: 1px; height: 90px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* V1 — IMERSIVO */
.hero--imersivo { align-items: center; color: #fff; background: var(--espresso); padding: calc(var(--header-h) + 40px) 0 130px; text-align: center; }
.hero--imersivo .hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero--imersivo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 50% 45%, rgba(42,32,34,.45), rgba(42,32,34,.86) 75%), linear-gradient(180deg, rgba(42,32,34,.6), rgba(42,32,34,.2) 40%, rgba(42,32,34,.9)); }
.hero--imersivo .container { display: flex; flex-direction: column; align-items: center; }
.hero--imersivo .lead { color: rgba(255,244,240,.88); }
.hero--imersivo .eyebrow { color: var(--rose-300); }
.hero--imersivo .actions { justify-content: center; }
.hero--imersivo h1 { max-width: 17ch; }

/* V2 — SPLIT */
.hero--split { align-items: center; background: radial-gradient(70% 60% at 85% 10%, rgba(221,179,170,.32), transparent 70%), radial-gradient(60% 50% at 5% 95%, rgba(185,119,107,.14), transparent 70%), var(--ivory); padding: calc(var(--header-h) + 48px) 0 90px; }
.hero--split .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero--split h1 { color: var(--ink); }
.hero--split h1 strong { color: var(--rose-700); }
.hero--split .lead { color: var(--ink-soft); }
.hero--split .eyebrow { color: var(--rose-700); }
.hero-facts { display: flex; gap: clamp(22px, 4vw, 48px); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-facts strong { display: block; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; color: var(--rose-700); line-height: 1.1; }
.hero-facts span { font-size: .78rem; letter-spacing: .06em; color: var(--ink-soft); }
.split-media { position: relative; isolation: isolate; justify-self: end; width: 100%; max-width: 480px; }
.split-media .arch { aspect-ratio: 4 / 5.3; overflow: hidden; border-radius: 999px 999px 0 0; box-shadow: var(--shadow); }
.split-media .arch img { width: 100%; height: 100%; object-fit: cover; }
.split-media .arch-frame { position: absolute; inset: -16px -16px 16px 16px; border: 1px solid var(--rose-500); border-radius: 999px 999px 0 0; z-index: -1; }
.split-media .seal { position: absolute; left: -12%; bottom: 8%; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.split-media .seal img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero--split .container { grid-template-columns: 1fr; } .split-media { justify-self: center; max-width: 380px; order: -1; } .split-media .seal { left: -6%; width: 104px; height: 104px; } }

/* V3 — MINIMALISTA */
.hero--minimalista { align-items: center; justify-content: center; text-align: center; background: radial-gradient(70% 60% at 85% 10%, rgba(221,179,170,.32), transparent 70%), radial-gradient(60% 50% at 5% 95%, rgba(185,119,107,.14), transparent 70%), var(--ivory); padding: calc(var(--header-h) + 40px) 0 120px; }
.hero--minimalista .container { display: flex; flex-direction: column; align-items: center; max-width: 980px; }
.hero--minimalista .logo-mark { width: clamp(120px, 12vw, 156px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: 34px; box-shadow: 0 0 0 1px var(--rose-500), 0 0 0 10px var(--ivory), 0 0 0 11px rgba(185,119,107,.35), var(--shadow); }
.hero--minimalista h1 { color: var(--ink); max-width: 20ch; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.hero--minimalista h1 strong { color: var(--rose-700); }
.hero--minimalista .lead { color: var(--ink-soft); margin-inline: auto; }
.hero--minimalista .actions { justify-content: center; }
.hero--minimalista .rule { width: 1px; height: 64px; background: var(--rose-500); margin: 0 auto 36px; }
.hero--minimalista .scroll-line { background: rgba(138,77,70,.2); }
.hero--minimalista .scroll-line::after { background: var(--rose-700); }

/* V4 — GALERIA */
.hero--galeria { align-items: flex-end; color: #fff; background: var(--espresso); padding: calc(var(--header-h) + 40px) 0 clamp(110px, 12vw, 150px); }
.hero--galeria .hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero--galeria .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero--galeria .slide.is-active { opacity: 1; }
.hero--galeria .slide.is-active .triptych img { animation: kenburns 7s ease-out both; }
.hero--galeria .triptych { overflow: hidden; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero--galeria::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42,32,34,.9), rgba(42,32,34,.55) 55%, rgba(42,32,34,.2)), linear-gradient(0deg, rgba(42,32,34,.85), transparent 55%); }
.hero--galeria .lead { color: rgba(255,244,240,.88); }
.hero--galeria .eyebrow { color: var(--rose-300); }
.hero--galeria h1 { max-width: 17ch; }
.slide-dots { display: flex; gap: 10px; margin-top: 44px; }
.slide-dots button { width: 40px; height: 2px; border: 0; padding: 0; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.slide-dots button.is-active::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot-fill 5s linear forwards; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) { .scroll-line::after, .hero--galeria .slide.is-active .triptych img { animation: none !important; } }
