/* ═══════════════════════════════════════════════════════════════
   CLÃ ASLLAM — HOME v3 · "Noite de luta"
   Foto real em tela cheia, uma ideia por seção, um botão só.
═══════════════════════════════════════════════════════════════ */

:root {
  --ink:    #06080C;
  --night:  #0B0F16;
  --panel:  #111620;
  --gold:   #D4AF37;
  --gold-2: #E9CF7E;
  --red:    #C8102E;
  --red-2:  #A50D26;
  --cream:  #F3EFE6;
  --sub:    #C9C4B8;
  --mute:   #8F8B83;
  --hair:   rgba(212, 175, 55, .22);
  --line:   rgba(243, 239, 230, .09);

  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-body:    'Barlow', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 10vw, 8rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--section) 0; }
.sec + .sec { border-top: 1px solid var(--line); }

/* ───── Tipografia ───── */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .88rem; font-weight: 500; color: var(--gold);
  margin-bottom: 1.1rem;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.lede { max-width: 58ch; color: var(--sub); font-size: 1.06rem; margin-top: 1.2rem; }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; }
.sec-head.split .lede { margin-top: 0; }

/* ───── Botões ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: 0 1.6rem;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #DC1535; }
.btn-ghost { border-color: rgba(243, 239, 230, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .92rem; color: var(--gold-2);
  border-bottom: 1px solid var(--hair); padding-bottom: 2px;
  transition: border-color .2s ease;
}
.link:hover { border-color: var(--gold); }
.link svg { width: 15px; height: 15px; }

/* ───── Header ───── */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(6, 8, 12, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; }
.menu { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.menu a { font-size: .92rem; font-weight: 500; color: var(--sub); transition: color .2s ease; }
.menu a:hover { color: var(--cream); }
.top .btn { min-height: 44px; padding: 0 1.2rem; font-size: .9rem; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--cream); position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--cream); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }

/* ───── Hero ───── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 0;
  isolation: isolate;
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.85) contrast(1.05); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,8,12,.92) 0%, rgba(6,8,12,.7) 38%, rgba(6,8,12,.15) 70%, rgba(6,8,12,.05) 100%),
    linear-gradient(180deg, rgba(6,8,12,.55) 0%, transparent 22%, transparent 60%, var(--ink) 100%);
}
.hero-copy { max-width: 640px; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero-place { font-size: .95rem; color: var(--gold-2); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.hero-place img { width: 26px; height: 26px; }
.hero h1 { font-size: clamp(3.1rem, 7.4vw, 6rem); line-height: .96; letter-spacing: -.01em; }
.hero h1 .l2 { color: var(--gold); }
.hero p.sub { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--sub); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-facts {
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-facts div { padding: 1.3rem 1.5rem 1.4rem 0; font-size: .92rem; color: var(--sub); }
.hero-facts div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; color: var(--cream); font-weight: 600; font-size: 1rem; }

/* entrada do hero: o único momento coreografado da página */
.hero-img { will-change: transform; }
.hero-img img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }

