/* La newsletter en ligne (ex-blog) : la liste des lettres et la page d'une lettre.

   Refaite le 14/11/2026 sur la maquette validée par Marjolaine : fond blanc, une seule
   colonne (880px pour la liste, 680px pour la lecture), les pastels réservés à la carte
   « à la une » et aux blocs d'abonnement, la couleur portée par les illustrations.
   Polices du site : Vcnudge 800 (titres condensés) et 600 (titres de rang 2),
   Swissnow (texte), Abcfavoritmono Book (étiquettes).
   Chargée seulement par les pages de /blog (api/_lib/blog-core.js).
   blog.css reste en place : les pages /cas-clients et /temoignages s'en servent encore. */

/* Le dégradé du site s'arrête à la porte : on lit sur du blanc. */
body.body-gradient { background: #fff !important; }

.nl-page {
  --encre: #121117;
  --texte: #2a2930;
  --gris: #55545c;
  --discret: #6e6d75;
  --filet: #e5e5e5;
  --peche: #ffe8c8;
  --lavande: #eae7fb;
  --creme: #f8f9ec;
  color: var(--encre);
  font-family: Swissnow, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  /* Le menu du site est fixe (bandeau + barre, environ 90px) : la page démarre dessous. */
  padding-top: 90px;
  padding-bottom: 80px;
}

.nl-page a { color: inherit; }

.nl-col { max-width: 880px; margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
.nl-etroite { max-width: 680px; }

.nl-mono {
  font-family: "Abcfavoritmono Book", ui-monospace, Menlo, monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--discret);
}

.nl-h1 {
  margin: 0;
  font-family: Vcnudge, VCNudge, "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  /* 76px au plus : la taille des H1 des pages internes du site (prochaines-sessions). */
  font-size: clamp(46px, 8vw, 76px);
  line-height: 1.02;
  letter-spacing: .5px;
  text-wrap: balance;
  color: var(--encre);
}

.nl-petit { margin: 0; font-size: 13px; line-height: 1.5; color: var(--discret); }

.nl-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ─────────────────────────── haut de la liste ─────────────────────────── */

.nl-hero { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }

.nl-intro { margin: 0; max-width: 620px; font-size: 20px; line-height: 1.5; color: var(--gris); }

/* ─────────────────────────── formulaire d'abonnement ─────────────────────────── */

.nl-form { margin: 0; max-width: 520px; width: 100%; }

.nl-champs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

.nl-input {
  flex: 1 1 220px; min-width: 0; height: 48px; box-sizing: border-box; margin: 0;
  padding: 0 16px; border: 1px solid var(--encre); border-radius: 8px;
  font-family: inherit; font-size: 16px; line-height: 1.2; color: var(--encre); background: #fff;
}
.nl-input::placeholder { color: var(--discret); }
.nl-input:focus-visible, .nl-envoyer:focus-visible, .nl-filtre:focus-visible,
.nl-page a:focus-visible, .art-copier:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

.nl-envoyer {
  height: 48px; padding: 0 24px; margin: 0; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--encre); color: var(--creme);
  font-family: inherit; font-size: 16px; line-height: 1.2; -webkit-appearance: none; appearance: none;
  transition: background .2s;
}
.nl-envoyer:hover { background: #2a2930; }
.nl-envoyer:disabled { opacity: .6; cursor: default; }

.nl-form .nl-ok, .nl-form .nl-ko {
  display: none; margin: 0; padding: 14px 16px; border-radius: 8px;
  font-size: 16px; line-height: 1.45; text-align: left; color: var(--encre);
}
.nl-form .nl-ok { background: var(--creme); border: 1px solid var(--encre); }
.nl-form .nl-ko { background: #fff; border: 1px solid #b3261e; margin-top: 10px; }

/* ─────────────────────────── la lettre à la une ─────────────────────────── */

.nl-une {
  display: flex; flex-wrap: wrap; text-decoration: none; color: var(--encre);
  border-radius: 24px; overflow: hidden; background: var(--peche);
}
.nl-une[hidden] { display: none; }
.nl-une-visuel { flex: 1 1 380px; min-width: 0; }
.nl-une-visuel img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.nl-une-texte {
  flex: 1 1 320px; min-width: 0; box-sizing: border-box; padding: 36px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.nl-une-texte .nl-mono { color: #403f46; font-size: 11px; }
.nl-pastille {
  align-self: flex-start; font-family: "Abcfavoritmono Book", ui-monospace, Menlo, monospace;
  font-size: 10px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase;
  color: var(--creme); background: var(--encre); border-radius: 999px; padding: 5px 11px;
}
.nl-une-titre {
  margin: 0; font-family: Vcnudge, VCNudge, "Arial Narrow", Arial, sans-serif; font-weight: 800;
  font-size: clamp(32px, 4.6vw, 44px); line-height: 1.02; letter-spacing: .3px; text-wrap: balance;
}
.nl-une-chapo { margin: 0; font-size: 18px; line-height: 1.45; color: #403f46; }
.nl-une:hover .nl-une-titre, .nl-ligne:hover .nl-ligne-titre, .nl-carte:hover .nl-carte-titre {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}

/* ─────────────────────────── filtres et liste ─────────────────────────── */

.nl-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 56px 0 8px; }

.nl-filtre {
  font-family: inherit; font-size: 14px; line-height: 1.3; padding: 8px 18px; margin: 0;
  border-radius: 999px; border: 1px solid var(--filet); background: #fff; color: var(--gris);
  cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.nl-filtre:hover { border-color: var(--encre); color: var(--encre); }
.nl-filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--creme); }

.nl-liste { list-style: none; margin: 0; padding: 0; }
.nl-liste > li { margin: 0; padding: 0; border-bottom: 1px solid var(--filet); }
.nl-liste > li[hidden] { display: none; }

.nl-ligne { display: flex; align-items: center; gap: 28px; padding: 28px 0; text-decoration: none; color: var(--encre); }
.nl-ligne-texte { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nl-ligne-texte .nl-mono { font-size: 11px; }
.nl-ligne-titre {
  margin: 0; font-family: Vcnudge, VCNudge, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(22px, 3.2vw, 28px); line-height: 1.12; letter-spacing: -.4px; color: var(--encre);
}
.nl-ligne-chapo { margin: 0; font-size: 16px; line-height: 1.5; color: var(--gris); }
.nl-ligne-visuel { flex: 0 0 auto; width: clamp(96px, 22vw, 200px); }
.nl-ligne-visuel img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }

.nl-vide { margin: 28px 0 0; color: var(--gris); }

/* ─────────────────────────── blocs d'abonnement ─────────────────────────── */

.nl-abo {
  margin-top: 72px; border-radius: 24px; padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
}
.nl-abo-lavande { background: var(--lavande); }
.nl-abo-peche { background: var(--peche); margin-top: 56px; padding: 36px; }
.nl-abo-photo {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 999px; object-fit: cover;
  border: 2px solid var(--encre); box-shadow: 5px 5px 0 #bef264;
}
.nl-abo-texte { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.nl-abo-texte .nl-mono { color: #403f46; font-size: 11px; }
.nl-abo-texte .nl-petit { color: #403f46; }
.nl-abo-titre {
  margin: 0; font-family: Vcnudge, VCNudge, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(26px, 3.6vw, 34px); line-height: 1.08; letter-spacing: -.6px; color: var(--encre);
}

/* ─────────────────────────── page d'une lettre ─────────────────────────── */

.art-progression { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.art-progression span { display: block; height: 100%; width: 0; background: var(--encre, #121117); }

.nl-tete { padding-top: 48px; display: flex; flex-direction: column; gap: 22px; }
.nl-retour { font-size: 14px; text-decoration: none; color: var(--gris) !important; align-self: flex-start; }
.nl-retour:hover { color: var(--encre) !important; }
.nl-h1-lettre { font-size: clamp(44px, 8vw, 72px); line-height: 1.02; }
.nl-chapo { margin: 0; font-size: 22px; line-height: 1.4; color: var(--gris); }

.nl-signature { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.nl-signature-photo { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 2px solid var(--encre); }
.nl-signature div { display: flex; flex-direction: column; line-height: 1.35; }
.nl-signature strong { font-weight: 400; font-size: 15px; -webkit-text-stroke: .35px currentColor; }
.nl-signature span { font-size: 13px; color: var(--discret); }

.nl-visuel { margin: 40px 0 0; }
.nl-visuel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }

/* Le texte de la lettre. */
.art-corps { padding-top: 44px; font-size: 19px; line-height: 1.65; color: var(--texte); }
.art-corps > * { margin: 0; }
.art-corps > * + * { margin-top: 22px; }
.art-corps p { margin-bottom: 0; }
.art-corps a { color: var(--encre); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-corps a:hover { text-decoration-thickness: 2px; }
/* Swissnow n'existe qu'en regular : le gras passe par un contour, comme ailleurs sur le site. */
.art-corps strong { font-weight: 400; color: var(--encre); -webkit-text-stroke: .4px currentColor; }

.art-corps ul, .art-corps ol { padding-left: 26px; display: flex; flex-direction: column; gap: 12px; }
.art-corps li { margin: 0; padding-left: 4px; }

.art-corps .art-h2 {
  margin-top: 44px; font-family: Vcnudge, VCNudge, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(26px, 4.2vw, 32px); line-height: 1.12; letter-spacing: -.5px; color: var(--encre);
}
.art-corps .art-h3 {
  margin-top: 36px; font-family: Vcnudge, VCNudge, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: 22px; line-height: 1.2; letter-spacing: -.3px; color: var(--encre);
}

.art-corps .art-cite {
  margin: 48px 0; padding: 36px 0; border: 0; border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre);
}
.art-corps .art-cite p {
  margin: 0; font-family: Vcnudge, VCNudge, "Arial Narrow", Arial, sans-serif; font-weight: 800;
  font-size: clamp(34px, 6vw, 48px); line-height: 1.04; letter-spacing: .3px; color: var(--encre); text-wrap: balance;
}

.art-corps .art-fig { margin: 32px 0; display: flex; flex-direction: column; gap: 10px; }
.art-corps .art-fig img {
  display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px;
  border: 1px solid var(--filet); box-sizing: border-box;
}
.art-corps .art-fig a { display: block; }
.art-corps .art-fig figcaption {
  font-family: "Abcfavoritmono Book", ui-monospace, Menlo, monospace; font-size: 11px; line-height: 1.5;
  letter-spacing: .12em; text-transform: uppercase; color: var(--discret);
}

.art-corps .art-bouton { margin-top: 28px; margin-bottom: 6px; }
.art-corps .art-bouton a {
  display: inline-block; background: var(--encre); color: var(--creme); text-decoration: none;
  border-radius: 8px; padding: 14px 22px; font-size: 17px; line-height: 1.3; transition: background .2s;
}
.art-corps .art-bouton a:hover { background: #2a2930; }

.art-corps .art-encart { margin: 36px 0; padding: 28px; border-radius: 16px; background: var(--creme); }
.art-corps .art-encart ul { margin-top: 14px; }

/* Partage. */
.nl-partage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 44px; }
.nl-partage .nl-mono { font-size: 11px; margin-right: 6px; }
.nl-partage a, .nl-partage button {
  font-family: inherit; font-size: 14px; line-height: 1.3; padding: 8px 16px; margin: 0;
  border: 1px solid var(--filet); border-radius: 999px; background: #fff; color: var(--gris);
  text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.nl-partage a:hover, .nl-partage button:hover { border-color: var(--encre); color: var(--encre); }

/* À lire ensuite. */
.nl-suite { padding-top: 72px; }
.nl-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; padding-top: 20px; }
.nl-carte { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--encre); }
.nl-carte-visuel img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.nl-carte .nl-mono { font-size: 11px; }
.nl-carte-titre {
  margin: 0; font-family: Vcnudge, VCNudge, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: 24px; line-height: 1.12; letter-spacing: -.4px; color: var(--encre);
}

/* Le bloc Bootcamp : un seul, tout en bas. */
.nl-bootcamp {
  margin-top: 72px; background: var(--encre); color: var(--creme); border-radius: 28px; padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.nl-bootcamp > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nl-bootcamp-titre {
  margin: 0; font-family: Vcnudge, VCNudge, "Arial Narrow", Arial, sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 44px); line-height: 1.02; letter-spacing: .3px; color: var(--creme);
}
.nl-bootcamp p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.55; color: #d4d4d4; }
.nl-page a.nl-bootcamp-bouton {
  flex: 0 0 auto; background: var(--creme); color: var(--encre); border-radius: 8px;
  padding: 14px 22px; text-decoration: none; font-size: 16px; line-height: 1.3;
}

/* ─────────────────────────── téléphone ─────────────────────────── */

@media (max-width: 767px) {
  .nl-hero { padding-top: 44px; padding-bottom: 40px; gap: 20px; }
  .nl-intro { font-size: 18px; }
  .nl-une-texte { padding: 24px; }
  .nl-filtres { padding-top: 40px; }
  .nl-ligne { gap: 16px; padding: 22px 0; }
  .nl-ligne-chapo { font-size: 15px; }
  .nl-abo, .nl-abo-peche, .nl-bootcamp { padding: 24px; }
  .nl-envoyer { flex: 1 1 100%; }
  .nl-tete { padding-top: 32px; }
  .nl-chapo { font-size: 19px; }
  .art-corps { font-size: 18px; padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .nl-page * { transition: none !important; }
}
