/* =====================================================================
   Webfaya — pages légales et page 404, charte 2026
   Le contenu de ces pages est du texte juridique : il n'a pas été
   réécrit, seulement réhabillé. Cette feuille reprend donc les classes
   héritées de l'ancienne charte et les rhabille avec les jetons.
   Chargée après tokens.css et accueil.css, qui fournissent l'en-tête,
   le pied de page et les boutons.
   ===================================================================== */

.container {
  max-width: var(--wf-contenu-max);
  margin-inline: auto;
  padding-inline: var(--wf-section-x);
}

/* ---- En-tête de page ------------------------------------------------ */
.page-hero {
  padding-block: clamp(36px, 6vw, 88px) clamp(20px, 3vw, 40px);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.eyebrow {
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wf-braise-foncee);
  margin: 0 0 14px;
}
.page-title {
  font-family: var(--wf-font-titre);
  font-weight: 800;
  font-size: var(--wf-t-section);
  line-height: var(--wf-titre-leading);
  letter-spacing: var(--wf-titre-tracking);
  margin: 0;
}
.page-title .orange { color: var(--wf-braise-foncee); }
/* Le soulignement dessiné de l'ancienne charte n'existe plus. */
.page-title .underline { display: none; }
.page-lead {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  max-width: 52ch;
  font-size: var(--wf-t-texte);
  line-height: var(--wf-texte-leading);
  color: rgba(18, 34, 26, .82);
}
.page-hero-visual { display: grid; place-items: center; }
.page-hero-visual img { width: min(100%, 220px); height: auto; }

/* Encart d'avertissement : filet à gauche interdit par la charte,
   on passe à un aplat sable avec un filet haut. */
.notice {
  display: block;
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: 16px 18px;
  border-top: 2px solid var(--wf-braise-foncee);
  background: rgba(233, 162, 39, .16);
  border-radius: var(--wf-r-bloc);
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(18, 34, 26, .86);
  max-width: 62em;
}

/* ---- Corps légal ---------------------------------------------------- */
.legal { padding-block: clamp(24px, 4vw, 56px) var(--wf-section-y); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
}

/* Sommaire : collant sur grand écran, il suit la lecture. */
.legal-toc {
  font-size: .94rem;
  line-height: 1.7;
}
@media (min-width: 901px) {
  .legal-toc { position: sticky; top: clamp(90px, 12vh, 140px); }
}
.legal-toc-title {
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wf-encre-2);
  margin: 0 0 12px;
}
.legal-toc ol,
.legal-toc ul { margin: 0; padding-left: 1.1em; }
.legal-toc a { color: var(--wf-encre-2); }
.legal-toc a:hover { color: var(--wf-braise-foncee); }

.legal-body { max-width: 68ch; }
.legal-body p,
.legal-body li {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(18, 34, 26, .86);
}
.legal-body a { color: var(--wf-braise-foncee); text-decoration: underline; }
.legal-body a:hover { color: var(--wf-jungle); }

.legal-section,
.brief-section {
  padding-top: clamp(26px, 3vw, 40px);
  margin-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid rgba(18, 34, 26, .18);
}
.legal-section:first-child,
.brief-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

.legal-body h2,
.brief-section-title {
  font-family: var(--wf-font-titre);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: var(--wf-titre-tracking);
  margin: 0 0 16px;
}
.legal-body h3 {
  font-family: var(--wf-font-titre);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: clamp(22px, 2.6vw, 32px) 0 10px;
}
.legal-h4 {
  font-family: var(--wf-font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wf-encre-2);
  margin: 20px 0 8px;
}
.brief-step {
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wf-braise-foncee);
}

/* Listes de définitions : deux colonnes sur large, empilées sinon. */
.legal-dl { margin: 0; }
.legal-dl dt {
  font-weight: 600;
  margin-top: 16px;
  color: var(--wf-jungle);
}
.legal-dl dd {
  margin: 4px 0 0;
  padding-left: 0;
  color: rgba(18, 34, 26, .86);
}

/* Mention « à compléter » : elle doit rester visible, c'est une règle
   d'honnêteté du dossier. Aplat ambre, jamais discret. */
