/* ==========================================================================
   Gabriel Xavier — Site V3.0
   Cores inspiradas no capacete: azul royal, verde-limão, branco e dourado.
   ========================================================================== */

:root {
    --bg: #05070d;
    --bg-2: #0a0f1c;
    --surface: #0e1526;
    --surface-2: #141d34;
    --line: rgba(255, 255, 255, .09);
    --text: #eef2ff;
    --muted: #9ba6c2;
    --blue: #2d5bff;
    --blue-deep: #1233b8;
    --lime: #7cff2e;
    --gold: #f5b82e;
    --red: #ff2d2d;
    --danger: #ff5c5c;

    --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --cut: 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
strong { font-weight: 600; color: #fff; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: #000; }

.icon {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 500;
    background: var(--lime);
    color: #000;
    padding: 10px 16px;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--lime);
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    background: currentColor;
    transform: skewX(-30deg);
}
.eyebrow__num { color: #fff; }

.title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    line-height: .92;
    letter-spacing: -.005em;
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    margin-top: .9rem;
    text-wrap: balance;
}
.title em { font-style: inherit; color: var(--lime); }

.lead {
    color: var(--muted);
    font-size: 1.125rem;
    margin-top: 1.25rem;
    max-width: 60ch;
}

.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }

/* ---------- Botões ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1.9rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--lime);
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    overflow: hidden;
    isolation: isolate;
    transition: transform .3s var(--ease), background-color .3s;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .22); }

/* Brilho suave: é ele que dá o aspecto fluorescente ao verde */
.btn:not(.btn--ghost) { box-shadow: 0 8px 34px rgba(124, 255, 46, .25); }
.btn:not(.btn--ghost):hover { box-shadow: 0 10px 42px rgba(124, 255, 46, .42); }
.tab[aria-selected="true"] { box-shadow: 0 6px 26px rgba(124, 255, 46, .22); }

/* ---------- Cabeçalho ---------- */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
}
/* O desfoque fica num pseudo-elemento para não prender o menu mobile (position: fixed) dentro do cabeçalho */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(5, 7, 13, .82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
    opacity: 0;
    transition: opacity .35s;
}
.header.is-scrolled::before { opacity: 1; }

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 1.3rem;
    line-height: 1;
}
.brand__mark {
    width: auto;
    height: 40px;
    filter: drop-shadow(0 0 12px rgba(124, 255, 46, .35));
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: .15rem; }
.nav__link {
    position: relative;
    display: block;
    padding: .6rem .85rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(238, 242, 255, .78);
    transition: color .25s;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .3rem;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0) skewX(-30deg);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1) skewX(-30deg); }
.nav__cta { margin-left: .9rem; padding: .7rem 1.3rem; font-size: 1rem; }

.menu-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    font-size: 1.7rem;
}

@media (max-width: 960px) {
    .menu-toggle { display: grid; }
    .nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: var(--header-h) var(--gutter) 2rem;
        background:
            linear-gradient(115deg, transparent 0 62%, rgba(45, 91, 255, .25) 62% 78%, transparent 78% 80%, rgba(124, 255, 46, .5) 80% 81%, transparent 81%),
            var(--bg);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s, visibility .35s;
    }
    .nav.is-open { opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; gap: .1rem; }
    .nav__link {
        padding: .25rem 0;
        font-size: clamp(2.4rem, 10vw, 3.4rem);
        font-style: italic;
        font-weight: 800;
        letter-spacing: .01em;
        color: #fff;
    }
    .nav__link::after { display: none; }
    .nav__link.is-active { color: var(--lime); }
    .nav__cta { margin: 2rem 0 0; }
}

/* ---------- Capa ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    max-height: 1100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    padding-block: calc(var(--header-h) + 40px) clamp(90px, 13vh, 150px);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
    animation: hero-zoom 2.6s var(--ease) both;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 7, 13, .94) 0%, rgba(5, 7, 13, .6) 42%, rgba(5, 7, 13, .08) 78%),
        linear-gradient(0deg, var(--bg) 0%, rgba(5, 7, 13, 0) 45%),
        linear-gradient(180deg, rgba(5, 7, 13, .7) 0%, rgba(5, 7, 13, 0) 22%);
}
/* Faixas angulares, como as do capacete */
.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(60vw, 900px);
    height: 70%;
    z-index: -1;
    background: linear-gradient(118deg,
        transparent 0 48%,
        rgba(45, 91, 255, .5) 48% 60%,
        transparent 60% 62%,
        rgba(124, 255, 46, .85) 62% 63.2%,
        transparent 63.2% 66%,
        rgba(255, 255, 255, .14) 66% 74%,
        transparent 74%);
    -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
    animation: fade-in 1.2s .8s both;
}

.hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__lines span {
    position: absolute;
    left: -40%;
    width: 28%;
    height: 2px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(124, 255, 46, .9));
    animation: speed-line 3.4s linear infinite;
}
.hero__lines span:nth-child(1) { top: 24%; animation-delay: 1.2s; }
.hero__lines span:nth-child(2) { top: 46%; width: 38%; animation-delay: 2.4s; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7)); }
.hero__lines span:nth-child(3) { top: 63%; width: 20%; animation-delay: 3.1s; }
.hero__lines span:nth-child(4) { top: 81%; animation-delay: 1.8s; background: linear-gradient(90deg, transparent, rgba(45, 91, 255, .95)); }

.hero__content { position: relative; max-width: 860px; }

.start-lights { display: flex; gap: 10px; margin-bottom: 1.6rem; }
.start-lights span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1b2233;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1);
    animation: light-on linear forwards;
    animation-delay: calc(.2s + var(--i) * .16s);
    animation-duration: calc(.95s - var(--i) * .16s);
}

.hero__title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    line-height: .8;
    letter-spacing: -.02em;
    font-size: clamp(4.2rem, 14vw, 11rem);
    margin-top: 1rem;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em .14em .04em 0; }
.hero__title .line > span { display: block; animation: rise 1s var(--ease) both; animation-delay: 1.15s; }
.hero__title .line + .line > span { animation-delay: 1.27s; }
.hero__title .line--accent { color: var(--lime); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__fade { animation: fade-up .9s var(--ease) both; animation-delay: calc(1.5s + var(--i, 0) * .12s); }

.hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(90px, 13vh, 150px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--muted);
    writing-mode: vertical-rl;
    animation: fade-in 1s 2.2s both;
}
.hero__scroll .icon { writing-mode: horizontal-tb; color: var(--lime); animation: bob 1.8s ease-in-out infinite; }

/* ---------- Faixa de títulos ---------- */
.ticker-wrap {
    position: relative;
    z-index: 3;
    overflow: hidden;
    margin-top: -46px;
    padding-block: 22px;
}
.ticker {
    width: 110%;
    margin-left: -5%;
    padding-block: .85rem;
    background: var(--lime);
    color: var(--bg);
    transform: rotate(-1.6deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.ticker__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ticker__group .sep {
    width: 28px;
    height: 14px;
    background: repeating-conic-gradient(var(--bg) 0 25%, transparent 0 50%) 0 0 / 7px 7px;
    transform: skewX(-20deg);
}

/* ---------- Sobre ---------- */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
}
.about__media { position: relative; isolation: isolate; }
.about__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 38% 50%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), calc(100% - 70px) 100%, 0 100%);
}
/* Cantoneira verde e bandeira quadriculada */
.about__media::before {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 55%;
    height: 55%;
    border-right: 3px solid var(--lime);
    border-bottom: 3px solid var(--lime);
    z-index: -1;
}
.about__media::after {
    content: "";
    position: absolute;
    left: -22px;
    top: -22px;
    width: 110px;
    height: 110px;
    z-index: -1;
    background: repeating-conic-gradient(rgba(255, 255, 255, .9) 0 25%, transparent 0 50%) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 80%);
    mask-image: linear-gradient(135deg, #000 30%, transparent 80%);
}

.about__body { margin-top: 1.6rem; color: rgba(238, 242, 255, .82); }
.about__body p + p { margin-top: 1rem; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2.6rem;
    background: var(--line);
    border: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.3rem 1.2rem; background: var(--bg); }
.stat__value {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    line-height: 1;
    color: var(--lime);
    margin: 0;
}
.stat__label { margin-top: .5rem; font-size: .92rem; line-height: 1.35; color: var(--muted); }

/* ---------- Conquistas ---------- */
.achievements {
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(45, 91, 255, .2), transparent 55%),
        var(--bg-2);
}
.achievements::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
    opacity: .6;
    pointer-events: none;
}
.watermark {
    position: absolute;
    right: -1vw;
    top: clamp(40px, 6vw, 90px);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(6rem, 21vw, 19rem);
    line-height: .8;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .06);
    pointer-events: none;
    user-select: none;
}

.cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 1.9rem 1.8rem 1.7rem;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
    transition: transform .45s var(--ease);
}
.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--blue));
}
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform .9s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card:hover::after { transform: translateX(100%); }

.card__year {
    position: absolute;
    right: .9rem;
    top: .4rem;
    z-index: -1;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 6rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12);
    transition: -webkit-text-stroke-color .4s;
}
.card:hover .card__year { -webkit-text-stroke-color: rgba(124, 255, 46, .5); }
.card__icons { display: flex; gap: .35rem; margin-bottom: auto; padding-bottom: 1.6rem; font-size: 2.5rem; color: var(--gold); }
.card__icons .icon { stroke-width: 1.6; filter: drop-shadow(0 0 14px rgba(245, 184, 46, .35)); }
.card__result {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--lime);
}
.card__event {
    margin-top: .3rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1;
    text-transform: uppercase;
}
.card__meta { margin-top: .5rem; font-size: .95rem; color: var(--muted); }

/* Cartão da conquista mais recente: mesmo tamanho dos outros, com fundo azul em destaque */
.card--featured {
    background:
        linear-gradient(135deg, rgba(45, 91, 255, .45), transparent 60%),
        linear-gradient(160deg, var(--surface-2), var(--surface));
}
.card--featured .card__icons { font-size: 3rem; }

/* ---------- Bastidores: troca de conquista conforme a rolagem ---------- */
/* Sem "overflow: hidden" aqui: isso anularia o "position: sticky" do painel */
.story { --story-step: 88svh; }
.story__scroller { position: relative; }
/* Só com JavaScript o bloco fica presinho na tela; sem script, as 6 histórias
   aparecem uma embaixo da outra, e o Google lê todas do mesmo jeito. */
.js .story__scroller { height: calc(5 * var(--story-step)); }
.story__step { display: none; }
.js .story__step {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--n) * var(--story-step));
    height: var(--story-step);
    pointer-events: none;
}
.js .story__sticky {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    height: calc(100svh - var(--header-h) - 56px);
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
}

.story__nav { display: flex; flex-direction: column; gap: .2rem; flex: none; }
.story__dot {
    position: relative;
    padding: .4rem .3rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .12em;
    color: var(--muted);
    transition: color .3s;
}
.story__dot::after {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--lime);
    transform: translateY(-50%);
    transition: height .35s var(--ease);
}
.story__dot:hover { color: #fff; }
.story__dot[aria-current="true"] { color: var(--lime); }
.story__dot[aria-current="true"]::after { height: 65%; }

.story__card { position: relative; flex: 1; min-width: 0; }
.js .story__card { height: 100%; }
.story__item {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(8px, 1.5vw, 24px);
    align-items: center;
}
.story__item + .story__item { margin-top: 48px; }
.js .story__item {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s var(--ease), visibility .55s;
}
.js .story__item.is-active { opacity: 1; visibility: visible; }

.story__media { height: 100%; min-height: 0; }
.story__media img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    /* Corte em diagonal dissolvido. A faixa de transição precisa ser BEM mais
       estreita que o deslocamento da inclinação: se ela for larga, o degradê
       encobre a diagonal e a borda parece reta. */
    -webkit-mask-image: linear-gradient(104deg, #000 60%, rgba(0, 0, 0, .45) 70%, transparent 80%);
    mask-image: linear-gradient(104deg, #000 60%, rgba(0, 0, 0, .45) 70%, transparent 80%);
}
/* Cartão de homenagem: espelhado, com a foto à direita e a diagonal invertida */
.story__item--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.story__item--flip .story__media { order: 2; }
.story__item--flip .story__text { order: 1; }
.story__item--flip .story__media img {
    -webkit-mask-image: linear-gradient(284deg, #000 60%, rgba(0, 0, 0, .45) 70%, transparent 80%);
    mask-image: linear-gradient(284deg, #000 60%, rgba(0, 0, 0, .45) 70%, transparent 80%);
}

.story__meta { display: flex; align-items: center; gap: .9rem; }
.story__year {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
}
.story__result {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--lime);
}
.story__title {
    margin-top: .5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1;
    text-transform: uppercase;
}
.story__desc { margin-top: 1.1rem; max-width: 46ch; font-size: 1.05rem; color: var(--muted); }
.js .story__item.is-active .story__text > * { animation: fade-up .6s var(--ease) both; }
.js .story__item.is-active .story__title { animation-delay: .08s; }
.js .story__item.is-active .story__desc { animation-delay: .16s; }

/* ---------- Destaque: Série Senna ---------- */
.feature { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 13vw, 170px); }
.feature__bg { position: absolute; inset: 0; z-index: -2; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); transform: scale(1.15); }
.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, .88) 42%, rgba(5, 7, 13, .45) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 28%),
        linear-gradient(180deg, var(--bg-2) 0%, transparent 28%);
}
.feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}
.feature__tag {
    display: inline-block;
    padding: .35rem .9rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    background: #e50914;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.feature .lead { color: rgba(238, 242, 255, .82); }
.feature .btn { margin-top: 2rem; }
.feature__media { position: relative; justify-self: end; width: min(100%, 420px); isolation: isolate; }
.feature__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 50%;
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
}
.feature__media::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    z-index: -1;
    border: 3px solid var(--lime);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
}

