/* ==========================================================================
   Diego Lafortune — feuille de style
   Design « affiche » : en-tête et accueil bleu profond, grands titres Anton,
   dentelle des maisons gingerbread de Port-au-Prince sous l'accueil.
   Couleurs de la campagne : toutes dans le bloc :root ci-dessous.
   ========================================================================== */

:root {
  --royal: #003399;
  --royal-fonce: #001E66;
  --ciel: #3399FF;
  --ciel-pale: #EAF3FF;
  --orange: #FE8230;
  --orange-aplat: #EC6A10;   /* orange des titres, assez foncé pour du texte blanc */
  --orange-texte: #B4500C;   /* orange lisible sur fond blanc */
  --encre: #0A1F55;
  --gris: #51607F;
  --ligne: #D6E0F0;
  --papier: #F4F8FE;
  --blanc: #FFFFFF;

  --police: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --affiche: "Anton", "Impact", "Arial Narrow", sans-serif;
  --orange-chiffre: #E0620C; /* grands numéros d'axes sur fond blanc */

  --largeur: 1200px;
  --rayon: 10px;
  --entete: 72px;

  --dentelle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath fill-rule='evenodd' d='M0 0H40V6Q20 26 0 6Z M17 11a3 3 0 1 0 6 0a3 3 0 1 0-6 0Z M8.4 9a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0Z M28.4 9a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0Z M0 6h.6v14H0Z M39.4 6H40v14h-.6Z'/%3E%3C/svg%3E");
  --perles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Ccircle cx='0' cy='22' r='2.6'/%3E%3Ccircle cx='40' cy='22' r='2.6'/%3E%3C/svg%3E");
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23C7DCF7' stroke-width='1.4'%3E%3Cpath d='M0 20Q10 34 20 20T40 20'/%3E%3Ccircle cx='10' cy='24' r='2'/%3E%3Ccircle cx='30' cy='16' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font: 400 1rem/1.65 var(--police); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ciel); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blanc); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

.enveloppe {
  width: 100%; max-width: calc(var(--largeur) + 2 * max(20px, env(safe-area-inset-left, 0px)));
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.bloc { padding-block: clamp(56px, 8vw, 104px); position: relative; }

/* Titres en aplat de couleur, comme le logo */
.titre { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.bloc-titre {
  display: inline; padding: .08em .35em; color: var(--blanc);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.bloc-titre--bleu { background: var(--royal); }
.bloc-titre--orange { background: var(--orange-aplat); }
.intro { color: var(--gris); max-width: 62ch; margin: 0 0 1.75rem; font-size: 1.05rem; }
.lien-fort { font-weight: 700; color: inherit; }

/* ------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .7em 1.4em; border-radius: 6px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--petit { min-height: 42px; padding: .45em 1em; font-size: .92rem; }
.btn--large { width: 100%; }
.btn--orange { background: var(--orange); color: var(--encre); }
.btn--orange:hover { background: #FF9550; }
.btn--blanc { background: var(--blanc); color: var(--royal); border-color: var(--royal); }
.btn--blanc:hover { background: var(--ciel-pale); }
.btn--bleu { background: var(--royal); color: var(--blanc); }
.btn--bleu:hover { background: var(--royal-fonce); }
.btn--contour { background: var(--blanc); color: var(--royal); border-color: var(--ligne); }
.btn--contour:hover { border-color: var(--royal); }
.btn[disabled] { opacity: .6; cursor: progress; }

.annonce { background: var(--orange); color: var(--encre); text-align: center; padding: 8px 20px; font-weight: 700; font-size: .95rem; }

/* ------------------------------------------------------------ en-tête */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--blanc); z-index: 60; }
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--blanc);
  box-shadow: 0 1px 0 var(--ligne);
}
.entete__in {
  max-width: 1320px; margin-inline: auto; display: flex; align-items: center; gap: 20px; min-height: var(--entete);
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.marque { flex-shrink: 0; display: block; }
.marque img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--encre); text-decoration: none; padding: 8px 12px; font-weight: 600; font-size: .93rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--royal); }
.nav a[aria-current="true"] { border-bottom-color: var(--orange); }
.nav__adherer { display: none; }
.entete__outils { display: flex; align-items: center; gap: 10px; }
.langue { display: inline-flex; background: var(--ciel-pale); border-radius: 999px; padding: 3px; }
.langue button { background: none; border: 0; color: var(--royal); font-weight: 700; font-size: .8rem; min-width: 40px; min-height: 34px; border-radius: 999px; cursor: pointer; }
.langue button[aria-pressed="true"] { background: var(--royal); color: var(--blanc); }
.burger { display: none; width: 46px; height: 46px; background: var(--royal); border: 0; border-radius: 8px; cursor: pointer; padding: 12px 11px; }
.burger span:not(.sr) { display: block; height: 2.5px; background: var(--blanc); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .entete__cta { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--entete) + env(safe-area-inset-top, 0px)); bottom: 0;
    flex-direction: column; gap: 0; background: var(--blanc); overflow-y: auto;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    transform: translateX(100%); visibility: hidden; transition: transform .22s ease, visibility .22s;
  }
  .nav.ouvert { transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--ligne); }
  .nav a[aria-current="true"] { border-bottom-color: var(--ligne); color: var(--orange-texte); }
  .nav__adherer { display: flex; justify-content: center; margin-top: 20px; background: var(--orange); border-radius: 6px; border: 0 !important; }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 420px) { .marque img { height: 38px; } :root { --entete: 64px; } }

