/* AutoNewsFrance - feuille de style generee par build-wordpress.ps1 a partir de src/styles et wordpress/wp.css. */
/* --- 01-base.css --- */
/* =============================================================================
   autonewsfrance.fr — fondations
   Langage visuel inspiré de dotconnect.vc (grands titres centrés, pastilles
   fléchées, pilules, formes arrondies) transposé dans l'univers de la route :
   nuit pétrole et sable en base, ocre lumineux pour les témoins, les afficheurs
   et les aiguilles, rouge pour les appels à l'action, comme sur le site d'origine.
   Palette du brief : sable #D7C998, ocre #D89839, rouille #BC632E,
   rouge #A3232B, pétrole #263B46.
   ========================================================================== */

:root {
  /* Palette de marque */
  --sand: #D7C998;
  --ochre: #D89839;
  --rust: #BC632E;
  --red: #A3232B;
  --petrol: #263B46;

  /* Dérivés */
  --night: #111C22;         /* pétrole presque noir : en-tête, entrée, pied de page */
  --night-2: #182831;
  --night-3: #213642;
  --glass: #070C0F;         /* fond des afficheurs lumineux */
  --paper: #EFE9D8;         /* sable très éclairci : fond de lecture */
  --paper-2: #F7F3E9;       /* champs de formulaire, cartes sur fond sable */
  --amber: #F2B654;         /* ocre éclairé : points lumineux, aiguilles, témoins */
  --red-2: #8C1C23;         /* rouge au survol */
  --cream: #FBF5E8;         /* texte sur rouge */

  /* Rôles du contexte clair (par défaut). Les classes .on-night, .on-petrol,
     .on-sand et .on-red les redéfinissent : chaque composant s'adapte au fond qui le porte. */
  --bg: var(--paper);
  --fg: #1E313B;            /* 11:1 sur le papier */
  --fg-2: #52626A;          /* 5,2:1 sur le papier */
  --line: rgb(30 49 59 / .17);
  --surface: #E5DDC6;
  --surface-2: #DCD2B6;
  --dot-bg: var(--fg);
  --dot-fg: var(--paper);

  /* Typographie */
  --f: "General Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Mise en page */
  --container: 1240px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --gap: 24px;
  --section: clamp(84px, 9vw, 136px);
  --header-h: 72px;
  --header-offset: var(--header-h);
  --inset: max(var(--gutter), calc((100% - var(--container)) / 2));

  /* Formes */
  --r-card: 20px;
  --r-img: 16px;
  --r-badge: 8px;
  --r-pill: 999px;

  /* Mouvement */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (max-width: 960px) { :root { --header-h: 64px; } }

/* --- Contextes de couleur ------------------------------------------------------ */
.on-night {
  --bg: var(--night);
  --fg: #ECE5CF;            /* 13:1 sur la nuit */
  --fg-2: #A3AFAB;          /* 7,5:1 */
  --line: rgb(215 201 152 / .16);
  --surface: var(--night-2);
  --surface-2: var(--night-3);
  --dot-bg: var(--sand);
  --dot-fg: var(--night);
}
.on-petrol {
  --bg: var(--petrol);
  --fg: #F0EAD6;
  --fg-2: #B9C2BC;          /* 6,4:1 sur le pétrole */
  --line: rgb(240 234 214 / .18);
  --surface: #2D4552;
  --surface-2: #34505E;
  --dot-bg: var(--sand);
  --dot-fg: var(--petrol);
}
.on-sand {
  --bg: var(--sand);
  --fg: #1B2C35;
  --fg-2: #3E4F57;          /* 5,2:1 sur le sable */
  --line: rgb(27 44 53 / .22);
  --surface: var(--paper);
  --surface-2: var(--paper-2);
}
.on-red {
  --bg: var(--red);
  --fg: var(--cream);       /* 6,8:1 sur le rouge */
  --fg-2: rgb(251 245 232 / .84);
  --line: rgb(251 245 232 / .28);
  --surface: #8E1D24;
  --surface-2: #7C1820;
  --dot-bg: var(--cream);
  --dot-fg: var(--red);
}
.on-night, .on-petrol, .on-sand, .on-red { background-color: var(--bg); color: var(--fg); }

/* --- Réinitialisation ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--night);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.has-dialog { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.125rem/1.5 var(--f);
  letter-spacing: .01em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 600; }
sup { font-size: .62em; line-height: 0; }
code { font: .86em/1 ui-monospace, Consolas, monospace; background: var(--surface); padding: .15em .4em; border-radius: 6px; }
[hidden] { display: none !important; }

::selection { background: var(--ochre); color: var(--night); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

/* --- Utilitaires ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px; top: 16px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--sand);
  color: var(--night);
  font-weight: 500;
  transform: translateY(-180%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }
.nowrap { white-space: nowrap; }

/* --- Échelle typographique (titres serrés, texte courant légèrement aéré) ---- */
.h-xl, .h-lg, .h-md {
  font-weight: 500;
  text-wrap: balance;
}
.h-xl { font-size: clamp(2.7rem, 6.6vw, 6.3rem); line-height: .95; letter-spacing: -.035em; }
.h-lg { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.035em; }
.h-md { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.022em; }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2em .8em;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--fg-2);
}
.meta > * + *::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  margin-right: .8em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  opacity: .6;
}

/* Images : apparition douce */
.js img[loading="lazy"] { opacity: 0; transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.js img[loading="lazy"].is-loaded { opacity: 1; }

/* --- 02-chrome.css --- */
/* =============================================================================
   En-tête, menu, recherche, pied de page
   ========================================================================== */

/* --- En-tête : nuit pétrole, logo, liens centrés, bouton rouge ---------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgb(17 28 34 / .9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease-out), border-color .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand { justify-self: start; display: inline-flex; align-items: center; color: var(--fg); }
.brand__word { font-size: 1.3rem; font-weight: 500; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
/* Le point du nom est une petite jante ocre */
.brand__dot {
  display: inline-block;
  width: .42em; height: .42em;
  margin: 0 .05em 0 .07em;
  vertical-align: baseline;
  transition: transform .6s var(--spring);
}
.brand__wheel { width: 100%; height: 100%; }
.brand__wheel > circle { fill: var(--ochre); }
.brand__holes circle { fill: var(--bg); }
.brand:hover .brand__dot { transform: translateY(-.32em); }
@media (max-width: 420px) { .brand__word { font-size: 1.12rem; } }

.nav { grid-column: 2; grid-row: 1; transition: opacity .35s, transform .5s var(--ease-out), visibility .35s; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 1rem;
  font-weight: 450;
  color: var(--fg);
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgb(242 182 84 / .8);
  transform: translateX(-50%) scale(0);
  transition: transform .4s var(--spring);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: translateX(-50%) scale(1); }

.site-header__context {
  grid-column: 2; grid-row: 1;
  max-width: min(48ch, 44vw);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s, transform .5s var(--ease-out), visibility .35s;
}
.site-header.is-context .nav { opacity: 0; visibility: hidden; transform: translateY(-10px); }
.site-header.is-context .site-header__context { opacity: 1; visibility: visible; transform: none; }

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  transition: background-color .3s, transform .4s var(--spring);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--surface-2); transform: scale(1.06); }

.dots-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sand);
}
.dots-btn span { width: 5px; height: 5px; border-radius: 50%; background: var(--night); transition: transform .4s var(--spring); }
.dots-btn:hover span:nth-child(1) { transform: translateY(-3px); }
.dots-btn:hover span:nth-child(3) { transform: translateY(3px); }

@media (max-width: 960px) {
  .site-header__bar { grid-template-columns: 1fr auto; }
  .nav, .site-header__context { display: none; }
  .dots-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .site-header .pill[data-cta] { display: none; }
}

/* Barre de lecture des articles : un marquage au sol, une petite voiture qui avance */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.progress::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 1px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgb(215 201 152 / .4) 0 14px, transparent 14px 26px);
}
.progress__bar { position: absolute; inset: 0; background: var(--ochre); box-shadow: 0 0 10px rgb(242 182 84 / .6); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.progress__car {
  position: absolute;
  left: calc(var(--progress, 0) * (100% - 30px));
  bottom: 4px;
  width: 30px;
  color: var(--amber);
}
.progress__car svg { width: 30px; height: auto; fill: currentColor; filter: drop-shadow(0 0 6px rgb(242 182 84 / .5)); }

/* --- Boîtes de dialogue ----------------------------------------------------------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: var(--fg); background: var(--bg); }
dialog::backdrop { background: rgb(17 28 34 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.menu {
  width: 100%; height: 100%;
  margin: 0;
  background-image: radial-gradient(rgb(215 201 152 / .12) 1px, transparent 1.6px);
  background-size: 22px 22px;
}
.menu::backdrop { background: transparent; }
.menu__inner { display: grid; grid-template-rows: auto 1fr auto; min-height: 100%; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu__close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--night);
  transition: transform .4s var(--spring);
}
.menu__close:hover { transform: rotate(90deg); }
.menu__close svg { width: 20px; height: 20px; }
.menu__nav { align-self: center; padding-block: 24px; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list li:first-child { border-top: 1px solid var(--line); }
.menu__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-block: clamp(14px, 2.6vh, 24px);
}
.menu__link .dot { --dot: 40px; background: var(--cat, var(--ochre)); color: var(--night); }
.menu__label { font-size: clamp(2.6rem, 11vw, 4.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; transition: transform .6s var(--ease-out); }
.menu__link:hover .menu__label { transform: translateX(10px); }
.menu__num { font-size: 1rem; color: var(--fg-2); }
.menu__link[aria-current="page"] .menu__num { color: var(--amber); }
.menu__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 24px 32px; }
.menu__search { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.menu__search svg { width: 20px; height: 20px; }

/* Recherche : panneau arrondi qui descend du haut */
.search {
  width: min(880px, calc(100% - 24px));
  margin: 12px auto auto;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border-radius: 24px;
}
.search__inner { padding: 14px 18px 18px; }
.search__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: box-shadow .3s;
}
.search__bar:focus-within { box-shadow: inset 0 0 0 2px var(--fg); }
.search__bar > svg { width: 22px; height: 22px; }
.search__input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--fg);
}
.search__input::placeholder { color: var(--fg-2); opacity: .75; font-weight: 400; }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close kbd {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  background: var(--bg);
  font: 500 .8rem/1 var(--f);
}
.search__status { padding: 18px 8px 8px; font-size: .875rem; color: var(--fg-2); }
.search__results { display: grid; gap: 4px; }
.search__results a {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 14px;
  transition: background-color .25s;
}
.search__results a:hover, .search__results a:focus-visible { background: var(--surface); outline-offset: 0; }
.search__results img, .search__thumb { width: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--surface); }
.search__thumb { display: block; background: radial-gradient(circle at 50% 40%, #2C4552, var(--night) 70%); }
.search__text { display: grid; gap: 6px; }
.search__title { font-size: 1.05rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.search__results mark { background: rgb(216 152 57 / .45); color: inherit; border-radius: 4px; padding: 0 .1em; }
.search__date { font-size: .8rem; color: var(--fg-2); white-space: nowrap; }
@media (max-width: 600px) {
  .search__results a { grid-template-columns: 56px 1fr; }
  .search__results img, .search__thumb { width: 56px; }
  .search__date { display: none; }
}

/* --- Pied de page : nuit, grille de points, moto et coupé en lignes lumineuses ---------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(rgb(215 201 152 / .14) 1px, transparent 1.6px);
  background-size: 22px 22px;
}
.site-footer__art { padding-top: clamp(72px, 9vw, 120px); text-align: center; }
.site-footer__motto { font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.neon { width: min(100%, 1100px); height: auto; margin: clamp(16px, 3vw, 40px) auto 0; overflow: visible; }
.neon__lines, .neon__wheel { fill: none; stroke: var(--fg); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.neon__glow { fill: none; stroke: var(--ochre); stroke-width: 6; opacity: .55; }
.neon__moto .neon__glow { stroke: var(--rust); }
.neon__road path { fill: none; stroke: rgb(236 229 207 / .3); stroke-width: 2; }
.neon__road .neon__dash { stroke: rgb(236 229 207 / .22); stroke-dasharray: 26 34; animation: road 1.4s linear infinite; }
.neon__spokes path { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; }
.neon__signal { fill: var(--amber); }
.neon__signal--rust { fill: var(--rust); }
.neon__signal--red { fill: var(--red); }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gap);
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
}
.site-footer__intro { grid-column: 1 / span 4; display: grid; gap: 22px; align-content: start; justify-items: start; }
.site-footer__manifesto { max-width: 34ch; font-size: 1.15rem; line-height: 1.45; color: var(--fg-2); }
.site-footer__grid > :nth-child(2) { grid-column: 6 / span 2; }
.site-footer__grid > :nth-child(3) { grid-column: 8 / span 2; }
.site-footer__grid > :nth-child(4) { grid-column: 10 / span 3; }
.site-footer__title { margin-bottom: 14px; font-size: .875rem; color: var(--fg-2); }
.site-footer__col li { padding-block: 5px; }
.site-footer__col a, .site-footer__search {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-size: 1rem;
  font-weight: 450;
  transition: color .3s;
}
.site-footer__col a span { font-size: .75rem; color: var(--fg-2); }
.site-footer__col a:hover, .site-footer__search:hover { color: var(--amber); }
.site-footer__mails li { display: grid; gap: 2px; }
.site-footer__label { font-size: .8rem; color: var(--fg-2); }
.site-footer__mails a { overflow-wrap: anywhere; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--fg-2);
}
.backtop { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.backtop svg { width: 16px; height: 16px; transition: transform .5s var(--spring); }
.backtop:hover svg { transform: translateY(-4px); }
@media (max-width: 1080px) {
  .site-footer__intro { grid-column: 1 / -1; }
  .site-footer__grid > :nth-child(2) { grid-column: 1 / span 4; }
  .site-footer__grid > :nth-child(3) { grid-column: 5 / span 4; }
  .site-footer__grid > :nth-child(4) { grid-column: 9 / span 4; }
}
@media (max-width: 640px) {
  .site-footer__grid > :nth-child(2) { grid-column: 1 / span 6; }
  .site-footer__grid > :nth-child(3) { grid-column: 7 / span 6; }
  .site-footer__grid > :nth-child(4) { grid-column: 1 / -1; }
}

/* --- 03-components.css --- */
/* =============================================================================
   Composants : pastilles fléchées, pilules, en-têtes de section, badges, cartes,
   afficheurs lumineux, feux à éclats, témoins
   ========================================================================== */

/* --- Pastille fléchée : la signature ------------------------------------------- */
.dot {
  --dot: 32px;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--dot); height: var(--dot);
  border-radius: 50%;
  background: var(--dot-bg);
  color: var(--dot-fg);
  transition: transform .55s var(--spring), background-color .3s, color .3s;
}
.dot svg { width: 50%; height: 50%; }
a:hover > .dot, button:hover > .dot,
a:focus-visible > .dot { transform: rotate(45deg); }

/* --- Bouton pilule ---------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px 0 6px;
  border-radius: var(--r-pill);
  background: var(--ochre);
  color: var(--night);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: padding .5s var(--ease-out), background-color .3s, color .3s;
}
.pill .dot { background: var(--night); color: var(--sand); }
.pill:hover { padding-right: 30px; }
.pill--red { background: var(--red); color: var(--cream); }
.pill--red .dot { background: var(--cream); color: var(--red); }
.pill--red:hover { background: var(--red-2); }
.pill--ink { background: var(--fg); color: var(--bg); }
.pill--ink .dot { background: var(--bg); color: var(--fg); }
.pill--paper { background: var(--cream); color: var(--night); }
.pill--paper .dot { background: var(--red); color: var(--cream); }
.pill--static { pointer-events: none; }
.card:hover .pill--static, .feature:hover .pill--static { padding-right: 30px; }
.card:hover .pill--static .dot, .feature:hover .pill--static .dot { transform: rotate(45deg); }

/* --- En-tête de section : « ↗ titre ……… (01) » sur un marquage au sol ------------------ */
.section-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 26px, transparent 26px 46px);
  opacity: .5;
  transition: clip-path 1.6s var(--ease-out) .2s;
}
.js .section-head:not(.is-in)::after { clip-path: inset(0 100% 0 0); }
.section-head__title { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; }
.section-head__title a, .section-head__static { display: inline-flex; align-items: center; gap: 10px; }
.section-head__title .dot { --dot: 26px; }
.section-head__num { font-size: 1.125rem; font-weight: 500; font-variant-numeric: tabular-nums; }