@supports (animation-timeline: view()) {
    .feature__bg img { animation: parallax linear both; animation-timeline: view(); }
}

/* ---------- Galeria ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.tab {
    padding: .75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: color .25s, background-color .25s;
}
.tab:hover { color: #fff; background: var(--surface-2); }
.tab[aria-selected="true"] { color: var(--bg); background: var(--lime); }
.tab__count { margin-left: .3rem; font-size: .8em; opacity: .6; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery.is-entering .gallery__item { animation: fade-up .6s var(--ease) both; }
.gallery.is-entering .gallery__item:nth-child(3n+2) { animation-delay: .06s; }
.gallery.is-entering .gallery__item:nth-child(3n) { animation-delay: .12s; }

.gallery__item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    isolation: isolate;
    background: var(--surface);
    cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 2px solid var(--lime);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(5, 7, 13, .9), transparent 60%);
    opacity: 0;
    transition: opacity .35s;
}
.gallery__caption {
    position: absolute;
    left: 1rem;
    right: 4rem;
    bottom: .9rem;
    z-index: 2;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s, transform .35s var(--ease);
}
.gallery__zoom {
    position: absolute;
    right: .9rem;
    bottom: .9rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--bg);
    background: var(--lime);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    opacity: 0;
    transform: scale(.6);
    transition: opacity .35s, transform .35s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.08); }
.gallery__item:hover::before, .gallery__item:focus-visible::before,
.gallery__item:hover::after, .gallery__item:focus-visible::after,
.gallery__item:hover .gallery__caption, .gallery__item:focus-visible .gallery__caption,
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* ---------- Foto ampliada ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: rgba(3, 4, 8, .96);
    opacity: 0;
    transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); }
.lightbox__counter { font-family: var(--font-display); font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: clamp(16px, 7vw, 110px); }
.lightbox__img {
    max-width: 100%;
    max-height: calc(100svh - 150px);
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    transition: opacity .25s;
}
.lightbox__img.is-loading { opacity: .35; }
.lightbox__caption { padding: 14px var(--gutter) 22px; text-align: center; color: var(--muted); }
.lightbox__btn {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transition: background-color .25s, color .25s;
}
.lightbox__btn:hover { color: var(--bg); background: var(--lime); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(8px, 2vw, 28px); }
.lightbox__next { right: clamp(8px, 2vw, 28px); }

/* ---------- Patrocinadores ---------- */
.sponsors { background: var(--bg-2); }
.sponsors__logos { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(56px, 8vw, 96px); }
.sponsor {
    display: grid;
    place-items: center;
    width: clamp(220px, 26vw, 290px);
    aspect-ratio: 3 / 2;
    background: #fff;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    transition: transform .4s var(--ease);
}
.sponsor:hover { transform: translateY(-6px); }
.sponsor img { width: auto; max-width: 62%; max-height: 80%; object-fit: contain; }
.sponsor--wide img { max-width: 82%; }