/* ------------------------------------------------------------ accueil */
.hero { background: var(--blanc); position: relative; overflow: hidden; }
.hero::before { /* motif de dentelle très léger en fond */
  content: ""; position: absolute; inset: 0; background: var(--motif) 0 0 / 40px 40px; opacity: .35;
  -webkit-mask: linear-gradient(90deg, transparent 35%, #000 100%); mask: linear-gradient(90deg, transparent 35%, #000 100%);
}
.hero__in {
  position: relative; max-width: calc(var(--largeur) + 40px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(36px, 6vw, 80px) max(20px, env(safe-area-inset-right, 0px)) clamp(44px, 6vw, 84px) max(20px, env(safe-area-inset-left, 0px));
}
.hero__candidat { margin: 0 0 1.1rem; font-weight: 700; color: var(--royal); font-size: 1rem; }
.slogan { margin: 0 0 1.4rem; display: grid; justify-items: start; font-size: clamp(2.5rem, 7.4vw, 5.6rem); line-height: 1.08; letter-spacing: -.015em; }
.slogan span { display: block; padding: .04em .28em .1em; color: var(--blanc); }
.slogan__l1 { background: var(--orange-aplat); font-weight: 500; margin-left: 1.6em; }
.slogan__l2 { background: var(--royal); font-weight: 800; }
.slogan__l3 { background: var(--orange-aplat); font-weight: 500; margin-left: 3.1em; }
.hero__devise { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; margin: 0 0 1.8rem; max-width: 34ch; line-height: 1.4; color: var(--encre); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__portrait { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
/* porte de maison gingerbread : arc bleu, dentelle orange au linteau */
.porte { position: relative; padding: 14px 14px 0; background: var(--royal); border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5.2; max-width: 100%; }
.porte__photo {
  position: relative; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden;
  background: var(--ciel-pale) var(--motif) 0 0 / 40px 40px;
}
.porte__photo::after { content: "DL"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 5rem; color: #C7DCF7; z-index: 0; }
.porte__photo img { color: transparent; position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@media (max-width: 820px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__portrait { justify-self: center; max-width: 230px; order: -1; }
  .slogan { font-size: clamp(2.5rem, 12vw, 4.4rem); }
  .hero__cta .btn { flex: 1 1 200px; }
  .slogan__l1 { margin-left: .9em; }
  .slogan__l3 { margin-left: 1.8em; }
}

@media (prefers-reduced-motion: no-preference) {
  .slogan span { animation: glisse .6s cubic-bezier(.2,.7,.2,1) both; }
  .slogan__l2 { animation-delay: .09s !important; }
  .slogan__l3 { animation-delay: .18s !important; }
}
@keyframes glisse { from { opacity: 0; transform: translateX(-24px); } }

/* ------------------------------------------------------------ dentelle (bord inférieur des bandeaux bleus) */
.dentelle { position: absolute; left: 0; right: 0; top: 100%; height: 30px; z-index: 3; pointer-events: none; }
.dentelle::before, .dentelle::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: var(--dentelle) 0 0 / 40px 30px repeat-x; mask: var(--dentelle) 0 0 / 40px 30px repeat-x;
  background: var(--royal);
}
.dentelle::after { -webkit-mask-image: var(--perles); mask-image: var(--perles); background: var(--orange); }

/* ------------------------------------------------------------ compte à rebours */
.compte { background: var(--orange); color: var(--encre); }
.compte__in { max-width: var(--largeur); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 12px 20px; }
.compte__titre { font-weight: 700; }
.compte__val b { font-size: 1.6rem; font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ bande défilante */
.bande { background: var(--royal); color: var(--blanc); padding-block: 26px 34px; position: relative; border-top: 5px solid var(--orange); }
.bande__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.bande__titre { margin: 0; font-size: 1.15rem; font-weight: 700; }
.bande .lien-fort { color: var(--blanc); font-size: .95rem; }
.defile {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
  -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.defile::-webkit-scrollbar { display: none; }
.defile:focus-visible { outline-offset: -3px; }
.defile__piste { display: flex; gap: 12px; width: max-content; padding-inline: 20px; }
.tuile {
  position: relative; flex: 0 0 auto; height: clamp(190px, 30vw, 320px); border-radius: var(--rayon); overflow: hidden;
  border: 0; padding: 0; background: var(--royal-fonce); cursor: pointer; color: var(--blanc); text-decoration: none; display: block;
}
.tuile img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.tuile--vide { width: clamp(150px, 22vw, 240px); background: #0B3FAA var(--motif) 0 0 / 40px 40px; }
.tuile--vide::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tuile__leg {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left;
  font-size: .85rem; font-weight: 600; line-height: 1.3; background: linear-gradient(transparent, rgba(0, 20, 70, .85));
}
.lecture { /* pastille de lecture vidéo */
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.3); z-index: 2;
}
.lecture::before { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--encre); }
.tuile--video.tuile--vide { width: clamp(220px, 34vw, 400px); }
.tuile--video.tuile--vide::before { display: none; }

/* ------------------------------------------------------------ programme de campagne (introduction) */
.vision { padding-top: clamp(80px, 10vw, 120px); }
.vision__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); }
.vision__devise { font-size: 1.25rem; font-weight: 700; color: var(--royal); max-width: 26ch; margin: 0 0 2rem; line-height: 1.4; }
.vision__texte p { margin: 0 0 1.1em; max-width: 64ch; }
.vision__lead { font-size: 1.15rem; line-height: 1.6; font-weight: 600; }
.vision__legal { border-left: 4px solid var(--orange); padding-left: 16px; color: var(--gris); font-style: italic; font-size: .95rem; font-weight: 500; }
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; max-width: 460px; }
.chiffres > div { background: var(--ciel-pale); padding: 14px 14px 12px; border-radius: var(--rayon); min-width: 0; }
.chiffres dt { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; color: var(--royal); line-height: 1; font-variant-numeric: tabular-nums; }
.chiffres dd { margin: 6px 0 0; color: var(--gris); font-weight: 600; font-size: .9rem; line-height: 1.3; }
@media (max-width: 820px) { .vision__grille { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ programme municipal */
.programme { background: var(--papier); }
.outils { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.recherche { position: relative; flex: 1 1 320px; max-width: 560px; min-width: 0; }
.recherche svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--gris); stroke-width: 2; stroke-linecap: round; }
.recherche input {
  width: 100%; min-height: 52px; padding: 10px 14px 10px 44px; border: 2px solid var(--ligne); border-radius: 8px;
  background: var(--blanc); font-size: 1rem;
}
.recherche input:focus { border-color: var(--royal); outline: none; }
.compteur { margin: 0; color: var(--gris); font-weight: 700; }
#prog-pdf { margin-left: auto; }

.axes { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -2px 14px; scrollbar-width: thin; }
.axe-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 44px;
  border: 1.5px solid var(--ligne); background: var(--blanc); border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: .9rem; color: var(--encre); white-space: nowrap;
}
.axe-btn svg { width: 18px; height: 18px; stroke: var(--royal); }
.axe-btn small { color: var(--gris); font-weight: 700; }
.axe-btn:hover { border-color: var(--royal); }
.axe-btn[aria-selected="true"] { background: var(--royal); border-color: var(--royal); color: var(--blanc); }
.axe-btn[aria-selected="true"] svg { stroke: var(--orange); }
.axe-btn[aria-selected="true"] small { color: #BFD4FF; }

.groupe { background: var(--blanc); border-radius: 12px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 0 var(--ligne), 0 0 0 1px var(--ligne); }
.groupe__tete { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 3px solid var(--royal); }
.groupe__num { background: var(--orange-aplat); color: var(--blanc); font-weight: 800; font-size: 1.3rem; padding: 6px 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.groupe__tete h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; font-weight: 800; }
.groupe__tete p { margin: 2px 0 0; color: var(--gris); font-size: .92rem; }
.groupe__ico svg { width: 32px; height: 32px; stroke: var(--royal); }

.ligne-tete, .eng { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1.25fr) 40px; gap: 20px; padding: 15px 22px; }
.ligne-tete { font-size: .8rem; font-weight: 700; color: var(--gris); padding-block: 9px; background: var(--papier); border-bottom: 1px solid var(--ligne); }
.eng { border-bottom: 1px solid var(--ligne); align-items: start; }
.eng:last-of-type { border-bottom: 0; }
.eng__attr { font-weight: 700; line-height: 1.35; }
.eng__action { margin: 0; }
.eng__ind { margin: 0; color: var(--royal); font-weight: 600; font-size: .93rem; line-height: 1.45; padding-left: 26px; position: relative; }
.eng__ind::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--orange); box-shadow: inset 0 0 0 3px var(--blanc), inset 0 0 0 8px var(--orange);
}
.eng__partage { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--gris); }
.eng__partage:hover { background: var(--ciel-pale); color: var(--royal); }
.eng__partage svg { width: 18px; height: 18px; stroke: currentColor; }
.eng.flash { background: #FFF1E5; transition: background 1.2s; }
.groupe__plus {
  display: block; width: 100%; padding: 15px 22px; border: 0; border-top: 1px solid var(--ligne); background: var(--papier);
  color: var(--royal); font-weight: 700; text-align: left; cursor: pointer; font-size: .95rem;
}
.groupe__plus::after { content: " +"; color: var(--orange-texte); }
.groupe__plus:hover { background: var(--ciel-pale); }
mark { background: #FFD9BC; color: inherit; padding: 0 2px; border-radius: 2px; }
.vide { background: var(--blanc); border: 2px dashed var(--ligne); border-radius: 12px; padding: 28px; text-align: center; color: var(--gris); }
.vide button { margin-top: 12px; }

@media (max-width: 820px) {
  .ligne-tete { display: none; }
  .eng { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px 10px; padding: 16px 16px 18px; }
  .eng__attr, .eng__action, .eng__ind { grid-column: 1; }
  .eng__partage { grid-column: 2; grid-row: 1; }
  .groupe__tete { padding: 14px 16px; gap: 12px; grid-template-columns: auto minmax(0, 1fr); }
  .groupe__ico { display: none; }
  #prog-pdf { margin-left: 0; width: 100%; }
}

/* ------------------------------------------------------------ photos et vidéos */
.medias__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.medias__tete .titre { margin: 0; }
.onglets { display: inline-flex; background: var(--ciel-pale); border-radius: 999px; padding: 4px; }
.onglets button { border: 0; background: none; padding: 9px 18px; min-height: 42px; border-radius: 999px; font-weight: 700; color: var(--royal); cursor: pointer; }
.onglets button[aria-selected="true"] { background: var(--royal); color: var(--blanc); }
.mosaique { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 10px; }
.mosaique .tuile { height: auto; width: 100%; }
.mosaique .tuile img { width: 100%; height: 100%; }
.mosaique .tuile--haute { grid-row: span 2; }
.mosaique .tuile--large { grid-column: span 2; }
.mosaique .tuile--vide { width: 100%; }
@media (max-width: 520px) {
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .mosaique .tuile--large { grid-column: span 2; }
}

/* ------------------------------------------------------------ actualités */
.actualites { background: var(--papier); }
.actu__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.actu { background: var(--blanc); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--ligne); }
.actu__img { aspect-ratio: 16 / 10; background: var(--ciel-pale) var(--motif) 0 0 / 40px 40px; max-width: 100%; }
.actu__img img { width: 100%; height: 100%; object-fit: cover; }
.actu__corps { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.actu__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .85rem; color: var(--gris); font-weight: 600; }
.actu__tag { background: var(--orange-aplat); color: var(--blanc); padding: 2px 8px; font-weight: 700; font-size: .78rem; }
.actu h3 { margin: 10px 0 8px; font-size: 1.15rem; line-height: 1.35; font-weight: 800; }
.actu p:not(.actu__meta) { margin: 0 0 14px; color: var(--gris); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lien-btn { background: none; border: 0; padding: 0; color: var(--royal); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; min-height: 32px; }

/* ------------------------------------------------------------ biographie */
.bio__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.bio__photo { margin: 0 18px 18px 0; position: relative; }
.bio__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--orange); }
.bio__photo img { color: transparent; position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ciel-pale) var(--motif) 0 0 / 40px 40px; }
.bio__texte p { max-width: 64ch; margin: 0 0 1.1em; }
@media (max-width: 820px) { .bio__grille { grid-template-columns: minmax(0, 1fr); } .bio__photo { max-width: 340px; } }

