:root {
    --verde-escuro: #000000;
    --verde: #1a1a1a;
    --verde-claro: #29b765;
    --amarelo: #f9bf09;
    --laranja: #ff7a00;
    --azul: #0866c6;
    --branco: #ffffff;
    --cinza-claro: #f4f5f1;
    --cinza: #69736d;
    --texto: #000000;
    --borda: rgba(0, 0, 0, 0.12);
    --sombra: 0 18px 50px rgba(0, 0, 0, 0.16);
    --raio: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--cinza-claro);
    color: var(--texto);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--verde);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 4px;
    border-radius: 999px;
    background: var(--amarelo);
}

h1,
h2,
h3,
.display {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    line-height: 0.95;
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.section-description {
    max-width: 560px;
    color: var(--cinza);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--amarelo);
    color: var(--verde-escuro);
    box-shadow: 0 12px 30px rgba(244, 210, 11, 0.28);
}

.button-dark {
    background: var(--verde-escuro);
    color: var(--branco);
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: var(--branco);
    backdrop-filter: blur(10px);
}

/* Cabeçalho */

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    color: var(--branco);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    height: 46px;
    width: auto;
}

.site-header .logo img {
    height: 34px;
}

.footer .logo img {
    height: 58px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
    font-weight: 700;
}

.main-nav a {
    opacity: 0.88;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--amarelo);
}

/* Hero */

.hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--branco);
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.84) 43%,
            rgba(0, 0, 0, 0.28) 74%,
            rgba(0, 0, 0, 0.48) 100%
        ),
        url("images/copa-hero.jpg") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 680px;
    height: 360px;
    background: var(--amarelo);
    opacity: 0.92;
    transform: rotate(-11deg);
    clip-path: polygon(0 55%, 100% 0, 100% 100%, 10% 100%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
        "main video"
        "info video";
    column-gap: 48px;
    row-gap: 40px;
    align-items: start;
    padding-top: 110px;
}

.hero-main {
    grid-area: main;
    max-width: 700px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.28);
    animation: heroDotPulse 1.8s ease-in-out infinite;
}

@keyframes heroDotPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-logo {
    margin-bottom: 6px;
}

.hero-logo img {
    display: block;
    width: min(100%, 620px);
    height: auto;
}

.hero-text {
    max-width: 610px;
    margin-top: 24px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.84);
}

.hero-lead {
    max-width: 560px;
    margin: 16px 0 30px;
    color: var(--branco);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
}

.hero-video {
    grid-area: video;
    position: relative;
    display: block;
    align-self: center;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid rgba(249, 191, 9, 0.55);
    border-radius: 28px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 46px rgba(249, 191, 9, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: heroVideoGlow 3.4s ease-in-out infinite;
}

.hero-video:hover {
    transform: translateY(-6px) scale(1.01);
}

@keyframes heroVideoGlow {
    0%,
    100% {
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(255, 255, 255, 0.06),
            0 0 46px rgba(249, 191, 9, 0.28);
    }

    50% {
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(255, 255, 255, 0.06),
            0 0 64px rgba(249, 191, 9, 0.48);
    }
}

.hero-video-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #242424 0%, #000 100%);
    font-size: 4.4rem;
    opacity: 0.22;
}

.hero-video-media {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0) 62%,
        rgba(0, 0, 0, 0.32) 100%
    );
}

.hero-video-badge {
    position: absolute;
    z-index: 3;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: var(--branco);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-video-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.35);
    animation: heroDotPulse 1.8s ease-in-out infinite;
}

.hero-video-cta {
    position: absolute;
    z-index: 3;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 13px 14px;
    border-radius: 14px;
    background: var(--amarelo);
    color: var(--verde-escuro);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-info {
    grid-area: info;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 700px;
}

.hero-info-item {
    padding: 16px 18px;
    border-left: 3px solid var(--amarelo);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.hero-info-item small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-info-item strong {
    font-size: 0.96rem;
}

/* Banner de página (subpáginas) */

.page-banner {
    position: relative;
    padding: 168px 0 64px;
    background: var(--verde-escuro);
    color: var(--branco);
}

.page-banner .eyebrow {
    color: var(--amarelo);
}

.page-banner h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.page-banner p {
    max-width: 560px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.72);
}

/* O que é a Copa */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.about-card {
    padding: 30px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
}

.about-card-icon {
    margin-bottom: 14px;
    font-size: 1.8rem;
}

.about-card h3 {
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.about-card p {
    color: var(--cinza);
}

/* Próxima etapa */

.next-stage__sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.next-stage a:focus-visible,
.next-stage button:focus-visible {
    outline: 3px solid var(--amarelo);
    outline-offset: 3px;
    border-radius: 8px;
}

.next-stage__card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--verde-escuro);
    box-shadow: var(--sombra);
    color: var(--branco);
}