.legal-flag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--wf-r-action);
  background: var(--wf-ambre);
  color: var(--wf-jungle);
  font-family: var(--wf-font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-includes { padding-left: 1.1em; }
.brief-note {
  padding: 14px 16px;
  background: rgba(18, 34, 26, .05);
  border-top: 2px solid rgba(18, 34, 26, .25);
  font-size: .95rem;
  line-height: 1.6;
}

/* ---- Bandeau d'appel en bas de page --------------------------------- */
.cta-final {
  background: var(--wf-jungle);
  color: var(--wf-coco);
  padding-block: var(--wf-section-y);
}
.cta-inner {
  max-width: var(--wf-contenu-max);
  margin-inline: auto;
  padding-inline: var(--wf-section-x);
}
.cta-title {
  font-family: var(--wf-font-titre);
  font-weight: 800;
  font-size: var(--wf-t-section);
  line-height: var(--wf-titre-leading);
  letter-spacing: var(--wf-titre-tracking);
  margin: 0 0 clamp(20px, 2.6vw, 32px);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-sub {
  margin: 0;
  font-size: .95rem;
  color: rgba(250, 244, 232, .85);
}
/* Sur fond jungle, la braise foncee tombe a 2,67:1. La charte prescrit
   les variantes claires dans ce cas : #FF7A4D donne 5,68:1. */
/* :not(.btn) — sinon cette regle (0-1-1) ecrase la couleur des boutons
   (0-1-0) et le texte de .btn-cream tombe a 2,35:1 sur son fond coco.
   Meme piege que .wf-nav a sur le CTA de l'en-tete. */
.cta-final a:not(.btn),
.wf-jungle a:not(.btn) { color: var(--wf-braise-claire); }
.cta-final a:not(.btn):hover,
.wf-jungle a:not(.btn):hover { color: var(--wf-ambre); }
.btn {
  display: inline-block;
  padding: 15px 24px;
  border-radius: var(--wf-r-action);
  font-size: 15px;
  font-weight: 600;
}
.btn-cream { background: var(--wf-coco); color: var(--wf-jungle); }
.btn-cream:hover { background: var(--wf-ambre); color: var(--wf-jungle); }
.arrow { margin-left: 6px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.trust-badge {
  padding: 6px 14px;
  border: 1px solid rgba(18, 34, 26, .3);
  border-radius: var(--wf-r-action);
  font-size: .85rem;
}

/* ---- Page 404 -------------------------------------------------------- */
.wf-404 {
  min-height: 60vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: var(--wf-section-y);
}
.wf-404-code {
  font-family: var(--wf-font-titre);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: .9;
  letter-spacing: var(--wf-titre-tracking);
  color: var(--wf-braise-foncee);
  margin: 0 0 10px;
}
.wf-404 h1 {
  font-size: var(--wf-t-section);
  line-height: var(--wf-titre-leading);
  margin: 0 0 18px;
}
.wf-404 p {
  font-size: var(--wf-t-texte);
  line-height: var(--wf-texte-leading);
  max-width: 46ch;
  margin: 0 0 26px;
  color: rgba(18, 34, 26, .82);
}
.wf-404-visuel { display: grid; place-items: center; }
.wf-404-visuel img { width: min(100%, 300px); height: auto; }

/* =====================================================================
   Formulaires de brief
   Mêmes principes : le contenu des questionnaires n'a pas été touché,
   seules leurs classes sont rhabillées. Angles à 0 sur les champs,
   999px sur les actions et les pastilles — comme partout ailleurs.
   ===================================================================== */
.brief-section-head { margin-bottom: clamp(16px, 2vw, 24px); }
.brief-section-intro {
  margin: 8px 0 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(18, 34, 26, .82);
}
.brief-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--wf-r-action);
  background: var(--wf-jungle);
  color: var(--wf-coco);
  font-family: var(--wf-font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field { margin-bottom: clamp(18px, 2.2vw, 26px); }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.field label,
.choice-legend {
  display: block;
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 8px;
  color: var(--wf-jungle);
}
.req { color: var(--wf-braise-foncee); }
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--wf-encre-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(18, 34, 26, .3);
  border-radius: var(--wf-r-bloc);
  background: var(--wf-coco);
  color: var(--wf-jungle);
  font-family: var(--wf-font-texte);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--wf-d-survol) var(--wf-c-entree);
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: rgba(18, 34, 26, .55); }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { border-color: var(--wf-jungle); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--wf-encre-3); }

