/* phpList public pages (/lists/: subscribe, confirm, unsubscribe, preferences) dressed as 666 La Chasse.
   Linked from the header stored in phpList (subscribe page 1 and the "pageheader" setting). */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #0b0b0c; --bg-2: #161618; --fg: #f2f0ec; --muted: #a3a09a; --line: #2a2a2d;
  --accent: #ff2e93; --accent-ink: #0b0b0c; --error: #ff5a4f;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.nl {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg); font: 400 1.05rem/1.6 var(--font);
  background-image: radial-gradient(ellipse at 80% -10%, rgba(255, 46, 147, .16), transparent 55%);
}
a { color: var(--accent); }

.nl-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.nl-brand { color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: -0.01em; }
.nl-brand span { color: var(--accent); }
.nl-back { color: var(--muted); text-decoration: none; font-size: .9rem; }
.nl-back:hover { color: var(--fg); }

.nl-main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 40px) 48px; }
.nl-kicker { margin: 0 0 10px; color: var(--accent); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.nl-card h1, .nl-card h2, .nl-card h3 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 700; }
.nl-card p { color: rgba(242, 240, 236, .85); margin: 0 0 16px; }
.nl-lead { font-size: 1.15rem; }

/* phpList form markup: label/input table, hidden fields, submit, unsubscribe link */
.nl-card form { margin-top: 28px; }
.nl-card table, .nl-card tbody, .nl-card tr, .nl-card td { display: block; width: 100%; border: 0; padding: 0; }
.nl-card tr { margin-bottom: 16px; }
.nl-card label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.nl-card .required label { color: var(--muted); }
.nl-card input[type=text], .nl-card input[type=email], .nl-card input[type=password], .nl-card select, .nl-card textarea {
  width: 100%; padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); font: 400 1.05rem var(--font);
}
.nl-card input:focus, .nl-card textarea:focus, .nl-card select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.nl-card input[type=submit], .nl-card button, .nl-card .nl-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; margin: 4px 16px 12px 0; border-radius: 99px;
  background: var(--accent); border: 1px solid var(--accent); color: var(--accent-ink); font: 700 1rem var(--font); cursor: pointer; transition: transform .15s; text-decoration: none;
}
.nl-card input[type=submit]:hover, .nl-card button:hover, .nl-card .nl-btn:hover { transform: translateY(-1px); }
.nl-card input[type=checkbox], .nl-card input[type=radio] { accent-color: var(--accent); width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.nl-card form > a { color: var(--muted); font-size: .9rem; }
.nl-card form > a:hover { color: var(--fg); }
.nl-card ul { padding-left: 0; list-style: none; }
.nl-card .listdescription { color: var(--muted); font-size: .9rem; }

/* "* Champ requis indiqué en rouge": one field only, the hint is noise. Real errors stay visible. */
.nl-card div.error > span.required:only-child { display: none; }
.nl-card .error, .nl-card .missing { color: var(--error); }

.nl-card .poweredby { margin: 40px 0 0; opacity: .35; filter: grayscale(1); text-align: left !important; }
.nl-card .poweredby:hover { opacity: .7; }
.nl-card .poweredby img { height: 26px; width: auto; }

.nl-foot { padding: 24px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; text-align: center; }
.nl-foot a { color: var(--muted); }