.next-stage__hero {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr;
}

.next-stage__hero-main {
    padding: clamp(32px, 5vw, 64px);
}

.next-stage__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(41, 183, 101, 0.4);
    background: rgba(41, 183, 101, 0.14);
    color: var(--verde-claro);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.next-stage__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--verde-claro);
    animation: next-stage-pulse 1.8s infinite;
}

@keyframes next-stage-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 183, 101, 0.45);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(41, 183, 101, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(41, 183, 101, 0);
    }
}

.next-stage__number {
    display: block;
    margin-top: 22px;
    color: var(--amarelo);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.next-stage__title {
    margin: 6px 0 14px;
    font-size: clamp(3.2rem, 8vw, 5.6rem);
}

.next-stage__subtitle {
    max-width: 46ch;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
}

.next-stage__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    padding: 20px 0;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    list-style: none;
}

.next-stage__facts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.next-stage__facts span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.next-stage__facts strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.next-stage__countdown {
    margin-bottom: 32px;
}

.next-stage__countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 380px;
}

.next-stage__countdown-item {
    padding: 14px 6px;
    border-radius: 14px;
    background: var(--branco);
    color: var(--verde-escuro);
    text-align: center;
}

.next-stage__countdown-item strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.next-stage__countdown-item small {
    display: block;
    margin-top: 4px;
    color: var(--cinza);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.next-stage__countdown-message {
    max-width: 380px;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(249, 191, 9, 0.35);
    background: rgba(249, 191, 9, 0.12);
    color: var(--amarelo);
    font-weight: 700;
}

.next-stage__countdown-message a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.next-stage__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.next-stage__cta {
    min-height: 58px;
    padding: 0 36px;
    font-size: 1.05rem;
}

.next-stage__regulamento-link {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.next-stage__regulamento-link:hover {
    color: var(--branco);
}

.next-stage__categories {
    padding: clamp(28px, 4vw, 48px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.next-stage__categories-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: var(--amarelo);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.next-stage__categories-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.next-stage__categories-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.next-stage__categories-list li:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.next-stage__cat-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(249, 191, 9, 0.14);
    color: var(--amarelo);
}

.next-stage__cat-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.next-stage__categories-list strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.next-stage__categories-list small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

/* Premiação */

.next-stage__prize {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(26px, 4vw, 40px) clamp(32px, 5vw, 64px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-stage__prize::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--amarelo) 35%,
        var(--amarelo) 65%,
        transparent
    );
    opacity: 0.7;
}

.next-stage__prize-figure {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.next-stage__prize-kicker {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.next-stage__prize-value {
    margin: 6px 0 4px;
    color: var(--amarelo);
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.next-stage__prize-cifrao {
    margin-right: 4px;
    font-size: 0.48em;
    font-weight: 800;
    vertical-align: middle;
}

.next-stage__prize-plus {
    margin-left: 2px;
    color: var(--branco);
}

.next-stage__prize-asterisk {
    margin-left: 3px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.4em;
    font-weight: 800;
    vertical-align: top;
}

.next-stage__prize-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.next-stage__prize-note {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
}

.next-stage__prize-copy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 320px;
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.next-stage__prize-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--amarelo);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.next-stage__prize-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.4;
}

/* Informações do dia da prova */

.next-stage__info {
    padding: clamp(32px, 5vw, 56px);
    background: var(--cinza-claro);
    color: var(--texto);
}

.next-stage__info-header h3 {
    font-size: 1.8rem;
}

.next-stage__info-header p {
    max-width: 60ch;
    margin-top: 8px;
    color: var(--cinza);
}

.next-stage__info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.next-stage__panel {
    padding: 28px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
}

.next-stage__panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.next-stage__panel-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--verde);
}

.next-stage__panel-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.next-stage__panel h4,
.next-stage__routes-header h4 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.3rem;
    line-height: 1;
    text-transform: uppercase;
}