/* Erreur : la charte prescrit le texte en braise claire et un ecart
   de 4px, jamais un rebond. */
.field-error {
  display: block;
  margin-top: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--wf-braise-profonde);
}
.field.is-error input,
.field.is-error textarea,
.field.is-error select { border-color: var(--wf-braise-profonde); }

/* Cases et boutons radio : des pastilles, pas des cases systeme. */
.choice-group { margin-bottom: clamp(18px, 2.2vw, 26px); }
.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}
.choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(18, 34, 26, .3);
  border-radius: var(--wf-r-action);
  font-size: .95rem;
  cursor: pointer;
  transition: border-color var(--wf-d-survol) var(--wf-c-entree),
              background-color var(--wf-d-survol) var(--wf-c-entree);
}
.choice:hover { border-color: var(--wf-braise-foncee); }
.choice input { accent-color: var(--wf-braise-foncee); }
.choice:has(input:checked) {
  border-color: var(--wf-jungle);
  background: rgba(18, 34, 26, .06);
}

.price-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(18, 34, 26, .82);
}

/* =====================================================================
   Page Travaux
   Une fiche par projet, l'image et le texte cote a cote, inverses une
   ligne sur deux. Les captures sont des portraits 780x1040 : on borne
   leur hauteur, sinon une seule fiche remplit l'ecran.
   Angles a 0 et aucune ombre, comme partout ailleurs.
   ===================================================================== */
.wf-travaux-liste {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(24px, 3vw, 40px);
}

.wf-travaux-fiche {
  display: grid;
  /* Colonne large : les captures sont passees en 4:3 paysage, comme la
     charte le demande. En 320 px (calibre pour du portrait) une capture
     d'ecran de bureau devenait illisible. */
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid rgba(18, 34, 26, .16);
}
.wf-travaux-fiche:last-of-type { border-bottom: 0; padding-bottom: 0; }

/* Une ligne sur deux part de l'autre cote : l'oeil ne s'endort pas sur
   quatre fiches identiques. */
.wf-travaux-fiche:nth-child(even) > .wf-travaux-visuel { order: 2; }