/* entrada do hero: o único momento coreografado, logo depois da abertura */
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: block; transform: translateY(112%); transition: transform 1.05s cubic-bezier(.76,0,.24,1); }
.ready .hero h1 .ln > span { transform: none; }
.ready .hero h1 .ln:nth-child(2) > span { transition-delay: .09s; }
.ready .hero h1 .ln:nth-child(3) > span { transition-delay: .18s; }
.hero-place, .hero p.sub, .hero-ctas, .hero-facts { opacity: 0; transform: translateY(14px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.ready .hero-place { opacity: 1; transform: none; }
.ready .hero p.sub { opacity: 1; transform: none; transition-delay: .35s; }
.ready .hero-ctas { opacity: 1; transform: none; transition-delay: .48s; }
.ready .hero-facts { opacity: 1; transform: none; transition-delay: .62s; }

/* ───── Linhagem ───── */
.lineage .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem 5rem; align-items: center; }
.lineage p { color: var(--sub); max-width: 52ch; margin-top: 1rem; }
.teams { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.team { padding: 1.8rem 1rem 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.team + .team { border-left: 1px solid var(--line); }
.team img { height: 74px; width: auto; opacity: .9; }
.team b { font-family: var(--f-display); font-size: 1rem; letter-spacing: .03em; }
.team small { display: block; color: var(--mute); font-size: .82rem; margin-top: .2rem; }

/* ───── Modalidades ───── */
.arts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.art { display: flex; flex-direction: column; background: var(--night); border: 1px solid var(--line); transition: border-color .25s ease; }
.art:hover { border-color: var(--hair); }
.art-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.art:hover .art-img img { transform: scale(1.04); }
.art-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,8,12,.85)); }
.art-img h3 { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1; font-size: 1.55rem; }
.art-body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.art-body p { color: var(--sub); font-size: .94rem; }
.art-when { font-size: .86rem; color: var(--cream); border-top: 1px solid var(--line); padding-top: .9rem; }
.art-when span { display: block; color: var(--mute); font-size: .8rem; }
.art-body .link { margin-top: auto; align-self: flex-start; }
.arts-note { margin-top: 1.6rem; color: var(--mute); font-size: .92rem; }
.arts-note a { color: var(--gold-2); border-bottom: 1px solid var(--hair); }

/* ───── Caminhos ───── */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.path { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.path:hover img { transform: scale(1.04); }
.path::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,8,12,.05) 25%, rgba(6,8,12,.9) 72%, rgba(6,8,12,.96)); }
.path-body { padding: 1.8rem 1.6rem; }
.path-body h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.path-body p { color: var(--sub); font-size: .96rem; margin: .8rem 0 1.3rem; }
.path-tag { display: inline-block; font-size: .82rem; color: var(--gold-2); margin-bottom: .7rem; }

/* ───── Primeira aula ───── */
.first .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.first-img { margin: 0; }
.first-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.first-img figcaption { margin-top: .7rem; font-size: .84rem; color: var(--mute); }
.steps { list-style: none; counter-reset: s; margin-top: 2rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 1.6rem; color: var(--gold); line-height: 1.2; }
.steps b { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: .25rem; }
.steps p { color: var(--sub); font-size: .95rem; }
.doubts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.doubts { gap: 0 3rem; }
.doubt { padding-top: 1.6rem; border-top: 1px solid var(--red); }
.doubt .doubt-q { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.15; color: var(--cream); text-wrap: balance; }
.doubt p { color: var(--sub); font-size: .96rem; margin-top: .9rem; max-width: 40ch; }

/* ───── Professores ───── */
.coaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.coach-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.coach-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.coaches article { display: flex; flex-direction: column; }
.coach-body { padding: 1.4rem 0 0; display: flex; flex-direction: column; flex: 1; }
.coach-role { font-size: .88rem; color: var(--gold-2); }
.coach-body h3 { font-size: 1.6rem; margin: .3rem 0 .8rem; }
.coach-body p { color: var(--sub); font-size: .95rem; }
.coach-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.2rem; }
.coach-social { display: flex; gap: .5rem; }
.soc {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--hair); color: var(--gold-2);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.soc svg { width: 19px; height: 19px; }
.soc:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }

/* ───── Campeões ───── */
.wins { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 1rem; }
.win { position: relative; overflow: hidden; margin: 0; }
.win img { width: 100%; height: 100%; object-fit: cover; }
.win figcaption {
  position: absolute; inset: auto 0 0; padding: 2.4rem 1rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(6,8,12,.88));
  font-size: .86rem; color: var(--cream);
}
.win.big { grid-column: span 2; grid-row: span 2; }
.win.tall { grid-row: span 2; }
.records { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.2rem; }
.records li { border-top: 1px solid var(--hair); padding-top: 1rem; color: var(--sub); font-size: .95rem; }
.records b { display: block; color: var(--cream); font-family: var(--f-display); font-size: 1.12rem; margin-bottom: .3rem; }

