:root {
    --green: #006b2d;
    --dark-green: #002c18;
    --yellow: #ffd51e;
    --blue: #07398f;
    --red: #e31b23;
    --ink: #101414;
    --paper: #fff8db;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(0, 0, 0, .28);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--white);
    background: var(--dark-green);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 213, 30, .22), transparent 24rem),
                radial-gradient(circle at 90% 30%, rgba(227, 27, 35, .18), transparent 23rem),
                linear-gradient(135deg, #00210f 0%, #004d23 48%, #00170b 100%);
    z-index: -2;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: .25;
    z-index: -1;
    pointer-events: none;
}

a { color: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none !important; }

.hero {
    min-height: 720px;
    background: url('hero-captacoes.jpg') center/cover no-repeat;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-bottom: 10px solid var(--yellow);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 36, 18, .88) 0%, rgba(0, 36, 18, .48) 42%, rgba(0,0,0,.15) 100%);
}
.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 42px;
    align-items: center;
    padding: 80px 0;
}
.club-logo {
    width: 180px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 30px;
    border: 6px solid var(--white);
    box-shadow: 12px 12px 0 rgba(7,57,143,.75), var(--shadow);
    background: var(--green);
}
.kicker, .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--yellow);
    text-shadow: 2px 2px 0 #000;
}
.hero h1 {
    margin: 4px 0 0;
    font-size: clamp(4rem, 12vw, 9.5rem);
    line-height: .83;
    text-transform: uppercase;
    color: var(--yellow);
    -webkit-text-stroke: 4px var(--blue);
    text-shadow: 0 0 0 #fff, 7px 7px 0 #fff, 14px 14px 0 rgba(0,0,0,.35);
}
.season {
    margin: 18px 0 18px;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 1000;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 5px 5px 0 rgba(0,0,0,.65);
}
.hero-lead {
    max-width: 670px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #fff7c7;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 15px 28px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 1000;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 6px 6px 0 var(--blue), 0 14px 30px rgba(0,0,0,.22);
    transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--blue), 0 18px 34px rgba(0,0,0,.3); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.secondary { background: var(--white); }
.hero-btn { margin-top: 14px; }

.schedule-section, .form-section { padding: 72px 0; }
.section-heading { max-width: 850px; margin-bottom: 34px; }
.section-heading h2, .form-copy h2 {
    margin: 10px 0;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: .95;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 5px 5px 0 rgba(0,0,0,.55);
}
.section-heading p, .form-copy p { color: #f9f0b5; font-size: 1.08rem; line-height: 1.7; }
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.schedule-card {
    position: relative;
    min-height: 285px;
    padding: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 107, 45, .95), rgba(0, 45, 22, .96));
    border: 4px solid rgba(255,255,255,.9);
    box-shadow: 8px 8px 0 rgba(255, 213, 30, .65), var(--shadow);
}
.schedule-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('original-masculino.jpg') center/cover no-repeat;
    opacity: .22;
    mix-blend-mode: luminosity;
}
.schedule-card.feminino::before { background-image: url('original-feminino.jpg'); }
.schedule-card > * { position: relative; }
.card-topline {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 900;
    text-transform: uppercase;
}
.schedule-card h3 {
    margin: 16px 0 4px;
    font-size: 4.1rem;
    line-height: .85;
    color: var(--yellow);
    text-shadow: 5px 5px 0 #001f0f;
}
.age-label { margin: 0 0 16px; font-size: 1.4rem; font-weight: 900; }
.schedule-card pre {
    margin: 0;
    white-space: pre-wrap;
    font: 800 1.05rem/1.5 system-ui, sans-serif;
    color: var(--white);
}

