:root {
    --navy: #062d58;
    --navy-deep: #031c37;
    --blue: #2488c9;
    --blue-bright: #39a8eb;
    --orange: #ff8a00;
    --pink: #e9004f;
    --green: #24a83f;
    --ink: #102336;
    --muted: #5b6b7b;
    --paper: #f5f7fa;
    --white: #fff;
    --border: #dce5ee;
    --shadow: 0 24px 70px rgba(3, 28, 55, .14);
    --radius: 22px;
    --shell: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: -100px;
    padding: 12px 18px;
    background: var(--white);
    color: var(--navy);
    border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: .77rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.eyebrow-light { color: #8ed9ff; }
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 5px rgba(233, 0, 79, .12);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 8px max(16px, calc((100vw - 1180px) / 2));
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(6, 45, 88, .08);
    backdrop-filter: blur(14px);
}
.brand img { width: 128px; height: auto; }
.header-link { color: var(--navy); font-size: .86rem; font-weight: 800; text-decoration: none; }

.hero {
    display: grid;
    gap: 36px;
    min-height: calc(100svh - 76px);
    padding-block: 54px 64px;
    align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(3.25rem, 14vw, 7rem);
    font-weight: 950;
    letter-spacing: -.075em;
    line-height: .84;
    text-transform: uppercase;
}
.hero h1 em { color: var(--pink); font-style: normal; }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--pink); box-shadow: 0 14px 28px rgba(233, 0, 79, .24); }
.button-ghost { color: var(--navy); background: var(--white); border-color: #b8c8d7; }
.button-dark { color: var(--white); background: var(--navy); }
.button-light { color: var(--navy); background: var(--white); }
.button-accent { color: var(--navy-deep); background: var(--orange); }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.initiative-note { max-width: 660px; margin-top: 24px; color: #617386; font-size: .83rem; }
.context-links { margin: 9px 0 0; color: #617386; font-size: .74rem; }
.context-links span { color: var(--navy); font-weight: 900; }
.context-links a { color: var(--navy); text-underline-offset: 3px; }

.hero-visual {
    position: relative;
    height: 460px;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--navy-deep), var(--navy));
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
}
.hero-visual::before { width: 260px; height: 260px; left: calc(50% - 130px); top: calc(50% - 130px); }
.hero-visual::after { inset: 24px; border-radius: 22px; }
.hero-card {
    position: absolute;
    width: 32%;
    margin: 0;
    border: 4px solid var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.hero-card img { display: block; width: 100%; height: auto; aspect-ratio: 673/1028; object-fit: cover; }
.hero-card-1 { left: 4%; top: 7%; transform: rotate(-8deg); }
.hero-card-2 { left: 34%; top: 2%; transform: rotate(4deg); }
.hero-card-3 { right: 4%; top: 9%; transform: rotate(8deg); }
.hero-card-4 { left: 34%; bottom: 3%; transform: rotate(-3deg); }
.hero-ball {
    position: absolute;
    z-index: 5;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 88px;
    height: 88px;
    place-content: center;
    color: var(--navy);
    background: var(--orange);
    border: 5px solid var(--white);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 950;
    line-height: .8;
    text-align: center;
}
.hero-ball span { display: block; margin-top: 7px; font-size: .72rem; text-transform: uppercase; }

.countdown-band { color: var(--white); background: var(--navy); }
.countdown-layout { display: grid; gap: 26px; padding-block: 34px; }
.countdown-layout h2 { margin: 0; max-width: 480px; font-size: clamp(1.45rem, 4vw, 2.2rem); line-height: 1.06; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.countdown div { padding: 12px 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; text-align: center; }
.countdown strong { display: block; font-size: clamp(1.45rem, 7vw, 2.4rem); line-height: 1; }
.countdown span { color: #b9d8ec; font-size: .67rem; font-weight: 800; text-transform: uppercase; }

.benefit-section {
    display: grid;
    gap: 26px;
    padding-block: 68px 12px;
    align-items: center;
}
.benefit-badge {
    display: flex;
    width: 156px;
    height: 156px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy-deep);
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 18px 42px rgba(239,138,24,.28);
    transform: rotate(-5deg);
}
.benefit-badge strong { font-size: 4.6rem; line-height: .8; }
.benefit-badge span { font-size: .8rem; font-weight: 950; line-height: 1.1; text-transform: uppercase; }
.benefit-copy h2 { max-width: 930px; margin: 0; color: var(--navy); font-size: clamp(2rem, 6.5vw, 4rem); letter-spacing: -.05em; line-height: 1; }
.benefit-copy > p:not(.eyebrow) { max-width: 850px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.benefit-copy .benefit-note { padding-left: 14px; border-left: 4px solid var(--pink); font-size: .82rem; }

.vote-section { padding-block: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2, .results-section h2, .precedent-copy h2, .why-section h2, .nexpress-section h2, .course-section h2, .reveal-section h2, .share-section h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    letter-spacing: -.055em;
    line-height: .98;
}
.selection-count { display: flex; align-items: baseline; gap: 5px; color: var(--muted); white-space: nowrap; }
.selection-count strong { color: var(--pink); font-size: 2.8rem; line-height: 1; }
.selection-count span { font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.section-intro { max-width: 660px; margin: 18px 0 32px; color: var(--muted); }
.candidate-grid { display: grid; gap: 18px; padding: 0; border: 0; }
.candidate-card {
    position: relative;
    display: grid;
    grid-template-columns: 116px 1fr;
    min-height: 188px;
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(6,45,88,.07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.candidate-card:hover { transform: translateY(-3px); border-color: #98cde9; }
.candidate-card:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.candidate-card.is-selected { border-color: var(--pink); box-shadow: 0 18px 46px rgba(233,0,79,.16); }
.candidate-card.is-locked { opacity: .55; cursor: not-allowed; }
.candidate-card input { position: absolute; opacity: 0; pointer-events: none; }
.candidate-media { position: relative; min-width: 0; overflow: hidden; background: #dcecf6; }
.candidate-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.select-mark {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    color: var(--navy);
    background: rgba(255,255,255,.94);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}
.is-selected .select-mark { color: var(--white); background: var(--pink); }
.candidate-content { display: flex; flex-direction: column; align-items: flex-start; padding: 17px 15px; }
.candidate-kicker { color: var(--blue); font-size: .63rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.candidate-content > strong { margin-top: 3px; color: var(--navy); font-size: 1.25rem; line-height: 1.05; }
.candidate-content > span:not(.candidate-kicker) { margin-top: 9px; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.candidate-content a { position: relative; z-index: 2; margin-top: auto; padding-top: 10px; color: var(--navy); font-size: .75rem; font-weight: 850; }

.vote-panel {
    max-width: 820px;
    margin: 42px auto 0;
    padding: 26px 20px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 26px;
}
.vote-panel-heading h3 { margin: 0; color: var(--navy); font-size: clamp(1.55rem, 5vw, 2.35rem); line-height: 1.05; }
.vote-panel-heading p:last-child { margin: 10px 0 24px; color: var(--muted); }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-size: .82rem; font-weight: 850; }
.field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #b9c8d6;
    border-radius: 12px;
}
.field input:focus { border-color: var(--blue); outline: 3px solid rgba(36,136,201,.18); }
.check-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 18px; color: #45586a; font-size: .84rem; }
.check-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink); }
.privacy-summary { margin-top: 16px; padding: 12px; color: #637586; background: #eaf0f5; border-radius: 10px; font-size: .72rem; }
.turnstile-wrap { min-height: 70px; margin-top: 20px; overflow: hidden; }
.form-message { min-height: 24px; margin-top: 12px; color: #a11231; font-size: .86rem; font-weight: 750; }
.button-submit { width: 100%; margin-top: 6px; border: 0; }
.button-submit:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; transform: none; }
.button-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .button-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-section { color: var(--white); background: var(--green); }
.success-layout { display: grid; gap: 20px; padding-block: 38px; align-items: center; }
.success-icon { display: grid; width: 64px; height: 64px; place-content: center; border: 2px solid var(--white); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.success-layout h2 { margin: 0; font-size: clamp(2.3rem, 8vw, 4rem); letter-spacing: -.05em; line-height: .95; }
.success-layout p:last-child { margin: 8px 0 0; }

.results-section { padding-block: 82px; }
.results-header { display: grid; gap: 22px; }
.results-header p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
.button-refresh { justify-self: start; }
.totals-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-block: 34px; }
.totals-row div { padding: 18px 12px; background: var(--paper); border-radius: 16px; }
.totals-row div:last-child { grid-column: 1 / -1; }
.totals-row strong { display: block; color: var(--navy); font-size: clamp(1.65rem, 7vw, 2.7rem); line-height: 1; }
.totals-row span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.ranking { display: grid; gap: 12px; }
.ranking-row {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 18px;
}
.rank-position { display: grid; width: 42px; height: 42px; place-content: center; color: var(--navy); background: #e6f2fa; border-radius: 50%; font-weight: 950; }
.rank-main { min-width: 0; }
.rank-name-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rank-name { color: var(--navy); font-size: 1rem; font-weight: 900; }
.rank-tie { color: var(--pink); font-size: .62rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.rank-bar { height: 10px; margin-top: 9px; overflow: hidden; background: #e4ebf1; border-radius: 999px; }
.rank-bar-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--pink)); border-radius: inherit; transition: width .65s cubic-bezier(.2,.8,.2,1); }
.rank-score { text-align: right; }
.rank-score strong { display: block; color: var(--navy); font-size: 1.15rem; }
.rank-score span { color: var(--muted); font-size: .72rem; }
.ranking-row.is-winner { border-color: var(--orange); background: #fff9ed; }
.results-explanation { margin: 20px 0 0; color: var(--muted); font-size: .8rem; }

.why-section { padding-block: 76px; color: var(--white); background: var(--navy); }
.why-section h2, .course-section h2, .share-section h2 { color: var(--white); }
.split-heading { display: grid; gap: 25px; }
.split-heading > p { margin: 0; color: #c0d8e8; font-size: 1.06rem; }
.precedent-section { display: grid; gap: 34px; padding-block: 82px; align-items: center; }
.precedent-media { position: relative; width: min(100%, 520px); justify-self: center; }
.precedent-media img { display: block; width: 100%; height: auto; border-radius: 25px; box-shadow: var(--shadow); }
.precedent-media > span { position: absolute; left: -9px; bottom: 24px; padding: 10px 16px; color: var(--white); background: var(--pink); border-radius: 999px; font-size: .75rem; font-weight: 900; text-transform: uppercase; transform: rotate(-4deg); }
.precedent-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.source-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.source-links > a:not(.button) { color: var(--navy); font-size: .79rem; font-weight: 800; }
.nexpress-section { display: grid; gap: 24px; margin-bottom: 80px; padding-block: 34px; padding-inline: 24px; align-items: center; background: var(--paper); border-radius: 28px; }
.nexpress-mark { display: grid; width: 78px; height: 78px; place-content: center; color: var(--white); background: var(--blue); border-radius: 22px; font-size: 1.8rem; font-weight: 950; transform: rotate(-5deg); }
.nexpress-section h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.nexpress-section p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }

.course-section { padding-block: 76px; color: var(--white); background: linear-gradient(135deg, var(--navy-deep), #093f78); }
.course-layout { display: grid; gap: 28px; }
.course-date { display: flex; width: 150px; align-items: center; gap: 10px; padding: 16px; color: var(--navy); background: var(--orange); border-radius: 18px; transform: rotate(-4deg); }
.course-date strong { font-size: 4rem; line-height: .8; }
.course-date span { font-size: .82rem; font-weight: 950; line-height: 1.1; }
.course-section p:not(.eyebrow) { max-width: 720px; color: #c6d9e9; }

.verification-page { min-height: 100vh; background: radial-gradient(circle at 80% 10%, rgba(69,180,231,.3), transparent 35%), var(--navy-deep); }
.verification-shell { width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.verification-shell > img { display: block; margin: 0 auto 24px; padding: 8px; background: var(--white); border-radius: 14px; }
.verification-card { padding: clamp(28px, 7vw, 52px); background: var(--white); border-radius: 28px; box-shadow: var(--shadow); text-align: center; }
.verification-card h1 { margin: 10px 0 18px; color: var(--navy); font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1; }
.verification-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.verification-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 18px; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: 2rem; font-weight: 950; }
.verification-invalid .verification-icon, .verification-expired .verification-icon, .verification-error .verification-icon { background: var(--pink); }
.verification-back { display: block; margin-top: 24px; color: var(--navy); font-weight: 800; }
.course-note { font-size: .82rem; }
.course-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.reveal-section { padding-block: 82px; text-align: center; }
.reveal-section h2 { max-width: 900px; margin-inline: auto; }
.reveal-section > p:last-child { max-width: 760px; margin: 24px auto 0; color: var(--muted); }
.share-section { padding-block: 60px; color: var(--white); background: var(--pink); }
.share-layout { display: grid; gap: 24px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.share-buttons a, .share-buttons button { padding: 11px 15px; color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 850; text-decoration: none; }
.copy-feedback { min-height: 20px; margin: 0; font-size: .8rem; }
.site-footer { padding-block: 42px 92px; background: #f0f4f7; }
.footer-layout { display: grid; gap: 20px; align-items: center; }
.footer-layout img { width: 130px; height: auto; }
.footer-layout p { max-width: 600px; margin: 0; color: var(--muted); font-size: .8rem; }
.footer-layout div { display: flex; flex-wrap: wrap; gap: 16px; font-size: .78rem; font-weight: 800; }
.whatsapp-contact {
    position: fixed;
    z-index: 45;
    right: auto;
    bottom: 82px;
    left: 14px;
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 10px;
    padding: 9px 15px 9px 9px;
    color: var(--white);
    background: #075e54;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    max-width: calc(100vw - 28px);
    box-shadow: 0 14px 38px rgba(3,28,55,.3);
    font-size: .72rem;
    line-height: 1.25;
    text-decoration: none;
}
.whatsapp-contact strong { display: block; font-size: .82rem; }
.whatsapp-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: #075e54; background: var(--white); border-radius: 50%; font-size: .72rem; font-weight: 950; }
.mobile-vote-cta {
    position: fixed;
    z-index: 40;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: var(--white);
    background: var(--pink);
    border-radius: 999px;
    box-shadow: 0 14px 40px rgba(3,28,55,.3);
    font-weight: 900;
    text-decoration: none;
}
.mobile-vote-cta span { padding: 4px 9px; color: var(--pink); background: var(--white); border-radius: 999px; font-size: .78rem; }

@media (min-width: 560px) {
    .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .candidate-card { grid-template-columns: 145px 1fr; }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .success-layout { grid-template-columns: auto 1fr auto; }
}

@media (min-width: 800px) {
    :root { --shell: min(1180px, calc(100% - 64px)); }
    .hero { grid-template-columns: 1.08fr .92fr; padding-block: 70px 84px; }
    .hero h1 { font-size: clamp(4.5rem, 8vw, 7.2rem); }
    .hero-visual { height: 610px; }
    .whatsapp-contact { right: 22px; bottom: 22px; left: auto; }
    .countdown-layout { grid-template-columns: 1fr 1fr; align-items: center; }
    .benefit-section { grid-template-columns: 180px 1fr; gap: 50px; padding-block: 86px 30px; }
    .candidate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .candidate-card { display: flex; min-height: 0; flex-direction: column; }
    .candidate-media { aspect-ratio: 3/4; }
    .candidate-content { min-height: 230px; padding: 20px; }
    .candidate-content > strong { font-size: 1.55rem; }
    .candidate-content > span:not(.candidate-kicker) { font-size: .85rem; }
    .vote-panel { padding: 36px; }
    .results-header { grid-template-columns: 1fr auto; align-items: end; }
    .button-refresh { justify-self: end; }
    .totals-row { grid-template-columns: repeat(3, 1fr); }
    .totals-row div:last-child { grid-column: auto; }
    .ranking-row { grid-template-columns: 56px 1fr 100px; padding: 18px 22px; }
    .rank-name { font-size: 1.12rem; }
    .rank-score strong { font-size: 1.4rem; }
    .split-heading { grid-template-columns: 1.25fr .75fr; align-items: end; }
    .precedent-section { grid-template-columns: minmax(390px, .95fr) 1.05fr; gap: 64px; }
    .nexpress-section { grid-template-columns: auto 1fr auto; padding: 38px 42px; }
    .course-layout { grid-template-columns: 190px 1fr; align-items: start; }
    .share-layout { grid-template-columns: 1fr 1fr; align-items: center; }
    .copy-feedback { grid-column: 2; }
    .footer-layout { grid-template-columns: auto 1fr auto; }
    .mobile-vote-cta { display: none; }
    .site-footer { padding-bottom: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
