/**
 * Champ newsletter du pied de page (code court [vll_newsletter_pied]).
 *
 * Bandeau permanent posé en haut du footer VLL (fond primaire #1972b1, texte
 * blanc). C'est le second point d'inscription, pour les visiteurs qui ont fermé
 * le modal. Tout est préfixé `.vll-nl-pied-` et rien n'est écrit hors de ce
 * bloc : la feuille peut cohabiter avec le thème sans effet de bord.
 */

.vll-nl-pied {
    --nlp-jaune: #e5a92e;
    --nlp-fonce: #12507e;
    --nlp-sombre: #3e405b;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px 40px;
    margin: 0 0 30px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
}

.vll-nl-pied__accroche { flex: 1 1 300px; min-width: 0; }

.vll-nl-pied__sur {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--nlp-jaune);
}
.vll-nl-pied__sur::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nlp-jaune);
}

.vll-nl-pied__titre {
    margin: 8px 0 6px;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}
.vll-nl-pied__titre em { font-style: normal; color: var(--nlp-jaune); }

.vll-nl-pied__texte {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .82);
}

/* ------------------------------------------------------------------ */
/* Formulaire                                                          */
/* ------------------------------------------------------------------ */

.vll-nl-pied__form {
    flex: 1 1 420px;
    min-width: 0;
    /* Le thème applique une marge générique à tout <form> : neutralisée. */
    margin: 0;
}

.vll-nl-pied__ligne {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.vll-nl-pied__ligne input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 13px 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--nlp-sombre);
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: box-shadow .2s ease;
}
.vll-nl-pied__prenom { flex: 0 1 160px; }
.vll-nl-pied__ligne input::placeholder { color: #9aa0a6; }
.vll-nl-pied__ligne input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 169, 46, .5);
}

.vll-nl-pied__cta {
    flex: 0 0 auto;
    padding: 13px 24px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--nlp-sombre);
    background: var(--nlp-jaune);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vll-nl-pied__cta:hover {
    background: #f0b83e;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}
.vll-nl-pied__cta[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Pot de miel : invisible pour l'œil ET les lecteurs d'écran, présent au DOM. */
.vll-nl-pied__miel {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vll-nl-pied__consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 11px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .78);
    cursor: pointer;
}
.vll-nl-pied__consent input {
    margin: 1px 0 0;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    accent-color: var(--nlp-jaune);
}
.vll-nl-pied__consent a { color: var(--nlp-jaune); }

.vll-nl-pied__erreur {
    margin: 0 0 10px;
    padding: 9px 13px;
    font-size: 12.5px;
    color: #fff;
    background: rgba(180, 40, 40, .55);
    border-radius: 10px;
}
.vll-nl-pied__erreur[hidden] { display: none; }

/* ----- État de remerciement (remplace le formulaire) ----- */

.vll-nl-pied__merci {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}
.vll-nl-pied__merci-icone {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nlp-jaune);
    color: var(--nlp-sombre);
    border-radius: 50%;
    font-size: 21px;
    font-weight: 800;
}
.vll-nl-pied__merci span { display: block; }
.vll-nl-pied__merci small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
}

/* ------------------------------------------------------------------ */
/* Mobile                                                              */
/* ------------------------------------------------------------------ */

@media screen and (max-width: 780px) {
    .vll-nl-pied { padding: 20px; gap: 16px; margin-bottom: 26px; }
    .vll-nl-pied__ligne { flex-wrap: wrap; }
    .vll-nl-pied__prenom,
    .vll-nl-pied__email { flex: 1 1 100%; }
    .vll-nl-pied__cta { flex: 1 1 100%; }
}