/* --- Badges ---------------------------------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-badge);
  background: transparent;
  color: var(--fg);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.2;
}
.badge--solid { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.badge--solid::before, .badge--cat::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cat, var(--ochre));
  box-shadow: 0 0 0 1.5px rgb(17 28 34 / .35);
}
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.on-night .live-dot { background: #D6434C; }
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: inherit;
  opacity: 0;
  animation: live 2.4s var(--ease-out) infinite;
}

/* --- Cartes (images arrondies, texte dessous) -------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--r-card);
  background: var(--surface);
  transition: background-color .4s;
}
.card:hover { background: var(--surface-2); }
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-img);
  background: var(--line);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.2s var(--ease-out), opacity .7s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
/* Reflet de carrosserie : un trait de lumière balaie l'image au survol */
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 244 222 / .32) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.card:hover .card__media::after { transform: translateX(120%); transition: transform 1.1s var(--ease-out); }
.card__body { display: grid; gap: 10px; align-content: start; padding: 16px 10px 10px; }
.card__title { font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -.014em; text-wrap: balance; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-card); }
.card__text {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--fg-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__dot {
  --dot: 40px;
  position: absolute;
  top: 22px; right: 22px;
  z-index: 1;
  background: var(--cream);
  color: var(--night);
  opacity: 0;
  transform: scale(.5) rotate(-45deg);
  transition: opacity .3s, transform .55s var(--spring);
}
.card:hover .card__dot { opacity: 1; transform: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

/* --- Puces de filtre ---------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .3s, color .3s, transform .4s var(--spring);
}
.chip__count { font-size: .75rem; color: var(--fg-2); transition: color .3s; }
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.chip[aria-pressed="true"] .chip__count { color: var(--ochre); }
.chip:active { transform: scale(.96); }

/* --- Partage ------------------------------------------------------------------------ */
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .9rem;
  font-weight: 500;
  transition: background-color .3s;
}
.share__btn svg { width: 17px; height: 17px; }
.share__btn:hover { background: var(--surface-2); }

.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 400;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  background: var(--night);
  color: #ECE5CF;
  font-size: .95rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 32px));
  transition: transform .5s var(--spring), opacity .3s, visibility .5s;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --- Avatar ------------------------------------------------------------------------- */
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--night);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.avatar--lg { width: 72px; height: 72px; font-size: 1rem; }

/* --- Chiffre « odomètre » ------------------------------------------------------------- */
.odo { display: inline-flex; align-items: flex-start; }
.odo__digit { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; width: 100%; transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms + .1s); }
.odo__strip span { display: flex; justify-content: center; height: 1em; line-height: 1; }
.is-in .odo__strip { transform: translateY(calc((10 + var(--n, 0)) * -1em)); }
.odo__char { display: inline-block; line-height: 1; }

/* --- Fil d'Ariane ----------------------------------------------------------------------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .875rem; color: var(--fg-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* --- Afficheur à points lumineux ------------------------------------------------------------
   Sans JavaScript, le texte s'affiche en capitales ambrées ; avec, il laisse la place au canevas. */
.matrix { position: relative; display: block; width: 100%; min-width: 0; }
.matrix__canvas { display: block; margin-inline: auto; }
.matrix__text {
  display: block;
  padding: .5em .8em;
  color: var(--amber);
  font: 600 .95rem/1.25 ui-monospace, Consolas, monospace;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgb(242 182 84 / .6);
}
.matrix.is-ready .matrix__text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Feux à éclats ambrés, aux angles des panneaux */
.beacon {
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE6AE, var(--amber) 45%, #8C5A14);
  box-shadow: 0 0 0 3px rgb(0 0 0 / .4);
  opacity: .3;
}
.beacon:last-child { --beacon-delay: .55s; }

/* --- Témoins : les voyants du tableau de bord ------------------------------------------- */
.temoins { display: grid; justify-items: center; gap: 12px; }
.temoins__label { font-size: .82rem; color: var(--fg-2); }
.temoins__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.temoin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .95rem;
  font-weight: 500;
}
.temoin__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--glass);
  color: var(--amber);
  box-shadow: inset 0 0 0 1px rgb(242 182 84 / .25);
}
.temoin__icon svg { width: 18px; height: 18px; filter: drop-shadow(0 0 5px rgb(242 182 84 / .85)); }

/* --- 04-home.css --- */
/* =============================================================================
   Page d'accueil : entrée (jante, compte-tours, vitesse), boîte de vitesses,
   récits, panneau à messages variables, tableau de bord, appel de phares
   ========================================================================== */

