/* =========================================================
   Page d'inscription à la newsletter — reprend la charte de
   la page d'accueil (variables, bandeau .hero, .intro, .wrap).
   ========================================================= */
.hero--newsletter { min-height: 58vh; }
.hero--newsletter:not(:has(.hero__bg)) { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); }

.newsletter-inscription { padding: 70px 0 90px; background: #f1e9e2; }
.newsletter-inscription__grille {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center;
}
.newsletter-inscription__seule { max-width: 680px; }

.newsletter-inscription__carte {
    background: #fff; border-radius: 8px; padding: 36px 40px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08); border-top: 4px solid var(--color-accent);
}
.newsletter-inscription__carte h2 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

.newsletter-inscription__atouts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.newsletter-inscription__atouts li {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    background: rgba(255, 255, 255, .6); border-radius: 8px; font-size: 1.02rem;
}
.newsletter-inscription__atouts li span { font-size: 1.5rem; }

/* Formulaire */
.newsletter-form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.newsletter-form .form-field input[type="email"],
.newsletter-form .form-field input[type="text"] { width: 100%; }
.newsletter-form__case { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; cursor: pointer; line-height: 1.45; }
.newsletter-form__case input { width: 18px !important; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--color-primary); }
.newsletter-form__erreur { margin: 6px 0 0; color: #b3261e; font-size: .9rem; }
.newsletter-form__erreur:empty { display: none; }
.newsletter-form__mention { margin: 16px 0 0; font-size: .85rem; color: #7a6d6d; }
.newsletter-form__annuler { margin-left: 16px; }
.newsletter-form [data-bouton][disabled] { opacity: .6; cursor: wait; }

/* Piège à robots : hors écran (pas display:none, que certains robots repèrent) */
.newsletter-form__piege-zone { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Messages de confirmation / d'erreur */
.newsletter-message { margin: 0 0 18px; padding: 14px 16px; border-radius: 6px; border-left: 4px solid; }
.newsletter-message--success { background: #edf6ee; border-color: #3b7a3b; color: #24552a; }
.newsletter-message--error { background: #fdecea; border-color: #b3261e; color: #8c1d18; }

@media (max-width: 860px) {
    .newsletter-inscription__grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .newsletter-inscription { padding: 44px 0 60px; }
    .newsletter-inscription__carte { padding: 26px 20px; }
    .newsletter-form__ligne { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .newsletter-form [data-bouton] { width: 100%; }
}
