/* capsante-prevention.fr — charte « Bleu de travail »
   Vêtement de travail et signalétique de sécurité, traités en magazine.
   Une seule audace : la jauge d'angle de posture. Tout le reste reste calme. */

/* --- Tokens --- */
:root {
  --c-fond: #F5F7F6;
  --c-blanc: #FFFFFF;
  --c-encre: #1A2230;
  --c-gris: #4F5968;
  --c-filet: #D3DAE0;
  --c-bleu: #1F3A68;
  --c-bleu-fonce: #162B4F;
  --c-bleu-pale: #E4EAF2;
  --c-vert: #2F7D5B;
  --c-vert-pale: #E3F0E9;
  --c-jaune: #F2C230;
  --c-jaune-pale: #FBF1CC;
  --c-rouge: #B8432F;
  --c-rouge-pale: #F7E6E2;

  --f-titre: 'Familjen Grotesk', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-corps: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', Verdana, 'Segoe UI', sans-serif;
  --f-mono: 'Atkinson Hyperlegible Mono', 'Consolas', 'Courier New', monospace;

  --t-xs: 0.875rem;
  --t-s: 1rem;
  --t-base: 1.125rem;
  --t-m: 1.3rem;
  --t-l: 1.65rem;
  --t-xl: 2.15rem;
  --t-xxl: clamp(2.3rem, 4.6vw, 3.6rem);

  --largeur-max: 1240px;
  --measure-article: 760px;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --esp-section: clamp(3rem, 7vw, 5.5rem);
  --rayon: 4px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}
body {
  margin: 0;
  background: var(--c-fond);
  color: var(--c-encre);
  font-family: var(--f-corps);
  font-size: var(--t-base);
  line-height: 1.65;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-titre);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: var(--t-xxl);
  letter-spacing: -0.02em;
}
h2 {
  font-size: var(--t-xl);
}
h3 {
  font-size: var(--t-l);
  font-weight: 600;
}
p {
  margin: 0 0 1.1em;
}
a {
  color: var(--c-bleu);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--c-jaune);
  outline-offset: 2px;
  border-radius: 2px;
}
.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  background: var(--c-jaune);
  color: var(--c-encre);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.saut-contenu:focus {
  left: 0.5rem;
}

/* --- Images : wrappers anti-distorsion --- */
.img-hero,
.img-card,
.img-body,
.img-portrait,
.img-portrait-carre {
  overflow: hidden;
  background: var(--c-bleu-pale);
  margin: 0;
}
.img-hero { aspect-ratio: 3 / 2; }
.img-card { aspect-ratio: 3 / 2; }
.img-body { aspect-ratio: 3 / 2; }
.img-portrait { aspect-ratio: 1 / 1; border-radius: 50%; }
.img-portrait-carre { aspect-ratio: auto; }

.img-hero img,
.img-card img,
.img-body img,
.img-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.img-portrait-carre img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* Figures de corps : l'image garde son 3:2, la légende reste visible sous elle */
figure.img-body,
figure.img-hero {
  aspect-ratio: auto;
  overflow: visible;
  background: none;
}
figure.img-body img,
figure.img-hero img {
  aspect-ratio: 3 / 2;
  height: auto;
  background: var(--c-bleu-pale);
}
figure {
  margin: 2.4rem 0;
}
figcaption {
  font-size: var(--t-xs);
  color: var(--c-gris);
  line-height: 1.5;
  padding-top: 0.6rem;
  border-bottom: 1px solid var(--c-filet);
  padding-bottom: 0.6rem;
}

/* --- En-tête --- */
.entete {
  background: var(--c-bleu);
  color: var(--c-blanc);
  position: relative;
}
/* surpiqûre de vêtement de travail */
.entete::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.32);
}
.entete__barre {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 1rem var(--gouttiere) 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-blanc);
  text-decoration: none;
  margin-right: auto;
}
.marque__picto {
  width: 34px;
  height: 34px;
  flex: none;
}
.marque__nom {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.marque__suite {
  font-weight: 500;
  color: #C9D5E8;
  margin-left: 0.3rem;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.3rem;
}
.nav a {
  color: var(--c-blanc);
  text-decoration: none;
  font-size: var(--t-s);
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current='page'] {
  border-bottom-color: var(--c-jaune);
}
.menu-bouton {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--c-blanc);
  font: 600 var(--t-s) var(--f-corps);
  padding: 0.45rem 0.8rem;
  border-radius: var(--rayon);
  cursor: pointer;
}
.menu-bouton__barres,
.menu-bouton__barres::before,
.menu-bouton__barres::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.menu-bouton__barres::before,
.menu-bouton__barres::after {
  content: '';
  position: absolute;
}
.menu-bouton__barres::before { top: -6px; }
.menu-bouton__barres::after { top: 6px; }