.pitch {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(32px, 6vw, 72px);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(120deg, var(--blue-deep), var(--blue) 60%, #4a73ff);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}
.pitch::before {
    content: "";
    position: absolute;
    right: -12%;
    top: -30%;
    width: 65%;
    height: 160%;
    z-index: -1;
    background: linear-gradient(115deg,
        transparent 0 30%,
        rgba(124, 255, 46, .95) 30% 33%,
        transparent 33% 40%,
        rgba(255, 255, 255, .16) 40% 62%,
        transparent 62%);
}
.pitch .eyebrow { color: #fff; }
.pitch .eyebrow::before { background: var(--lime); }
.pitch .title { font-size: clamp(2.4rem, 5vw, 4rem); }
.pitch__text { margin-block: 1.1rem 2rem; font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 42ch; }
.pitch__list { display: grid; gap: .8rem; }
.pitch__list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    background: rgba(5, 7, 13, .32);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.pitch__list .icon { margin-top: .1rem; font-size: 1.3rem; color: var(--lime); stroke-width: 3; }

/* ---------- Contato ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.socials { display: grid; gap: 12px; margin-top: 2.2rem; }
.social {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border-left: 3px solid var(--lime);
    transition: background-color .25s, transform .35s var(--ease);
}
a.social:hover { background: var(--surface-2); transform: translateX(6px); }
.social .icon { font-size: 1.6rem; color: var(--lime); }
.social__label { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.social__handle { display: block; font-weight: 600; line-height: 1.3; }

.form {
    position: relative;
    padding: clamp(24px, 4vw, 44px);
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--blue));
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: .4rem; }
.field label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(238, 242, 255, .88);
}
.req { color: var(--lime); }
.input {
    width: 100%;
    padding: .9rem 1rem;
    font-size: 1rem;
    background: rgba(5, 7, 13, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 2px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    transition: border-color .25s, background-color .25s;
}
.input::placeholder { color: rgba(155, 166, 194, .6); }
.input:focus { outline: none; background: rgba(5, 7, 13, .9); border-color: rgba(124, 255, 46, .35); border-bottom-color: var(--lime); }
.input[aria-invalid="true"] { border-color: rgba(255, 92, 92, .5); border-bottom-color: var(--danger); }
select.input {
    appearance: none;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cff2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 18px;
    cursor: pointer;
}
select.input option { background: var(--surface); color: var(--text); }
textarea.input { min-height: 150px; resize: vertical; }
.field__hint { display: flex; justify-content: space-between; gap: 1rem; min-height: 1.6em; font-size: .85rem; color: var(--muted); }
.field__error { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { width: 100%; margin-top: .6rem; padding-block: 1.15rem; font-size: 1.2rem; }
.form__status { display: none; align-items: flex-start; gap: .7rem; margin-top: 1rem; padding: 1rem 1.1rem; font-weight: 500; line-height: 1.45; }
.form__status .icon { margin-top: .15rem; font-size: 1.2rem; }
.form__status a { text-decoration: underline; }
.form__status.is-success { display: flex; color: var(--lime); background: rgba(124, 255, 46, .1); border-left: 3px solid var(--lime); }
.form__status.is-error { display: flex; color: #ff8f8f; background: rgba(255, 92, 92, .1); border-left: 3px solid var(--danger); }
.spinner { width: 1.1em; height: 1.1em; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---------- Rodapé ---------- */
.footer { position: relative; overflow: hidden; background: #030409; padding-block: clamp(64px, 9vw, 110px) 32px; }
.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 12px;
    background: repeating-conic-gradient(#fff 0 25%, #030409 0 50%) 0 0 / 24px 24px;
    opacity: .9;
}
.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
}
.footer__logo {
    width: auto;
    height: clamp(52px, 7vw, 78px);
    margin-bottom: 1.1rem;
    filter: drop-shadow(0 0 20px rgba(124, 255, 46, .22));
}
.footer__name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.footer__name span { color: var(--lime); }
.footer__tagline { margin-top: .7rem; max-width: 42ch; font-size: .95rem; color: var(--muted); }

.footer__title {
    margin-bottom: 1.1rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--lime);
}
.footer__nav { display: grid; gap: .6rem; }
.footer__nav a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
    transition: color .25s, transform .3s var(--ease);
}
.footer__nav a:hover { color: var(--lime); transform: translateX(5px); }
.footer__nav .icon { font-size: 1.2rem; }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    font-size: .95rem;
    color: var(--muted);
}
.icon-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    color: #fff;
    background: var(--surface);
    transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.icon-btn:hover { color: var(--bg); background: var(--lime); transform: translateY(-3px); }