/* ------------------------------------------------------------ agir */
.agir { background: var(--royal); }
.agir__grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.adhesion, .don, .lettre { background: var(--blanc); border-radius: 12px; padding: clamp(20px, 3.4vw, 34px); min-width: 0; }
.agir__cote { display: grid; gap: 20px; min-width: 0; }
.agir h3 { font-size: 1.45rem; font-weight: 800; margin: 0 0 8px; color: var(--royal); }
.adhesion__intro { color: var(--gris); margin: 0 0 20px; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.adhesion label, .lettre label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; min-width: 0; }
.adhesion small { font-weight: 500; color: var(--gris); }
.requis > span:first-child::after { content: " *"; color: var(--orange-texte); }
.adhesion input:not([type=checkbox]), .adhesion select, .adhesion textarea, .lettre input {
  width: 100%; min-height: 50px; padding: 10px 12px; border: 1.5px solid #BFCBE2; border-radius: 8px; background: var(--blanc); font-weight: 500;
  font-size: 1rem; /* 16 px : évite le zoom automatique sur iPhone */
}
.adhesion textarea { min-height: 96px; resize: vertical; }
.adhesion input:focus, .adhesion select:focus, .adhesion textarea:focus, .lettre input:focus { border-color: var(--royal); outline: none; box-shadow: 0 0 0 3px rgba(51,153,255,.25); }
.adhesion [aria-invalid="true"] { border-color: #C62828; }
.contrib { border: 0; padding: 0; margin: 20px 0 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.contrib legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.adhesion .contrib label, .adhesion .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; min-height: 32px; }
.contrib input, .consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--royal); flex-shrink: 0; }
.plein { margin-bottom: 14px; }
.consent { margin: 4px 0 20px; font-size: .9rem; color: var(--gris); }
.pot { position: absolute !important; left: -9999px !important; }
.retour { margin: 14px 0 0; font-weight: 600; }
.retour:empty { display: none; }
.retour.ok { color: #1B6E3D; }
.retour.err { color: #B3261E; }
@media (max-width: 960px) { .agir__grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .champs, .contrib { grid-template-columns: minmax(0, 1fr); } }

.don > p { margin: 0 0 6px; color: var(--gris); }
.don__groupe { margin: 16px 0 0; }
.don__groupe h4 { margin: 0 0 4px; font-size: .95rem; color: var(--orange-texte); }
.don__ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.don__ligne span { color: var(--gris); font-size: .88rem; }
.don__valeur { grid-column: 1; font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.don__copier { grid-column: 2; grid-row: 1 / span 2; background: var(--ciel-pale); color: var(--royal); border: 0; border-radius: 6px; padding: 8px 14px; font-weight: 700; cursor: pointer; min-height: 44px; }
.don__copier:hover { background: var(--royal); color: var(--blanc); }
.don__garantie { margin: 16px 0 0; padding: 12px 14px; background: var(--ciel-pale); color: var(--royal); border-radius: 8px; font-size: .92rem; font-weight: 600; }
.lettre p { margin: 0 0 14px; color: var(--gris); }
.lettre__ligne { display: flex; gap: 10px; flex-wrap: wrap; }
.lettre__ligne input { flex: 1 1 200px; }
.lettre__ligne .btn { flex: 1 0 auto; }

/* ------------------------------------------------------------ pied de page */
.pied { background: var(--royal-fonce); color: #C9D6F5; }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-top: 72px; padding-bottom: 36px; }
.pied__logo { width: 190px; height: auto; margin-bottom: 14px; }
.pied__devise { margin: 0 0 20px; max-width: 34ch; }
.pied__titre { font-size: 1rem; color: var(--orange); margin: 0 0 12px; font-weight: 800; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: 0 0 10px; }
.pied a { color: #E4ECFF; text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.contact svg { width: 18px; height: 18px; stroke: var(--orange); flex-shrink: 0; margin-top: 4px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 8px; }
.reseaux a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.reseaux a:hover { background: var(--orange); }
.reseaux svg { width: 20px; height: 20px; fill: var(--blanc); }
.pied__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #9DB0DB; }
@media (max-width: 820px) { .pied__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ------------------------------------------------------------ éléments flottants et fenêtres */
.wa {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #1FA855; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.wa svg { width: 30px; height: 30px; fill: var(--blanc); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--encre); color: var(--blanc); padding: 12px 18px; border-radius: 8px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; max-width: calc(100% - 32px); }
.toast.vu { opacity: 1; transform: translate(-50%, 0); }

.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100%; margin: 0; }
.visionneuse::backdrop { background: rgba(0, 12, 40, .94); }
.visionneuse[open] { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; }
.visionneuse figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 56px 0 24px; min-width: 0; }
.visionneuse img { max-height: 78vh; max-width: 100%; border-radius: 6px; }
.visionneuse figcaption { color: var(--blanc); font-weight: 600; text-align: center; padding-inline: 8px; }
.vis__vide { height: 50vh; width: min(80vw, 420px); cursor: default; }
.video-cadre { width: min(960px, 100%); aspect-ratio: 16 / 9; max-width: 100%; background: #000; border-radius: 8px; overflow: hidden; }
.video-cadre iframe { width: 100%; height: 100%; border: 0; display: block; }
.vis__nav, .vis__fermer, .lecteur__fermer { background: rgba(255,255,255,.14); color: var(--blanc); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; justify-self: center; }
.vis__fermer { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); z-index: 2; }
@media (max-width: 600px) {
  .visionneuse[open] { grid-template-columns: minmax(0, 1fr); }
  .vis__nav { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 2; }
  .vis__nav--g { left: 25%; } .vis__nav--d { right: 25%; }
  .visionneuse figure { padding: 64px 8px 90px; }
}

.lecteur { border: 0; border-radius: 12px; padding: 0; width: min(760px, 100% - 24px); max-height: 90vh; }
.lecteur::backdrop { background: rgba(0, 12, 40, .7); }
.lecteur__fermer { position: sticky; top: 12px; float: right; margin: 12px; background: var(--royal); }
.lecteur article { padding: 28px clamp(18px, 5vw, 44px) 36px; }
.lecteur h2 { font-size: 1.6rem; line-height: 1.25; font-weight: 800; margin: 8px 0 16px; color: var(--royal); }
.lecteur img { border-radius: 8px; margin: 0 0 20px; width: 100%; }
.lecteur p { max-width: 66ch; }

/* icônes trait */
.ico { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ impression du programme */
@media print {
  body.impr-programme > *:not(main), body.impr-programme main > *:not(#programme),
  body.impr-programme .outils, body.impr-programme .axes, body.impr-programme .eng__partage, body.impr-programme .groupe__plus { display: none !important; }
  body.impr-programme .programme { background: none; padding: 0; }
  body.impr-programme .eng { break-inside: avoid; grid-template-columns: 1fr 1.7fr 1.25fr; }
  body.impr-programme .ligne-tete { display: grid; grid-template-columns: 1fr 1.7fr 1.25fr; }
  body.impr-programme .bloc-titre { color: #000; background: none; padding: 0; }
}

/* ==========================================================================
   DESIGN 1 (affiche bleu profond) — appliqué par-dessus les composants
   ========================================================================== */
body { line-height: 1.65; font-size: 1.0625rem; }
body::before { background: var(--royal); }

/* en-tête bleu, liseré orange */
.entete { background: var(--royal); box-shadow: none; border-bottom: 3px solid var(--orange); }
.marque img { height: 44px; }
.nav a { color: #DCE6FF; border-radius: 4px; border-bottom: 0; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--blanc); background: rgba(255,255,255,.1); }
.langue { background: none; border: 1.5px solid rgba(255,255,255,.4); }
.langue button { color: #DCE6FF; }
.langue button[aria-pressed="true"] { background: var(--blanc); color: var(--royal); }
.burger { background: transparent; }
@media (max-width: 1080px) {
  .nav { background: var(--royal); border-top: 3px solid var(--orange); }
  .nav a { color: var(--blanc); border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; }
  .nav a[aria-current="true"] { color: var(--orange); background: none; border-bottom-color: rgba(255,255,255,.14); }
  .nav__adherer { color: var(--encre) !important; }
}

/* titres d'affiche */
.titre { font: 400 clamp(2.1rem, 4.6vw, 3.4rem)/1.02 var(--affiche); letter-spacing: .005em; color: var(--royal); max-width: 22ch; margin-bottom: .5em; }
.bloc-titre, .bloc-titre--bleu, .bloc-titre--orange { background: none; color: inherit; padding: 0; }
.titre--clair { color: var(--blanc); }

/* accueil : fond bleu profond, slogan blanc géant, photo sous une arche */
.hero { background: var(--royal); color: var(--blanc); overflow: visible; z-index: 2; }
.hero::before { display: none; }
.hero__in { align-items: end; padding-bottom: 0; }
.hero__candidat { color: #BFD4FF; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hero__candidat::before { content: ""; width: 28px; height: 4px; background: var(--orange); border-radius: 2px; flex-shrink: 0; }
.slogan { display: block; font: 400 clamp(3.2rem, 9.4vw, 7.6rem)/.9 var(--affiche); letter-spacing: -.005em; margin: 0 0 .3em; }
.slogan span, .slogan__l1, .slogan__l2, .slogan__l3 { display: block; background: none; padding: 0; margin: 0; font-weight: 400; color: var(--blanc); animation: none; }
.hero__devise { color: var(--blanc); font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 30ch; line-height: 1.35; }
.hero__cta { padding-bottom: clamp(40px, 6vw, 84px); }
.hero .btn--blanc { border-color: var(--blanc); color: var(--royal); }
.hero__portrait { align-self: end; max-width: 440px; }
.porte { padding: 0; background: none; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; box-shadow: 0 0 0 8px var(--royal), 0 0 0 10px rgba(255,255,255,.55); overflow: hidden; }
.porte__photo { border-radius: 999px 999px 0 0; background: #0B42B8; }
.porte__photo::after { font: 400 7rem/1 var(--affiche); color: rgba(255,255,255,.18); }
@media (max-width: 820px) {
  .hero__portrait { max-width: 300px; width: 72%; }
  .slogan { font-size: clamp(3rem, 15vw, 5rem); }
  .hero__cta { padding-bottom: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__texte > * { animation: monte .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__texte > :nth-child(2) { animation-delay: .08s; }
  .hero__texte > :nth-child(3) { animation-delay: .16s; }
  .hero__texte > :nth-child(4) { animation-delay: .24s; }
  .porte { animation: apparait 1s .1s ease-out both; }
}
@keyframes monte { from { opacity: 0; transform: translateY(18px); } }
@keyframes apparait { from { opacity: 0; } }

/* dentelle sous l'accueil */
.hero > .dentelle::before { background: var(--royal); }

/* bande défilante sur fond clair, sous la dentelle */
.bande { background: var(--papier); color: var(--encre); border-top: 0; padding-block: 58px 36px; z-index: 1; }
.bande__titre { font: 400 clamp(1.6rem, 3.4vw, 2.2rem)/1.05 var(--affiche); color: var(--royal); }
.bande .lien-fort { color: var(--royal); }
.tuile__leg { background: linear-gradient(transparent, rgba(0, 20, 70, .85)); color: var(--blanc); }

/* chiffres : filet, gros numéros, séparateurs */
.vision__devise { font-weight: 600; }
.chiffres { gap: 0; border-top: 2px solid var(--royal); max-width: 480px; margin-top: 8px; }
.chiffres > div { background: none; border-radius: 0; padding: 18px 16px 0 0; }
.chiffres > div + div { padding-left: 16px; border-left: 1px solid var(--ligne); }
.chiffres dt { font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--affiche); color: var(--royal); }
.vision__lead { color: var(--royal); }

/* programme : numéros d'axe en grand */
.groupe { border-radius: 10px; box-shadow: none; border: 1px solid var(--ligne); }
.groupe__tete { border-bottom: 2px solid var(--royal); }
.groupe__num { background: none; color: var(--orange-chiffre); font: 400 2.6rem/1 var(--affiche); padding: 0; min-width: 1.6em; }
.groupe__tete h3 { font-size: 1.25rem; font-weight: 700; color: var(--royal); }

/* photos et vidéos, actualités */
.actu { border-radius: 10px; }
.actu h3 { color: var(--royal); font-weight: 700; }

/* biographie : photo simple, collante sur ordinateur */
.bio__photo { margin: 0; position: sticky; top: calc(var(--entete) + 24px); }
.bio__photo::before { display: none; }
.bio__photo img { border-radius: 10px; }
@media (max-width: 820px) { .bio__photo { position: static; } }

/* agir */
.agir h3 { font: 400 1.9rem/1.05 var(--affiche); color: var(--royal); }
.agir > .dentelle::before { background: var(--royal); }

/* pied de page */
.pied__titre { color: var(--blanc); font-weight: 700; }
.lecteur h2 { font: 400 2.1rem/1.08 var(--affiche); }

/* Grande photo : la tête monte jusqu'au haut du slogan, l'arche reste derrière */
.hero__portrait { --arche-haut: 30%; align-self: stretch; max-width: 520px; display: flex; }
.porte { flex: 1; height: auto; aspect-ratio: auto; min-height: 420px; overflow: visible; box-shadow: none; background: none; border-radius: 0; padding: 0; }
.porte__photo { position: relative; height: 100%; overflow: visible; background: none; border-radius: 0; }
.porte__photo::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; top: var(--arche-haut); z-index: 0;
  border-radius: 999px 999px 0 0; background: #0B42B8;
  box-shadow: 0 0 0 8px var(--royal), 0 0 0 10px rgba(255,255,255,.55);
}
.porte__photo::after { display: none; }
.porte__photo img {
  position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom center;
}
@media (max-width: 820px) {
  .hero__portrait { align-self: center; width: 80%; max-width: 340px; }
  .porte { flex: none; width: 100%; aspect-ratio: 4 / 5; min-height: 0; }
}

.hero__in { padding-top: clamp(64px, 9vw, 120px); }

/* texte d'introduction de l'accueil (Parametres > hero_texte) */
.hero__chapo { color: #C9D6F5; max-width: 52ch; margin: -.6rem 0 1.8rem; }
.hero__chapo:empty { display: none; }

/* ------------------------------------------------------------ dessin des monuments en fond
   images/monuments.svg : Marché en Fer, Nèg Mawon, cathédrale, Tour 2004, la mer.
   Changez « opacity » pour le rendre plus ou moins visible (0.3 = 30 %). */
.hero::before, .agir::before {
  content: ""; display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../../images/monuments.svg") center bottom / max(1200px, 100%) auto no-repeat;
  -webkit-mask: none; mask: none;
}
.hero::before { opacity: .3; }
.agir::before { opacity: .15; }
.hero__in, .agir > .enveloppe { position: relative; z-index: 1; }

/* ------------------------------------------------------------ transparence */
.transparence { background: var(--blanc); }
.tr-totaux { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 28px; border-top: 2px solid var(--royal); }
.tr-totaux > div { padding: 18px 16px 0 0; min-width: 0; }
.tr-totaux > div + div { padding-left: 16px; border-left: 1px solid var(--ligne); }
.tr-totaux dt { font: 400 clamp(1.8rem, 4vw, 3rem)/1.05 var(--affiche); color: var(--royal); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-totaux dt small { font: 700 .8rem var(--police); margin-left: 6px; color: var(--gris); letter-spacing: .02em; }
.tr-totaux > div:nth-child(2) dt { color: var(--orange-chiffre); }
.tr-totaux dd { margin: 6px 0 0; color: var(--gris); font-weight: 600; }
.tr-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.tr-carte { border: 1px solid var(--ligne); border-radius: 10px; padding: clamp(16px, 3vw, 26px); margin-bottom: 20px; min-width: 0; background: var(--blanc); }
.tr-grille .tr-carte { margin-bottom: 0; }
.tr-carte h3 { margin: 0 0 16px; font-size: 1.15rem; color: var(--royal); }
.tr-donut { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 20px; align-items: center; }
.tr-donut svg { width: 100%; max-width: 200px; height: auto; display: block; }
.tr-donut circle { transition: opacity .15s; }
.tr-donut__total { font: 400 22px var(--affiche); fill: var(--royal); }
.tr-donut__unite { font: 700 11px var(--police); fill: var(--gris); }
.tr-legende { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.tr-legende li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.tr-legende__val { font-weight: 700; color: var(--royal); font-variant-numeric: tabular-nums; }
.pastille { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-top: 3px; flex-shrink: 0; }
.tr-table th .pastille { margin: 0 8px -2px 0; }
.tr-cle { display: flex; gap: 18px; margin: -6px 0 10px; font-size: .9rem; font-weight: 600; color: var(--gris); }
.tr-cle i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tr-barres { overflow-x: auto; }
.tr-barres svg { width: 100%; min-width: 420px; height: auto; display: block; }
.tr-grille-ligne { stroke: var(--ligne); stroke-width: 1; }
.tr-axe { font: 600 11px var(--police); fill: var(--gris); }
.tr-table-wrap { overflow-x: auto; }
.tr-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; min-width: 520px; }
.tr-table th, .tr-table td { padding: 10px 12px; border-bottom: 1px solid var(--ligne); text-align: right; }
.tr-table th[scope="row"], .tr-table thead th:first-child { text-align: left; font-weight: 600; }
.tr-table thead th { font-size: .82rem; color: var(--gris); font-weight: 700; }
.tr-table tfoot th, .tr-table tfoot td { font-weight: 800; color: var(--royal); border-bottom: 0; border-top: 2px solid var(--royal); }
.tr-liste { list-style: none; margin: 0; padding: 0; }
.tr-liste li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.tr-liste li:last-child { border-bottom: 0; }
.tr-liste li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr-liste span { color: var(--gris); font-size: .88rem; }
.tr-liste a { font-size: .9rem; font-weight: 700; }
.tr-montant { font-weight: 800; color: var(--encre) !important; font-size: 1rem !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-note { color: var(--gris); font-size: .88rem; margin: 0; }
@media (max-width: 900px) { .tr-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .tr-totaux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-totaux > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tr-totaux > div { padding-bottom: 14px; }
  .tr-donut { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .tr-legende { width: 100%; }
}