.wf-travaux-visuel {
  display: block;
  overflow: hidden;
  background: var(--wf-sable, #F3ECDD);
  border: 1px solid rgba(18, 34, 26, .16);
}
.wf-travaux-visuel img {
  display: block;
  width: 100%;
  height: auto;
  /* Plus de plafond de hauteur : en 4:3 l'image tient d'elle-meme, et
     `cover` recadrerait une capture deja cadree. */
  object-fit: contain;
  transition: transform var(--wf-d-apparition) var(--wf-c-entree);
}
.wf-travaux-visuel:hover img,
.wf-travaux-visuel:focus-visible img { transform: scale(1.02); }

.wf-travaux-tete {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}
.wf-travaux-etiquette {
  font-family: var(--wf-font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--wf-jungle);
  color: var(--wf-coco);
}
/* La creation du studio ne se confond pas avec un client : etiquette
   distincte, et le resume le redit en toutes lettres. */
.wf-travaux-etiquette-studio {
  background: transparent;
  color: var(--wf-braise-foncee);
  border: 1px solid var(--wf-braise-foncee);
}
.wf-travaux-annee {
  font-family: var(--wf-font-mono);
  font-size: 11px;
  color: var(--wf-encre-2, #4C5449);
}

.wf-travaux-corps h2 {
  margin: 0 0 6px;
  font-family: var(--wf-font-titre);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.wf-travaux-type {
  margin: 0 0 12px;
  font-family: var(--wf-font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wf-braise-foncee);
}
.wf-travaux-resume {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 54ch;
}

@media (max-width: 780px) {
  .wf-travaux-fiche { grid-template-columns: 1fr; }
  /* L'inversion n'a plus de sens en colonne : l'image repasse en tete
     partout, sinon une fiche sur deux commence par son texte. */
  .wf-travaux-fiche:nth-child(even) > .wf-travaux-visuel { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-travaux-visuel img { transition: none; }
  .wf-travaux-visuel:hover img,
  .wf-travaux-visuel:focus-visible img { transform: none; }
}

/* =====================================================================
   Index du blog
   ===================================================================== */
.wf-billets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  margin-top: clamp(20px, 3vw, 34px);
  background: rgba(18, 34, 26, .18);
  border: 1px solid rgba(18, 34, 26, .18);
}
.wf-billet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--wf-coco);
}
.wf-billet-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.wf-billet-cat { color: var(--wf-braise-foncee); }
.wf-billet-duree { color: var(--wf-encre-2); }
.wf-billet h2 {
  margin: 0;
  font-family: var(--wf-font-titre);
  font-weight: 800;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.wf-billet h2 a { color: var(--wf-jungle); text-decoration: none; }
.wf-billet h2 a:hover,
.wf-billet h2 a:focus-visible { color: var(--wf-braise-foncee); }
.wf-billet p:not(.wf-billet-tete) {
  margin: 0;
  font-size: 15px;
  line-height: var(--wf-texte-leading);
  color: var(--wf-encre-2);
}
/* Sur fond clair, l'ambre du lien de carte tomberait a 1,9:1. */
.wf-billet .wf-offre-lien { color: var(--wf-braise-foncee); }
.wf-billet .wf-offre-lien:hover,
.wf-billet .wf-offre-lien:focus-visible { border-bottom-color: var(--wf-braise-foncee); }

/* La fleche herite de la couleur du lien : sa braise claire est calibree
   pour le fond jungle et tombe a 2,35:1 sur le coco. */
.wf-billet .wf-offre-lien .wf-fleche { color: inherit; }

/* Bloc « a lire ensuite ». Il existe pour le lecteur, mais aussi parce que
   les articles ne recevaient que deux liens internes chacun : trop peu
   pour que Google leur accorde du poids. */
.wf-suite {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  margin-top: 14px;
  background: rgba(18, 34, 26, .18);
  border: 1px solid rgba(18, 34, 26, .18);
}
.wf-suite-lien {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
  background: var(--wf-coco);
  font-family: var(--wf-font-titre);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--wf-jungle);
  text-decoration: none;
  transition: background-color var(--wf-d-survol) var(--wf-c-entree);
}
.wf-suite-lien:hover,
.wf-suite-lien:focus-visible { background: #F3ECDD; color: var(--wf-braise-foncee); }
.wf-suite-lien .wf-fleche { color: inherit; flex: none; }

/* =====================================================================
   Inscription à L'allumage
   Deux colonnes sur large, empilées sur mobile. Fond sable pour le
   détacher du corps de page sans introduire une troisième couleur.
   ===================================================================== */
.wf-abo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
  padding: clamp(24px, 3vw, 40px);
  background: #F3ECDD;
  border: 1px solid rgba(18, 34, 26, .18);
}
.wf-abo .brief-step { margin-bottom: 8px; }
.wf-abo .brief-section-title { margin-bottom: 12px; }
.wf-abo-texte {
  margin: 0;
  font-size: 15px;
  line-height: var(--wf-texte-leading);
  color: var(--wf-encre-2);
  max-width: 46ch;
}
.wf-abo-texte strong { color: var(--wf-jungle); }
.wf-abo-form { display: flex; flex-direction: column; gap: 14px; }
.wf-abo-choice { align-items: flex-start; font-size: 14px; }
.wf-abo-envoi { align-self: flex-start; }
.wf-abo-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--wf-encre-2);
}
.wf-abo-note a { color: var(--wf-braise-foncee); }
.wf-abo-statut {
  margin: 0;
  padding: 12px 14px;
  background: var(--wf-jungle);
  color: var(--wf-coco);
  font-size: 14px;
  line-height: 1.5;
}

/* =====================================================================
   Page de suivi de projet (suivi.html)
   ---------------------------------------------------------------------
   Une seule idee graphique : la frise d'etapes. Le reste est du texte
   pose, sans ornement — c'est une page qu'on consulte en trente
   secondes pour savoir ou on en est, pas une page qu'on admire.
   ===================================================================== */

/* `display: flex` ci-dessous ecrase le `display: none` que le navigateur
   applique a l'attribut `hidden`. Le script masque ce formulaire des qu'un
   projet est charge : sans cette ligne, il restait affiche sous le projet.
   Meme piege que le toast de l'accueil — et il echappe au controle
   automatique, parce qu'ici `hidden` est pose par le script et non ecrit
   dans le HTML. */
.wf-suivi-form[hidden] { display: none; }
.wf-suivi-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 34rem;
  margin: 0 0 var(--wf-e-4);
}
.wf-suivi-form .wf-champ { width: 100%; }

