/* Page « Lettre d'information » (/newsletter). États formulaire / erreur : carte unique (maquette A).
   États message (vérifier, échec, confirmé, désinscription, désinscrit, lien invalide) : bandeau sombre
   + carte (maquette B), centrés. Servi par /assets/commun/page-lettre.css. Préfixe nl2-. */
.nl2 { background: var(--fond-teinte); }

.nl2-picto { width: 56px; height: 56px; fill: #fff; margin-bottom: .5rem; }
.nl2-ico { width: 28px; height: 28px; fill: var(--accent-texte); flex: none; }
.nl2-note, .nl2-discret { color: var(--encre-2); font-size: .92rem; }

/* ---------- A : formulaire ---------- */
.nl2-a { padding-block: 1.5rem 2rem; }
.nl2-a__carte { background: #fff; border: 1px solid var(--bord); border-top: 5px solid var(--accent); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 1.5rem 1.15rem; max-width: 640px; margin-inline: auto; }
.nl2-a__carte h1, .nl2-a__carte h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.1rem); }
.nl2-a__ben { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .8rem; }
.nl2-a__ben li { display: flex; gap: .8rem; align-items: flex-start; }
.nl2-a__ben .nl2-ico { background: var(--accent-pale); padding: 8px; width: 44px; height: 44px; border-radius: 50%; }
.nl2-form { margin-top: 1rem; box-shadow: none; background: var(--fond-teinte); }
.nl2-form .bouton { width: 100%; }

/* ---------- B : bandeau sombre + carte, centrés ---------- */
.nl2-bande { background: var(--sombre); color: #fff; border-bottom: 5px solid var(--accent); padding-block: 2rem 4.5rem; text-align: center; }
.nl2-bande h1 { color: #fff; margin-bottom: .4rem; }
.nl2-sur { margin: 0 0 .4rem; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--accent); }
.nl2-chapo { margin: 0 auto; max-width: 40rem; font-size: 1.05rem; color: #e6e8eb; }
.nl2-chapo strong { overflow-wrap: anywhere; color: #fff; }
.nl2-corps { margin-top: -3rem; padding-bottom: 2rem; }
.nl2-corps .nl2-carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 1.35rem 1.15rem; max-width: 760px; margin-inline: auto; text-align: center; }
.nl2-carte > p:first-child { margin-top: 0; }
.nl2-carte .alerte { text-align: left; }
.nl2-etapes { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1rem; }
.nl2-etapes li { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.nl2-num { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-bouton); color: #fff; font-weight: 800; flex: none; }
.nl2-aide { border-top: 1px solid var(--bord); margin-top: 1.25rem; padding-top: 1.1rem; }
.nl2-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1rem; }
.nl2-actions > .bouton, .nl2-actions > form { flex: 1 1 11rem; }
.nl2-actions form .bouton { width: 100%; }
.nl2-carte form > .nl2-actions { margin-top: 1rem; }
@media (min-width: 768px) {
  .nl2-bande { padding-block: 3rem 6rem; }
  .nl2-corps { margin-top: -4rem; }
  .nl2-corps .nl2-carte { padding: 2rem; }
  .nl2-etapes { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .nl2-etapes li { border-top: 3px solid var(--accent); padding-top: .8rem; }
  .nl2-actions > .bouton, .nl2-actions > form { flex: 0 0 auto; }
}

/* Désinscription sans e-mail sous la main : demande du lien par adresse */
.nl2-sous-titre { font-size: 1.15rem; margin: 1.5rem 0 .25rem; padding-top: 1.25rem; border-top: 1px solid var(--bord); }
.nl2-carte form { max-width: 26rem; margin-inline: auto; text-align: left; }
.nl2-carte form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.nl2-carte form input[type="email"] { width: 100%; }
.nl2-carte form .nl2-actions { justify-content: center; }