/* ───── Horários ───── */
.sched-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.sched-filter button {
  min-height: 40px; padding: 0 1rem; font-size: .88rem; font-weight: 500;
  border: 1px solid var(--line); color: var(--sub);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.sched-filter button[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.week { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.day { border-left: 1px solid var(--line); }
.day:first-child { border-left: 0; }
.day h3 { font-family: var(--f-body); font-size: .9rem; font-weight: 600; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--night); }
.day ul { list-style: none; padding: .5rem; display: flex; flex-direction: column; gap: .5rem; min-height: 120px; }
.slot { padding: .65rem .75rem; background: var(--panel); transition: opacity .2s ease; }
.slot time { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.slot span { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--cream); }
.slot span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--gold)); flex: none; }
.slot small { display: block; font-size: .76rem; color: var(--mute); }
.slot.mt  { --c: #C8102E; }
.slot.bx  { --c: #5B85B8; }
.slot.jj  { --c: #4FA37A; }
.slot.cap { --c: #E8A02E; }
.slot.off { opacity: .14; }
.sched-note { margin-top: 1.3rem; font-size: .9rem; color: var(--mute); }

/* ───── FAQ ───── */
.faq .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 5rem; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.04rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-family: var(--f-display); font-size: 1.5rem; color: var(--gold); line-height: 1; transition: transform .25s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--sub); padding: 0 2.5rem 1.4rem 0; max-width: 62ch; }

/* ───── Visite ───── */
.visit .grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: stretch; }
.visit-card { background: var(--night); border: 1px solid var(--line); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.6rem; }
.visit-card dl { display: grid; gap: 1.2rem; }
.visit-card dt { font-size: .84rem; color: var(--gold-2); margin-bottom: .2rem; }
.visit-card dd { color: var(--cream); }
.visit-card dd small { display: block; color: var(--mute); font-size: .86rem; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.map { min-height: 420px; border: 1px solid var(--line); background: var(--night); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ───── Chamada final ───── */
.closing { position: relative; padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; isolation: isolate; overflow: hidden; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.7); }
.closing::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6,8,12,.82); }
.closing h2 { max-width: 18ch; margin: 0 auto; }
.closing p { color: var(--sub); max-width: 50ch; margin: 1.2rem auto 2.2rem; }

/* ───── Rodapé ───── */
.foot { padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot h4 { font-family: var(--f-body); font-size: .86rem; font-weight: 600; color: var(--gold-2); margin-bottom: 1rem; }
.foot ul { list-style: none; display: grid; gap: .55rem; }
.foot li a, .foot p { color: var(--sub); font-size: .92rem; }
.foot li a:hover { color: var(--cream); }
.foot .brand { margin-bottom: 1rem; }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .84rem; color: var(--mute); }
.venturi-credit { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .6rem; color: var(--mute); font-size: .84rem; transition: color .2s ease; }
.venturi-credit img { height: 15px; width: auto; opacity: .85; }
.venturi-credit .vc-num { border-left: 1px solid var(--line); padding-left: .6rem; }
.venturi-credit:hover { color: var(--cream); }