.section { position: relative; padding-block: var(--section) 0; }
.section.on-night, .section.on-petrol, .section.on-sand, .section.on-red { padding-bottom: var(--section); }
.page-home main > :last-child { padding-bottom: var(--section); }
.section--center .center-intro { display: grid; justify-items: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.center-intro { display: grid; justify-items: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.center-intro p:not(.h-md) { max-width: 56ch; color: var(--fg-2); }

/* Les titres en italique deviennent un surlignage ocre */
.feature__title em, .card__title em, .hero__title em, .h-lg em, .h-md em, .article-head__title em, .page-hero__title em, .next__title em {
  font-style: normal;
  background: linear-gradient(var(--ochre), var(--ochre)) 0 90% / 100% .14em no-repeat;
}

/* --- Entrée : texte centré et témoins ------------------------------------------------- */
.hero__inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding-top: clamp(36px, 7vh, 84px);
  padding-bottom: clamp(36px, 6vh, 64px);
  text-align: center;
}
.hero__title {
  max-width: 15.5ch;
  font-size: clamp(2.5rem, 6.6vw, 6.3rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__lede { max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--fg-2); }
.hero .temoins { margin-top: 4px; }

/* --- Le hublot : un cercle qui s'ouvre jusqu'à remplir l'écran --------------------------- */
.portal { position: relative; height: 210vh; }
.portal__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.portal__mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% var(--cy, 50%), #2F4A57 0%, #1F323C 34%, #131F25 68%, #0D161A 100%);
  clip-path: circle(var(--r, 160vmax) at 50% var(--cy, 50%));
}
.portal__canvas,
.portal__fallback {
  position: absolute;
  left: 0;
  top: var(--shift, 0px);
  width: 100%;
  height: 100%;
}
.portal__fallback img { width: 100%; height: 100%; object-fit: cover; }
.portal__fallback { transition: opacity .8s var(--ease-out); }
.portal.is-3d .portal__fallback { opacity: 0; }

/* Compte-tours autour du hublot : graduations, zone rouge, régime en ocre */
.tach {
  position: absolute;
  left: calc(50% - var(--r, 300px));
  top: calc(var(--cy, 50vh) - var(--r, 300px));
  width: calc(var(--r, 300px) * 2);
  height: calc(var(--r, 300px) * 2);
  max-width: none;
  overflow: visible;
  pointer-events: none;
  opacity: calc(1 - var(--p, 0) * 2.8);
}
html:not(.js) .tach, html:not(.js) .readout { display: none; }
.tach__tick { stroke: rgb(236 229 207 / .45); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.tach__tick--major { stroke: #ECE5CF; stroke-width: 2.6; }
.tach__tick--red { stroke: #C8414A; }
.tach__num { fill: rgb(236 229 207 / .78); font-size: 7.5px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.tach__unit { fill: rgb(236 229 207 / .5); font-size: 4.2px; text-anchor: middle; letter-spacing: .04em; }
.tach__red { fill: none; stroke: var(--red); stroke-width: 1.6; opacity: .95; }
.tach__rpm {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: var(--rpm, .11) 2;
  filter: drop-shadow(0 0 3px rgb(242 182 84 / .9));
}

/* Compteur : vitesse en points lumineux, rapport engagé */
.readout {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 40px);
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(7 12 15 / .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgb(0 0 0 / .35);
  transform: translateX(-50%);
  overflow: hidden;
}
.readout__speed { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; }
.matrix--readout { width: clamp(84px, 9vw, 118px); }
.readout__unit { font-size: .8rem; color: var(--fg-2); }
.readout__gear { display: grid; place-items: center; align-content: center; gap: 2px; min-width: 76px; padding: 8px 16px; border-left: 1px solid var(--line); }
.readout__label { font-size: .7rem; color: var(--fg-2); }
.readout__value { font-size: 1.8rem; font-weight: 600; line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgb(242 182 84 / .6); }
.portal__hint {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(18px, 4vh, 40px) + 86px);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--fg-2);
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: calc(1 - var(--p, 0) * 5);
  pointer-events: none;
}
.portal__hint span { width: 1px; height: 26px; background: currentColor; transform-origin: top; animation: hint 1.8s var(--ease-io) infinite; }

/* --- Grande carte horizontale (pages rubrique) ------------------------------------------- */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  margin-bottom: var(--gap);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: background-color .4s;
}
.feature:hover { background: var(--surface-2); }
.feature__media { position: relative; overflow: hidden; min-height: 420px; border-radius: var(--r-img); background: var(--line); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .7s; }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body { display: grid; align-content: center; justify-items: start; gap: 20px; padding: clamp(18px, 3.4vw, 48px); }
.feature__title { font-size: clamp(2rem, 3.8vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -.032em; text-wrap: balance; }
.feature__deck { max-width: 46ch; font-size: 1.1rem; color: var(--fg-2); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* --- (01) Rubriques : la boîte de vitesses ----------------------------------------------- */
.gearbox { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.gearbox__intro { display: grid; gap: 18px; justify-items: start; }
.gearbox__intro > p:not(.h-md) { max-width: 38ch; color: var(--fg-2); }
.shifter {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin-top: 14px;
  border-radius: 38px;
  background: radial-gradient(circle at 30% 22%, #3A5868 0%, var(--petrol) 48%, #182831 100%);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .1), inset 0 -14px 30px rgb(0 0 0 / .35), 0 34px 60px -24px rgb(17 28 34 / .7);
}
.shifter__gate { position: absolute; inset: 0; width: 100%; height: 100%; }
.shifter__slot { fill: none; stroke: #0B1418; stroke-width: 28; stroke-linecap: round; stroke-linejoin: round; }
.shifter__slot-in { fill: none; stroke: #04080A; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.shifter__labels text { fill: rgb(236 229 207 / .45); font: 600 19px/1 var(--f); text-anchor: middle; dominant-baseline: central; transition: fill .3s; }
.shifter__labels text.is-on { fill: var(--amber); }
.shifter__screws circle { fill: #1C2D36; stroke: rgb(255 255 255 / .14); stroke-width: 1; }
.shifter__knob {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFF2CC 0%, #EDBE68 18%, var(--ochre) 46%, #9C6420 82%, #6A4012 100%);
  box-shadow: 0 16px 24px -8px rgb(0 0 0 / .6), inset 0 -6px 12px rgb(0 0 0 / .25), 0 0 0 5px rgb(4 8 10 / .55);
  color: rgb(17 28 34 / .8);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  text-shadow: 0 1px 0 rgb(255 255 255 / .35);
  transform: translate(180px, 180px) translate(-50%, -50%);
  will-change: transform;
}
.shifter__knob.is-clunk { animation: clunk .3s var(--ease-out); }

.gearbox__list { display: grid; border-top: 1px solid var(--line); }
.gear { border-bottom: 1px solid var(--line); }
.gear__link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(16px, 2.2vw, 26px) 6px;
  transition: padding .5s var(--ease-out);
}
.gear__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s;
}
.gear__body { display: grid; gap: 6px; min-width: 0; }
.gear__name { font-size: clamp(2.3rem, 4.8vw, 4.4rem); font-weight: 500; line-height: .95; letter-spacing: -.04em; }
.gear__meta { font-size: .95rem; color: var(--fg-2); }
.gear__img {
  width: clamp(120px, 13vw, 180px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;
  background: var(--line);
  clip-path: inset(0 0 0 100% round 14px);
  transition: clip-path .7s var(--ease-out);
}
.gear__img img { width: 100%; height: 100%; object-fit: cover; }
.gear__dot { --dot: 44px; }
.gear.is-engaged .gear__link { padding-left: 18px; }
.gear.is-engaged .gear__num { background: var(--night); border-color: var(--night); color: var(--cat, var(--amber)); }
.gear.is-engaged .gear__img, .gear__link:focus-visible .gear__img { clip-path: inset(0 round 14px); }
.gear.is-engaged .gear__dot { transform: rotate(45deg); }
@media (max-width: 900px) {
  .gearbox { grid-template-columns: 1fr; }
  .gearbox__intro { justify-items: center; text-align: center; }
  .shifter { width: min(72vw, 280px); }
}
@media (max-width: 560px) {
  .gear__img { display: none; }
  .gear__link { grid-template-columns: auto minmax(0, 1fr) auto; }
  .gear__num { width: 44px; height: 44px; font-size: .95rem; }
  .gear__dot { --dot: 38px; }
}

/* --- (02) Récits : carrousel, carte centrale nette, voisines floutées ---------------------- */
.coverflow { --cf-w: min(400px, 78vw); position: relative; overflow-x: clip; padding-block: 12px; }
.coverflow__track { position: relative; height: var(--cf-h, 580px); }
.coverflow__item {
  position: absolute;
  left: 50%; top: 0;
  width: var(--cf-w);
  transform: translateX(-50%);
  transition: transform .85s var(--ease-out), filter .85s var(--ease-out), opacity .85s var(--ease-out);
}
.coverflow__item:not(.is-active) { filter: blur(5px); opacity: .5; }
.coverflow__item:not(.is-active) .card { cursor: pointer; }
.coverflow__item.is-active { z-index: 3; }
.coverflow__item.is-far { opacity: 0; pointer-events: none; }
.coverflow .card { min-height: var(--cf-h, auto); }
.coverflow__nav {
  position: absolute;
  top: calc(var(--cf-w) * .37);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  transition: transform .45s var(--spring), opacity .3s;
}
.coverflow__nav svg { width: 22px; height: 22px; }
.coverflow__nav:hover { transform: scale(1.1); }
.coverflow__nav:disabled { opacity: .25; cursor: default; transform: none; }
.coverflow__nav--prev { left: calc(50% - var(--cf-w) / 2 - 26px); }
.coverflow__nav--next { right: calc(50% - var(--cf-w) / 2 - 26px); }
.js .coverflow:not(.is-ready) .coverflow__item:not(:first-child) { opacity: 0; }
/* La route sous les cartes : le marquage avance avec le carrousel */
.coverflow__road {
  height: 26px;
  margin-top: 26px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgb(30 49 59 / .5) 0 34px, transparent 34px) var(--road, 0px) 50% / 64px 3px repeat-x;
  transition: background-position .85s var(--ease-out);
}

/* --- (03) Conseils de pro : panneau à messages variables ------------------------------------ */
.pmv { display: grid; gap: clamp(28px, 4vw, 48px); }
.pmv__gantry { position: relative; padding-top: 10px; }
.pmv__beam {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 12px;
  border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / .06) 0 2px, transparent 2px 12px), linear-gradient(#2B3E48, #1A2930);
}
.pmv__panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  width: min(100%, 1080px);
  margin: 28px auto 0;
  padding: clamp(14px, 2.4vw, 28px) clamp(12px, 2vw, 24px);
  border-radius: 14px;
  background: var(--glass);
  box-shadow: 0 0 0 6px #1E2E36, 0 0 0 7px rgb(255 255 255 / .06), 0 40px 80px -30px rgb(0 0 0 / .8);
}
.pmv__panel::before, .pmv__panel::after {
  content: "";
  position: absolute;
  top: -28px;
  width: 10px; height: 24px;
  background: linear-gradient(90deg, #22343D, #2F4550, #22343D);
}
.pmv__panel::before { left: 16%; }
.pmv__panel::after { right: 16%; }
.matrix--pmv { flex: 1; }
.pmv__body { display: grid; justify-items: center; gap: 22px; max-width: 780px; margin-inline: auto; text-align: center; }
.pmv__list { display: grid; gap: 40px; }
.pmv.is-live .pmv__list { gap: 0; }
.pmv__item { display: grid; justify-items: center; gap: 14px; }
.pmv__item.is-entering { animation: fade-up .7s var(--ease-out); }
.pmv__kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: .9rem; color: var(--fg-2); }
.pmv__title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.pmv__text { max-width: 60ch; font-size: 1.1rem; color: var(--fg-2); text-wrap: pretty; }
.pmv__link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; font-weight: 500; color: var(--amber); }
.pmv__link span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .3s; }
.pmv__link:hover span { text-decoration-color: currentColor; }
.pmv__link svg { flex: none; width: 18px; height: 18px; transition: transform .5s var(--spring); }
.pmv__link:hover svg { transform: translateX(4px); }
.pmv__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.pmv:not(.is-live) .pmv__controls { display: none; }
.pmv__btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  transition: background-color .3s, transform .4s var(--spring);
}
.pmv__btn:hover { background: var(--surface-2); transform: scale(1.06); }
.pmv__btn svg { width: 18px; height: 18px; }
.pmv__btn--pause svg + svg { display: none; }
.pmv.is-paused .pmv__btn--pause svg:first-child { display: none; }
.pmv.is-paused .pmv__btn--pause svg + svg { display: block; }
.pmv__count { min-width: 70px; color: var(--fg-2); font-variant-numeric: tabular-nums; text-align: center; }
.pmv__timer { flex-basis: 100%; max-width: 220px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.pmv__timer span { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }

/* --- (04) Tableau de bord : cadrans et compteurs kilométriques -------------------------------- */
.dash { display: grid; gap: clamp(20px, 3vw, 32px); }
.dash__cluster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 3vw, 40px);
  padding: clamp(24px, 3.4vw, 48px) clamp(16px, 3vw, 44px);
  border-radius: 56px 56px 28px 28px;
  background: radial-gradient(120% 140% at 50% 0%, #20343E 0%, #0E181D 72%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 40px 80px -40px rgb(0 0 0 / .7);
}
.gauge { display: grid; justify-items: center; gap: 10px; text-align: center; color: #ECE5CF; }
.gauge__dial { display: block; width: 100%; max-width: 300px; aspect-ratio: 1; }
.gauge--main .gauge__dial { max-width: 390px; }
.gauge__svg { width: 100%; height: 100%; overflow: visible; }
.gauge__face { fill: #0A1317; }
.gauge__bezel { fill: none; stroke: rgb(236 229 207 / .16); stroke-width: 2; }
.gauge__track { fill: none; stroke: rgb(236 229 207 / .07); stroke-width: 8; }
.gauge__red { fill: none; stroke: var(--red); stroke-width: 8; }
.gauge__arc { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgb(242 182 84 / .7)); }
.js .gauge__arc { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out) 1.6s; }
.dash.is-on .gauge__arc { stroke-dashoffset: 0; }
.gauge__tick { stroke: rgb(236 229 207 / .4); stroke-width: 1.5; }
.gauge__tick--major { stroke: #ECE5CF; stroke-width: 3; }
.gauge__tick--red { stroke: #D2434C; }
.gauge__num { fill: #ECE5CF; font-size: 15px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.gauge__unit-label { fill: rgb(236 229 207 / .55); font-size: 11px; text-anchor: middle; letter-spacing: .04em; }
.gauge__needle {
  fill: var(--amber);
  transform: rotate(var(--a, 0deg));
  /* view-box : l'origine (0 0) est le centre du cadran (viewBox -120 -120 240 240) */
  transform-box: view-box;
  transform-origin: 0 0;
  filter: drop-shadow(0 0 6px rgb(242 182 84 / .55));
}
.js .dash:not(.is-on) .gauge__needle { transform: rotate(-135deg); }
.gauge:hover .gauge__needle { animation: rev .7s var(--ease-out); }
.gauge__cap { fill: #1E2E36; stroke: rgb(236 229 207 / .22); stroke-width: 1.5; }
.gauge__cap-in { fill: var(--amber); }
.gauge__readout { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.gauge__value { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gauge--main .gauge__value { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.gauge__unit { font-size: .95rem; color: #A3AFAB; }
.gauge__caption { max-width: 30ch; font-size: .95rem; line-height: 1.4; color: #A3AFAB; }
.gauge__more { max-width: 30ch; font-size: .85rem; font-weight: 500; color: var(--amber); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.gauge:hover .gauge__more { text-decoration-color: currentColor; }
@media (max-width: 820px) {
  .dash__cluster { grid-template-columns: 1fr 1fr; border-radius: 36px; }
  .gauge--main { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 480px) {
  .dash__cluster { gap: 26px 10px; padding: 24px 12px 20px; }
  .gauge--side .gauge__value { font-size: 1.6rem; }
  .gauge--side .gauge__unit { font-size: .8rem; }
  .gauge--side .gauge__caption { font-size: .82rem; }
  .gauge--side .gauge__more { font-size: .78rem; }
}

.dash__trip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .dash__trip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .dash__trip { grid-template-columns: 1fr; } }
.trip {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 18px;
  border-radius: var(--r-card);
  background: var(--surface);
  transition: background-color .3s;
}
.trip:hover { background: var(--surface-2); }
.trip__value { display: block; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
/* Les chiffres en rouleaux, comme un compteur kilométrique mécanique */
.trip__value .odo__digit { margin-right: 3px; border-radius: 3px; background: linear-gradient(#070C0F, #1E2E36 50%, #070C0F); color: #F4EEDC; box-shadow: 0 0 0 3px #070C0F; }
.trip__value .odo__digit + .odo__char { margin-left: 2px; }
.trip__label { font-size: .95rem; line-height: 1.4; color: var(--fg-2); }

/* --- Appel de phares : une face avant rouge, deux phares ronds --------------------------------- */
.phares-section { overflow: hidden; }
.phares { display: grid; justify-items: center; gap: 24px; text-align: center; }
.phares__title { max-width: 16ch; }
.phares__text { max-width: 52ch; font-size: 1.15rem; color: var(--fg-2); }
.phares__face { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 36px); margin-bottom: 18px; }
.phare {
  position: relative;
  width: clamp(96px, 13vw, 168px);
  aspect-ratio: 1;
  padding: 8%;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #F6F3EC, #8E979C 18%, #EDEFF0 32%, #6C757A 50%, #F6F3EC 64%, #9AA2A6 80%, #F6F3EC);
  box-shadow: 0 18px 30px -10px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .5);
}
.phare__glass {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #FFF8E6 0 7%, transparent 8%),
    repeating-radial-gradient(circle at 50% 50%, rgb(255 255 255 / .12) 0 2px, rgb(0 0 0 / .1) 2px 5px),
    radial-gradient(circle at 36% 30%, #FFFDF6, #CFC9B8 45%, #7D776A 100%);
  box-shadow: inset 0 0 0 3px rgb(0 0 0 / .25), inset 0 8px 18px rgb(255 255 255 / .35);
}
.phare__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFDF2 0%, #FFE7B0 32%, rgb(255 214 140 / 0) 72%);
  opacity: 0;
  transition: opacity .2s;
}
.phare::after {
  content: "";
  position: absolute;
  inset: -75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 238 196 / .8), rgb(255 214 150 / .3) 26%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.phares__grille {
  width: clamp(90px, 16vw, 220px);
  height: clamp(40px, 6vw, 80px);
  border-radius: 14px;
  background: repeating-linear-gradient(180deg, #E9EBEC 0 3px, #2A3338 3px 10px);
  box-shadow: inset 0 0 0 3px #C9CED1, 0 12px 24px -10px rgb(0 0 0 / .45);
}
/* Le bouton allume les phares */
.phares:has(.pill:hover, .pill:focus-visible) .phare::after,
.phares:has(.pill:hover, .pill:focus-visible) .phare__glass::after { opacity: 1; }

/* --- 05-pages.css --- */
/* =============================================================================
   Rubriques, articles (résumé, conseil de pro, FAQ, tableaux), contact,
   pages secondaires
   ========================================================================== */

/* --- En-tête de page centré, sur fond de nuit -------------------------------------------- */
.page-top { padding-bottom: clamp(8px, 2vw, 24px); }
.page-hero {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding-top: clamp(28px, 5vh, 56px);
  padding-bottom: clamp(36px, 5vw, 64px);
  text-align: center;
}
.page-hero__title {
  max-width: 14ch;
  font-size: clamp(3.2rem, 11vw, 10rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.page-hero__title--md { font-size: clamp(2.6rem, 6.6vw, 6.3rem); max-width: 16ch; letter-spacing: -.035em; }
.page-hero__lede { max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--fg-2); }

/* Panneau défilant des rubriques et panneau de la page 404 */
.pmv-strip, .pmv-sign {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  width: min(100%, 980px);
  margin-top: 8px;
  padding: 12px clamp(12px, 2vw, 18px);
  border-radius: 14px;
  background: var(--glass);
  box-shadow: 0 0 0 5px #1E2E36, 0 0 0 6px rgb(255 255 255 / .06);
}
.pmv-sign { width: min(100%, 520px); margin: 4px 0 8px; padding: clamp(14px, 3vw, 22px); }
.matrix--strip, .matrix--sign { flex: 1; }

/* Image de tête à cheval entre la nuit et le papier */
.split-bg { background: linear-gradient(var(--night) 0 50%, var(--bg) 50% 100%); }
.article-hero.split-bg { background: linear-gradient(var(--night) 0 calc(50% - 20px), var(--bg) calc(50% - 20px) 100%); }

/* Grandes images de rubrique et d'article : arrondies, elles s'élargissent au défilement */
.wide-media,
.article-hero__media {
  position: relative;
  overflow: hidden;
  height: clamp(320px, 66vh, 780px);
  background: var(--night-2);
  clip-path: inset(0 calc(var(--inset) * (1 - var(--expand, 1))) round calc(var(--r-card) * (1 - var(--expand, 1))));
}
.wide-media img,
.article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(calc(1.12 - var(--expand, 1) * .04));
}
.caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 12px;
  font-size: .875rem;
  color: var(--fg-2);
}

/* --- Rubrique : filtres collants et liste -------------------------------------------------- */
.filters-bar {
  position: sticky;
  top: var(--header-offset);
  z-index: 30;
  padding-block: 12px;
  background: rgb(239 233 216 / .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: top .55s var(--ease-out);
}
.filters { display: flex; align-items: center; justify-content: center; gap: 8px; }
.filters__chips { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters__chips::-webkit-scrollbar { display: none; }
.filters__status { flex: none; margin-left: 8px; font-size: .9rem; color: var(--fg-2); white-space: nowrap; }
@media (max-width: 700px) {
  .filters { justify-content: flex-start; }
  .filters__status { display: none; }
}
.feed-section { padding-top: clamp(32px, 4vw, 56px); }
.feed-section .feature { margin-bottom: var(--gap); }
.feed__empty { padding-block: 40px; text-align: center; color: var(--fg-2); }

/* --- Rubrique / article suivant : une grande carte de nuit ---------------------------------- */
.next { padding-block: var(--section); }
.next__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--night);
  color: #ECE5CF;
  isolation: isolate;
}
.next__eyebrow { grid-column: 1 / -1; font-size: .95rem; color: #A3AFAB; }
.next__title { max-width: 18ch; font-size: clamp(2.4rem, 6.4vw, 6rem); font-weight: 500; line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
.next__title--article { max-width: 22ch; font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -.03em; }
.next__link .dot { --dot: clamp(56px, 6vw, 84px); background: var(--red); color: var(--cream); }
.next__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  transition: opacity .6s var(--ease-out), transform 1.4s var(--ease-out);
}
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next__link:hover .next__img { opacity: .38; transform: scale(1.04); }

/* --- Article : en-tête sur fond de nuit ------------------------------------------------------- */
.article-head { display: grid; justify-items: center; gap: 22px; padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(36px, 5vw, 56px); text-align: center; }
.article-head .badges { justify-content: center; }
.article-head__title { max-width: 20ch; font-size: clamp(2.4rem, 5.6vw, 5.4rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.article-head__deck { max-width: 58ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--fg-2); }
.article-head__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 6px; }
.byline { display: flex; align-items: center; gap: 12px; text-align: left; }
.byline p { display: grid; gap: 2px; }
.byline__name { font-size: .95rem; font-weight: 500; }
.byline__role { font-size: .85rem; color: var(--fg-2); }
.article-facts { display: flex; gap: 24px; text-align: left; }
.article-facts > div { display: grid; gap: 2px; }
.article-facts dt { font-size: .78rem; color: var(--fg-2); }
.article-facts dd { font-size: .95rem; font-weight: 500; }

/* --- Article : mise en page --------------------------------------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 700px) minmax(0, 300px);
  grid-template-areas: "toc prose rail";
  justify-content: space-between;
  gap: 40px;
  padding-top: clamp(48px, 6vw, 88px);
}
.article-layout--no-rail { grid-template-columns: minmax(0, 230px) minmax(0, 700px) minmax(0, 230px); }
.article-toc { grid-area: toc; }
.prose { grid-area: prose; }
.article-rail { grid-area: rail; }
.article-toc__inner, .article-rail__inner {
  position: sticky;
  top: calc(var(--header-offset) + 28px);
  display: grid;
  gap: 18px;
  transition: top .55s var(--ease-out);
}
.article-toc__title { font-size: .9rem; font-weight: 500; color: var(--fg-2); }
.article-toc .share { flex-direction: column; align-items: flex-start; }
@media (max-width: 1180px) {
  .article-layout, .article-layout--no-rail { grid-template-columns: minmax(0, 700px) minmax(0, 290px); grid-template-areas: "prose rail"; }
  .article-layout--no-rail { grid-template-columns: minmax(0, 760px); justify-content: center; grid-template-areas: "prose"; }
  .article-toc { display: none; }
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rail" "prose"; gap: 32px; }
  .article-layout--no-rail { grid-template-areas: "prose"; }
  .article-rail__inner { position: static; }
}

/* Itinéraire : une route en pointillés, une étape par partie, une voiture qui suit la lecture */
.route { position: relative; padding-left: 26px; }
.route::before {
  content: "";
  position: absolute;
  left: 9px; top: 18px; bottom: 18px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgb(30 49 59 / .32) 0 8px, transparent 8px 15px);
}
.route__fill {
  position: absolute;
  left: 9px; top: 18px;
  width: 2px;
  height: calc(var(--route-y, 18px) - 18px);
  background: var(--ochre);
  transition: height .6s var(--ease-out);
}
.route__car {
  position: absolute;
  left: 3px; top: 0;
  z-index: 1;
  width: 14px;
  transform: translateY(calc(var(--route-y, 18px) - 12px));
  transition: transform .6s var(--ease-out);
}
.route__car svg { width: 14px; height: 24px; fill: var(--ochre); filter: drop-shadow(0 2px 3px rgb(17 28 34 / .3)); }
.route__car .car-top__glass { fill: rgb(17 28 34 / .6); }
.route__list { display: grid; gap: 2px; }
.route__list a {
  position: relative;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.3;
  color: var(--fg-2);
  transition: background-color .3s, color .3s;
}
.route__list a::before {
  content: "";
  position: absolute;
  left: -20px; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 2px rgb(30 49 59 / .35);
  transition: background-color .3s, box-shadow .3s;
}
.route__list a:hover { background: var(--surface); color: var(--fg); }
.route__list a.is-passed::before { background: var(--ochre); box-shadow: 0 0 0 2px var(--ochre); }
.route__list a.is-active { background: var(--fg); color: var(--bg); }
.route__num { font-variant-numeric: tabular-nums; opacity: .7; }

/* --- Article : texte ---------------------------------------------------------------------------- */
.prose { min-width: 0; font-size: 1.16rem; line-height: 1.68; counter-reset: h2; }
.prose > * + * { margin-top: 1.15em; }
.prose p { text-wrap: pretty; }
.prose .lead-para { font-size: 1.3rem; line-height: 1.55; font-weight: 450; }
.prose > h2 {
  counter-increment: h2;
  margin-top: 2.2em;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.prose > h2::before { content: "(" counter(h2, decimal-leading-zero) ")"; display: block; margin-bottom: 10px; font-size: .9rem; font-weight: 500; color: var(--fg-2); letter-spacing: 0; }
.prose > h2 + * { margin-top: .65em; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--ochre); }
.prose a:hover { text-decoration-color: var(--fg); }
.prose ul, .prose ol { display: grid; gap: .5em; }
.prose ul > li { position: relative; padding-left: 1.4em; }
.prose ul > li::before { content: ""; position: absolute; left: .2em; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
.prose ol { counter-reset: li; }
.prose ol > li { position: relative; padding-left: 2em; counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--surface); font-size: .8em; font-weight: 600; }

.pullquote { margin-block: 2em; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); }
.pullquote::before { content: ""; display: block; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%; background: var(--ochre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%23111C22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 50% no-repeat; }
.pullquote p { font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.pullquote figcaption { margin-top: 12px; font-size: .9rem; color: var(--fg-2); }

.figure { margin-block: 2em; }
.figure__media { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-img); background: var(--surface); }
.figure--portrait .figure__media { aspect-ratio: 4 / 5; max-width: 520px; }
.figure__media img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 10px; font-size: .88rem; line-height: 1.4; color: var(--fg-2); }
.figure--portrait figcaption { max-width: 520px; }
.figure__credit { font-size: .8rem; }

/* Résumé de l'article : l'ordinateur de bord ------------------------------------------------------ */
.resume {
  position: relative;
  overflow: hidden;
  margin-bottom: 2.2em;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-card);
  background-color: var(--night);
  background-image: radial-gradient(rgb(215 201 152 / .07) 1px, transparent 1.5px);
  background-size: 14px 14px;
  color: #ECE5CF;
  box-shadow: 0 30px 60px -36px rgb(17 28 34 / .75);
}
.resume::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 45%;
  background: linear-gradient(transparent, rgb(242 182 84 / .08), transparent);
  transform: translateY(-110%);
  pointer-events: none;
}
.resume__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 14px; border-bottom: 1px solid rgb(215 201 152 / .16); }
.resume__led { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px 2px rgb(242 182 84 / .7); }
.resume__title { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.resume__badge { margin-left: auto; padding: 4px 10px; border: 1px solid rgb(215 201 152 / .25); border-radius: var(--r-pill); font-size: .8rem; color: #A3AFAB; }
.resume__text { margin-top: 16px; font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.55; font-weight: 450; }
.resume__readouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin-top: 22px; overflow: hidden; border-radius: 14px; background: rgb(215 201 152 / .14); }
.resume__readouts > div { display: grid; align-content: start; gap: 4px; padding: 12px 14px; background: #0C151A; }
.resume__readouts dt { font-size: .75rem; color: #A3AFAB; }
.resume__readouts dd { font-size: .95rem; font-weight: 500; }
.resume__readouts a { color: var(--amber); text-decoration: none; }
.resume__readouts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.resume__num { font-size: 1.55rem; font-weight: 600; line-height: 1.1; color: var(--amber); font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgb(242 182 84 / .45); }

/* Conseil de pro : le panneau lumineux, le conseil, le tampon --------------------------------------- */
.conseil {
  position: relative;
  margin-block: 2.6em 3.2em;
  border-radius: var(--r-card);
  background: var(--night);
  color: #ECE5CF;
  box-shadow: 0 0 0 1px rgb(216 152 57 / .4), 0 30px 60px -36px rgb(17 28 34 / .75);
}
.conseil__sign {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgb(216 152 57 / .28);
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--glass);
}
.matrix--label { flex: 1; max-width: 400px; margin-inline: auto; }
.conseil__body { padding: clamp(20px, 3vw, 30px) clamp(20px, 13vw, 140px) clamp(22px, 3vw, 32px) clamp(20px, 3vw, 30px); }
.conseil__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; color: #F4EEDC; }
.conseil__text { margin-top: 12px; }
.conseil__text p { font-size: 1.06rem; line-height: 1.6; color: #C5CCC6; }
.conseil__text p + p { margin-top: .8em; }
.conseil__text strong { color: var(--amber); }
.stamp {
  position: absolute;
  right: -12px; bottom: -30px;
  width: clamp(92px, 11vw, 118px);
  aspect-ratio: 1;
  color: var(--rust);
  transform: rotate(-12deg);
  pointer-events: none;
}
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp__ring { fill: var(--paper); stroke: currentColor; stroke-width: 2; }
.stamp__ring--in { fill: none; stroke-width: 1.4; stroke-dasharray: 3 4; }
.stamp text { fill: currentColor; font: 600 10.5px/1 var(--f); letter-spacing: .06em; text-transform: uppercase; }
.stamp__spin { transform-box: view-box; transform-origin: 50% 50%; }
.stamp__icon path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .conseil__body { padding: 22px 20px 70px; }
  .stamp { right: 8px; }
}

/* FAQ : des questions qui s'ouvrent comme on serre un écrou --------------------------------------- */
.faq { margin-top: 3em; }
.faq__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 16px; border-bottom: 2px solid var(--fg); }
.faq__kicker { padding: 3px 10px; border-radius: var(--r-badge); background: var(--red); color: var(--cream); font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.faq__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; line-height: 1.1; letter-spacing: -.022em; }
.faq__count { margin-left: auto; font-size: .9rem; color: var(--fg-2); }
.faq__list { display: grid; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: -2px; }
.faq__num { font-size: .85rem; font-weight: 600; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.faq__text { font-size: clamp(1.08rem, 1.6vw, 1.24rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.faq__nut { display: block; width: 40px; height: 40px; color: var(--fg); transition: transform .7s var(--spring); }
.faq__nut svg { width: 100%; height: 100%; overflow: visible; }
.faq__hex { fill: var(--surface); stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: fill .3s; }
.faq__bar { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease-out); }
.faq__q:hover .faq__hex { fill: var(--surface-2); }
.faq__item[open] .faq__nut { transform: rotate(180deg); }
.faq__item[open] .faq__hex { fill: var(--ochre); }
.faq__item[open] .faq__bar--v { transform: scaleY(0); }
.faq__a-inner { padding: 0 60px 22px 40px; }
.faq__a p { font-size: 1.06rem; line-height: 1.65; color: var(--fg-2); }
.faq__a p + p { margin-top: .7em; }
@media (max-width: 640px) { .faq__a-inner { padding: 0 4px 20px; } }
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* Tableaux ----------------------------------------------------------------------------------------- */
.table-wrap { margin-block: 2em; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .98rem; line-height: 1.4; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--night); color: #ECE5CF; font-size: .85rem; font-weight: 600; letter-spacing: .02em; border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table tbody tr:nth-child(even) { background: rgb(30 49 59 / .035); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover { background: rgb(216 152 57 / .12); }

/* Ligne d'arrivée : un damier en fin de texte */
.finish { display: flex; align-items: center; gap: 14px; margin-top: 3em; }
.finish__flag {
  flex: 1;
  height: 20px;
  border-radius: 4px;
  background: conic-gradient(var(--fg) 25%, transparent 0 50%, var(--fg) 0 75%, transparent 0) 0 0 / 20px 20px;
  box-shadow: inset 0 0 0 1px var(--fg);
}
.finish__text { font-size: .85rem; font-weight: 500; color: var(--fg-2); white-space: nowrap; }

/* Fiche technique et « L'essentiel » : cartes arrondies */
.fiche { padding: 22px; border-radius: var(--r-card); background: var(--surface); }
.fiche__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: var(--r-badge); background: var(--night); color: #ECE5CF; font-size: .78rem; font-weight: 500; }
.fiche__kicker .mini-stripes { display: none; }
.fiche__title { margin: 14px 0 6px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.012em; line-height: 1.2; }
.fiche__list > div { display: grid; gap: 2px; padding-block: 11px; border-top: 1px solid var(--line); }
.fiche__list > div:first-child { border-top: 0; }
.fiche__list dt { font-size: .8rem; color: var(--fg-2); }
.fiche__list dd { font-size: 1rem; font-weight: 500; line-height: 1.35; }

.essentiel { padding: 22px; border-radius: var(--r-card); background: var(--night); color: #ECE5CF; }
.essentiel__kicker { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: var(--r-badge); background: var(--ochre); color: var(--night); font-size: .78rem; font-weight: 500; }
.essentiel__list { counter-reset: ess; }
.essentiel__list li { position: relative; padding: 12px 0 12px 2.3em; border-top: 1px solid rgb(236 229 207 / .14); font-size: .98rem; line-height: 1.45; counter-increment: ess; }
.essentiel__list li:first-child { border-top: 0; }
.essentiel__list li::before { content: counter(ess); position: absolute; left: 0; top: 11px; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: rgb(236 229 207 / .12); font-size: .8rem; font-weight: 600; }

.encadre { margin-block: 2em; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-card); background: var(--sand); color: #1B2C35; }
.encadre__title { margin-bottom: 8px; font-size: 1.05rem; font-weight: 600; }
.encadre p { font-size: 1.05rem; line-height: 1.6; }
.encadre > * + * { margin-top: .8em; }

.chiffre { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 28px; margin-block: 2em; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-card); background: var(--ochre); color: var(--night); }
.chiffre__value { font-size: clamp(3rem, 6vw, 5rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.chiffre__label { font-size: 1rem; line-height: 1.45; }
@media (max-width: 560px) { .chiffre { grid-template-columns: 1fr; } }

/* Fin d'article */
.article-end { display: grid; grid-template-columns: minmax(0, 700px); justify-content: center; gap: 28px; padding-top: clamp(56px, 7vw, 96px); }
.author-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px; border-radius: var(--r-card); background: var(--surface); }
.author-card > div { display: grid; gap: 4px; }
.author-card__label { font-size: .85rem; color: var(--fg-2); }
.author-card__name { font-size: 1.4rem; font-weight: 500; letter-spacing: -.015em; }
.author-card__role { font-size: .9rem; color: var(--fg-2); }
.author-card__bio { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.article-end__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.article-end__share p { font-weight: 500; }

/* --- Contact ------------------------------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.contact__panel { grid-column: 1 / span 7; padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r-card); background: var(--surface); }
.contact__aside { grid-column: 9 / -1; display: grid; gap: 18px; align-content: start; }
@media (max-width: 960px) { .contact__panel, .contact__aside { grid-column: 1 / -1; } }
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { padding: 0; font-size: .95rem; font-weight: 500; }
.field legend { margin-bottom: 12px; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--paper-2);
  font-size: 1.05rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 200px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px rgb(216 152 57 / .45); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field__hint { font-size: .85rem; color: var(--fg-2); }
.field__error { font-size: .88rem; font-weight: 500; color: var(--red); }
.field__error:empty { display: none; }
.field__foot { display: flex; justify-content: space-between; gap: 16px; }
.field__count { margin-left: auto; font-size: .8rem; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.option label { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--r-pill); background: var(--paper-2); font-size: .95rem; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s; }
.option input:hover + label { background: var(--paper); }
.option input:checked + label { background: var(--fg); color: var(--bg); }
.option input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 3px; }
.field--options.is-invalid .option label { box-shadow: inset 0 0 0 1px var(--red); }
.field--check { grid-template-columns: 26px 1fr; column-gap: 12px; align-items: start; }
.field--check input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  cursor: pointer;
  transition: background-color .25s;
}
.field--check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .3s var(--spring); }
.field--check input:checked { background: var(--fg); border-color: var(--fg); }
.field--check input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.field--check label { font-size: .98rem; font-weight: 400; line-height: 1.5; cursor: pointer; }
.field--check label a { text-decoration: underline; text-underline-offset: 3px; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__submit .pill { height: 52px; font-size: 1.05rem; }
.form__submit .pill .dot { --dot: 40px; }
.form__note { font-size: .88rem; color: var(--fg-2); }
.form__status { font-weight: 500; color: var(--red); }
.form__status:empty { display: none; }
button.pill { border: 0; cursor: pointer; }
button.pill[disabled] { opacity: .65; cursor: progress; }
.pill.is-loading .dot { animation: spin 1s linear infinite; }

.form-success { display: grid; gap: 20px; justify-items: start; }
.form-success__icon { width: 64px; height: 64px; color: var(--fg); }
.form-success__icon circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1s var(--ease-out) forwards; }
.form-success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .7s var(--ease-out) forwards; }
.form-success h2 { outline: none; }
.form-success p { max-width: 46ch; font-size: 1.1rem; }
.form-success__demo { padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: .95rem !important; }

.contact__car { position: relative; display: grid; justify-items: center; gap: 16px; overflow: hidden; padding: 28px 20px 24px; border-radius: var(--r-card); text-align: center; }
.phares__face--sm { margin: 0; gap: 14px; }
.phares__face--sm .phare { width: clamp(70px, 9vw, 92px); }
.phares__face--sm .phares__grille { width: clamp(64px, 9vw, 96px); height: 40px; }
.contact__car-text { max-width: 30ch; font-size: 1rem; font-weight: 500; }
.contact-list { display: grid; gap: 10px; width: 100%; }
.contact-list > div { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--surface); }
.contact-list dt { font-size: .85rem; color: var(--fg-2); }
.contact-list dd { display: grid; gap: 2px; }
.contact-list a { justify-self: start; font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.contact-list a:hover { text-decoration-color: var(--ochre); }
.contact-list span { font-size: .9rem; color: var(--fg-2); }
.contact__note { width: 100%; padding: 14px 18px; border-radius: 16px; background: var(--ochre); color: var(--night); font-size: .95rem; }

/* Mentions légales */
.legal { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.legal__prose { max-width: 720px; margin-inline: auto; }
.legal__prose > h2:first-child { margin-top: 0; }
.todo { padding: 0 .35em; border-radius: 6px; background: rgb(216 152 57 / .35); color: var(--fg); }

/* 404 */
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.notfound__media { margin-bottom: var(--section); }

/* --- Questionnaire « Avis Lecteurs » (extension commune aux médias) ------------------------------------
   L'extension n'est jamais modifiée : le site l'habille par ses variables --al-* et quelques retouches.
   « body .al » l'emporte sur les valeurs par défaut de l'extension, quel que soit l'ordre de chargement
   des feuilles de style (dans WordPress, celle de l'extension arrive après celle du thème). */
body .al {
  --al-trait: var(--night);       /* bordures, étoiles, bouton « question précédente » */
  --al-fond: var(--paper-2);      /* fond du bloc et des réponses non choisies */
  --al-texte: var(--fg);
  --al-accent: var(--ochre);      /* réponse choisie, étoiles pleines */
  --al-sur-accent: var(--night);  /* texte sur l'ocre : 6,9:1 */
  --al-bordure: 1.5px;
  --al-rayon: var(--r-card);
  --al-rayon-petit: 14px;
  box-shadow: 0 26px 50px -36px rgb(17 28 34 / .5);
}
.prose .al { margin: 2.4em 0 0; }
.al .al__titre { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.prose .al .al__titre::before { content: none; }
.al .al__intro { opacity: 1; color: var(--fg-2); }
/* Le compteur de questions devient un petit afficheur du tableau de bord */
.al .al__avancee { padding: 8px 14px; border-radius: 12px; background: var(--glass); color: var(--amber); font-weight: 600; letter-spacing: .05em; }
.al .al__jauge { border-color: rgb(242 182 84 / .35); background: #1E2E36; }
.al .al__jauge i { background: var(--amber); box-shadow: 0 0 8px rgb(242 182 84 / .7); }
.al .al__q legend, .al .al__label { font-weight: 600; }
.al .al__option span { font-weight: 500; }
.al .al__option input:checked + span { box-shadow: 0 0 0 3px rgb(216 152 57 / .3); }
/* Le bouton d'envoi est un appel à l'action : rouge, comme les autres boutons du site */
.al .al__envoyer { border-color: var(--red); background: var(--red); color: var(--cream); font-weight: 500; }
.al .al__envoyer:hover, .al .al__envoyer:focus-visible { border-color: var(--red-2); background: var(--red-2); color: var(--cream); }
.al .al__moyenne strong { background: var(--night); color: var(--amber); font-variant-numeric: tabular-nums; }
.al .al__barre-piste { border-color: var(--line); background: var(--paper); }
.al .al__temoignages { border-top-color: var(--line); }
/* Prototype : légende des deux états du bloc */
.al-demo__label { margin: 2.4em 0 -1.6em; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }

/* --- 06-motion.css --- */
/* =============================================================================
   Mouvement : apparitions, titres, témoins, feux à éclats, appel de phares,
   transitions de page, impression.
   Tout est désactivé pour les personnes qui préfèrent limiter les animations.
   ========================================================================== */

@keyframes live { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes road { to { stroke-dashoffset: -60; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { clip-path: circle(0 at calc(100% - 44px) 36px); } to { clip-path: circle(150vmax at calc(100% - 44px) 36px); } }
@keyframes menu-out { from { clip-path: circle(150vmax at calc(100% - 44px) 36px); } to { clip-path: circle(0 at calc(100% - 44px) 36px); } }
@keyframes search-in { from { opacity: 0; transform: translateY(-24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes search-out { to { opacity: 0; transform: translateY(-16px) scale(.98); } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes vt-out { to { opacity: 0; transform: translate3d(0, -12px, 0); } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
/* Feux à éclats des panneaux */
@keyframes beacon {
  0%, 46% { opacity: 1; box-shadow: 0 0 0 3px rgb(0 0 0 / .4), 0 0 18px 6px rgb(242 182 84 / .55); }
  50%, 96% { opacity: .22; box-shadow: 0 0 0 3px rgb(0 0 0 / .4); }
}
/* Témoins : ils s'allument au contact, comme au démarrage d'une voiture */
@keyframes ignite {
  0% { color: #4A4436; filter: none; }
  18% { color: var(--amber); }
  30% { color: #4A4436; }
  44%, 100% { color: var(--amber); }
}
/* Appel de phares : deux éclats */
@keyframes flash { 0%, 100% { opacity: 0; } 8%, 26% { opacity: 1; } 34%, 50% { opacity: 0; } 58%, 76% { opacity: 1; } 84% { opacity: 0; } }
/* Levier : petit à-coup quand le rapport s'engage */
@keyframes clunk { 0% { scale: 1; } 40% { scale: .9; } 100% { scale: 1; } }
/* Aiguille : coup d'accélérateur au survol */
@keyframes rev { 0%, 100% { rotate: 0deg; } 30% { rotate: 10deg; } 62% { rotate: -3deg; } }
/* Résumé : balayage de l'écran */
@keyframes scan { from { transform: translateY(-110%); } to { transform: translateY(260%); } }

/* Les images en parallaxe ne doivent pas être lissées par une transition */
[data-parallax] { transition: opacity .8s var(--ease-out) !important; }

@media (prefers-reduced-motion: no-preference) {
  /* Apparition au défilement */
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: var(--delay, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="stagger"] { opacity: 1; transform: none; }
  .js [data-reveal="stagger"] > * {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(.97);
    transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms + .05s);
  }
  .js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }

  /* Titres découpés mot à mot */
  .is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .03em .14em; margin: -.08em -.03em -.14em; }
  .is-split .w__i {
    display: inline-block;
    transform: translate3d(0, 110%, 0);
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(var(--wi, 0) * 45ms + var(--split-delay, 0s));
  }
  .is-split.is-in .w__i { transform: none; }
  .hero__title { --split-delay: .1s; }

  /* Grandes images : arrondies et cadrées au chargement, puis élargies */
  .js [data-expand] { --expand: 0; }

  /* Témoins, feux à éclats, tampon, écran du résumé */
  .js .temoins .temoin__icon { color: #4A4436; }
  .js .temoins .temoin__icon svg { filter: none; transition: filter .4s; }
  .js .temoins.is-in .temoin__icon { animation: ignite .9s steps(1, end) forwards; animation-delay: calc(.6s + var(--i, 0) * .4s); }
  .js .temoins.is-in .temoin__icon svg { filter: drop-shadow(0 0 5px rgb(242 182 84 / .85)); transition-delay: calc(1s + var(--i, 0) * .4s); }
  .js .beacon { animation: beacon 1.2s steps(1, end) infinite; animation-delay: var(--beacon-delay, 0s); }
  .stamp__spin { animation: spin 22s linear infinite; }
  .js .resume.is-in::after { animation: scan 1.8s var(--ease-io) .3s; }
  .js .phares__face.is-in .phare::after,
  .js .phares__face.is-in .phare__glass::after { animation: flash 1.6s .5s; }

  /* Menu : ouverture en cercle depuis le bouton */
  .menu[open] { animation: menu-in .8s var(--ease-io); }
  .menu.is-closing { animation: menu-out .45s var(--ease-io) forwards; }
  .menu[open] .menu__list li { animation: fade-up .8s var(--ease-out) both; animation-delay: calc(.25s + var(--i, 0) * .07s); }
  .menu[open] .menu__bottom { animation: fade-up .8s .55s var(--ease-out) both; }
  .search[open] { animation: search-in .5s var(--spring); }
  .search.is-closing { animation: search-out .3s var(--ease-io) forwards; }
  .search[open]::backdrop { animation: backdrop-in .4s var(--ease-out); }
  .search__results li { animation: fade-up .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }

  /* Pied de page : la moto et le coupé se dessinent à l'arrivée */
  .js .neon__lines > *, .js .neon__wheel circle, .js .neon__road path:first-child { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .site-footer__art.is-in .neon__lines > *,
  .js .site-footer__art.is-in .neon__wheel circle,
  .js .site-footer__art.is-in .neon__road path:first-child { animation: draw 2.4s var(--ease-io) forwards; }
  .js .neon__glow, .js .neon__signals { opacity: 0; transition: opacity 1.2s 1.6s; }
  .js .site-footer__art.is-in .neon__glow { opacity: .55; }
  .js .site-footer__art.is-in .neon__signals { opacity: 1; }

  /* Transitions entre pages (navigateurs compatibles) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .3s var(--ease-io) both; }
  ::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
  ::view-transition-group(hero-media) { animation-duration: .7s; animation-timing-function: var(--ease-io); }
  .site-header { view-transition-name: site-header; }
  .article-hero__media { view-transition-name: hero-media; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .beacon { opacity: 1; }
}

/* --- Impression ---------------------------------------------------------------------------------- */
@media print {
  .site-header, .progress, .site-footer, .article-toc, .share, .related, .next, dialog, .article-end__share, .skip-link, .finish, .stamp, .conseil__sign { display: none !important; }
  body, .on-night, .resume, .conseil { background: #fff !important; color: #000 !important; }
  .article-layout { display: block; padding-top: 24px; }
  .article-rail { margin-bottom: 24px; }
  .article-hero__media { height: auto; clip-path: none; }
  .article-hero__media img { transform: none; height: auto; }
  .faq__item::details-content { height: auto !important; content-visibility: visible !important; }
  [data-reveal], .is-split .w__i { opacity: 1 !important; transform: none !important; }
}

/* --- wp.css --- */
/* =============================================================================
   Thème WordPress : compléments aux styles du site (contenu de l'éditeur de blocs,
   pagination, commentaires, barre d'administration, pages Elementor).
   ========================================================================== */

/* Barre d'administration (connecté) : l'en-tête collant se cale dessous */
.site-header { top: var(--wp-admin--admin-bar--height, 0px); }
html { scroll-padding-top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 24px); }

/* Accessibilité WordPress */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Intitulés en minuscules, comme sur la maquette */
.nav__link, .menu__label, .badge, .gear__name, .page-hero__title--term, .site-footer__col a, .breadcrumb li { text-transform: lowercase; }
.badge--live { text-transform: none; }

/* Un menu de 6 ou 7 liens : le menu mobile prend le relais plus tôt */
@media (max-width: 1180px) {
  .site-header__bar { grid-template-columns: 1fr auto; }
  .nav, .site-header__context { display: none; }
  .dots-btn { display: inline-flex; }
}

/* Pied de page : trois colonnes */
.site-footer__grid--wp > .site-footer__intro { grid-column: 1 / span 5; }
.site-footer__grid--wp > :nth-child(2) { grid-column: 7 / span 3; }
.site-footer__grid--wp > :nth-child(3) { grid-column: 10 / span 3; }
.site-footer__menu { margin: 0; padding: 0; list-style: none; }
.site-footer__menu li { padding-block: 5px; }
@media (max-width: 1080px) {
  .site-footer__grid--wp > .site-footer__intro { grid-column: 1 / -1; }
  .site-footer__grid--wp > :nth-child(2) { grid-column: 1 / span 6; }
  .site-footer__grid--wp > :nth-child(3) { grid-column: 7 / span 6; }
}

/* Image absente : un aplat de nuit marqué d'une route */
.thumb-placeholder {
  display: block;
  width: 100%; height: 100%;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgb(236 229 207 / .35) 0 24px, transparent 24px 44px) 0 50% / 44px 3px repeat-x,
    radial-gradient(circle at 50% 40%, #2C4552, var(--night) 70%);
}
.card__media .thumb-placeholder, .feature__media .thumb-placeholder, .next__img .thumb-placeholder { position: absolute; inset: 0; }

/* --- Rubriques : Auto (ocre), Moto (rouille), Transport (sable), Électrique (bleu pétrole), Actualités (rouge) --- */
:root {
  --teal: #5EA0BC;  /* pétrole éclairé (dérivé de #263B46) : la rubrique Électrique */
  --fog: #8E9C9A;   /* gris neutre : catégories hors des cinq rubriques (Général…) */
}

/* Boîte de vitesses : marche arrière, pictogramme quand la rubrique n'a pas encore de photo */
.shifter__labels text.shifter__reverse { fill: rgb(214 67 76 / .6); }
.gear__img--icon { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2C4552, var(--night) 75%); color: var(--cat, var(--amber)); }
.gear__img--icon .rubrique-icon { width: 46%; height: auto; overflow: visible; filter: drop-shadow(0 0 6px currentColor); }
.rubrique-icon .icon-fill { fill: var(--night); }

/* Pages de rubrique : illustration en lignes lumineuses, posée sur la route */
.rubrique-art { width: 100%; margin-top: clamp(0px, 1vw, 12px); }
.neon--rubrique { display: block; width: 100%; height: clamp(140px, 24vw, 300px); margin: 0; overflow: hidden; }
.neon--rubrique .neon__glow { stroke: var(--cat, var(--ochre)); }
.neon--rubrique .neon__signal { fill: var(--cat, var(--amber)); }
.neon__accent { stroke: var(--cat, var(--ochre)); }
.neon__lamp { stroke: #D6434C; }
.ra-level rect { fill: var(--cat, var(--amber)); }
.ra-panel { fill: var(--glass); }
#ra-dots circle { fill: rgb(242 182 84 / .12); }
.ra-letter circle, .ra-beacon { fill: var(--amber); }
.ra-letter { filter: drop-shadow(0 0 4px rgb(242 182 84 / .7)); }
.ra-traffic path, .ra-traffic circle { fill: var(--bg); stroke: var(--fg); stroke-width: 2.4; stroke-linejoin: round; }

/* Rubrique encore vide : les autres rubriques en raccourci */
.feed-empty__actions { flex-wrap: wrap; gap: 10px; }
.feed-empty__cat { display: contents; }
.feed-empty__cat .pill .dot { background: var(--cat, var(--ochre)); color: var(--night); }
.feed-empty__cat .pill__label { text-transform: lowercase; }

@keyframes ra-type { 0%, 4% { opacity: 0; } 6%, 80% { opacity: 1; } 84%, 88% { opacity: .1; } 90%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ra-beacon { 0%, 46% { opacity: 1; } 50%, 96% { opacity: .2; } }
@keyframes ra-c0 { 0%, 14% { opacity: .15; } 18%, 92% { opacity: 1; } 96%, 100% { opacity: .15; } }
@keyframes ra-c1 { 0%, 40% { opacity: .15; } 44%, 92% { opacity: 1; } 96%, 100% { opacity: .15; } }
@keyframes ra-c2 { 0%, 66% { opacity: .15; } 70%, 92% { opacity: 1; } 96%, 100% { opacity: .15; } }

@media (prefers-reduced-motion: no-preference) {
  /* Le dessin se trace à l'arrivée, puis les lumières s'allument */
  .js .rubrique-art.is-in .neon__lines > *,
  .js .rubrique-art.is-in .neon__wheel circle,
  .js .rubrique-art.is-in .neon__road path:first-child { animation: draw 2.2s var(--ease-io) .15s forwards; }
  .js .rubrique-art.is-in .neon__glow { opacity: .6; }
  .js .rubrique-art .ra-fx { opacity: 0; transition: opacity 1s 1.6s; }
  .js .rubrique-art.is-in .neon__signals, .js .rubrique-art.is-in .ra-fx { opacity: 1; }
  .ra-letter { animation: ra-type 6s steps(1, end) infinite; animation-delay: calc(var(--l, 0) * .2s); }
  .ra-beacon { animation: ra-beacon 1.2s steps(1, end) infinite; }
  .ra-beacon--2 { animation-delay: .6s; }
  .ra-level rect { animation: ra-c0 2.6s steps(1, end) infinite; }
  .ra-level rect:nth-child(2) { animation-name: ra-c1; }
  .ra-level rect:nth-child(3) { animation-name: ra-c2; }
}

/* --- Article : colonne de texte large (1060 px), texte en 18 px, interligne 1,65 ---------------------
   Ordinateur : le texte à gauche ; à droite, l'itinéraire (sommaire) puis les articles similaires,
   qui restent visibles pendant la lecture. Sous 1024 px : une seule colonne, les articles
   similaires passent sous le texte. */
.article-layout--wp, .article-layout--wp.article-layout--no-toc {
  --rail-w: clamp(280px, 22vw, 340px);
  max-width: calc(1440px + 2 * var(--gutter));
  grid-template-columns: minmax(0, 1060px) var(--rail-w);
  grid-template-rows: auto 1fr;
  grid-template-areas: "prose toc" "prose rail";
  justify-content: space-between;
  gap: 36px 40px;
}
.article-layout--wp.article-layout--no-toc { grid-template-areas: "prose rail" "prose rail"; }
.article-main { grid-area: prose; grid-row: 1 / span 2; min-width: 0; }
.article-layout--wp .article-toc { display: block; }
.article-layout--wp .article-toc__inner { position: static; }
.article-layout--wp .prose { font-size: 18px; line-height: 1.65; }
.article-head__deck { font-size: clamp(1.15rem, 1.5vw, 22px); }
.article-layout--wp .prose .lead-para { font-size: 22px; line-height: 1.5; }
.article-layout--wp .article-end { grid-template-columns: minmax(0, 1fr); padding-top: clamp(48px, 6vw, 80px); }
.article-rail { min-width: 0; }
@media (max-width: 1024px) {
  .article-layout--wp, .article-layout--wp.article-layout--no-toc { grid-template-columns: minmax(0, 1060px); grid-template-rows: none; grid-template-areas: "prose" "rail"; justify-content: center; gap: 64px; }
  .article-main { grid-row: auto; }
  .article-layout--wp .article-toc { display: none; }
  .article-layout--wp .article-rail__inner { position: static; }
  .similar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout--wp .prose .lead-para { font-size: 20px; }
}
@media (max-width: 600px) { .similar { grid-template-columns: minmax(0, 1fr); } }

/* Colonne « articles similaires » */
.article-rail__inner { gap: 14px; }
.rail-title { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.rail-title .dot { --dot: 32px; }
.rail-title__num { margin-left: auto; font-size: .9rem; font-weight: 400; color: var(--fg-2); }
.similar { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mini__link { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; border-radius: 18px; transition: background-color .3s; }
.mini__link:hover, .mini__link:focus-visible { background: var(--surface); }
.mini__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--line); }
.mini__img img, .mini__img .thumb-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mini__link:hover .mini__img img { transform: scale(1.07); }
.mini__body { display: grid; gap: 6px; min-width: 0; }
.mini__title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 1.1rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; text-wrap: pretty; }
.mini__meta { font-size: .85rem; color: var(--fg-2); }
.rail-more { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 6px; padding: 12px 20px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-size: .98rem; font-weight: 500; text-transform: lowercase; }
.rail-more::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--ochre)); }
.rail-more svg { width: 16px; height: 16px; transition: transform .4s var(--spring); }
.rail-more:hover svg { transform: translateX(4px); }

/* --- Auteurs : photos, liens, carte de fin d'article ------------------------------------------- */
.avatar--img { overflow: hidden; background: var(--night-3); }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 32px; height: 32px; font-size: .62rem; }
.byline__avatars { display: flex; }
.byline__avatars .avatar + .avatar { margin-left: -12px; box-shadow: 0 0 0 2px var(--bg); }
.author-link { text-decoration: underline; text-decoration-color: rgb(216 152 57 / .7); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .3s; }
.author-link:hover { color: var(--amber); }
.author-card__name a { transition: color .3s; }
.author-card__name a:hover { color: var(--rust); }
.author-card__more { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 8px; font-size: .92rem; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.author-card__more:hover { text-decoration-color: var(--ochre); }
.author-card__more svg { width: 16px; height: 16px; }

/* Page auteur : la photo au centre d'un cadran à segments lumineux */
.author-hero { display: grid; justify-items: center; gap: 14px; }
.author-dial { position: relative; display: grid; place-items: center; width: clamp(190px, 22vw, 250px); aspect-ratio: 1; }
.author-dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.author-dial__seg { stroke: rgb(236 229 207 / .14); stroke-width: 7; stroke-linecap: round; }
.author-dial__seg.is-lit { stroke: var(--amber); filter: drop-shadow(0 0 4px rgb(242 182 84 / .6)); }
.author-dial__avatar { width: 68%; height: 68%; font-size: clamp(1.6rem, 3vw, 2.3rem); box-shadow: 0 0 0 6px var(--night-2), 0 0 0 7px rgb(236 229 207 / .14); }
.author-dial__count { position: absolute; bottom: 0; padding: 4px 12px; border-radius: var(--r-pill); background: var(--glass); color: var(--amber); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1px rgb(242 182 84 / .35); white-space: nowrap; }
.author-hero__role { font-size: 1.05rem; font-weight: 500; color: var(--amber); }
.page-hero__title--author { font-size: clamp(3rem, 9vw, 8rem); }
.author-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.author-stats > div { display: grid; gap: 8px; justify-items: center; }
.author-stats dt { font-size: .8rem; color: var(--fg-2); }
.author-stats dd { font-weight: 500; }
.author-stats__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.author-stats__cats .badge { transition: background-color .3s; }
.author-stats__cats .badge:hover { background: var(--surface-2); }
.author-stats__cats .badge span { color: var(--fg-2); }

/* Pied de page : la rédaction */
.site-footer__team { margin: 0; padding: 0; list-style: none; }
.site-footer__team li { padding-block: 5px; }
.site-footer__col .site-footer__team a { align-items: center; gap: 10px; }
.site-footer__col a .site-footer__who { display: grid; gap: 1px; font-size: 1rem; color: inherit; }
.site-footer__col a .site-footer__who span { font-size: .78rem; color: var(--fg-2); }
.site-footer__col a .avatar { font-size: .62rem; color: var(--night); }

/* --- Cartes de l'accueil : à la place de l'auteur, le tableau de bord de l'article ----------------- */
.card-dash { display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 6px; border-radius: 14px; background: var(--night); color: #ECE5CF; font-size: .82rem; }
.card-dash__lamps { display: flex; gap: 2px; }
.card-dash__lamp { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; color: #4A4436; }
.card-dash__lamp svg { width: 17px; height: 17px; }
.card-dash__lamp.is-on { color: var(--amber); }
.card-dash__lamp.is-on svg { filter: drop-shadow(0 0 4px rgb(242 182 84 / .7)); }
.card-dash__lamp b { position: absolute; top: -1px; right: -2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: var(--red); color: var(--cream); font-size: .6rem; font-weight: 600; line-height: 15px; text-align: center; }
.card-dash__time { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; border-left: 1px solid rgb(236 229 207 / .16); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-dash__dial { width: 26px; height: 26px; overflow: visible; }
.card-dash__track, .card-dash__arc { fill: none; stroke-width: 3; stroke-linecap: round; }
.card-dash__track { stroke: rgb(236 229 207 / .2); }
.card-dash__arc { stroke: var(--amber); }
.card-dash__needle { transform-box: view-box; transform-origin: 0 0; }
.card-dash__needle path { stroke: #ECE5CF; stroke-width: 2.4; stroke-linecap: round; }
.card-dash__dial circle { fill: #ECE5CF; }
.card-dash__date { margin-left: auto; color: rgb(236 229 207 / .65); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .card:hover .card-dash__lamp.is-on { animation: ignite .9s steps(1, end) both; animation-delay: calc(var(--i, 0) * .15s); }
  .card:hover .card-dash__needle { animation: rev .9s var(--ease-out); }
  .js .author-hero .author-dial__seg.is-lit { stroke: rgb(236 229 207 / .14); filter: none; transition: stroke .25s, filter .25s; transition-delay: calc(.5s + var(--i, 0) * 35ms); }
  .js .author-hero.is-in .author-dial__seg.is-lit { stroke: var(--amber); filter: drop-shadow(0 0 4px rgb(242 182 84 / .6)); }
}

/* --- Contact : la rédaction, formulaire d'extension éventuel ----------------------------------------- */
.contact-team { display: grid; gap: 10px; }
.contact-team__title { font-size: .85rem; color: var(--fg-2); }
.contact-team__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-team__link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface); transition: background-color .3s; }
.contact-team__link:hover { background: var(--surface-2); }
.contact-team__link > span:nth-child(2) { display: grid; gap: 2px; }
.contact-team__name { font-size: 1.05rem; font-weight: 500; }
.contact-team__role { font-size: .85rem; color: var(--fg-2); }
.contact-team__dot { --dot: 34px; }
.contact-team__link:hover .contact-team__dot { transform: rotate(45deg); }
.contact__content > * + * { margin-top: 1em; }

/* --- Signature des articles, portraits ----------------------------------------------------------------- */
.byline .signature { display: block; max-width: 36ch; font-size: .95rem; line-height: 1.4; text-align: left; }
.signature__label { color: var(--fg-2); }
.signature .author-link { font-weight: 600; }
.signature__role { color: var(--fg-2); }
.avatar--none { background: var(--night-3); box-shadow: inset 0 0 0 1px rgb(236 229 207 / .14); }
.avatar--xl { width: 96px; height: 96px; }
.author-card__activity { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
/* Cartes : le nom de l'auteur ouvre sa page (au-dessus du lien de la carte) */
.meta__author a { position: relative; z-index: 3; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.meta__author a:hover, .meta__author a:focus-visible { color: var(--fg); text-decoration-color: var(--ochre); }

/* Menu : rubrique encore vide */
.nav__soon { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgb(236 229 207 / .1); font-size: .62rem; font-weight: 500; letter-spacing: .02em; color: var(--fg-2); vertical-align: middle; }
.menu__soon { margin-left: 14px; padding: 4px 10px; border-radius: var(--r-pill); background: rgb(236 229 207 / .1); font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--fg-2); vertical-align: middle; }
.site-footer__mail { text-decoration: underline; text-decoration-color: rgb(236 229 207 / .3); text-underline-offset: 3px; }
.site-footer__mail:hover { color: var(--amber); }

/* --- Encadré « Avant de prendre la route » : un panneau de danger, plus discret que le conseil de pro --- */
.vigil { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; margin-top: 1.6em; padding: 14px 18px 15px 14px; border-left: 4px solid var(--red); border-radius: 4px 14px 14px 4px; background: rgb(163 35 43 / .07); font-size: .93em; line-height: 1.55; }
.vigil__sign { width: 34px; height: auto; margin-top: 2px; overflow: visible; fill: var(--paper-2); stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.vigil__body > * + * { margin-top: .35em; }
.vigil__label { font-size: .76em; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--red); }
.vigil p { margin: 0; }

/* --- Page auteur : activité, mises à jour, autres auteurs ------------------------------------------------ */
.author-activity { max-width: 56ch; font-size: 1.05rem; color: var(--fg); }
.author-extra { padding-bottom: var(--section); }
.feed-section + .author-extra { margin-top: calc(var(--section) * -.35); }
.author-extra + .author-extra { margin-top: calc(var(--section) * -.45); }
.updates { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.updates li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.updates a { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.25; letter-spacing: -.012em; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .3s; }
.updates a:hover { text-decoration-color: var(--ochre); }
.updates__date { flex: none; font-size: .88rem; color: var(--fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .updates li { flex-direction: column; gap: 4px; } }
.team-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: var(--gap); }
.team-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); transition: background-color .3s; }
.team-card:hover { background: var(--surface-2); }
.team-card__body { display: grid; gap: 3px; min-width: 0; }
.team-card__name { font-size: 1.4rem; font-weight: 500; letter-spacing: -.015em; }
.team-card__role { font-size: .9rem; color: var(--fg-2); }
.team-card__text { margin-top: 4px; font-size: .95rem; line-height: 1.45; color: var(--fg-2); }
.team-card:hover .team-card__dot { transform: rotate(45deg); }

/* Page « La rédaction » : code court [redaction] */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.team-fiche { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 20px; padding: 22px; border-radius: var(--r-card); background: var(--surface); }
.team-fiche__body { display: grid; gap: 8px; min-width: 0; font-size: 1rem; line-height: 1.5; }
.prose .team-fiche__name { margin: 0; font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; }
.team-fiche__name a { text-decoration: none; }
.team-fiche__role { font-size: .9rem; font-weight: 500; color: var(--rust); }
.team-fiche__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prose .team-fiche .badge { text-decoration: none; }
.team-fiche__more { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 500; }
.team-fiche__more svg { width: 16px; height: 16px; }
.prose .team-fiche p { margin: 0; }
@media (max-width: 520px) { .team-fiche { grid-template-columns: minmax(0, 1fr); } }

/* Page « Plan du site » : code court [plan_du_site] */
.plan { display: grid; gap: clamp(32px, 4vw, 56px); margin-top: 1.6em; }
.prose .plan__title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 2px solid var(--fg); font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: lowercase; }
.plan__title::after { content: ""; order: -1; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--cat, var(--ochre)); }
.plan__title a { text-decoration: none; }
.plan__title span { font-size: .9rem; font-weight: 400; color: var(--fg-2); }
.prose .plan__list { display: grid; margin: 0; padding: 0; list-style: none; }
.prose .plan__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.35; }
.prose .plan__list li::before { content: none; }
.plan__list a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.plan__list a:hover { text-decoration-color: var(--ochre); }
.plan__list time { flex: none; font-size: .82rem; color: var(--fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan__list--pages { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 24px; }
.plan__empty { color: var(--fg-2); }
@media (max-width: 600px) { .prose .plan__list li { flex-direction: column; gap: 2px; } }
.page-content--wide { max-width: 1060px; }

/* Tableau de bord : deux cadrans si une seule rubrique */
.dash__cluster--2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.dash__cluster--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.trip { cursor: default; }
.trip:hover { background: var(--surface); }

/* --- Contenu des articles (éditeur de blocs) ------------------------------------------------- */
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.prose .alignwide, .prose .alignfull { margin-inline: 0; }
.prose > ul, .prose > ol { padding: 0; }
.prose li > ul, .prose li > ol { margin-top: .5em; }
.prose img { border-radius: var(--r-img); }
.prose .wp-block-image, .prose figure { margin-block: 2em; }
.prose .wp-block-image img { width: 100%; height: auto; }
.prose figcaption, .prose .wp-element-caption { margin-top: 10px; font-size: .88rem; line-height: 1.4; color: var(--fg-2); text-align: left; }

/* Tableaux de l'éditeur : même allure que ceux de la maquette */
.prose .wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.prose .wp-block-table table, .prose > table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .98rem; line-height: 1.4; }
.prose > table { display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.prose .wp-block-table th, .prose .wp-block-table td, .prose > table th, .prose > table td { padding: 12px 16px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); }
.prose .wp-block-table thead th, .prose .wp-block-table thead td, .prose > table thead th { background: var(--night); color: #ECE5CF; font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.prose .wp-block-table thead { border: 0; }
.prose .wp-block-table tbody tr:nth-child(even) { background: rgb(30 49 59 / .035); }
.prose .wp-block-table tbody tr:last-child > * { border-bottom: 0; }
.prose .wp-block-table tbody tr:hover { background: rgb(216 152 57 / .12); }
.prose .wp-block-table tbody td:first-child { font-weight: 600; }
.prose .wp-block-table figcaption { padding: 0 16px 12px; }

/* Vidéos intégrées (YouTube…) */
.prose .wp-block-embed { margin-block: 2em; }
.prose .wp-block-embed__wrapper { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--night); }
.prose .wp-block-embed iframe { display: block; width: 100%; border: 0; }
.prose .wp-block-embed:not(.wp-has-aspect-ratio) iframe { height: auto; aspect-ratio: 16 / 9; }
/* Vidéos au format connu : le cadre garde ses proportions, la vidéo le remplit */
.prose .wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.prose .wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.prose .wp-embed-aspect-21-9 .wp-block-embed__wrapper { aspect-ratio: 21 / 9; }
.prose .wp-embed-aspect-1-1 .wp-block-embed__wrapper { aspect-ratio: 1; }
.prose .wp-embed-aspect-9-16 .wp-block-embed__wrapper { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.prose .wp-has-aspect-ratio .wp-block-embed__wrapper::before { display: none; }
.prose .wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Paragraphes encadrés de l'éditeur (autres que le conseil de pro) */
.prose p.has-border-color, .prose p[style*="border"] {
  padding: 16px 20px !important;
  border: 2px solid var(--ochre) !important;
  border-radius: 16px !important;
  background: var(--paper-2);
}
.prose .has-background { padding: 16px 20px; border-radius: 16px; }

/* Citations, séparateurs, boutons, code */
.prose blockquote, .prose .wp-block-quote {
  margin: 2em 0;
  padding: clamp(22px, 3vw, 36px);
  border: 0;
  border-radius: var(--r-card);
  background: var(--surface);
}
.prose blockquote p { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: 12px; font-size: .9rem; font-style: normal; color: var(--fg-2); }
.prose .wp-block-pullquote { margin: 2em 0; padding: 0; border: 0; text-align: left; }
.prose hr, .prose .wp-block-separator { height: 2px; margin: 2.4em 0; border: 0; background: repeating-linear-gradient(90deg, var(--fg) 0 26px, transparent 26px 46px); opacity: .4; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--red); color: var(--cream); font-weight: 500; text-decoration: none; }
.prose pre, .prose .wp-block-code { overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: var(--night); color: #ECE5CF; font: .9rem/1.6 ui-monospace, Consolas, monospace; }
.prose pre code { background: none; padding: 0; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.prose .wp-block-gallery figure { margin: 0; }
.prose::after { content: ""; display: block; clear: both; }

/* Résumé : plusieurs paragraphes possibles */
.resume__text { margin-top: 16px; font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.55; font-weight: 450; }
.resume__text > * + * { margin-top: .7em; }
.resume__text p { margin: 0; }
.resume__text ul { display: grid; gap: .4em; padding-left: 1.2em; list-style: disc; }
.conseil__text ul, .conseil__text ol, .faq__a ul, .faq__a ol { display: grid; gap: .4em; margin-top: .6em; padding-left: 1.2em; list-style: disc; }
.conseil__text ol, .faq__a ol { list-style: decimal; }
.conseil__text li::before, .faq__a li::before { display: none; }
.conseil__text li, .faq__a li { padding-left: 0; }
.faq__a p:empty { display: none; }

/* --- Pages ---------------------------------------------------------------------------------- */
.page-body { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--section); }
.page-content { max-width: 760px; margin-inline: auto; }
.page-content > h2::before { display: none; }
.page-builder { padding-bottom: var(--section); }
.section-spacer { height: var(--section); }

/* Formulaires d'extensions (contact) dans une page : champs aux couleurs du thème */
.page-content input[type="text"], .page-content input[type="email"], .page-content input[type="tel"], .page-content input[type="url"], .page-content textarea, .page-content select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  font-size: 1.05rem;
}
.page-content input[type="submit"], .page-content button[type="submit"] {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--cream);
  font-weight: 500;
  cursor: pointer;
}

/* --- Liste d'articles : pagination, absence de résultat ------------------------------------------ */
.pagination { margin-top: clamp(40px, 5vw, 64px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px; height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-weight: 500;
  transition: background-color .3s, color .3s;
}
.pagination a.page-numbers:hover { background: var(--surface-2); }
.pagination .page-numbers.current { background: var(--fg); color: var(--bg); }
.pagination .page-numbers.dots { background: transparent; }
.pagination .page-numbers svg { width: 18px; height: 18px; }
.feed-section { padding-bottom: var(--section); }
.feed-empty { display: grid; justify-items: center; gap: 16px; }
.feed-empty__actions { display: flex; justify-content: center; }

/* --- Commentaires ---------------------------------------------------------------------------- */
.comments-wrap { max-width: calc(760px + 2 * var(--gutter)); padding-top: clamp(48px, 6vw, 72px); }
.comments { display: grid; gap: 24px; }
.comments__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.02em; }
.comments__list, .comments__list .children { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.comments__list .children { margin-top: 14px; padding-left: clamp(16px, 4vw, 40px); }
.comments__list .comment-body { padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); }
.comments__list .comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; font-size: .9rem; color: var(--fg-2); }
.comments__list .comment-author { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; }
.comments__list .comment-author img { border-radius: 50%; }
.comments__list .says { display: none; }
.comments__list .reply a { font-size: .9rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.comment-respond { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: var(--surface); }
.comment-reply-title { margin-bottom: 14px; font-size: 1.3rem; font-weight: 500; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 500; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comments__submit { padding: 0 24px !important; border: 0; cursor: pointer; }
.page-links { display: flex; gap: 8px; margin-top: 2em; }

/* --- Mentions légales : identité de l'éditeur en image ------------------------------------------------ */
.mentions-image { margin: 1em 0 1.4em; }
.mentions-image img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.a-completer { padding: 2px 8px; border-radius: 6px; background: rgb(216 152 57 / .25); color: var(--fg); font-size: .9em; }