.next-stage__address {
    margin-bottom: 20px;
    color: var(--cinza);
    font-style: normal;
    line-height: 1.5;
}

.next-stage__map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.next-stage__map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--borda);
    border-radius: 999px;
    background: var(--cinza-claro);
    color: var(--texto);
    font-size: 0.85rem;
    font-weight: 800;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.next-stage__map-btn:hover {
    transform: translateY(-2px);
}

.next-stage__map-btn svg {
    width: 16px;
    height: 16px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.next-stage__map-btn--waze:hover {
    border-color: #33ccff;
    background: #33ccff;
    color: #00263d;
}

.next-stage__map-btn--maps:hover {
    border-color: var(--azul);
    background: var(--azul);
    color: var(--branco);
}

.next-stage__alert {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-left: 3px solid var(--laranja);
    border-radius: 0 10px 10px 0;
    background: rgba(255, 122, 0, 0.06);
    color: var(--verde);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
}

.next-stage__alert strong {
    color: var(--laranja);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.next-stage__timeline {
    display: grid;
    list-style: none;
}

.next-stage__timeline li {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 12px 0 12px 22px;
    border-left: 2px solid var(--borda);
    font-size: 0.92rem;
}

.next-stage__timeline li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -6px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--verde);
    border-radius: 50%;
    background: var(--branco);
}

.next-stage__timeline li:first-child {
    padding-top: 0;
}

.next-stage__timeline li:last-child {
    padding-bottom: 0;
}

.next-stage__timeline time {
    min-width: 56px;
    color: var(--verde);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.next-stage__timeline li.is-highlight::before {
    border-color: var(--amarelo);
    background: var(--amarelo);
}

.next-stage__timeline li.is-highlight time,
.next-stage__timeline li.is-highlight span {
    color: var(--verde-escuro);
    font-weight: 900;
}

.next-stage__routes {
    padding: 28px;
    margin-top: 20px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
}

.next-stage__routes-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.next-stage__routes-header .next-stage__panel-head {
    margin-bottom: 0;
}

.next-stage__routes-note {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cinza-claro);
    font-size: 0.82rem;
}

.next-stage__routes-note strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.next-stage__routes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.next-stage__route {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--borda);
    border-radius: 16px;
    background: var(--cinza-claro);
}

.next-stage__route-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.next-stage__route-head strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.next-stage__route-stats {
    display: flex;
    gap: 14px;
    color: var(--cinza);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.next-stage__route-stats b {
    display: block;
    margin-top: 2px;
    color: var(--texto);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: none;
}

.next-stage__route-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: #e7e9e3;
}

.next-stage__route-map .strava-embed-placeholder,
.next-stage__route-map iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    border: 0;
}

.next-stage__route-strava {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    color: var(--laranja);
    font-size: 0.82rem;
    font-weight: 800;
}

.next-stage__route-strava svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Por que participar */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    padding: 40px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
    border-top: 6px solid var(--amarelo);
}

.benefit-card.experientes {
    border-top-color: var(--verde-escuro);
}

.benefit-card h3 {
    margin-bottom: 6px;
    font-size: 2rem;
}

.benefit-card > p {
    margin-bottom: 22px;
    color: var(--cinza);
}

.benefit-list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefit-list li::before {
    content: "✓";
    flex: 0 0 auto;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--amarelo);
    color: var(--verde-escuro);
    font-size: 0.7rem;
    font-weight: 900;
}

.benefit-card.experientes .benefit-list li::before {
    background: var(--verde-escuro);
    color: var(--amarelo);
}

/* Como funciona a temporada */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    padding: 26px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
}

.step-number {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--verde-escuro);
    color: var(--amarelo);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--cinza);
    font-size: 0.92rem;
}

/* Por que quem participa sempre volta */

.return-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.return-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px 24px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.return-card:hover {
    transform: translateY(-6px);
}

.return-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    z-index: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(249, 191, 9, 0.14);
}

.return-card-check {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--amarelo);
    color: var(--verde-escuro);
    font-size: 0.9rem;
    font-weight: 900;
}

.return-card-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    background: var(--verde-escuro);
    font-size: 2.5rem;
}

.return-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.7rem;
}

/* Calendário */

.calendar-section {
    background: var(--branco);
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stage-card {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 20px;
    background: var(--verde-escuro);
    color: var(--branco);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra);
}

.stage-card-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.4s ease;
}

.stage-card:hover .stage-card-image {
    transform: scale(1.05);
}