/* ───── WhatsApp flutuante ───── */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FAF54; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ───── Responsivo ───── */
@media (max-width: 1080px) {
  .arts { grid-template-columns: repeat(2, 1fr); }
  .wins { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu, .top .btn { display: none; }
  .burger { display: inline-flex; }
  .top.open { background: var(--ink); }
  .top.open .menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
  }
  .top.open .menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .top.open .menu a { display: block; padding: 1rem 0; font-size: 1.05rem; color: var(--cream); }
  .sec-head.split, .lineage .wrap, .first .grid, .faq .grid, .visit .grid { grid-template-columns: 1fr; }
  .first-img { position: static; }
  .paths, .coaches, .doubts, .records { grid-template-columns: 1fr; }
  .path { min-height: 480px; }
  .week { grid-template-columns: repeat(3, 1fr); }
  .day:nth-child(4) { border-left: 0; }
  .day:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .hero { padding-top: 96px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(6,8,12,.62) 0%, rgba(6,8,12,.55) 30%, rgba(6,8,12,.9) 58%, var(--ink) 100%);
  }
  .hero-img img { object-position: 42% 30%; }
  .hero-ctas .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 1rem 0; border-left: 0; }
  .hero-facts div + div { border-top: 1px solid var(--line); }
  .teams { grid-template-columns: 1fr; }
  .team + .team { border-left: 0; border-top: 1px solid var(--line); }
  .team { flex-direction: row; text-align: left; padding: 1.1rem 1.2rem; gap: 1.2rem; }
  .team img { height: 52px; }
  .arts { grid-template-columns: 1fr; }
  .art-img { aspect-ratio: 16 / 11; }
  .wins { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .win.big { grid-column: span 2; grid-row: span 2; }
  .win.tall { grid-row: span 2; }
  .week { grid-template-columns: 1fr; }
  .day { border-left: 0; }
  .day + .day { border-top: 1px solid var(--line); }
  .day ul { min-height: 0; }
  .day.empty-day { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { margin-bottom: 4.5rem; }
  .visit-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-img img { animation: none; opacity: 1; transform: none; }
  .art-img img, .path img { transition: none; }
}

/* ───── Superfícies do navegador ───── */
::selection { background: var(--gold); color: var(--ink); }
html { scrollbar-color: #3a3424 var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3424; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
input, textarea { caret-color: var(--gold); }

/* ───── Grão de película ───── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───── Abertura ───── */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  transition: transform 1.05s cubic-bezier(.76,0,.24,1);
}
.curtain.done { transform: translateY(-101%); }
.curtain img { width: 72px; height: 72px; animation: glow 1.2s ease-out both; }
.curtain-name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .28em; padding-left: .28em; }
.curtain-bar { width: 140px; height: 1px; background: rgba(243,239,230,.12); overflow: hidden; }
.curtain-bar i { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.05s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes load { to { width: 100%; } }
@keyframes glow { from { opacity: 0; transform: scale(.92); filter: drop-shadow(0 0 0 rgba(200,16,46,0)); } to { opacity: 1; transform: none; filter: drop-shadow(0 6px 24px rgba(200,16,46,.45)); } }

/* ───── Progresso de leitura ───── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 80; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

/* ───── Faixa de modalidades ───── */
.marquee { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--night); }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; padding: 1.15rem 0; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--gold); white-space: nowrap; }
.marquee-track img { width: 22px; height: 22px; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── Campeões: wipe de cinema ───── */
.wipe img { clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1), transform 1.6s cubic-bezier(.2,.7,.2,1); transition-delay: inherit; }
.wipe.in img { clip-path: inset(0 0 0 0); transform: none; }
.wipe figcaption { opacity: 0; transition: opacity .6s ease .7s; }
.wipe.in figcaption { opacity: 1; }

/* ───── Patrocinadores ───── */
.sponsor-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem 5rem; align-items: center; }
.sponsor-cta { margin-top: 1.8rem; }
.sponsor-main {
  position: relative; display: flex; flex-direction: column; gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3.2rem);
  background: linear-gradient(140deg, #14100d 0%, #0b0d12 60%);
  border: 1px solid rgba(222, 27, 27, .35);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  overflow: hidden; isolation: isolate;
  transition: border-color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.sponsor-main::before {
  content: ''; position: absolute; inset: auto -20% -60% 30%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(222, 27, 27, .22), transparent);
}
.sponsor-main:hover { border-color: #DE1B1B; transform: translateY(-3px); }
.sponsor-tier { font-size: .86rem; font-weight: 600; color: #FF6B6B; }
.sponsor-main img { width: min(100%, 400px); height: auto; }
.sponsor-line { color: var(--sub); max-width: 46ch; }
.sponsor-go { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--cream); }
.sponsor-go svg { width: 15px; height: 15px; transition: transform .25s ease; }
.sponsor-main:hover .sponsor-go svg { transform: translateX(4px); }

/* ───── Wordmark sangrando no rodapé ───── */
.foot { position: relative; overflow: hidden; }
.foot .wordmark {
  font-family: var(--f-display); font-weight: 800; line-height: .8;
  font-size: clamp(4rem, 17vw, 16rem); letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, .16);
  margin: -1rem 0 2.5rem -0.06em; user-select: none;
}

