/* ==========================================================================
   One Stop Barbershop — 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(3.2rem, 9.5vw, 8.6rem); font-weight: 900; line-height: .9; letter-spacing: -.045em; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 46ch; margin-top: 28px; color: #D9D6E2; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: .78rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--copper); }
.hero .eyebrow::before { content: ''; width: 12px; height: 12px; background: currentColor; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ''; width: 8px; height: 8px; background: var(--copper); }

.triptych { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--night); }
.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; } }

/* V1 — IMERSIVO */
.hero--imersivo { align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(70px, 9vw, 120px); background: var(--night); }
.hero--imersivo .hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero--imersivo .hero-bg img { filter: grayscale(.5) contrast(1.1); }
.hero--imersivo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,14,26,.96) 8%, rgba(15,14,26,.55) 55%, rgba(15,14,26,.35)); }

/* V2 — SPLIT */
.hero--split { align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; background: var(--night); }
.hero--split .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero--split h1 { font-size: clamp(3rem, 7.4vw, 7rem); }
.split-media { position: relative; }
.split-media .photo { aspect-ratio: 4 / 5.2; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 12%); }
.split-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge { position: absolute; left: -10%; bottom: 8%; width: 140px; height: 140px; background: var(--copper); color: var(--night); display: grid; place-items: center; text-align: center; font-weight: 900; text-transform: uppercase; line-height: 1; padding: 14px; transform: rotate(-8deg); }
.split-media .badge strong { display: block; font-size: 2.6rem; letter-spacing: -.04em; }
.split-media .badge small { font-size: .7rem; letter-spacing: .12em; }
@media (max-width: 900px) { .hero--split .container { grid-template-columns: 1fr; } .split-media { max-width: 420px; order: -1; margin-left: 10%; } .split-media .badge { width: 110px; height: 110px; } .split-media .badge strong { font-size: 2rem; } }

/* V3 — MINIMALISTA (logo + tipografia) */
.hero--minimalista { align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 100px; background: radial-gradient(60% 50% at 50% 40%, rgba(214,142,78,.14), transparent 70%), var(--night); }
.hero--minimalista .container { display: flex; flex-direction: column; align-items: center; }
.hero--minimalista .logo-mark { width: clamp(150px, 16vw, 210px); margin-bottom: 30px; }
.hero--minimalista .lead { margin-inline: auto; }
.hero--minimalista .actions, .hero--minimalista .hero-meta { justify-content: center; }
.hero--minimalista .outline-word { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: -1; font-size: clamp(10rem, 30vw, 28rem); font-weight: 900; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); white-space: nowrap; letter-spacing: -.06em; }

/* V4 — GALERIA */
.hero--galeria { align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(80px, 10vw, 130px); background: var(--night); }
.hero--galeria .hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero--galeria .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s 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.14); } to { transform: scale(1); } }
.hero--galeria::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,14,26,.92), rgba(15,14,26,.5) 60%, rgba(15,14,26,.2)), linear-gradient(0deg, rgba(15,14,26,.9), transparent 55%); }
.slide-dots { display: flex; gap: 8px; margin-top: 40px; }
.slide-dots button { width: 46px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.slide-dots button.is-active::after { content: ''; position: absolute; inset: 0; background: var(--copper); 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) { .hero--galeria .slide.is-active .triptych img { animation: none !important; } }