.stage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.98) 3%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.08) 100%
        );
}

.stage-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.stage-status {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--amarelo);
    color: var(--verde-escuro);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stage-status.completed {
    background: rgba(255, 255, 255, 0.15);
    color: var(--branco);
}

.stage-card h3 {
    font-size: 2rem;
}

.stage-card-date {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.85rem;
}

.stage-card-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--amarelo);
    font-size: 0.84rem;
    font-weight: 800;
}

/* Ranking */

.ranking-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 28px;
    align-items: stretch;
}

.ranking-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    border-radius: var(--raio);
    background: var(--amarelo);
}

.ranking-intro h2 {
    color: var(--verde-escuro);
}

.ranking-intro p {
    margin: 20px 0 28px;
    color: rgba(0, 0, 0, 0.75);
}

.ranking-card {
    padding: 30px;
    border-radius: var(--raio);
    background: var(--branco);
    box-shadow: var(--sombra);
}

.ranking-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ranking-toolbar h3 {
    font-size: 2rem;
}

.ranking-select {
    min-width: 220px;
    padding: 11px 14px;
    border: 1px solid var(--borda);
    border-radius: 10px;
    background: var(--branco);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--borda);
    text-align: left;
}

.ranking-table th {
    color: var(--cinza);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ranking-position {
    width: 48px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
}

.athlete {
    display: flex;
    align-items: center;
    gap: 12px;
}

.athlete-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cinza-claro);
    color: var(--verde);
    font-weight: 900;
}

.athlete small {
    display: block;
    color: var(--cinza);
}

.points {
    color: var(--verde);
    font-weight: 900;
}

/* Resultados */

.results-section {
    background: var(--verde-escuro);
    color: var(--branco);
}

.results-section .eyebrow {
    color: var(--amarelo);
}

.results-section .section-description {
    color: rgba(255, 255, 255, 0.64);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.result-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.result-card.highlight {
    border-color: rgba(244, 210, 11, 0.42);
    background: var(--amarelo);
    color: var(--verde-escuro);
}

.result-card small {
    display: block;
    margin-bottom: 8px;
    opacity: 0.62;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.result-card h3 {
    font-size: 2rem;
}

.result-card p {
    margin: 10px 0 20px;
    opacity: 0.72;
}

.result-card a {
    font-size: 0.85rem;
    font-weight: 800;
}

/* Depoimentos */

.testimonials-section {
    background: var(--verde-escuro);
    color: var(--branco);
}

.testimonials-section .eyebrow {
    color: var(--amarelo);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.64);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.testimonial-quote {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
}

.testimonial-quote::before {
    content: "\201C";
    margin-right: 2px;
    color: var(--amarelo);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.6rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
}

/* Patrocinadores */

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sponsor-item {
    display: grid;
    min-height: 90px;
    place-items: center;
    padding: 16px;
    border-radius: 14px;
    background: var(--branco);
    box-shadow: var(--sombra);
    color: var(--cinza);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* CTA */

.cta-section {
    padding: 76px 0;
    background:
        linear-gradient(
            90deg,
            rgba(244, 210, 11, 0.96),
            rgba(244, 210, 11, 0.84)
        ),
        url("images/copa-cta.jpg") center/cover;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-content h2 {
    max-width: 650px;
    color: var(--verde-escuro);
}

.cta-content p {
    max-width: 590px;
    margin-top: 14px;
    color: rgba(0, 0, 0, 0.75);
}

.cta-final {
    padding: 130px 0;
    text-align: center;
}

.cta-final .eyebrow {
    justify-content: center;
    color: var(--verde-escuro);
}

.cta-final h2 {
    margin: 0 auto 18px;
    max-width: 780px;
    font-size: clamp(3rem, 7vw, 5.6rem);
    color: var(--verde-escuro);
}

.cta-final p {
    max-width: 560px;
    margin: 0 auto 34px;
    color: rgba(0, 0, 0, 0.75);
}

.cta-final .button {
    min-height: 62px;
    padding: 0 36px;
    font-size: 1.05rem;
}

.cta-mini {
    padding: 60px 0;
    text-align: center;
}

.cta-mini .eyebrow {
    justify-content: center;
    color: var(--verde-escuro);
}

.cta-mini h2 {
    margin: 0 auto 14px;
    max-width: 620px;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--verde-escuro);
}

.cta-mini p {
    max-width: 480px;
    margin: 0 auto 26px;
    color: rgba(0, 0, 0, 0.75);
}

/* Rodapé */

.footer {
    padding: 60px 0 30px;
    background: var(--verde-escuro);
    color: var(--branco);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
}

.footer p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
}

/* Menu flutuante mobile */

.tabbar {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: flex-end;
    justify-content: space-between;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.4);
}

.tabbar-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 2px 6px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    transition:
        color 0.2s ease,
        transform 0.15s ease;
}