@media (max-width: 900px) {
  .sponsor-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .hero-img img, .marquee-track { animation: none; }
  .hero h1 .ln > span, .hero-place, .hero p.sub, .hero-ctas, .hero-facts { transform: none; opacity: 1; transition: none; }
  .wipe img { clip-path: none; transform: none; transition: none; }
  .wipe figcaption { opacity: 1; transition: none; }
}

/* ═══════ Páginas de modalidade ═══════ */
.page-hero { min-height: 82svh; }
.page-hero .hero-copy { max-width: 700px; }
.hero-place a { color: var(--gold-2); border-bottom: 1px solid var(--hair); }
.hero-place span { color: var(--mute); }
.page-tag { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--gold); margin-top: 1rem; text-wrap: balance; }
.page-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem 5rem; align-items: start; }
.page-intro-text p { color: var(--sub); font-size: 1.08rem; max-width: 60ch; }
.page-intro-text p + p { margin-top: 1.1rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; }
.pillar { border-top: 1px solid var(--hair); padding-top: 1.5rem; }
.pillar h3 { font-size: clamp(1.3rem, 2.1vw, 1.7rem); text-wrap: balance; }
.pillar p { color: var(--sub); margin-top: .8rem; max-width: 40ch; }
.page-coach { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 5rem; align-items: center; }
.page-coach h2 { margin: .4rem 0 0; }
.page-coach .coach-links { justify-content: flex-start; gap: 1.6rem; margin-top: 1.8rem; padding-top: 0; }
.page-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.page-gallery .win { aspect-ratio: 4 / 5; }
.page-week { grid-template-columns: repeat(var(--cols, 3), 1fr); }
.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.more h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.more-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.more-links a {
  min-height: 48px; display: inline-flex; align-items: center; padding: 0 1.3rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  border: 1px solid var(--hair); transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.more-links a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
@media (max-width: 900px) {
  .page-intro, .page-coach { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 2rem; }
  .page-gallery { grid-template-columns: 1fr 1fr; }
  .page-gallery .win:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .page-hero { min-height: 92svh; }
  .page-week { grid-template-columns: 1fr; }
}

/* ───── Atleta em destaque: ficha de lutador ───── */
.ace {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 2rem 3rem; align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0; margin-bottom: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.ace-stats { display: grid; gap: 1.1rem; }
.ace-stats dt { font-size: .8rem; color: var(--mute); }
.ace-stats dd { font-family: 'Barlow Condensed', var(--f-body); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.15; color: var(--cream); }
.ace-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.ace-photo img { width: 100%; height: 100%; object-fit: cover; }
.ace-side { position: relative; z-index: 1; }
.ace-num {
  font-family: 'Barlow Condensed', var(--f-body); font-weight: 700;
  font-size: clamp(7rem, 16vw, 15rem); line-height: .78; letter-spacing: -.04em;
  color: var(--cream); margin-left: -38%; font-variant-numeric: tabular-nums;
}
.ace-num span { font-size: .22em; letter-spacing: 0; color: var(--gold); margin-left: .15em; }
.ace-name { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-top: 1.4rem; }
.ace-line { color: var(--sub); margin-top: .6rem; max-width: 34ch; }
@media (max-width: 900px) {
  .ace { grid-template-columns: 1fr 1fr; }
  .ace-photo { grid-column: 1 / -1; grid-row: 1; }
  .ace-side { grid-column: 1 / -1; grid-row: 2; margin-top: -5.5rem; }
  .ace-num { margin-left: 0; font-size: clamp(7rem, 30vw, 11rem); text-shadow: 0 10px 40px rgba(0,0,0,.6); }
  .ace-stats { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr 1fr; }
}
