/* Hero Staff Apply — formulario publico de candidatura */
.hero-apply {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px var(--hero-gutter, 20px);
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    color: #2D2D2D;
}

.hero-apply__head {
    text-align: center;
    margin-bottom: 36px;
}
.hero-apply__head h1 {
    font-family: 'Bangers', 'Impact', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 2px;
    margin: 0 0 10px;
    color: #1A1A1A;
    line-height: 1.1;
}
.hero-apply__head h1::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: #A3D900;
    margin: 14px auto 0;
    border-radius: 2px;
}
.hero-apply__head p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 14px 0 0;
}

/* Success state */
.hero-apply__success {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #F8FFE8 0%, #F0F9DC 100%);
    border: 1px solid #A3D900;
    border-radius: 20px;
    margin-top: 30px;
}
.hero-apply__icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #A3D900;
    position: relative;
}
.hero-apply__icon::after {
    content: '';
    position: absolute;
    left: 26px; top: 36px;
    width: 30px; height: 14px;
    border: solid #1A1A1A;
    border-width: 0 0 4px 4px;
    transform: rotate(-45deg);
}
.hero-apply__success h2 {
    font-size: 24px;
    color: #1A1A1A;
    margin: 0 0 10px;
}
.hero-apply__success p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Form */
.hero-apply__form {
    background: #fff;
    border: 1px solid #ECECE4;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.hero-apply__error {
    background: #FFF0F0;
    border: 1px solid #FFB8B8;
    color: #B71C1C;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 20px;
    font-size: 14px;
}

.hero-apply__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.hero-apply__fs {
    border: none;
    padding: 0;
    margin: 0 0 28px;
}
.hero-apply__fs legend {
    font-family: 'Bangers', 'Impact', sans-serif;
    font-size: 20px;
    letter-spacing: 1.5px;
    color: #1A1A1A;
    margin-bottom: 14px;
    padding: 0;
}
.hero-apply__fs legend .req {
    color: #FF4D4D;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
}
.hero-apply__help {
    color: #888;
    font-size: 13px;
    margin: 0 0 12px;
}

.hero-apply__field {
    margin-bottom: 16px;
}
.hero-apply__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.hero-apply__field .req {
    color: #FF4D4D;
}
.hero-apply__field input,
.hero-apply__field select,
.hero-apply__field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #DCDCD4;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #1A1A1A;
    background: #FAFAF7;
    transition: border-color 0.15s, background 0.15s;
}
.hero-apply__field input:focus,
.hero-apply__field select:focus,
.hero-apply__field textarea:focus {
    outline: none;
    border-color: #A3D900;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(163, 217, 0, 0.15);
}
.hero-apply__field textarea {
    resize: vertical;
    min-height: 80px;
}
.hero-apply__field small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

.hero-apply__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Chips de areas / disponibilidade */
.hero-apply__areas,
.hero-apply__avail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-apply__chip {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1.5px solid #DCDCD4;
    border-radius: 50px;
    background: #FAFAF7;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.15s;
    user-select: none;
}
.hero-apply__chip:hover {
    border-color: #A3D900;
    color: #1A1A1A;
}
.hero-apply__chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.hero-apply__chip input:checked + span {
    color: #1A1A1A;
    font-weight: 700;
}
.hero-apply__chip:has(input:checked) {
    background: #A3D900;
    border-color: #A3D900;
    color: #1A1A1A;
}
.hero-apply__chip--small {
    padding: 6px 12px;
    font-size: 13px;
}

.hero-apply__consent {
    background: #FAFAF7;
    border: 1px solid #ECECE4;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 24px;
}

.hero-apply__submit {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background: #A3D900;
    color: #1A1A1A;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.hero-apply__submit:hover:not(:disabled) {
    background: #8BC200;
    transform: translateY(-1px);
}
.hero-apply__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 640px) {
    .hero-apply__form { padding: 24px 18px; }
    .hero-apply__row { grid-template-columns: 1fr; }
}

/* ── v1.36.5: notice (bloqueio de elegibilidade + boas-vindas de logado) ── */
.hero-apply__notice {
    margin: 0 auto 24px;
    max-width: 560px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #FFF8E1;
    border: 1px solid #FFE58F;
    color: #5A4500;
    font-size: 14px;
    line-height: 1.55;
}
.hero-apply__notice p { margin: 0; }
.hero-apply__notice p + p { margin-top: 10px; }
.hero-apply__notice--info {
    background: #EEF4FF;
    border-color: #C9D8EF;
    color: #1a3a8c;
}
.hero-apply__notice--staff_active,
.hero-apply__notice--sas_removed_cooldown,
.hero-apply__notice--rejected_in_current_edition {
    background: #FFEDED;
    border-color: #FFC9C9;
    color: #8a0000;
}
.hero-apply__notice--pending_application {
    background: #EEF4FF;
    border-color: #C9D8EF;
    color: #1a3a8c;
}
.hero-apply--blocked .hero-apply__notice {
    max-width: 640px;
    margin-top: 12px;
}
.hero-apply__back {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

/* Inputs readonly (pre-preenchidos pra user logado) */
.hero-apply__field input[readonly] {
    background: #F5F5F2;
    color: #555;
    cursor: not-allowed;
}
.hero-apply__field small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #888;
    line-height: 1.4;
}
.hero-apply__field small a { color: #4D9DFF; text-decoration: underline; }

/* v1.76.0 — Popup de confirmação de maioridade (18+) */
.hero-age-ov{
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(10,10,12,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    animation: heroAgeFade .18s ease;
}
@keyframes heroAgeFade { from { opacity: 0 } to { opacity: 1 } }
.hero-age-modal{
    background: linear-gradient(135deg,#1A1A1A 0%,#2D2D2D 100%); color: #fff;
    border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
    max-width: 420px; width: 100%; padding: 30px 28px 24px; text-align: center;
    box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
    animation: heroAgePop .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes heroAgePop { from { transform: translateY(14px) scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }
.hero-age-modal__icon{ font-size: 40px; line-height: 1; margin-bottom: 10px }
.hero-age-modal h3{ margin: 0 0 8px; font-size: 20px; color: #fff }
.hero-age-modal p{ margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.78) }
.hero-age-modal__btns{ display: flex; gap: 10px; justify-content: center; flex-wrap: wrap }
.hero-age-modal__btns button{
    appearance: none; border: none; cursor: pointer; font: inherit; font-weight: 700;
    padding: 12px 22px; border-radius: 50px; font-size: 14px; transition: .15s;
}
.hero-age-cancel{ background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18) }
.hero-age-cancel:hover{ background: rgba(255,255,255,.14) }
.hero-age-ok{ background: #A3D900; color: #1A1A1A; box-shadow: 0 3px 0 rgba(0,0,0,.25) }
.hero-age-ok:hover{ background: #b6e62a; transform: translateY(-1px) }
.hero-age-ok:active{ transform: translateY(1px) }