.tabbar-item-icon {
    font-size: 1.28rem;
    line-height: 1;
}

.tabbar-item:active {
    transform: scale(0.92);
}

.tabbar-item.is-active {
    color: var(--amarelo);
}

.tabbar-cta {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    transform: translateY(-16px);
}

.tabbar-cta-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: var(--amarelo);
    color: var(--verde-escuro);
    font-size: 1.5rem;
    box-shadow: 0 10px 22px rgba(249, 191, 9, 0.4);
    animation: tabbarPulse 2.6s ease-in-out infinite;
}

.tabbar-cta span:last-child {
    color: var(--amarelo);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@keyframes tabbarPulse {
    0%,
    100% {
        box-shadow:
            0 10px 22px rgba(249, 191, 9, 0.4),
            0 0 0 0 rgba(249, 191, 9, 0.45);
    }

    50% {
        box-shadow:
            0 10px 22px rgba(249, 191, 9, 0.4),
            0 0 0 9px rgba(249, 191, 9, 0);
    }
}

/* Responsivo */

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .hero {
        min-height: 700px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "video"
            "info";
        row-gap: 32px;
    }

    .hero-video {
        max-width: 280px;
    }

    .hero-info,
    .stages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .steps-grid,
    .return-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .next-stage__hero {
        grid-template-columns: 1fr;
    }

    .next-stage__categories {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 0;
    }

    .next-stage__categories-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .next-stage__info-grid,
    .next-stage__routes-grid {
        grid-template-columns: 1fr;
    }

    .next-stage__prize {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .next-stage__prize-copy {
        max-width: 100%;
        padding-left: 0;
        border-left: 0;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    body {
        padding-bottom: 84px;
    }

    .tabbar {
        display: flex;
    }

    .container {
        width: min(calc(100% - 26px), var(--container));
    }

    .section {
        padding: 64px 0;
    }

    .site-header .button {
        display: none;
    }

    .hero {
        min-height: 780px;
        align-items: flex-start;
    }

    .hero-layout {
        padding-top: 150px;
    }

    .hero-logo img {
        width: min(100%, 340px);
    }

    .hero-video {
        max-width: 230px;
    }

    .hero-video-cta {
        font-size: 0.7rem;
    }

    .page-banner {
        padding: 130px 0 48px;
    }

    .hero-info,
    .stages-grid,
    .footer-grid,
    .about-grid,
    .steps-grid,
    .return-grid,
    .benefit-card {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-info {
        margin-bottom: 110px;
    }

    .section-header,
    .ranking-toolbar,
    .cta-content,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking-intro,
    .ranking-card,
    .benefit-card {
        padding: 26px;
    }

    .ranking-card {
        overflow-x: auto;
    }

    .ranking-table {
        min-width: 600px;
    }

    .next-stage__hero-main,
    .next-stage__categories,
    .next-stage__info {
        padding: 26px;
    }

    .next-stage__categories-list {
        grid-template-columns: 1fr;
    }

    .next-stage__prize {
        align-items: center;
        padding: 28px 26px;
        text-align: center;
    }

    .next-stage__prize-value {
        font-size: clamp(3.2rem, 15vw, 4.4rem);
        white-space: normal;
    }

    .next-stage__prize-copy {
        flex-direction: column;
        gap: 8px;
    }

    .next-stage__prize-copy .next-stage__cat-icon {
        display: none;
    }

    .next-stage__countdown-grid {
        max-width: 100%;
    }

    .next-stage__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .next-stage__regulamento-link {
        align-self: center;
    }

    .next-stage__routes {
        padding: 20px;
    }

    .cta-final {
        padding: 80px 0;
    }
}

@media (max-width: 400px) {
    .next-stage__countdown-grid {
        gap: 6px;
    }

    .next-stage__countdown-item {
        padding: 10px 4px;
    }

    .next-stage__facts {
        gap: 14px 20px;
    }
}