.form-section {
    background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.35));
}
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}
.form-copy { position: sticky; top: 24px; }
.visual-card {
    min-height: 150px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 22px;
    margin-top: 18px;
    border-radius: var(--radius);
    border: 4px solid var(--white);
    box-shadow: 8px 8px 0 rgba(255, 213, 30, .65);
    background: center/cover no-repeat;
    overflow: hidden;
    position: relative;
}
.visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}
.visual-card > * { position: relative; }
.visual-card strong { font-size: 1.5rem; color: var(--yellow); text-transform: uppercase; }
.visual-card span { color: var(--white); }
.masculino-bg { background-image: url('original-masculino.jpg'); }
.feminino-bg { background-image: url('original-feminino.jpg'); }

.signup-form {
    background: rgba(255, 248, 219, .97);
    color: var(--ink);
    border: 6px solid var(--white);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 12px 12px 0 rgba(7,57,143,.75), var(--shadow);
}
fieldset {
    border: 3px solid rgba(0,107,45,.2);
    border-radius: 20px;
    padding: 20px;
    margin: 0 0 18px;
}
legend {
    padding: 0 10px;
    font-size: 1.25rem;
    font-weight: 1000;
    text-transform: uppercase;
    color: var(--green);
}
label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 14px;
}
input, select, textarea {
    width: 100%;
    border: 2px solid rgba(0,0,0,.16);
    border-radius: 16px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
    color: var(--ink);
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,57,143,.14); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.selected-schedule {
    margin: 8px 0 16px;
    border-radius: 18px;
    background: var(--green);
    color: var(--white);
    padding: 0;
}
.selected-schedule:not(:empty) { padding: 16px; }
.selected-schedule ul { margin: 8px 0 0; padding-left: 20px; }
.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff0b8;
    border-radius: 18px;
    border: 2px solid rgba(0,0,0,.1);
    line-height: 1.5;
}
.consent input { width: auto; margin-top: 4px; transform: scale(1.25); }
.submit-btn { width: 100%; margin-top: 10px; border-radius: 18px; font-size: 1.05rem; }
.alert-card {
    background: #fff0b8;
    color: var(--ink);
    border: 4px solid var(--yellow);
    border-radius: 20px;
    padding: 20px;
    font-weight: 900;
    box-shadow: var(--shadow);
}
.site-footer { padding: 28px 0; background: #00140a; border-top: 6px solid var(--yellow); }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.setup-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--dark-green) url('hero-captacoes.jpg') center/cover fixed no-repeat;
}
.setup-page::before { background: rgba(0, 32, 16, .75); }
.setup-box {
    width: min(760px, 100%);
    background: rgba(255, 248, 219, .98);
    color: var(--ink);
    padding: 34px;
    border-radius: 30px;
    border: 6px solid var(--white);
    box-shadow: 12px 12px 0 rgba(7,57,143,.75), var(--shadow);
}
.setup-box h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3.3rem); color: var(--green); text-transform: uppercase; }
.setup-logo { width: 110px; height: 110px; object-fit: cover; border-radius: 22px; float: right; margin-left: 18px; }
.setup-box code { background: #fff; padding: 4px 8px; border-radius: 8px; }
.small-warning { background: #ffe9a8; padding: 14px; border-radius: 14px; font-weight: 800; }

@media (max-width: 820px) {
    .hero { min-height: 640px; }
    .hero-content { grid-template-columns: 1fr; gap: 20px; text-align: left; }
    .club-logo { width: 120px; }
    .hero h1 { -webkit-text-stroke: 2px var(--blue); text-shadow: 0 0 0 #fff, 4px 4px 0 #fff, 8px 8px 0 rgba(0,0,0,.35); }
    .form-layout { grid-template-columns: 1fr; }
    .form-copy { position: static; }
    .two-cols { grid-template-columns: 1fr; }
    .signup-form { padding: 18px; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 22px, 1180px); }
    .hero h1 { font-size: 4.2rem; }
    .season { font-size: 2.15rem; }
    .schedule-section, .form-section { padding: 48px 0; }
    .schedule-card h3 { font-size: 3.4rem; }
}
