/* ============================================================
   PAGE DEVENIR BÉNÉVOLE — SE Sport Events
   ============================================================ */

:root {
    --vb-cyan: #22b8e6;
    --vb-cyan-dark: #0b93bd;
    --vb-cyan-soft: rgba(34,184,230,.08);
    --vb-text: #0a0d12;
    --vb-muted: #5b6472;
    --vb-border: #e6ebf2;
    --vb-bg: #f6f8fb;
}

.vb-page { background: var(--vb-bg); padding-bottom: 5rem; }

/* ============================================================
   HERO
   ============================================================ */
.vb-hero {
    position: relative;
    padding: 5rem 1.5rem 6.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--vb-cyan) 0%, var(--vb-cyan-dark) 100%);
    overflow: hidden;
}
.vb-hero::before,
.vb-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.vb-hero::before { width: 420px; height: 420px; top: -160px; right: -130px; }
.vb-hero::after  { width: 320px; height: 320px; bottom: -190px; left: -110px; }

.vb-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.vb-hero__badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.18);
    color: #fff;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    font-size: .78rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 1.75rem;
}

/* ============================================================
   TITRE + SOULIGNEMENT MODERNE
   ============================================================ */
.vb-hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 1.5rem;
    letter-spacing: -.02em;
    text-align: center;
    max-width: 720px;
    position: relative;
}

/* Le mot "bénévole" avec effet de surlignage animé */
.vb-hero__title .vb-highlight {
    position: relative;
    display: inline-block;
    color: #00151f;
    z-index: 1;
}

.vb-hero__title .vb-highlight::after {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: .08em;
    height: .32em;
    background: rgba(255,255,255,.65);
    border-radius: 6px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    animation: vbUnderline .8s cubic-bezier(.2,.8,.2,1) .3s forwards;
}

@keyframes vbUnderline {
    to { transform: scaleX(1); }
}

/* Sous-titre */
.vb-hero__subtitle {
    color: rgba(255,255,255,.94);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    margin: 0 auto;
    text-align: center;
    max-width: 620px;
    font-weight: 400;
}

/* Petite barre décorative sous le sous-titre (optionnel, moderne) */
.vb-hero__divider {
    width: 64px;
    height: 4px;
    margin: 1.75rem auto 0;
    background: rgba(255,255,255,.75);
    border-radius: 999px;
}

/* ============================================================
   BODY / CONTAINER
   ============================================================ */
.vb-container {
    max-width: 1120px;
    margin: -4rem auto 0;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* ============================================================
   FEATURES
   ============================================================ */
.vb-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
.vb-feature {
    background: #fff;
    border: 1px solid var(--vb-border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(10,13,18,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.vb-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10,13,18,.08);
}
.vb-feature__icon {
    width: 52px; height: 52px;
    margin: 0 auto .9rem;
    display: grid; place-items: center;
    background: var(--vb-cyan-soft);
    color: var(--vb-cyan-dark);
    border-radius: 14px;
    font-size: 1.4rem;
}
.vb-feature__title {
    font-size: .95rem; font-weight: 700;
    color: var(--vb-text); margin: 0 0 .3rem;
}
.vb-feature__text {
    font-size: .85rem; color: var(--vb-muted);
    margin: 0; line-height: 1.5;
}

/* ============================================================
   CARD FORMULAIRE
   ============================================================ */
.vb-card {
    background: #fff;
    border: 1px solid var(--vb-border);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(10,13,18,.08);
    overflow: hidden;
}
.vb-card__head {
    padding: 2rem 2.25rem 0;
    text-align: center;
}
.vb-card__title {
    font-size: 1.5rem; font-weight: 800;
    color: var(--vb-text); margin: 0 0 .35rem;
    letter-spacing: -.01em;
}
.vb-card__subtitle {
    color: var(--vb-muted); font-size: .92rem; margin: 0;
}

/* ============================================================
   FORM
   ============================================================ */
.vb-form { padding: 2rem 2.25rem 2.25rem; }

.vb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}
@media (max-width: 640px) { .vb-grid { grid-template-columns: 1fr; } }

.vb-field { display: flex; flex-direction: column; gap: .45rem; }
.vb-field--full { grid-column: 1 / -1; }

.vb-label {
    font-size: .82rem; font-weight: 700;
    color: var(--vb-text); letter-spacing: .02em;
}
.vb-label .vb-req { color: #dc2626; margin-left: 2px; }

.vb-input-wrap { position: relative; }

.vb-input,
.vb-select {
    width: 100%;
    padding: .95rem 1rem .95rem 2.9rem;
    border: 1.5px solid var(--vb-border);
    border-radius: 12px;
    background: #fbfcfe;
    font-size: .95rem;
    color: var(--vb-text);
    transition: border-color .2s, background .2s, box-shadow .2s;
    appearance: none;
}
.vb-input:focus,
.vb-select:focus {
    outline: none;
    border-color: var(--vb-cyan);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34,184,230,.12);
}
.vb-input.is-error,
.vb-select.is-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220,38,38,.08);
}

.vb-input-icon {
    position: absolute;
    left: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--vb-muted);
    font-size: 1rem;
    pointer-events: none;
}

.vb-select-wrap .vb-select { cursor: pointer; }
.vb-select-caret {
    position: absolute;
    right: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--vb-muted);
    pointer-events: none;
}

/* ============================================================
   FLASH
   ============================================================ */
.vb-flash {
    display: flex; align-items: flex-start; gap: .85rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: .92rem;
    line-height: 1.5;
}
.vb-flash--success {
    background: rgba(22,163,74,.08);
    border: 1px solid rgba(22,163,74,.25);
    color: #15803d;
}
.vb-flash--error {
    background: rgba(220,38,38,.07);
    border: 1px solid rgba(220,38,38,.25);
    color: #b91c1c;
}
.vb-flash i { font-size: 1.15rem; margin-top: 1px; }
.vb-flash ul { margin: .4rem 0 0 1rem; padding: 0; }

/* ============================================================
   SUBMIT
   ============================================================ */
.vb-submit {
    margin-top: 1.75rem;
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vb-cyan) 0%, var(--vb-cyan-dark) 100%);
    color: #00151f;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    box-shadow: 0 8px 24px rgba(34,184,230,.35);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.vb-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34,184,230,.45);
}
.vb-submit:disabled {
    opacity: .65; cursor: not-allowed; transform: none;
}

.vb-note {
    margin: 1rem 0 0;
    font-size: .82rem;
    color: var(--vb-muted);
    text-align: center;
}
.vb-note i { color: var(--vb-cyan-dark); }

/* ============================================================
   ANIMATION
   ============================================================ */
.vb-fade-in { animation: vbFade .5s ease both; }
@keyframes vbFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}