.wf-suivi-code {
  margin: 0 0 8px;
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: var(--wf-mono-tracking);
  text-transform: uppercase;
  color: var(--wf-braise-foncee);
}
.wf-suivi-titre {
  margin: 0;
  font-family: var(--wf-font-titre);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: var(--wf-titre-leading);
  letter-spacing: -.02em;
  color: var(--wf-jungle);
}
.wf-suivi-offre {
  margin: 6px 0 0;
  font-size: 1rem;
  color: var(--wf-encre-2);
}

.wf-suivi-etat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: var(--wf-e-4) 0 var(--wf-e-3);
  padding-top: var(--wf-e-3);
  border-top: 2px solid var(--wf-braise);
}
.wf-suivi-etat span {
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: var(--wf-mono-tracking);
  text-transform: uppercase;
  color: var(--wf-encre-2);
}
.wf-suivi-etat strong {
  font-family: var(--wf-font-titre);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.05;
  color: var(--wf-jungle);
}

/* --- La frise -------------------------------------------------------
   L'etat n'est jamais porte par la seule couleur : chaque etape a une
   pastille de forme differente et un libelle lisible par un lecteur
   d'ecran (`.sr-only` dans le script). Une frise ou seule la teinte
   change est illisible pour une personne daltonienne. */
.wf-frise {
  list-style: none;
  margin: 0 0 var(--wf-e-4);
  padding: var(--wf-e-3);
  background: var(--wf-coco);
  border: 1px solid rgba(18, 34, 26, .14);
}
.wf-frise li {
  position: relative;
  padding: 0 0 var(--wf-e-3) 34px;
}
.wf-frise li:last-child { padding-bottom: 0; }

/* Le trait qui relie les pastilles. Il s'arrete a la derniere. */
.wf-frise li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: rgba(18, 34, 26, .16);
}
.wf-frise li:last-child::before { display: none; }
.wf-frise-faite::before { background: var(--wf-braise); }

.wf-frise-marque {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 34, 26, .3);
  border-radius: 50%;
  background: var(--wf-coco);
}
.wf-frise-faite .wf-frise-marque {
  border-color: var(--wf-braise);
  background: var(--wf-braise);
}
/* La coche est dessinee en CSS : une image bloquee ferait disparaitre
   l'information. */
.wf-frise-faite .wf-frise-marque::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--wf-coco);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wf-frise-encours .wf-frise-marque {
  border-color: var(--wf-braise);
  border-radius: 3px;          /* carre : distinct de la coche ET du cercle */
  background: var(--wf-coco);
  box-shadow: inset 0 0 0 3px var(--wf-braise);
}

.wf-frise-nom {
  display: block;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--wf-encre-2);
}
.wf-frise-encours .wf-frise-nom {
  font-weight: 600;
  color: var(--wf-jungle);
}
.wf-frise-faite .wf-frise-nom { color: var(--wf-jungle); }
.wf-frise-detail {
  display: block;
  margin-top: 2px;
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: var(--wf-mono-tracking);
  text-transform: uppercase;
  color: var(--wf-encre-2);
}
.wf-frise-avenir .wf-frise-detail { opacity: .7; }

/* --- Ce qu'on attend du client --------------------------------------
   Sur fond jungle : c'est la seule chose de la page sur laquelle il doit
   agir, elle ne doit pas se confondre avec le reste. */
.wf-suivi-attente {
  margin: 0 0 var(--wf-e-4);
  padding: var(--wf-e-3);
  background: var(--wf-jungle);
  color: var(--wf-coco);
}
.wf-suivi-attente p { margin: 0; line-height: 1.6; }
.wf-suivi-attente-titre {
  margin: 0 0 8px !important;
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: var(--wf-mono-tracking);
  text-transform: uppercase;
  color: var(--wf-ambre);
}

.wf-suivi-lien { margin: 0 0 var(--wf-e-4); }
/* `.wf-boutons` pose un `margin-top` : il ferait doublon ici. */
.wf-boutons.wf-suivi-lien { margin-top: 0; }

.wf-suivi-faits {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px var(--wf-e-3);
  margin: 0 0 var(--wf-e-4);
  padding-top: var(--wf-e-3);
  border-top: 1px solid rgba(18, 34, 26, .16);
}
.wf-suivi-faits dt {
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: var(--wf-mono-tracking);
  text-transform: uppercase;
  color: var(--wf-encre-2);
}
.wf-suivi-faits dd { margin: 0; color: var(--wf-jungle); }