@media (max-width: 960px) {
  .entete__barre {
    flex-wrap: wrap;
  }
  .menu-bouton {
    display: inline-flex;
  }
  .nav {
    display: none;
    width: 100%;
  }
  .nav--ouverte {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.25rem;
  }
  .nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* --- Conteneurs --- */
.conteneur {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding-inline: var(--gouttiere);
}
.section {
  padding-block: var(--esp-section);
}
.section--bleu {
  background: var(--c-bleu);
  color: var(--c-blanc);
}
.section--bleu a {
  color: var(--c-blanc);
}
.section--blanc {
  background: var(--c-blanc);
}
.mesure {
  max-width: var(--measure-article);
}

/* --- Accueil : hero --- */
.une {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gouttiere) var(--esp-section);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.une__titre {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.une__chapo {
  font-size: var(--t-m);
  line-height: 1.55;
  max-width: 34em;
  color: var(--c-encre);
}
.une__bas {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.une__image figcaption {
  border-bottom: 0;
}
@media (max-width: 860px) {
  .une {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Jauge d'angle (signature) --- */
.jauge {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.jauge svg {
  width: 190px;
  height: auto;
  flex: none;
  overflow: visible;
}
.jauge--compacte svg {
  width: 150px;
}
.jauge__fond {
  fill: var(--c-blanc);
  stroke: var(--c-bleu);
  stroke-width: 2;
}
.jauge__zone {
  fill: var(--c-vert-pale);
  stroke: var(--c-vert);
  stroke-width: 1.5;
}
.jauge__trait {
  stroke: var(--c-bleu);
  stroke-width: 1;
}
.jauge__trait--fort {
  stroke-width: 2.2;
}
.jauge__chiffre {
  font-family: var(--f-mono);
  font-size: 13px;
  fill: var(--c-bleu);
}
.jauge__aiguille {
  transform-box: view-box;
  transform-origin: 24px 196px;
  transform: rotate(var(--angle));
  animation: jauge-aiguille 1.4s cubic-bezier(0.3, 1.3, 0.5, 1) 0.3s both;
}
.jauge__aiguille line {
  stroke: var(--c-jaune);
  stroke-width: 6;
  stroke-linecap: round;
}
.jauge__aiguille circle {
  fill: var(--c-bleu);
  stroke: var(--c-jaune);
  stroke-width: 3;
}
@keyframes jauge-aiguille {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(var(--angle));
  }
}
@media (prefers-reduced-motion: reduce) {
  .jauge__aiguille {
    animation: none;
  }
}
.jauge figcaption {
  border: 0;
  padding: 0 0 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 15rem;
  color: var(--c-encre);
}
.jauge__valeur {
  font-family: var(--f-mono);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--c-bleu);
}
.jauge--compacte .jauge__valeur {
  font-size: 1.6rem;
}
.jauge__label {
  font-size: var(--t-s);
  line-height: 1.4;
}

/* --- Piliers en liste éditoriale (accueil) --- */
.piliers {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--c-encre);
}
.pilier {
  border-bottom: 1px solid var(--c-filet);
}
.pilier a {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.3rem 0;
  text-decoration: none;
  color: var(--c-encre);
}
.pilier__titre {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: var(--t-l);
  line-height: 1.15;
  color: var(--c-bleu);
}
.pilier__desc {
  color: var(--c-gris);
}
.pilier a:hover .pilier__titre {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
@media (max-width: 720px) {
  .pilier a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }
}

.titre-section {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.titre-section h2 {
  margin: 0;
}

/* --- Cartes d'articles --- */
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 2.5rem 2rem;
}
.carte__lien {
  display: block;
  text-decoration: none;
  color: var(--c-encre);
}
.carte__texte {
  padding-top: 1rem;
}
.carte__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  font-size: var(--t-xs);
  color: var(--c-gris);
  margin-bottom: 0.5rem;
}
.carte__cat {
  color: var(--c-vert);
  font-weight: 700;
}
.carte__format {
  font-family: var(--f-mono);
}
.carte__titre {
  font-size: 1.32rem;
  line-height: 1.22;
  margin-bottom: 0.5rem;
  color: var(--c-encre);
}
.carte__lien:hover .carte__titre {
  color: var(--c-bleu);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.carte__resume {
  font-size: var(--t-s);
  color: var(--c-gris);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Filtre du blog --- */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.filtres button {
  font: 600 var(--t-xs) var(--f-corps);
  border: 1px solid var(--c-bleu);
  background: var(--c-blanc);
  color: var(--c-bleu);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}
.filtres button[aria-pressed='true'] {
  background: var(--c-bleu);
  color: var(--c-blanc);
}
.filtres__compte {
  font-size: var(--t-xs);
  color: var(--c-gris);
  margin: -1.2rem 0 1.8rem;
}

/* --- Deux côtés (accueil) --- */
.deux-cotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 760px) {
  .deux-cotes {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Pages : pilier et article --- */
.page__entete {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gouttiere) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.page--interview .page__entete {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.page__intro h1 {
  margin-bottom: 1rem;
}
.page__chapo {
  font-size: var(--t-m);
  line-height: 1.55;
}
.page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  font-size: var(--t-xs);
  color: var(--c-gris);
  margin-bottom: 1.5rem;
}
.page__hero {
  margin: 0;
}
@media (max-width: 860px) {
  .page__entete,
  .page--interview .page__entete {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ariane ol {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: var(--t-xs);
}
.ariane li + li::before {
  content: '/';
  margin-right: 0.3rem;
  color: var(--c-gris);
}
.page__corps {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 var(--gouttiere) var(--esp-section);
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, var(--measure-article));
  gap: clamp(2rem, 4vw, 4rem);
  justify-content: start;
}
.article-sommaire {
  position: sticky;
  top: 1.5rem;
  align-self: start;
  font-size: var(--t-xs);
  border-top: 2px solid var(--c-bleu);
  padding-top: 0.8rem;
}
.article-sommaire__titre {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: var(--t-s);
  margin-bottom: 0.6rem;
}
.article-sommaire ol {
  margin: 0;
  padding-left: 1.2rem;
}
.article-sommaire li {
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.article-sommaire a {
  color: var(--c-encre);
  text-decoration: none;
}
.article-sommaire a:hover {
  color: var(--c-bleu);
  text-decoration: underline;
}
@media (max-width: 960px) {
  .page__corps {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-sommaire {
    position: static;
  }
}

/* --- Corps de texte --- */
.prose {
  min-width: 0;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  margin-top: 2.6em;
  font-size: var(--t-xl);
}
.prose h3 {
  margin-top: 1.8em;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1.3em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose ul li::marker {
  color: var(--c-bleu);
}
.prose ol li::marker {
  font-family: var(--f-mono);
  color: var(--c-bleu);
  font-weight: 600;
}
.prose blockquote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 4px solid var(--c-bleu);
  font-size: var(--t-m);
}
.prose strong {
  font-weight: 700;
}
mark,
.chiffre {
  background: linear-gradient(transparent 58%, var(--c-jaune) 58%, var(--c-jaune) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.1em;
}
.prose hr {
  border: 0;
  border-top: 1px dashed var(--c-filet);
  margin: 2.5rem 0;
}

/* Tableaux */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0 2.2rem;
  font-size: var(--t-s);
  display: block;
  overflow-x: auto;
}
.prose thead th {
  background: var(--c-bleu);
  color: var(--c-blanc);
  font-family: var(--f-titre);
  font-weight: 600;
  text-align: left;
}
.prose th,
.prose td {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--c-filet);
  vertical-align: top;
  min-width: 8rem;
}
.prose tbody tr:nth-child(even) {
  background: var(--c-blanc);
}
@media (min-width: 761px) {
  .prose table {
    display: table;
  }
}

/* Encadrés Côté salarié / Côté employeur */
.cote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem 0.4rem;
  background: var(--c-blanc);
  border: 1px solid var(--c-filet);
  border-left-width: 6px;
}
.cote-salarie {
  border-left-color: var(--c-bleu);
}
.cote-employeur {
  border-left-color: var(--c-vert);
}
.cote__titre {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: var(--t-m);
  margin-bottom: 0.5rem;
}
.cote-salarie .cote__titre {
  color: var(--c-bleu);
}
.cote-employeur .cote__titre {
  color: var(--c-vert);
}
.cote ul {
  margin-bottom: 1em;
}

/* Bon geste / Geste à éviter */
.geste-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.geste {
  padding: 1.1rem 1.2rem 0.3rem;
  border-top: 5px solid;
  background: var(--c-blanc);
}
.geste--bon {
  border-color: var(--c-vert);
  background: var(--c-vert-pale);
}
.geste--evite {
  border-color: var(--c-rouge);
  background: var(--c-rouge-pale);
}
.geste__titre {
  font-family: var(--f-titre);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.geste__titre::before {
  content: '';
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}
.geste--bon .geste__titre {
  color: var(--c-vert);
}
.geste--bon .geste__titre::before {
  background-color: var(--c-vert);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.3' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
.geste--evite .geste__titre {
  color: var(--c-rouge);
}
.geste--evite .geste__titre::before {
  background-color: var(--c-rouge);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
@media (max-width: 620px) {
  .geste-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Fiches réflexe : pictogrammes inspirés de l'ISO 7010 */
.fiche-reflexe {
  position: relative;
  margin: 2rem 0;
  padding: 1.2rem 1.4rem 0.4rem 4.6rem;
  background: var(--c-blanc);
  border: 1px solid var(--c-filet);
}
.fiche-reflexe::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.fiche-reflexe--obligation::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='19' fill='%231F3A68'/%3E%3Ccircle cx='20' cy='11' r='3' fill='white'/%3E%3Cpath d='M20 16v15M14 20l6-3 6 3' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.fiche-reflexe--vigilance::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 3L38 36H2Z' fill='%23F2C230' stroke='%231A2230' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M20 14v11' stroke='%231A2230' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='30.5' r='2' fill='%231A2230'/%3E%3C/svg%3E");
}
.fiche-reflexe--condition::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='1' y='1' width='38' height='38' rx='2' fill='%232F7D5B'/%3E%3Cpath d='M11 20.5l6 6 12-13' stroke='white' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fiche-reflexe__titre {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: var(--t-m);
  margin-bottom: 0.5rem;
}
@media (max-width: 520px) {
  .fiche-reflexe {
    padding-left: 1.2rem;
    padding-top: 4.2rem;
  }
}

/* Checklist cochable */
.checklist {
  list-style: none;
  padding: 0 !important;
  margin: 1.8rem 0;
  border-top: 2px solid var(--c-bleu);
}
.checklist li {
  border-bottom: 1px solid var(--c-filet);
  margin: 0 !important;
}
.checklist label {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.7rem 0.2rem;
  cursor: pointer;
}
.checklist input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--c-vert);
}
.checklist input:checked + span {
  color: var(--c-gris);
  text-decoration: line-through;
  text-decoration-color: var(--c-vert);
}

/* Avertissement santé, sources, à lire */
.avertissement {
  margin: 2.5rem 0;
  padding: 1rem 1.2rem;
  background: var(--c-bleu-pale);
  font-size: var(--t-s);
}
.avertissement p {
  margin: 0;
}
.sources,
.a-lire {
  margin-top: 3rem;
  font-size: var(--t-s);
}
.sources h2,
.a-lire h2 {
  font-size: var(--t-l);
}
.sources li,
.a-lire li {
  margin-bottom: 0.4rem;
}

/* FAQ */
.faq {
  margin-top: 3rem;
}
.faq h2 {
  font-size: var(--t-xl);
}
.faq__item {
  border-top: 1px solid var(--c-filet);
}
.faq__item:last-child {
  border-bottom: 1px solid var(--c-filet);
}
.faq__item summary {
  cursor: pointer;
  padding: 1rem 2rem 1rem 0;
  font-family: var(--f-titre);
  font-weight: 600;
  font-size: 1.2rem;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem;
  top: 0.9rem;
  font-family: var(--f-mono);
  color: var(--c-bleu);
  font-size: 1.3rem;
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__item p {
  margin: 0 0 1.2rem;
}

/* Expert (interviews) */
.expert {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  margin: 0 0 2.5rem;
  padding: 1.3rem;
  background: var(--c-blanc);
  border: 1px solid var(--c-filet);
}
.expert__nom {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: var(--t-m);
  margin: 0;
}
.expert__metier {
  color: var(--c-vert);
  font-weight: 700;
  font-size: var(--t-s);
  margin-bottom: 0.6rem;
}
.expert__presentation {
  font-size: var(--t-s);
}
.expert__note {
  font-size: var(--t-xs);
  color: var(--c-gris);
  margin: 0;
}
@media (max-width: 520px) {
  .expert {
    grid-template-columns: minmax(0, 1fr);
  }
  .expert__portrait {
    width: 7rem;
  }
}
/* Questions d'interview */
.page--interview .prose h2 + p strong:first-child,
.question {
  color: var(--c-bleu);
}

/* Articles du thème (piliers) */
.theme-articles {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: var(--esp-section) var(--gouttiere);
  border-top: 1px solid var(--c-filet);
}

/* --- Lexique --- */
.lexique-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-family: var(--f-mono);
}
.lexique-index a {
  display: inline-block;
  min-width: 2rem;
  text-align: center;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--c-filet);
  background: var(--c-blanc);
  text-decoration: none;
}
.lexique dt {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1.4rem;
  color: var(--c-bleu);
  scroll-margin-top: 1rem;
}
.lexique dd {
  margin: 0.3rem 0 0;
}
.lexique dt:target {
  background: var(--c-jaune-pale);
}

/* --- Formulaire --- */
.formulaire {
  display: grid;
  gap: 1.2rem;
  max-width: 40rem;
}
.champ {
  display: grid;
  gap: 0.35rem;
}
.champ label {
  font-weight: 700;
}
.champ input,
.champ select,
.champ textarea {
  font: inherit;
  font-size: var(--t-s);
  padding: 0.7rem 0.8rem;
  border: 1px solid #8C97A6;
  border-radius: var(--rayon);
  background: var(--c-blanc);
  color: var(--c-encre);
  width: 100%;
}
.champ__aide {
  font-size: var(--t-xs);
  color: var(--c-gris);
}
.champ--case {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
}
.champ--case input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.3rem;
  accent-color: var(--c-bleu);
}
.champ--case label {
  font-weight: 400;
  font-size: var(--t-s);
}
.pot-de-miel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bouton {
  display: inline-block;
  font: 700 var(--t-s) var(--f-corps);
  background: var(--c-bleu);
  color: var(--c-blanc);
  border: 0;
  border-radius: var(--rayon);
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
}
.bouton:hover {
  background: var(--c-bleu-fonce);
}
.bouton:disabled {
  opacity: 0.6;
  cursor: wait;
}
.formulaire__retour {
  padding: 0.8rem 1rem;
  margin: 0;
}
.formulaire__retour--succes {
  background: var(--c-vert-pale);
  color: #1F5A40;
}
.formulaire__retour--erreur {
  background: var(--c-rouge-pale);
  color: #8E2F1F;
}

/* --- Pages simples (utilitaires) --- */
.page-simple {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gouttiere) var(--esp-section);
}
.page-simple > .prose,
.page-simple > .mesure {
  max-width: var(--measure-article);
}

/* --- Pied de page --- */
.pied {
  background: var(--c-bleu-fonce);
  color: #DCE3EE;
  font-size: var(--t-s);
  position: relative;
}
.pied::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}
.pied a {
  color: var(--c-blanc);
}
.pied__grille {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 3.5rem var(--gouttiere) 2rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}
.pied__marque {
  font-family: var(--f-titre);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-blanc);
}
.pied__note {
  font-size: var(--t-xs);
  color: #B9C5D6;
}
.pied__titre {
  font-family: var(--f-titre);
  font-weight: 700;
  color: var(--c-blanc);
}
.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pied li {
  margin-bottom: 0.4rem;
}
.pied__copyright {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 1rem var(--gouttiere) 2rem;
  font-size: var(--t-xs);
  color: #B9C5D6;
}
@media (max-width: 760px) {
  .pied__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Classes structurelles (gabarits) --- */
.carte {
  min-width: 0;
}
.card__date {
  white-space: nowrap;
}
.pied__bloc p:last-child {
  margin-bottom: 0;
}
.page--pilier .page__entete {
  border-bottom: 1px solid var(--c-filet);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page--article .page__entete {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.lexique-sommaire {
  position: static;
  border-top: 0;
  padding-top: 0;
}