/* ---------- Animações ao rolar a página ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible { animation: reveal-up .9s var(--ease) var(--delay, 0s) both; }
.js [data-reveal="left"].is-visible { animation-name: reveal-left; }
.js [data-reveal="right"].is-visible { animation-name: reveal-right; }

@keyframes reveal-up { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal-left { from { opacity: 0; translate: -60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal-right { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(110%) skewY(7deg); } to { transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes speed-line {
    0% { transform: translateX(0); opacity: 0; }
    12%, 60% { opacity: 1; }
    100% { transform: translateX(520%); opacity: 0; }
}
@keyframes light-on {
    0%, 99.9% { background: var(--red); box-shadow: 0 0 18px 4px rgba(255, 45, 45, .65), inset 0 0 0 2px rgba(255, 255, 255, .25); }
    100% { background: #1b2233; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 50% { transform: translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes parallax { from { transform: translateY(-7%) scale(1.15); } to { transform: translateY(7%) scale(1.15); } }

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
    .about__grid, .feature__grid, .contact__grid, .pitch { grid-template-columns: minmax(0, 1fr); }
    .about__media { max-width: 480px; }
    .feature__media { justify-self: start; width: min(100%, 360px); }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }

    /* Bastidores: foto em cima, texto embaixo, números lado a lado.
       A etapa precisa ser mais alta que o painel, senão ele desgruda antes da hora. */
    .story { --story-step: 88svh; }
    .js .story__sticky {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        top: calc(var(--header-h) + 12px);
        height: calc(100svh - var(--header-h) - 96px);
    }
    .story__nav { flex-direction: row; justify-content: center; gap: .7rem; order: -1; }
    .story__dot::after {
        left: 50%;
        top: auto;
        bottom: 0;
        width: 0;
        height: 3px;
        transform: translateX(-50%);
        transition: width .35s var(--ease);
    }
    .story__dot[aria-current="true"]::after { width: 60%; height: 3px; }
    .story__item {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 18px;
        align-content: center;
    }
    /* No celular a foto fica acima do texto: o degradê desce levemente inclinado,
       mantendo o mesmo corte em ângulo da versão de computador. */
    .story__media img {
        -webkit-mask-image: linear-gradient(165deg, #000 62%, rgba(0, 0, 0, .45) 71%, transparent 80%);
        mask-image: linear-gradient(165deg, #000 62%, rgba(0, 0, 0, .45) 71%, transparent 80%);
    }
    /* No celular todos os cartões ficam com a foto em cima, inclusive o espelhado */
    .story__item--flip .story__media, .story__item--flip .story__text { order: 0; }
    .story__item--flip .story__media img {
        -webkit-mask-image: linear-gradient(195deg, #000 62%, rgba(0, 0, 0, .45) 71%, transparent 80%);
        mask-image: linear-gradient(195deg, #000 62%, rgba(0, 0, 0, .45) 71%, transparent 80%);
    }
    .story__year { font-size: clamp(2rem, 8vw, 2.8rem); }
    .story__title { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
    .story__desc { margin-top: .8rem; font-size: .98rem; }
    /* Em uma coluna a faixa verde passaria por cima do texto: fica só a faixa translúcida */
    .pitch::before { background: linear-gradient(115deg, transparent 0 55%, rgba(255, 255, 255, .12) 55% 75%, transparent 75%); }
}

@media (max-width: 600px) {
    .hero::before {
        background:
            linear-gradient(0deg, var(--bg) 0%, rgba(5, 7, 13, .8) 42%, rgba(5, 7, 13, .15) 75%),
            linear-gradient(180deg, rgba(5, 7, 13, .75) 0%, rgba(5, 7, 13, 0) 25%);
    }
    .hero__img { object-position: 78% 50%; }
    .hero::after { width: 100%; height: 45%; opacity: .6; }
    .hero__scroll { display: none; }
    .eyebrow { gap: .6rem; font-size: .82rem; letter-spacing: .14em; }
    .eyebrow::before { width: 24px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .cards { grid-template-columns: minmax(0, 1fr); }
    .card { min-height: 210px; }
    .stat { padding: 1rem .8rem; }
    .form__row { grid-template-columns: minmax(0, 1fr); }
    .sponsors__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sponsor { width: auto; }
    .tab { padding: .6rem 1.1rem; font-size: 1rem; }
    .lightbox__stage { padding-inline: 0; }
    .lightbox__btn { width: 44px; height: 44px; font-size: 1.4rem; }
    .lightbox__prev, .lightbox__next { background: rgba(5, 7, 13, .6); }
}

/* Respeita quem prefere menos animação (configuração do sistema) */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .js [data-reveal] { opacity: 1; }
    .hero__lines, .start-lights { display: none; }
    .ticker__track { animation: none; }
    .feature__bg img { animation: none; }
}
