/*
 * ===========================================================================
 * ORIQ : ABONNEMENT « LE 8 HEURES IA » DANS LE PIED DE PAGE.
 * ---------------------------------------------------------------------------
 * Le bloc est injecte par /assets/js/oriq-newsletter.js en tete de
 * <footer class="site-footer">, sur TOUTES les pages du site. Il herite donc
 * des variables redefinies par le footer local : l'accueil a un pied de page
 * noir (--text clair), les pages statiques un pied de page clair. Aucune
 * couleur en dur ici, sauf le bleu Oriq du bouton, identique partout.
 * ===========================================================================
 */
.nlf {
  max-width: var(--container, 1560px);
  margin: 0 auto clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}
.nlf__inner {
  display: grid;
  grid-template-columns: minmax(18rem, 1.1fr) minmax(20rem, 1fr);
  gap: clamp(1.4rem, 3vw, 3.5rem);
  align-items: end;
}
.nlf__kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--brand, #0066FF);
  margin-bottom: 0.7rem;
}
.nlf__kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand, #0066FF);
}
.nlf__title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 800;
  color: var(--text); margin: 0 0 0.5rem;
}
.nlf__title b { color: var(--brand, #0066FF); font-weight: 800; }
.nlf__line { color: var(--text-soft); font-size: 0.97rem; line-height: 1.6; max-width: 34rem; margin: 0; }
.nlf__points {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem;
  margin: 0.9rem 0 0; padding: 0; list-style: none;
  font-size: 0.87rem; color: var(--text-muted);
}
.nlf__points li { display: flex; align-items: center; gap: 0.4rem; }
.nlf__points li::before { content: "→"; color: var(--brand, #0066FF); font-weight: 700; }

.nlf__form { display: block; }
.nlf__label {
  display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.02em; margin-bottom: 0.45rem;
}
.nlf__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.nlf__row input[type="email"] {
  flex: 1 1 14rem; min-width: 0;
  padding: 0.78rem 1rem;
  font: inherit; font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: var(--radius-sm, 10px);
  transition: border-color var(--dur-fast, 160ms) var(--ease, ease);
}
.nlf__row input[type="email"]::placeholder { color: var(--text-muted); opacity: 0.75; }
.nlf__row input[type="email"]:focus-visible { outline: 2px solid var(--brand, #0066FF); outline-offset: 2px; }
.nlf__btn {
  flex: 0 0 auto;
  padding: 0.78rem 1.5rem;
  font: inherit; font-size: 0.95rem; font-weight: 700;
  color: #fff; background: var(--cta, #0066FF);
  border: 0; border-radius: var(--radius-sm, 10px);
  cursor: pointer;
  transition: transform var(--dur-fast, 160ms) var(--ease, ease), box-shadow var(--dur-fast, 160ms) var(--ease, ease);
}
.nlf__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0, 102, 255, 0.75); }
.nlf__btn:active { transform: translateY(0); }
.nlf__btn:focus-visible { outline: 2px solid var(--brand, #0066FF); outline-offset: 3px; }
.nlf__btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.nlf__hint { font-size: 0.8rem; color: var(--text-muted); margin: 0.6rem 0 0; }
.nlf__hint a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }
.nlf__hint a:hover { color: var(--brand, #0066FF); }
.nlf__msg { font-size: 0.88rem; font-weight: 600; margin: 0.6rem 0 0; display: none; }
.nlf__msg[data-state="ok"] { display: block; color: var(--emerald-ink, #027A48); }
.nlf__msg[data-state="err"] { display: block; color: #B42318; }
/* Pied de page sombre (accueil) : les deux teintes de statut manquent de
   contraste sur noir, on les eclaircit. */
.site-footer .nlf__msg[data-state="ok"] { color: #7ee2a8; }
.site-footer .nlf__msg[data-state="err"] { color: #ffb3a7; }
.nlf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 860px) {
  .nlf__inner { grid-template-columns: 1fr; align-items: start; }
  .nlf__row input[type="email"] { flex: 1 1 100%; }
  .nlf__btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nlf__btn:hover { transform: none; }
}
