/*
 * Newsletter (app/Views/Site/pages/blog_newsletter.php)
 * S'appuie sur style/css/accueil.css et style/css/contact.css (mise en page et champs ct-*).
 */

.nl-points {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--acc-trait);
}

.nl-points li {
    padding: 14px 0 14px 26px;
    border-bottom: 1px solid var(--acc-trait);
    position: relative;
}

.nl-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 23px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acc-accent);
}

.nl-points strong {
    color: var(--acc-titre);
    font-weight: 500;
}

/* ---------- Choix des lettres ---------- */

.nl-lettres {
    margin: 4px 0 0;
    padding: 0;
    border: 0;
}

.nl-lettres legend {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    color: var(--acc-titre);
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nl-lettre {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 10px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2px;
    background: #121212;
    font-weight: 400;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.nl-lettre:hover {
    border-color: rgba(212, 71, 164, .6);
}

/* Case native masquée mais accessible au clavier et aux lecteurs d'écran */
.nl-lettre input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.nl-case {
    flex: none;
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 2px;
    transition: background-color .2s, border-color .2s;
}

.nl-case::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.nl-lettre input:checked ~ .nl-case {
    border-color: var(--acc-accent);
    background: var(--acc-accent);
}

.nl-lettre input:checked ~ .nl-case::after {
    opacity: 1;
}

.nl-lettre:has(input:checked) {
    border-color: var(--acc-accent);
    background: rgba(212, 71, 164, .08);
}

.nl-lettre input:focus-visible ~ .nl-case {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.nl-texte {
    display: block;
}

.nl-titre {
    display: block;
    color: var(--acc-titre);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.nl-description {
    display: block;
    margin-top: 2px;
    color: var(--acc-texte);
    font-size: 13px;
    line-height: 1.5;
}

.nl-aide {
    margin: 4px 0 20px;
    color: #8d8d8d;
    font-size: 13px;
}