.wf-suivi-sous-titre {
  margin: 0 0 var(--wf-e-3);
  font-family: var(--wf-font-titre);
  font-size: 1.35rem;
  color: var(--wf-jungle);
}
.wf-journal {
  list-style: none;
  margin: 0 0 var(--wf-e-4);
  padding: 0;
}
.wf-journal li {
  padding: var(--wf-e-2) 0;
  border-top: 1px solid rgba(18, 34, 26, .14);
}
.wf-journal time {
  display: block;
  font-family: var(--wf-font-mono);
  font-size: var(--wf-t-mono);
  letter-spacing: var(--wf-mono-tracking);
  text-transform: uppercase;
  color: var(--wf-braise-foncee);
}
.wf-journal p {
  margin: 4px 0 0;
  line-height: 1.6;
  color: var(--wf-encre-2);
}

.wf-suivi-secours {
  margin-top: var(--wf-e-4);
  padding-top: var(--wf-e-3);
  border-top: 1px solid rgba(18, 34, 26, .16);
}
.wf-suivi-secours p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--wf-encre-2);
}

/* Champs du formulaire de suivi, sur fond clair.
   `.wf-champ`, `.wf-aide` et `.wf-erreur` viennent du formulaire de
   contact de l'accueil, qui vit sur un aplat JUNGLE : son libelle est en
   coco et son aide en coco a 72 %. Repris tels quels ici, sur fond coco,
   ils etaient invisibles — contraste mesure a 1:1. L'input, lui, n'etait
   pas style du tout : `.wf-form input` ne s'applique qu'a l'accueil, donc
   on voyait la boite par defaut du navigateur au milieu de la charte.
   Ces regles sont donc la version claire des memes composants. */
.wf-suivi-form .wf-champ label { color: var(--wf-jungle); }
.wf-suivi-form .wf-aide { color: var(--wf-encre-2); }
.wf-suivi-form .wf-erreur { color: var(--wf-braise-foncee); }
.wf-suivi-form input[type="text"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(18, 34, 26, .3);
  border-radius: var(--wf-r-bloc);
  background: var(--wf-coco);
  color: var(--wf-jungle);
  font-family: var(--wf-font-texte);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--wf-d-survol) var(--wf-c-entree);
}
.wf-suivi-form input[type="text"]:hover { border-color: rgba(18, 34, 26, .55); }
.wf-suivi-form input[type="text"]:focus-visible { border-color: var(--wf-jungle); }
.wf-suivi-form input[type="text"]::placeholder { color: var(--wf-encre-3); }

/* =====================================================================
   Micro-interactions des pages interieures — 21/09/2026
   ===================================================================== */

/* Liens de contenu : meme soulignement anime que sur l'accueil.
   `.legal-body a` couvre les pages legales, les briefs et le corps des
   articles de blog, qui partagent ce chassis. */
.legal-body a,
.wf-suite-lien,
.wf-journal a,
.wf-suivi-secours a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size var(--wf-d-survol) var(--wf-c-entree);
}
.legal-body a:hover, .legal-body a:focus-visible,
.wf-journal a:hover, .wf-journal a:focus-visible,
.wf-suivi-secours a:hover, .wf-suivi-secours a:focus-visible {
  background-size: 100% 2px;
}
/* La carte « a lire ensuite » a deja son propre survol (fond + couleur) :
   on ne lui ajoute pas de trait, ce serait deux effets sur le meme bloc. */
.wf-suite-lien { background-image: none; }

/* Les cartes du blog repondent au survol, dans le langage des cartes de
   Travaux : le filet vient, la carte ne bouge pas. Pas de translation —
   la charte reserve le mouvement aux fleches et aux fonds. */
.wf-billet {
  border: 1px solid rgba(18, 34, 26, .2);
  transition: border-color var(--wf-d-survol) var(--wf-c-entree);
}
.wf-billet:hover,
.wf-billet:focus-within { border-color: var(--wf-braise); }

@media (prefers-reduced-motion: reduce) {
  .legal-body a, .wf-suite-lien, .wf-journal a, .wf-suivi-secours a,
  .wf-billet { transition: none; }
}
