/* Polices auto-hébergées (Google Fonts, sous-ensembles latin + latin-ext). */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/barlow-semi-condensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/barlow-semi-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/barlow-semi-condensed-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/barlow-semi-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/barlow-semi-condensed-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/barlow-semi-condensed-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =========================================================
   La méthadone, pas si anodin ! · Design tokens
   Source unique : copiée telle quelle dans le thème WP
   (cms/wp-content/themes/methadone/assets/css/tokens.css)
   ========================================================= */
:root {
  /* --- Couleurs de marque (relevées sur l'affiche A3 et le flyer) --- */
  --encre: #1d1d1b;         /* titres "LA MÉTHADONE," */
  --encre-2: #45474d;       /* texte courant secondaire */
  --rouge: #d7141a;         /* "PAS SI ANODIN !", slogan */
  --rouge-fonce: #a90f14;
  --accent: #2b2b2a;        /* couleur d'accent : noir des brochures (choisi le 29/10, remplace le bleu marine #2f3f93) */
  --jaune: #ffe000;         /* encadré ATTENTION */
  --ardoise: #2b2b2a;       /* panneau texturé "fond noir rétro" */
  --ciel: #eaf6fd;          /* dégradé "Fond bleu ciel" */
  --ciel-2: #d4ecfa;
  --molecule: #bfe3f3;      /* traits de la molécule / hexagones */
  --blanc: #ffffff;
  --trait: #d9e4ec;

  /* --- Code couleur des dosages : réservé à l'info dosage, jamais décoratif --- */
  --dose-1: #6ab023;        /* jusqu'à 29 mg : vert & blanc */
  --dose-2: #1c4e9e;        /* 30 à 59 mg : bleu & blanc */
  --dose-3: #d7141a;        /* 60 à 89 mg : rouge & blanc */
  --dose-4: #d7141a;        /* 90 mg et + : entièrement rouge */

  /* --- Typographie --- */
  --f-titre: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --f-texte: "Source Sans 3", "Myriad Pro", system-ui, sans-serif;

  /* Échelle modulaire ~1.25, fluide */
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem);
  --t-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-3xl: clamp(2.75rem, 1.6rem + 5vw, 5.75rem);

  /* --- Espacements & mise en page --- */
  --s-1: .5rem;
  --s-2: .75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --largeur: 1200px;
  --gouttiere: clamp(16px, 4vw, 32px);

  /* Rayons : la forme gélule (pilule) pour ce qui est cliquable, angles doux sinon */
  --r-pilule: 999px;
  --r-bloc: 14px;
  --r-carte: 22px;
  --ombre: 0 18px 50px -18px color-mix(in srgb, var(--accent) 28%, transparent);
  --halo-focus: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); /* focus discret des champs */
  --ombre-carte: 0 12px 32px -20px rgba(29, 29, 27, .25);
  /* Carte interactive (choix de Jonas le 29/10) : pharmacies en vert, services en bleu */
  --pin-pharmacie: var(--dose-1);
  --pin-service: var(--dose-2);
  /* Grands aplats (appels, objectif principal, fenêtre naloxone) */
  --aplat: var(--accent);
  --aplat-texte: #fff;
  --aplat-texte-2: #c8cad0;
}
/* =========================================================
   La méthadone, pas si anodin ! · Styles du site
   Organisation (= découpage du futur thème WP) :
   1. Base        2. Composants        3. En-tête / pied
   4. Sections d'accueil (1 bloc = 1 template-part)
   ========================================================= */

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 77px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-texte);
  font-size: var(--t-m);
  line-height: 1.55;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Images en sizes="auto" : taille réservée avant chargement (règle de WordPress, sortie du <head>). */
img:is([sizes=auto i],[sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
ul, ol { padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-3); top: -100px; z-index: 100; background: var(--encre); color: #fff; padding: var(--s-2) var(--s-3); border-radius: var(--r-bloc); }
.skip:focus { top: var(--s-3); }

.wrap { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.section { padding-block: var(--s-7); position: relative; }

/* Titres : capitales grasses condensées, comme les intertitres du dossier Méthacolor */
.titre {
  font-family: var(--f-titre);
  font-weight: 800;
  font-size: var(--t-2xl);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.chapo { font-size: var(--t-l); color: var(--encre-2); max-width: 58ch; margin-top: var(--s-3); text-wrap: pretty; }
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-6); }
.lien { font-weight: 700; color: var(--accent); }
.lien:hover { color: var(--rouge); }

/* ---------- 2. Composants ---------- */

/* Boutons : forme de gélule */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.4em;
  font-family: var(--f-texte); font-weight: 700; font-size: var(--t-m); line-height: 1.1;
  border-radius: var(--r-pilule); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--rouge { background: var(--rouge); color: #fff; }
.btn--rouge:hover { background: var(--rouge-fonce); }
.btn--contour { border-color: var(--encre); background: #fff; color: var(--encre); }
.btn--contour:hover { background: var(--encre); color: #fff; }
.btn--contour-clair { border-color: #fff; color: #fff; background: transparent; }
.btn--contour-clair:hover { background: #fff; color: var(--ardoise); }
.btn--blanc { background: #fff; color: var(--rouge); }
.btn--blanc:hover { background: var(--encre); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Logo : image extraite de l'affiche (assets/img/logo), mêmes proportions partout */
.logo { display: inline-block; line-height: 0; }
.logo__img { width: 158px; height: auto; }
.logo--pied .logo__img { width: 220px; }

/* Hexagone (cadre des gélules sur l'affiche) */
.hexa {
  aspect-ratio: 1 / .9;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: #fff;
  display: grid; place-items: center;
}

/* Molécule de méthadone en arrière-plan */
.molecule { position: absolute; pointer-events: none; color: var(--molecule); fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: square; }

/* ---------- 3. En-tête & pied de page ---------- */
.urgence-bar { background: var(--encre); color: #fff; font-size: var(--t-s); }
.urgence-bar .wrap { display: flex; justify-content: space-between; gap: var(--s-3); padding-block: .45rem; }
.urgence-bar a { text-decoration: none; font-weight: 600; }
.urgence-bar strong { background: var(--rouge); border-radius: 5px; padding: 0 .45em; margin-left: .3em; font-weight: 800; }
.urgence-bar__org { color: #c8cad0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.site-header .wrap { white-space: nowrap; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); min-height: 76px; }
.site-header .logo { justify-self: start; }
.nav-principale ul { display: flex; gap: 2px; }
.nav-principale a { display: block; padding: .5rem .7rem; font-weight: 600; text-decoration: none; border-radius: var(--r-pilule); }
.nav-principale a:hover { background: var(--ciel); }
.nav-principale a[aria-current="page"] { color: var(--rouge); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--s-1); }
.icone-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--trait); border-radius: 50%; background: #fff; cursor: pointer; }
.icone-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.nav-principale .nav-cta { display: none; } /* affiché dans le menu mobile, quand .header-cta est masqué */

.site-footer { background: var(--encre); color: #c8cad0; padding-block: var(--s-6) var(--s-4); font-size: var(--t-s); }
.footer-cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--s-5); margin-bottom: var(--s-6); }
.footer-cols h2 { font-family: var(--f-titre); font-size: var(--t-m); font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s-2); }
.footer-cols li + li { margin-top: .4rem; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-about { margin-top: var(--s-3); max-width: 36ch; }
.footer-bas { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: var(--s-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); font-size: var(--t-xs); color: #9a9da6; }
.footer-bas { align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.footer-bas a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.footer-bas a:hover { color: #fff; }

/* Bouton « Référencer ma structure » du pied de page */
.footer-referencer { margin-top: var(--s-3); min-height: 44px; font-size: var(--t-s); padding-inline: 1.1em; }

/* ---------- 4. Sections de l'accueil ---------- */

/* 4.1 Hero */
.hero { position: relative; background: radial-gradient(ellipse 80% 70% at 60% 45%, #fff 0, #f5fafe 45%, var(--ciel-2) 100%); overflow: hidden; padding-block: var(--s-7) calc(var(--s-7) + var(--s-6)); }
.hero .molecule { height: 108%; width: auto; right: -120px; top: -40px; opacity: .8; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 94%); mask-image: linear-gradient(to bottom, #000 55%, transparent 94%); }
.hero__grille { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-6) var(--s-7); align-items: center; }
.hero__titre { margin: 0; line-height: 0; }
.hero__logo { width: min(100%, 600px); height: auto; }
.hero__slogan { margin-top: var(--s-4); font-size: var(--t-l); color: var(--rouge); line-height: 1.4; }
.hero__slogan strong { font-weight: 800; white-space: nowrap; }
.hero__slogan span { display: block; text-wrap: balance; }
.hero__texte { margin: var(--s-3) 0 var(--s-5); line-height: 1.6; color: var(--encre-2); max-width: 50ch; }

.gelule-hero { position: relative; justify-self: center; width: min(100%, 520px); }
.gelule-hero svg { width: 100%; overflow: visible; }
.gelule-hero__moitie { transition: fill .7s ease; }
.gelule-hero__dose {
  position: absolute; left: 50%; top: 47%; translate: -50% -50%;
  font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1;
  color: var(--encre); white-space: nowrap;
  text-shadow: 0 2px 0 #fff, 0 0 18px #fff, 0 0 4px #fff;
  transition: opacity .3s ease;
}
.gelule-hero__legende { text-align: center; font-size: var(--t-s); color: var(--encre-2); margin-top: var(--s-1); height: 3.1em; text-wrap: balance; transition: opacity .3s ease; }
.is-fondu { opacity: 0; }
.gelule-hero__pause { position: absolute; right: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--trait); border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--encre-2); cursor: pointer; }
.gelule-hero__pause:hover { color: var(--encre); border-color: var(--encre-2); }
.gelule-hero__pause svg { width: 14px; height: 14px; }
.gelule-hero__pause .ico-play, .gelule-hero__pause[aria-pressed="true"] .ico-pause { display: none; }
.gelule-hero__pause[aria-pressed="true"] .ico-play { display: block; }

/* 4.2 Code couleur */
.code { background: linear-gradient(var(--ciel-2), #fff 220px); padding-top: 0; }
/* Raccord avec la section du dessus : son fond rejoint le bleu de départ du code couleur, sans ligne visible. */
.hero:has(+ .code) { background: linear-gradient(transparent 55%, var(--ciel-2)), radial-gradient(ellipse 80% 70% at 60% 45%, #fff 0, #f5fafe 45%, var(--ciel-2) 100%); }
.page-tete:has(+ .code) { background: linear-gradient(transparent 55%, var(--ciel-2)), radial-gradient(ellipse 80% 90% at 70% 40%, #fff 0, #f5fafe 45%, var(--ciel-2) 100%); }
.code__panneau { background: #fff; border-radius: var(--r-carte); box-shadow: var(--ombre); padding: var(--s-6) var(--s-5) var(--s-5); margin-top: calc(-1 * var(--s-6)); position: relative; }
.code__intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-6); align-items: end; margin-bottom: var(--s-5); }
.code__intro p { color: var(--encre-2); }
.doses { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.dose { text-align: center; }
.dose .hexa { width: 78%; margin: 0 auto var(--s-3); background: var(--ciel); }
.dose .hexa img { width: 78%; }
.dose__mg { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); line-height: 1; }
.dose__couleur { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: var(--t-s); margin: .5rem 0 .4rem; }
.dose__couleur i { width: 1.6em; height: .7em; border-radius: var(--r-pilule); background: linear-gradient(90deg, #e6e7ea 50%, var(--c) 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dose--4 .dose__couleur i { background: var(--c); }
.dose p { font-size: var(--t-s); color: var(--encre-2); max-width: 26ch; margin-inline: auto; }

.code__palier { text-align: center; margin-top: var(--s-4); font-weight: 600; color: var(--accent); }

.non-coloree { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-bloc); background: var(--ciel); }
.non-coloree__mg { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-2xl); line-height: 1; display: flex; align-items: center; gap: .3em; }
.non-coloree__mg span { display: inline-block; width: .55em; height: 1.2em; border-radius: var(--r-pilule); background: linear-gradient(90deg, #fff, #d5d7db); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transform: rotate(12deg); }
.non-coloree h3 { font-size: var(--t-l); line-height: 1.25; }
.non-coloree p { color: var(--encre-2); font-size: var(--t-s); }
.non-coloree p span { display: block; text-wrap: balance; }

/* 4.3 Accès par public : 3 cartes */
.publics { padding-top: var(--s-5); }
.publics__titre { margin-bottom: var(--s-5); }
.publics__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-3); }
.publics__liste li { display: flex; }
.public {
  flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-2);
  padding: var(--s-5) var(--s-4) var(--s-4);
  background: var(--ciel); border-radius: var(--r-bloc);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.public__icone { width: 64px; background: #fff; color: var(--accent); margin-bottom: var(--s-1); transition: background-color .2s, color .2s; }
.public__icone svg { width: 28px; height: 28px; }
.public__corps { display: flex; flex-direction: column; gap: var(--s-2); }
.public__titre { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; }
.public__texte { color: var(--encre-2); transition: color .2s; }
.public__fleche { justify-self: end; margin-top: var(--s-2); width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--encre); display: grid; place-items: center; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.public__fleche svg { width: 20px; height: 20px; }
.public:hover { background: var(--aplat); color: var(--aplat-texte); }
.public:hover .public__texte { color: var(--aplat-texte-2); }
.public:hover .public__fleche { background: var(--rouge); border-color: var(--rouge); color: #fff; transform: translateX(4px); }

/* 4.4 Pourquoi : panneau ardoise texturé, bords déchirés */
.pourquoi { padding-block: var(--s-6); }
/* Section bleu clair suivie du bloc sombre : une seule zone bleue, marges égales en haut et en bas (48 px) */
.section--ciel:has(+ .pourquoi) { padding-block: var(--s-6); }
.section--ciel + .pourquoi { padding-top: 0; background: var(--ciel); }
/* Code couleur suivi d'une section bleu clair : moins de vide sous le panneau */
.code:has(+ .section--ciel) { padding-bottom: var(--s-6); }
.ardoise {
  position: relative; color: #fff;
  background: var(--ardoise) url("../img/fonds/ardoise.png") center / 100% 100% no-repeat;
  padding: var(--s-7) clamp(1.5rem, 5vw, 4.5rem);
  overflow: hidden;
}
.ardoise .molecule { color: #fff; opacity: .05; width: 700px; left: -160px; bottom: -260px; }
.ardoise > :not(.molecule) { position: relative; }
.ardoise .titre { color: #fff; }
.ardoise .chapo { color: #d9dade; }
.attention { margin-top: var(--s-5); border: 4px solid var(--jaune); padding: var(--s-4); text-align: center; color: var(--jaune); }
.attention__titre { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-2xl); letter-spacing: .08em; line-height: 1; }
.attention p { font-weight: 700; text-transform: uppercase; margin-top: var(--s-2); line-height: 1.35; }
.pourquoi__haut { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-5) var(--s-6); align-items: center; }
.pourquoi__haut .attention { margin-top: 0; }

/* Parcours constat → réponse → effets */
.parcours { list-style: none; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid rgba(255, 255, 255, .18); }
.parcours__etape { position: relative; counter-increment: p; }
.parcours__visuel { height: 60px; display: flex; align-items: center; gap: 6px; margin-bottom: var(--s-3); }
.parcours h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; }
.parcours h3 span { display: block; font-family: var(--f-texte); font-size: var(--t-s); font-weight: 700; text-transform: none; color: var(--jaune); margin-bottom: .35rem; }
.parcours h3 span::before { content: counter(p) ". "; }
.parcours p { color: #d9dade; margin-top: var(--s-2); max-width: 34ch; }
.pourquoi__lien { margin-top: var(--s-6); text-align: center; }

/* Mini-gélules : blanches par défaut, colorées = info dosage */
.pilule { --c: #eef0f3; display: block; width: 48px; height: 19px; border-radius: var(--r-pilule); background: linear-gradient(90deg, #eef0f3 50%, var(--c) 50%); box-shadow: inset 0 -4px 5px rgba(0, 0, 0, .18), inset 0 3px 3px rgba(255, 255, 255, .6); }
.pilule.p-a { rotate: -24deg; } .pilule.p-b { rotate: 18deg; } .pilule.p-c { rotate: -8deg; } .pilule.p-d { rotate: 30deg; }
.pilule.d1 { --c: var(--dose-1); } .pilule.d2 { --c: var(--dose-2); } .pilule.d3 { --c: var(--dose-3); }
.pilule.d4 { --c: var(--dose-4); background: var(--dose-4); }
.bulle { position: relative; display: inline-block; font-family: var(--f-titre); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--ardoise); background: var(--jaune); padding: .35em .6em; border-radius: 12px; }
.bulle::after { content: ""; position: absolute; left: 16px; bottom: -9px; border: 9px solid transparent; border-top-color: var(--jaune); border-bottom: 0; }

/* 4.5 Aperçu carte : recherche + aperçu statique */
.carte .chapo { text-wrap: balance; }
.carte { background: linear-gradient(#fff, var(--ciel) 55%, #fff); }
.carte__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-6); align-items: stretch; }
.recherche-carte { margin-top: var(--s-5); }
.recherche-carte label { display: block; font-weight: 700; margin-bottom: var(--s-1); }
.recherche-carte__champ { display: flex; gap: var(--s-1); padding: 6px; background: #fff; border: 2px solid var(--encre); border-radius: var(--r-pilule); }
.recherche-carte__champ:focus-within { box-shadow: var(--halo-focus); }
.recherche-carte input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; padding: 0 var(--s-3); outline: none; }
.carte__sous-titre { font-weight: 700; margin: var(--s-4) 0 var(--s-1); }
.provinces-liens { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.provinces-liens a { display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: .35em .6em .35em 1em; border-radius: var(--r-pilule); background: #fff; border: 1px solid var(--trait); font-weight: 600; text-decoration: none; }
.provinces-liens a span { font-size: var(--t-xs); font-weight: 700; background: var(--ciel); color: var(--accent); border-radius: var(--r-pilule); padding: .1em .55em; }
.provinces-liens a:hover { border-color: var(--encre); }
.carte__chiffres { margin-top: var(--s-5); color: var(--encre-2); }
.carte__chiffres b { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); color: var(--accent); }
.carte__referencer { margin-top: var(--s-2); color: var(--encre-2); }

.carte__apercu { position: relative; display: block; align-self: center; aspect-ratio: 1056 / 910; border-radius: var(--r-carte); overflow: hidden; box-shadow: var(--ombre); background: var(--ciel); isolation: isolate; }
.carte__fond { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) contrast(.85) brightness(1.08); }
.carte__apercu::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--ciel-2); mix-blend-mode: multiply; opacity: .55; }
.carte__points { position: absolute; inset: 0; z-index: 2; }
.carte__points .pin { position: absolute; width: 18px; height: 18px; translate: -50% -100%; }
.carte__credit { position: absolute; z-index: 3; right: 0; bottom: 0; font-size: 10px; padding: 1px 6px; background: rgba(255, 255, 255, .8); color: var(--encre-2); }
.carte__legende { position: absolute; z-index: 3; bottom: var(--s-3); left: var(--s-3); right: var(--s-6); display: flex; width: fit-content; flex-wrap: wrap; gap: var(--s-1) var(--s-3); padding: .45rem .9rem; background: rgba(255, 255, 255, .92); border-radius: var(--r-pilule); font-size: var(--t-s); font-weight: 600; }
.carte__legende span { display: inline-flex; align-items: center; gap: .45em; }
.carte__ouvrir { position: absolute; z-index: 3; right: var(--s-3); top: var(--s-3); box-shadow: 0 8px 24px rgba(29, 29, 27, .18); }
.carte__apercu:hover .carte__ouvrir { background: var(--encre); color: #fff; }
.pin { display: inline-block; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; rotate: -45deg; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.pin--pharmacie { background: var(--pin-pharmacie); }
.pin--service { background: var(--pin-service); }

/* 4.6 Témoignages : intro + défilement horizontal de vidéos verticales */
.temoignages { overflow: hidden; }
.temoignages__grille { display: grid; grid-template-columns: minmax(260px, .8fr) 2fr; gap: var(--s-6); align-items: start; }
.temoignages__intro .chapo { margin-bottom: var(--s-5); }
.temoignages__nav { display: flex; gap: var(--s-1); margin-bottom: var(--s-4); }
.temoignages__nav .icone-btn { width: 48px; height: 48px; border: 2px solid var(--encre); }
.temoignages__nav .icone-btn:hover { background: var(--encre); color: #fff; }
.temoignages__nav .icone-btn:disabled { opacity: .3; cursor: default; background: #fff; color: var(--encre); }
.temoignages__liste {
  display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: var(--s-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-right: calc(-1 * var(--gouttiere)); padding-right: var(--gouttiere);
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
          mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.temoignages__liste::-webkit-scrollbar { display: none; }
.temoin { scroll-snap-align: start; }
.temoin__video {
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r-bloc); overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #fff, var(--ciel-2));
}
.temoin__vignette { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.temoin__video:hover .temoin__vignette { transform: scale(1.03); }
.temoin__silhouette { position: absolute; left: 50%; bottom: 0; width: 70%; translate: -50% 0; fill: var(--molecule); }
.temoin__play { position: absolute; left: var(--s-3); bottom: var(--s-3); width: 56px; height: 56px; border-radius: 50%; background: var(--rouge); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(215, 20, 26, .35); transition: transform .2s; }
.temoin__play svg { width: 22px; height: 22px; margin-left: 3px; }
.temoin__video:hover .temoin__play { transform: scale(1.08); }

/* Vidéo ouverte dans une fenêtre du site (site.js, liens [data-video]) */
.video-popup { margin: auto; padding: 0; border: 0; background: none; max-width: none; max-height: none; overflow: visible; }
.video-popup::backdrop { background: rgba(29, 29, 27, .82); }
.video-popup__cadre { border-radius: var(--r-bloc); overflow: hidden; background: #000; box-shadow: 0 18px 40px rgba(29, 29, 27, .4); }
.video-popup__cadre--vertical { aspect-ratio: 9 / 16; height: min(86vh, (100vw - 2 * var(--s-3)) * 16 / 9); height: min(86dvh, (100vw - 2 * var(--s-3)) * 16 / 9); }
.video-popup__cadre--horizontal { aspect-ratio: 16 / 9; width: min(1100px, 100vw - 2 * var(--s-3), 80vh * 16 / 9); }
.video-popup iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-popup__fermer { position: fixed; z-index: 1; top: var(--s-3); right: var(--s-3); }
@media (prefers-reduced-motion: reduce) { .temoin__vignette { transition: none; } }

.temoin blockquote { margin-top: var(--s-3); font-family: var(--f-titre); font-weight: 700; font-size: var(--t-l); line-height: 1.15; }
.temoin__qui { margin-top: var(--s-2); font-size: var(--t-s); color: var(--encre-2); }
.temoin__qui b { display: block; color: var(--encre); }

/* 4.7 Outils */
.outils { background: var(--ciel); }
.outils__liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.outil { display: flex; flex-direction: column; }
.outil__apercu { aspect-ratio: 4 / 3; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding: var(--s-4) var(--s-4) 0; background: #fff; border-radius: var(--r-bloc) var(--r-bloc) 0 0; }
.outil__apercu img { width: 62%; box-shadow: 0 10px 30px rgba(29, 29, 27, .16); }
.outil__corps { background: #fff; border-radius: 0 0 var(--r-bloc) var(--r-bloc); padding: var(--s-4); flex: 1; display: flex; flex-direction: column; gap: var(--s-1); border-top: 1px solid var(--trait); }
.outil__format { font-size: var(--t-xs); color: var(--encre-2); font-weight: 600; }
.outil h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1; }
.outil p { color: var(--encre-2); font-size: var(--t-s); flex: 1; }
.outil .btns { margin-top: var(--s-2); }
.outil .btn { min-height: 42px; font-size: var(--t-s); padding-inline: 1.1em; }

/* 4.8 Messages clés */
.messages__grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-5) var(--s-6); }
.message blockquote { font-family: var(--f-titre); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.message--grand blockquote { font-size: var(--t-2xl); color: var(--rouge); }
.message--grand blockquote::before { content: "« "; }
.message--grand blockquote::after { content: " »"; }
.message--grand { grid-row: span 2; padding-right: var(--s-4); border-right: 1px solid var(--trait); }
.message:not(.message--grand) blockquote { font-size: var(--t-xl); }
.message p { color: var(--encre-2); margin-top: var(--s-3); max-width: 52ch; }
.message cite { display: block; margin-top: var(--s-2); font-style: normal; font-size: var(--t-s); font-weight: 600; color: var(--accent); }

/* 4.9 Bandeau urgence : appel à gauche, gestes numérotés à droite */
.urgence { background: var(--rouge); color: #fff; padding-block: var(--s-6); }
.urgence__grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s-5) var(--s-7); align-items: center; }
.urgence__num { font-family: var(--f-titre); font-weight: 800; font-size: clamp(5rem, 3rem + 8vw, 9.5rem); line-height: .8; letter-spacing: -.01em; }
.urgence h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; margin: var(--s-3) 0 var(--s-4); max-width: 18ch; }
.urgence__btn { font-size: var(--t-l); min-height: 56px; padding-inline: 1.6em; }
.urgence__btn:hover { background: var(--encre); color: #fff; }
.gestes { list-style: none; counter-reset: g; }
.gestes li { counter-increment: g; display: grid; grid-template-columns: 2.4rem 1fr; align-items: center; gap: var(--s-2); padding: var(--s-2) 0; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.gestes li::before { content: counter(g); width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff; color: var(--rouge); display: grid; place-items: center; font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem; }
.urgence__note { margin-top: var(--s-3); font-size: var(--t-s); opacity: .92; }

/* 4.10 Partenaires (2 niveaux : à l'initiative, avec le soutien de) */
/* Une ligne par niveau : intitulé à gauche, jusqu'à 6 tuiles de logos de taille égale à droite */
.partenaires .titre { margin-bottom: var(--s-5); }
.partenaires__niveaux { border-top: 2px solid var(--encre); }
.niveau { display: grid; grid-template-columns: 220px 1fr; gap: var(--s-3) var(--s-5); align-items: center; padding-block: var(--s-4); border-bottom: 1px solid var(--trait); }
.niveau h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; }
.niveau ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-2); }
.niveau li > :is(a, span) { display: grid; place-items: center; height: 104px; padding: var(--s-2) var(--s-3); border-radius: var(--r-bloc); background: #fff; border: 1px solid var(--trait); transition: border-color .15s, box-shadow .15s; }
.niveau li > a:hover { border-color: var(--encre-2); box-shadow: 0 6px 18px rgba(29, 29, 27, .08); }
.niveau img { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; }
.partenaires__rejoindre { margin-top: var(--s-4); color: var(--encre-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .nav-principale { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--trait); padding: var(--s-2) var(--gouttiere) var(--s-4); }
  .nav-principale.is-open { display: block; }
  .nav-principale ul { flex-direction: column; }
  .nav-principale a { padding: .8rem .5rem; border-radius: 8px; font-size: var(--t-l); }
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .burger { display: grid; }
  .niveau { grid-template-columns: 160px 1fr; }
  .niveau li > :is(a, span) { padding: var(--s-2); }
}
@media (max-width: 960px) {
  .hero__grille, .carte__grille, .pourquoi__haut, .code__intro, .messages__grille { grid-template-columns: 1fr; }
  .parcours { grid-template-columns: 1fr; gap: var(--s-5); }
    .parcours p { max-width: none; }
  .gelule-hero { order: -1; width: min(100%, 380px); }
  .hero .molecule { height: auto; width: 520px; right: -200px; }
  .doses { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-5); }
  .publics__liste, .outils__liste { grid-template-columns: 1fr; }
  .outil { display: grid; grid-template-columns: 160px 1fr; }
  .outil__apercu { aspect-ratio: auto; border-radius: var(--r-bloc) 0 0 var(--r-bloc); padding: var(--s-3) var(--s-3) 0; }
  .outil__apercu img { width: 100%; }
  .outil__corps { border-radius: 0 var(--r-bloc) var(--r-bloc) 0; border-top: 0; border-left: 1px solid var(--trait); }
  .temoignages__grille { grid-template-columns: 1fr; gap: var(--s-5); }
  .temoignages__nav { display: none; }
  .message--grand { grid-row: auto; border-right: 0; padding-right: 0; padding-bottom: var(--s-4); border-bottom: 1px solid var(--trait); }
  .urgence__grille { grid-template-columns: 1fr; gap: var(--s-3); }
  .niveau { grid-template-columns: 1fr; }
  .niveau ul { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .niveau li > :is(a, span) { height: 88px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .non-coloree { grid-template-columns: auto 1fr; }
  .non-coloree .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .urgence-bar__org { display: none; }
  .header-cta { display: none; }
  .nav-principale .nav-cta { display: flex; margin-top: var(--s-2); padding: .7em 1.4em; border-radius: var(--r-pilule); font-size: var(--t-m); font-weight: 700; }
  .nav-principale .nav-cta:hover { background: var(--rouge-fonce); }
  .hero { padding-top: var(--s-5); }
  .code__panneau { padding: var(--s-5) var(--s-3) var(--s-4); border-radius: 16px; }
  .doses { grid-template-columns: 1fr; row-gap: var(--s-3); }
  .dose { display: grid; grid-template-columns: 96px 1fr; column-gap: var(--s-3); text-align: left; align-items: center; }
  .dose .hexa { width: 96px; margin: 0; grid-row: span 4; }
  .dose p { margin: 0; }
  .non-coloree { grid-template-columns: 1fr; padding: var(--s-4) var(--s-3); }
  .outil { grid-template-columns: 1fr; }
  .outil__apercu { aspect-ratio: 16 / 9; border-radius: var(--r-bloc) var(--r-bloc) 0 0; }
  .outil__apercu img { width: 55%; }
  .outil__corps { border-radius: 0 0 var(--r-bloc) var(--r-bloc); border-left: 0; border-top: 1px solid var(--trait); }
  .temoignages__liste { grid-auto-columns: 62%; }
  .ardoise { padding: var(--s-6) var(--s-4); }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   5. Pages intérieures
   (gabarits : le-projet, usagers, pharmacies, professionnels,
   carte, outils, temoignages, faq, contact)
   ========================================================= */

/* 5.1 En-tête de page : fil d'Ariane + titre + chapô (+ visuel) */
.page-tete { position: relative; overflow: hidden; background: radial-gradient(ellipse 80% 90% at 70% 40%, #fff 0, #f5fafe 45%, var(--ciel-2) 100%); padding-block: var(--s-5) var(--s-7); }
.page-tete .molecule {
  /* Hauteur calée sur la section, fondu vers le bas et vers la droite : la molécule n'est jamais coupée net. */
  height: 118%; width: auto; top: -9%; right: max(-60px, calc((100vw - var(--largeur)) / 2 - 220px)); opacity: .6;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%), linear-gradient(to right, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 92%), linear-gradient(to right, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.page-tete__grille { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: var(--s-5) var(--s-7); align-items: center; }
.page-tete--simple .page-tete__grille { grid-template-columns: 1fr; }
.page-tete--simple .page-tete__titre { font-size: var(--t-2xl); }
.page-tete--simple { padding-bottom: var(--s-6); }
.page-tete__titre { font-size: var(--t-3xl); line-height: .95; margin-top: var(--s-2); }
.page-tete .chapo { max-width: 60ch; }
.page-tete .btns { margin-top: var(--s-5); }
.page-tete__visuel { justify-self: center; width: min(100%, 360px); }
.page-tete__slogan { margin-top: var(--s-3); font-size: var(--t-l); font-weight: 700; color: var(--rouge); max-width: 40ch; text-wrap: balance; }
.surtitre { font-weight: 800; font-size: var(--t-s); letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }

.ariane { margin-bottom: var(--s-5); font-size: var(--t-s); color: var(--encre-2); }
.ariane ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3em; }
.ariane li + li::before { content: "›"; margin-right: .3em; color: var(--encre-2); }
.ariane a { font-weight: 600; text-decoration: none; }
.ariane a:hover { text-decoration: underline; }
.ariane [aria-current] { color: var(--encre); font-weight: 700; }

/* 5.2 Typographie de contenu */
.titre--m { font-size: var(--t-xl); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-3); }
.prose > .titre + * { margin-top: var(--s-4); }
.prose p { color: var(--encre-2); }
.prose strong { color: var(--encre); }
/* Texte saisi dans l'éditeur (bloc « Texte », pages sans blocs) : titres, listes et liens sans classe */
.prose h2:not([class]) { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.prose > h2:not([class]):not(:first-child) { margin-top: var(--s-6); }
.prose h3:not([class]) { font-weight: 800; font-size: var(--t-l); line-height: 1.25; }
.prose > h3:not([class]) { margin-top: var(--s-4); }
.prose > h2:not([class]) + *, .prose > h3:not([class]) + * { margin-top: var(--s-2); }
.prose ul:not([class]) { list-style: disc; padding-left: 1.2em; display: grid; gap: var(--s-1); color: var(--encre-2); }
.prose :is(p, li) a:not([class]) { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.prose :is(p, li) a:not([class]):hover { color: var(--rouge); }
.prose__note { margin-top: var(--s-6); font-size: var(--t-s); }
/* Colonne de lecture centrée et un peu plus large (bloc « Texte », pages sans blocs) */
.prose--centre { max-width: 95ch; margin-inline: auto; }

.section--ciel { background: var(--ciel); }
.section--serree { padding-block: var(--s-6); }
/* Section blanche qui suit une autre section blanche : filet de séparation au lieu de deux marges qui s'additionnent */
.section--suite { padding-top: 0; }
.section--suite > .wrap { border-top: 1px solid var(--trait); padding-top: var(--s-6); }
.phrase-cle { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); line-height: 1.1; text-transform: uppercase; color: var(--rouge); text-wrap: balance; }

/* Contenu pas encore fourni : bien visible dans la maquette, à retirer à l'intégration */
.a-fournir { display: block; border: 2px dashed #e0b400; background: #fffbe0; color: #6b5800; border-radius: 10px; padding: var(--s-2) var(--s-3); font-size: var(--t-s); font-weight: 600; }
.a-fournir::before { content: "À fournir · "; font-weight: 800; }

.demo { display: flex; gap: var(--s-1); align-items: center; font-size: var(--t-xs); font-weight: 700; color: #6b5800; background: #fff3a6; border-radius: var(--r-pilule); padding: .3em .9em; width: fit-content; }

/* 5.3 Cartes numérotées (constats, objectifs, bénéfices) */
.cartes { display: grid; grid-template-columns: repeat(var(--col, 3), 1fr); gap: var(--s-3); counter-reset: c; list-style: none; padding: 0; }
.carte-info { counter-increment: c; position: relative; background: #fff; border-radius: var(--r-bloc); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.section:not(.section--ciel) .carte-info { background: var(--ciel); }

.carte-info h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; }
.carte-info p { color: var(--encre-2); font-size: var(--t-s); }
.carte-info .lien { margin-top: auto; padding-top: var(--s-2); }

/* Icône hexagonale réutilisable (risques, rôles) */
.ico-hexa { width: 56px; background: #fff; color: var(--accent); margin-bottom: var(--s-1); }
.section:not(.section--ciel) .ico-hexa { background: #fff; }
.ico-hexa svg { width: 26px; height: 26px; }
.carte-info .ico-hexa { background: #fff; }
.section--ciel .carte-info .ico-hexa { background: var(--ciel); }

/* 5.4 Rappel « La méthadone, c'est quoi ? » */
/* Fiche repère « La méthadone, c'est quoi ? » (bloc partagé : le projet, usagers)
   3 styles seulement : titre, texte courant (début en gras), message en rouge */
.rappel { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); align-items: start; padding: var(--s-5); border-radius: var(--r-carte); background: #fff; box-shadow: var(--ombre); border-top: 6px solid var(--accent); }
.rappel__icone { width: 56px; background: var(--ciel); color: var(--accent); font-family: var(--f-titre); font-weight: 800; font-size: 2rem; line-height: 1; }
.rappel h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; }
.rappel__points { list-style: none; padding: 0; display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.rappel__points li { position: relative; padding-left: var(--s-4); color: var(--encre-2); }
.rappel__points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rappel__points strong { color: var(--encre); }
.rappel__points, .rappel__message { max-width: 68ch; }
.rappel__message { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--trait); font-weight: 700; color: var(--rouge); }

/* 5.5 Frise chronologique */
/* Frise verticale : année | tracé | carte. L'étape en cours est marquée, le pointillé annonce la suite */
.evolution { display: grid; grid-template-columns: .75fr 1.25fr; gap: var(--s-5) var(--s-7); align-items: start; }
.evolution__intro { position: sticky; top: 120px; }
.evolution__intro .chapo { margin-top: var(--s-3); }
.evolution__intro .btn { margin-top: var(--s-4); }
.frise { list-style: none; padding: 0; display: grid; gap: var(--s-3); --point: 26px; --date: 110px; --ecart: var(--s-3); }
.frise li { position: relative; display: grid; grid-template-columns: var(--date) 1fr; column-gap: calc(var(--point) + 2 * var(--ecart)); align-items: start; }
.frise li::before { content: ""; position: absolute; z-index: 1; top: var(--s-4); left: calc(var(--date) + var(--ecart)); width: var(--point); height: var(--point); border-radius: 50%; background: #fff; border: 4px solid var(--encre); box-sizing: border-box; }
.frise li::after { content: ""; position: absolute; top: calc(var(--s-4) + var(--point) / 2); left: calc(var(--date) + var(--ecart) + var(--point) / 2 - 1.5px); width: 3px; height: calc(100% + var(--s-3)); background: var(--encre); }
.frise li:last-child::after { height: calc(100% - var(--s-4) - var(--point) / 2 + var(--s-4)); background: repeating-linear-gradient(180deg, var(--encre) 0 8px, transparent 8px 15px); }
.frise .frise__date { text-align: right; padding-top: calc(var(--s-4) - .15em); font-family: var(--f-titre); font-weight: 800; font-size: var(--t-2xl); line-height: .9; color: var(--accent); }
.frise .frise__date small { display: block; font-size: var(--t-xs); font-family: var(--f-texte); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); margin-top: .35rem; }
.frise__carte { background: #fff; border-radius: var(--r-bloc); padding: var(--s-3) var(--s-4); }
.frise h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; margin-bottom: var(--s-2); }
.frise p { font-size: var(--t-s); color: var(--encre-2); }
.frise .is-actuel::before { background: var(--rouge); border-color: var(--rouge); box-shadow: 0 0 0 6px rgba(215, 20, 26, .18); }
.frise .is-actuel .frise__carte { box-shadow: inset 0 0 0 2px var(--rouge); }
.frise .is-actuel .frise__date { color: var(--rouge); }
.frise__badge { display: inline-block; margin-left: var(--s-1); vertical-align: middle; font-family: var(--f-texte); font-size: var(--t-xs); font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--rouge); border-radius: var(--r-pilule); padding: .15em .7em; }

/* Objectifs : l'objectif principal mis en avant, les 4 autres en liste à icônes */
.objectifs { display: grid; grid-template-columns: .9fr 1.4fr; gap: var(--s-4); align-items: stretch; }
.objectif-principal { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-carte); background: var(--aplat); color: var(--aplat-texte); }
.objectif-principal .molecule { color: #fff; opacity: .08; width: 420px; right: -120px; bottom: -200px; }
.objectif-principal > :not(.molecule) { position: relative; }
.objectif-principal .surtitre { color: var(--jaune); }
.objectif-principal h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-2xl); text-transform: uppercase; line-height: .98; text-wrap: balance; }
.objectif-principal p { color: var(--aplat-texte-2); max-width: 40ch; }
.objectif-principal__pilules { display: flex; gap: 8px; margin-top: auto; padding-top: var(--s-4); }
.objectif-principal__pilules .pilule { width: 58px; height: 22px; }
.objectifs__liste { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.objectifs__liste li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; padding: var(--s-4); border-radius: var(--r-bloc); background: var(--ciel); }
.objectifs__liste .ico-hexa { margin: 0; background: #fff; }
.objectifs__liste h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; margin-bottom: var(--s-2); }
.objectifs__liste p { font-size: var(--t-s); color: var(--encre-2); }

/* 5.6 Bandeau d'appel à l'action */
.appel { display: grid; grid-template-columns: 1fr auto; gap: var(--s-4) var(--s-6); align-items: center; padding: var(--s-5); border-radius: var(--r-carte); background: var(--aplat); color: var(--aplat-texte); position: relative; overflow: hidden; }
.appel .molecule { color: #fff; opacity: .08; width: 360px; right: -60px; top: -140px; }
.appel > :not(.molecule) { position: relative; }
.appel h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; }
.appel p { color: var(--aplat-texte-2); margin-top: var(--s-3); max-width: 60ch; }
.appel .btn--contour { background: transparent; border-color: #fff; color: #fff; }
.appel .btn--contour:hover { background: #fff; color: var(--accent); }

.appel--clair { background: var(--ciel); color: var(--encre); }
.appel--clair p { color: var(--encre-2); }
.appel--clair .btn--contour { border-color: var(--encre); color: var(--encre); }
.appel--clair .btn--contour:hover { background: var(--encre); color: #fff; }

/* 5.7 Mise en page à sommaire (pharmacies) */
.avec-sommaire { display: grid; grid-template-columns: 250px 1fr; gap: var(--s-6); align-items: start; }
.sommaire { position: sticky; top: 100px; }
.sommaire p { font-weight: 800; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); margin-bottom: var(--s-2); }
.sommaire ol { list-style: none; padding: 0; border-left: 2px solid var(--trait); }
.sommaire ol a { display: block; padding: .45rem 0 .45rem var(--s-3); margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; font-weight: 600; color: var(--encre-2); line-height: 1.3; }
.sommaire ol a:hover { color: var(--encre); }
.sommaire ol a.is-actif { color: var(--rouge); border-left-color: var(--rouge); }
.sommaire .btn { margin-top: var(--s-4); width: 100%; }
/* Ancres : html réserve la hauteur de l'en-tête collant ; chaque cible garde ~24px d'air sous l'en-tête.
   Les sections à marge intérieure compensent cette marge pour que leur titre arrive au même endroit. */
.bloc-ancre { scroll-margin-top: var(--s-4); }
.section.bloc-ancre { scroll-margin-top: calc(var(--s-4) - var(--s-7)); }
.section--suite.bloc-ancre { scroll-margin-top: calc(var(--s-4) - var(--s-6)); }
.code[id] { scroll-margin-top: var(--s-4); }
.bloc-ancre + .bloc-ancre { margin-top: var(--s-7); }
/* Blocs séparés par un filet (pharmacies : vos questions / brochures / rejoindre) */
.blocs-separes > .bloc-ancre + .bloc-ancre { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--trait); }
.bloc-ancre > .titre { margin-bottom: var(--s-4); }

.en-bref { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-4); }
.en-bref__texte { background: var(--ciel); border-radius: var(--r-bloc); padding: var(--s-5); }
.en-bref__texte h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; margin-bottom: var(--s-2); }
.en-bref__texte p { color: var(--encre-2); }
.en-bref__texte p + p { margin-top: var(--s-2); }
.dossier { display: grid; grid-template-columns: 130px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-4); border-radius: var(--r-bloc); background: #fff; box-shadow: var(--ombre); border: 1px solid var(--trait); }
.dossier__couverture img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 24px rgba(29, 29, 27, .18); }
.dossier__corps { display: flex; flex-direction: column; }
.dossier__format { font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-1); }
.dossier h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.05; }
.dossier__corps > p:not(.dossier__format) { font-size: var(--t-s); color: var(--encre-2); margin-top: var(--s-2); }
.dossier .btns { margin-top: var(--s-3); }
.dossier .btn { min-height: 42px; font-size: var(--t-s); }

/* Enjeux : liste à filet */
.enjeux { list-style: none; padding: 0; }
.enjeux li { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-2) var(--s-5); padding-block: var(--s-4); border-top: 2px solid var(--encre); }
.enjeux li:last-child { border-bottom: 1px solid var(--trait); }
.enjeux h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; }
.enjeux p { color: var(--encre-2); }
.enjeux p + p { margin-top: var(--s-2); }

/* 5.9 Accordéons (objections, FAQ) : <details> natif */
.accordeons { border-top: 2px solid var(--encre); }
.acc { border-bottom: 1px solid var(--trait); }
.acc summary { list-style: none; display: grid; grid-template-columns: 1fr 36px; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; cursor: pointer; font-weight: 700; font-size: var(--t-l); line-height: 1.3; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--encre); background: linear-gradient(var(--encre), var(--encre)) center / 14px 2px no-repeat, linear-gradient(var(--encre), var(--encre)) center / 2px 14px no-repeat; transition: transform .2s, background-color .2s; }
.acc[open] summary::after { transform: rotate(45deg); background-color: var(--ciel); }
.acc summary:hover { color: var(--accent); }
.acc__corps { padding: 0 var(--s-6) var(--s-4) 0; color: var(--encre-2); }
.acc__corps > * + * { margin-top: var(--s-2); }
.acc__corps .bon-a-savoir { padding: var(--s-2) var(--s-3); background: var(--ciel); border-radius: 10px; color: var(--encre); }

/* 5.10 Citations */
.citation-grande { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-5); align-items: center; }
.citation-grande .temoin__video { width: 200px; }
.citation-grande blockquote { font-family: var(--f-titre); font-weight: 700; font-size: var(--t-xl); line-height: 1.15; text-wrap: balance; }
.citation-grande blockquote::before { content: "« "; } .citation-grande blockquote::after { content: " »"; }
.citation-grande figcaption { margin-top: var(--s-3); color: #d9dade; }
.citation-grande figcaption b { display: block; color: #fff; }
.ardoise .citation-grande blockquote { color: #fff; }

.citations { columns: 3 280px; column-gap: var(--s-4); }
.citation { break-inside: avoid; margin-bottom: var(--s-4); padding: var(--s-4); background: #fff; border-radius: var(--r-bloc); border-top: 4px solid var(--accent); }
.section:not(.section--ciel) .citation { background: var(--ciel); }
.citation blockquote { font-family: var(--f-titre); font-weight: 700; font-size: var(--t-l); line-height: 1.2; }
.citation blockquote::before { content: "« "; } .citation blockquote::after { content: " »"; }
.citation figcaption { margin-top: var(--s-3); font-size: var(--t-s); color: var(--encre-2); }
.citation figcaption b { color: var(--encre); }

/* 5.11 Usagers : comparaison de doses (exemple de Sophie) */
.comparaison { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-3); align-items: center; text-align: center; padding: var(--s-5) var(--s-4); border-radius: var(--r-carte); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.comparaison__gelule .pilule { width: 120px; height: 46px; margin: 0 auto var(--s-3); rotate: -14deg; }
.comparaison__mg { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-2xl); line-height: 1; white-space: nowrap; }
.comparaison__qui { font-size: var(--t-s); color: #d9dade; margin-top: .3rem; }
.comparaison__fois { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-3xl); line-height: 1; color: var(--jaune); }
.comparaison__fois small { display: block; font-family: var(--f-texte); font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.partage__grille { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-7); align-items: center; }
.partage__grille .prose p { color: #d9dade; }
.partage__grille .prose strong { color: #fff; }
.partage__grille .phrase-cle { color: var(--jaune); }

.repere { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: center; margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border: 3px solid var(--encre); border-radius: var(--r-bloc); font-weight: 600; }
.repere svg { width: 34px; height: 34px; color: var(--rouge); }

/* Bandeau urgence long (page usagers) */
.urgence--long .urgence__grille { align-items: start; }
.urgence--long .gestes li { align-items: start; }
.urgence--long .gestes li::before { margin-top: .1rem; }
.urgence__plus { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.urgence__plus .btn--contour-clair:hover { color: var(--rouge); }
.antipoison { margin-top: var(--s-4); padding: var(--s-3); border-radius: var(--r-bloc); background: rgba(0, 0, 0, .16); font-size: var(--t-s); }
.antipoison a { font-weight: 800; white-space: nowrap; }

/* 5.12 Fenêtre Naloxone (<dialog> natif) */
.fenetre { margin: auto; overscroll-behavior: contain; width: min(100% - 2 * var(--gouttiere), 760px); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: var(--r-carte); box-shadow: 0 30px 80px rgba(29, 29, 27, .35); color: var(--encre); }
.fenetre::backdrop { background: rgba(29, 29, 27, .6); backdrop-filter: blur(3px); }
.fenetre__tete { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-5); background: var(--aplat); color: var(--aplat-texte); }
.fenetre__tete p { font-weight: 800; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; }
.fenetre__tete .icone-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.fenetre__corps { padding: var(--s-5); }
.fenetre__corps h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-2xl); text-transform: uppercase; line-height: 1; }
.fenetre__corps h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; margin-top: var(--s-5); }
.fenetre__corps p { color: var(--encre-2); margin-top: var(--s-2); }
.fenetre__corps .chapo { margin-top: var(--s-3); color: var(--encre); }
.defend { list-style: none; padding: 0; margin-top: var(--s-3); display: grid; gap: var(--s-1); }
.defend li { display: grid; grid-template-columns: 1.6rem 1fr; gap: var(--s-1); padding: var(--s-2) var(--s-3); background: var(--ciel); border-radius: 10px; }
.defend li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: .2rem; border-radius: 50%; background: var(--accent) no-repeat center / 60% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }
.fenetre__note { margin-top: var(--s-5); padding: var(--s-3); border-left: 4px solid var(--rouge); background: #fff5f5; font-weight: 600; color: var(--encre) !important; }

/* 5.13 Filtres (pastilles) + recherche */
.filtres { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.filtre { min-height: 42px; padding: .4em 1.1em; border: 2px solid var(--encre); border-radius: var(--r-pilule); background: #fff; font-weight: 700; cursor: pointer; }
.filtre:hover { background: var(--ciel); }
.filtre[aria-pressed="true"] { background: var(--encre); color: #fff; }
.filtre .nb { font-size: var(--t-xs); margin-left: .3em; opacity: .7; }
.barre-outils { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.champ-recherche { display: flex; align-items: center; gap: var(--s-1); min-height: 52px; padding: 0 var(--s-3); background: #fff; border: 2px solid var(--encre); border-radius: var(--r-pilule); flex: 1; max-width: 520px; }
.champ-recherche:focus-within { box-shadow: var(--halo-focus); }
.champ-recherche svg { width: 20px; height: 20px; flex: none; color: var(--encre-2); }
.champ-recherche input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; outline: none; }
.vide { padding: var(--s-5); text-align: center; color: var(--encre-2); background: var(--ciel); border-radius: var(--r-bloc); }

/* 5.14 Outils : grille complète */
.outils__liste--page { grid-template-columns: repeat(3, 1fr); }
.outil__apercu--vide { align-items: center; background: repeating-linear-gradient(-45deg, #fff, #fff 10px, var(--ciel) 10px, var(--ciel) 20px); }
.outil__apercu--vide span { font-weight: 800; color: var(--encre-2); text-align: center; padding: var(--s-3); background: #fff; border-radius: 10px; }
.outil__public { display: inline-block; font-size: var(--t-xs); font-weight: 700; color: var(--accent); background: var(--ciel); border-radius: var(--r-pilule); padding: .05em .6em; width: fit-content; }
.section--ciel .outil__public { background: var(--ciel-2); }

/* 5.15 Témoignages : grille */
.temoins-grille { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4) var(--s-3); }
.temoin__video--bientot { background: repeating-linear-gradient(-45deg, var(--ciel), var(--ciel) 12px, #fff 12px, #fff 24px); display: grid; place-items: center; text-align: center; padding: var(--s-3); }
.temoin__video--bientot span { font-weight: 800; color: var(--encre-2); background: #fff; border-radius: 10px; padding: var(--s-2) var(--s-3); }

/* 5.16 Référent·es par province */
.referents { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.referent { padding: var(--s-4); border-radius: var(--r-bloc); background: #fff; border: 1px solid var(--trait); }
.referent__province { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1; display: flex; justify-content: space-between; gap: var(--s-2); }
.referent__nom { font-weight: 700; margin-top: var(--s-2); }
.referent p, .referent li { font-size: var(--t-s); color: var(--encre-2); }
.referent ul { margin-top: var(--s-1); }
.referent a { font-weight: 700; color: var(--accent); }
.referent--vide { background: transparent; border: 2px dashed var(--trait); }
.referent--vide p { margin-top: var(--s-2); }
.badge { font-family: var(--f-texte); font-size: var(--t-xs); font-weight: 700; text-transform: none; color: var(--accent); background: var(--ciel); border-radius: var(--r-pilule); padding: .2em .7em; align-self: center; white-space: nowrap; }

/* 5.17 Formulaires */
.formulaire { display: grid; gap: var(--s-4); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.champ { display: flex; flex-direction: column; gap: .35rem; }
.champ--large { grid-column: 1 / -1; }
.champ label, .groupe legend { font-weight: 700; }
.champ .aide, .groupe .aide { font-size: var(--t-s); color: var(--encre-2); font-weight: 400; }
.champ input:not([type="radio"]):not([type="checkbox"]), .champ select, .champ textarea { transition: border-color .15s, box-shadow .15s; font: inherit; color: var(--encre); width: 100%; min-height: 50px; padding: .6em .9em; border: 2px solid #b9c6d1; border-radius: 10px; background: #fff; }
.champ textarea { min-height: 140px; resize: vertical; }
/* Focus discret : bordure foncée + halo léger (remplace le contour épais de :focus-visible) */
/* Champ piège anti-robots : hors écran, ignoré des lecteurs d'écran (aria-hidden) */
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Listes déroulantes : flèche dessinée par le site, écartée du bord (celle du navigateur est collée à droite) */
.champ select, .carte-outils select { appearance: none; -webkit-appearance: none; padding-right: 2.8em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2b2a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 1.1em; cursor: pointer; }
.champ input:not([type="radio"]):not([type="checkbox"]):focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: var(--halo-focus); }
.champ-recherche input:focus-visible, .recherche-carte__champ input:focus-visible { outline: none; }
.obligatoire { color: var(--rouge); }
.groupe { border: 0; padding: var(--s-4); border-radius: var(--r-bloc); background: var(--ciel); display: grid; gap: var(--s-2); }
.groupe legend { float: left; width: 100%; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; margin-bottom: var(--s-1); }
.groupe legend + * { clear: both; }
.section--ciel .groupe { background: #fff; }
.coche { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-2); align-items: start; font-weight: 600; cursor: pointer; }
.coche input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--accent); }
.coche small { display: block; font-weight: 400; color: var(--encre-2); font-size: var(--t-s); }
.coches { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.coches .coche { grid-template-columns: 22px auto; }
.choix-type { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.choix-type label { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2); align-items: center; padding: var(--s-3); border: 2px solid var(--trait); border-radius: var(--r-bloc); background: #fff; cursor: pointer; font-weight: 700; }
.choix-type label:has(input:checked) { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.choix-type input { width: 20px; height: 20px; accent-color: var(--accent); }
.choix-type small { display: block; font-weight: 400; color: var(--encre-2); font-size: var(--t-s); }
.formulaire__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); }
.formulaire__bas p { font-size: var(--t-s); color: var(--encre-2); max-width: 52ch; }
.form-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-6); align-items: start; }

/* Encadré sombre latéral (page Référencer ma structure) */
.coordonnees { position: sticky; top: 100px; padding: var(--s-5); border-radius: var(--r-carte); background: var(--encre); color: #c8cad0; }
.coordonnees h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; color: #fff; line-height: 1.05; }
.coordonnees p { margin-top: var(--s-3); font-size: var(--t-s); }
.coordonnees dl { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.coordonnees dt { font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9a9da6; }
.coordonnees dd { margin: .35rem 0 0; color: #fff; font-weight: 600; }
.coordonnees dd a { color: #fff; }
.coordonnees__note { margin-top: var(--s-4) !important; padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-aside { position: sticky; top: 100px; gap: var(--s-4); }
.contact-aside__mail { margin-top: 0 !important; padding-top: var(--s-3); border-top: 1px solid var(--trait); font-size: var(--t-s); }

/* 5.18 Carte interactive (page) */
.carte-page { padding-block: var(--s-6) var(--s-7); }
.carte-outils { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: var(--s-2); align-items: end; margin-bottom: var(--s-3); }
.carte-outils .champ-recherche { max-width: none; }
.carte-outils select { font: inherit; font-weight: 600; min-height: 52px; padding: 0 2.8em 0 var(--s-3); border: 2px solid var(--encre); border-radius: var(--r-pilule); background-color: #fff; }
.carte-outils label { display: block; font-weight: 700; font-size: var(--t-s); margin-bottom: .35rem; }
.carte-resume { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); }
.carte-resume p { color: var(--encre-2); }
.carte-resume b { color: var(--encre); }
.carte-resume__note { font-size: var(--t-s); white-space: nowrap; }
.carte-vue { display: none; }
.carte-zone { display: grid; grid-template-columns: 400px 1fr; gap: var(--s-3); height: min(76vh, 760px); }
.liste-structures { list-style: none; padding: 0 var(--s-1) 0 0; overflow-y: auto; display: grid; align-content: start; gap: var(--s-2); }
.structure { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2); width: 100%; text-align: left; padding: var(--s-3); border: 2px solid var(--trait); border-radius: var(--r-bloc); background: #fff; cursor: pointer; }
.structure:hover { border-color: var(--encre-2); }
.structure[aria-pressed="true"] { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); background: var(--ciel); }
.structure .pin { margin-top: .3rem; }
.structure__type { font-size: var(--t-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.structure__nom { display: block; font-weight: 700; font-size: var(--t-m); line-height: 1.25; }
.structure__lieu { display: block; font-size: var(--t-s); color: var(--encre-2); }
/* Structure participante qui ne figure pas sur la carte : nom seul, ni fiche ni point (pas un bouton) */
.structure--hors-carte { cursor: default; border-style: dashed; background: transparent; }
.structure--hors-carte:hover { border-color: var(--trait); }
.structure--hors-carte .pin { opacity: .45; }
.structure__note { display: block; margin-top: .2rem; font-size: var(--t-xs); font-style: italic; color: var(--encre-2); }
.carte-plan { position: relative; border-radius: var(--r-carte); overflow: hidden; background: var(--ciel); box-shadow: var(--ombre); isolation: isolate; container-type: size; }
.carte-plan__toile { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max(100cqw, 100cqh * 1056 / 910); aspect-ratio: 1056 / 910; scale: var(--z, 1); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: scale .35s ease, transform-origin .35s ease; }
.carte-plan__fond { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) contrast(.85) brightness(1.08); }
.carte-plan::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--ciel-2); mix-blend-mode: multiply; opacity: .5; }
.carte-plan__points { position: absolute; inset: 0; z-index: 2; }
.carte-plan__points button { position: absolute; width: 30px; height: 30px; translate: -50% -100%; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; transform-origin: 50% 100%; scale: calc(1 / var(--z, 1)); transition: scale .35s ease; }
.carte-plan__points .pin { width: 20px; height: 20px; transition: transform .15s; }
.carte-plan__points button[aria-pressed="true"] .pin, .carte-plan__points button:hover .pin { transform: scale(1.45); }
.carte-plan__points button[aria-pressed="true"] { z-index: 2; }
.carte-plan__zoom { position: absolute; z-index: 3; right: var(--s-3); top: var(--s-3); display: grid; gap: 4px; }
.carte-plan__zoom .icone-btn { box-shadow: 0 4px 12px rgba(29, 29, 27, .15); }
.carte-plan .carte__legende { z-index: 3; }
.carte-plan .carte__credit { z-index: 3; }

.fiche { position: absolute; z-index: 4; left: var(--s-3); top: var(--s-3); width: min(360px, calc(100% - 2 * var(--s-3))); max-height: calc(100% - 2 * var(--s-3)); overflow-y: auto; padding: var(--s-4); border-radius: var(--r-bloc); background: #fff; box-shadow: 0 18px 40px rgba(29, 29, 27, .25); }
.fiche__fermer { position: absolute; right: var(--s-2); top: var(--s-2); width: 36px; height: 36px; }
.fiche__type { display: inline-flex; align-items: center; gap: .5em; font-size: var(--t-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.fiche__type .pin { width: 12px; height: 12px; }
.fiche h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; margin: .4rem var(--s-5) var(--s-2) 0; }
.fiche dl { display: grid; gap: var(--s-1); font-size: var(--t-s); }
.fiche dt { font-weight: 800; font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.fiche dd { margin: 0 0 .3rem; }
.fiche__desc { font-size: var(--t-s); color: var(--encre-2); margin-bottom: var(--s-2); }
.fiche .btns { margin-top: var(--s-3); }
.fiche .btn { min-height: 42px; font-size: var(--t-s); padding-inline: 1em; }
.fiche__badge { display: inline-block; margin-bottom: var(--s-2); font-size: var(--t-xs); font-weight: 700; color: var(--accent); background: var(--ciel); border-radius: var(--r-pilule); padding: .2em .7em; }

/* Bandeau sous la carte : renvoi vers « Référencer ma structure » */
.carte-referencer { margin-top: var(--s-5); }

/* Choix de l'app d'itinéraire (demande atelier) */
.itineraire { position: relative; }
.itineraire summary { list-style: none; }
.itineraire summary::-webkit-details-marker { display: none; }
.itineraire__menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; min-width: 200px; padding: var(--s-1); background: #fff; border-radius: var(--r-bloc); box-shadow: 0 14px 34px rgba(29, 29, 27, .22); display: grid; }
.itineraire__menu a { padding: .6rem .8rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.itineraire__menu a:hover { background: var(--ciel); }
/* Dans la fiche (qui défile, overflow) : menu déplié dans la fiche plutôt que flottant, sinon il est coupé */
.fiche .itineraire[open] { flex: 1 0 100%; }
.fiche .itineraire__menu { position: static; margin-top: var(--s-1); box-shadow: none; border: 1px solid var(--trait); }

/* 5.18b Utilitaires de mise en page */
.deux-col { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--s-5) var(--s-7); align-items: start; }
.deux-col--egal { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.duo .appel, .appel--colonne { grid-template-columns: 1fr; align-content: space-between; }
.appel__h3 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; }
.rappel--colonne { grid-template-columns: 1fr; position: sticky; top: 100px; padding: var(--s-4); }
.rappel--colonne .rappel__icone { width: 48px; font-size: 1.7rem; }
.rappel--colonne .rappel__points li { font-size: var(--t-s); }

.ardoise--citation { padding: var(--s-5); }
.citation-grande__suite { margin-top: var(--s-3); color: #d9dade; max-width: 60ch; }

.cartes.objectifs { --col: 3; }
.cartes.objectifs li:nth-child(4), .cartes.objectifs li:nth-child(5) { grid-column: span 1; }

/* Visuel « tas » de gélules (4 paliers) */
/* Nid d'abeille : la 2e colonne s'emboîte dans la 1re (décalage d'une demi-hauteur). Ombre sur le groupe, les hexagones étant découpés. */
.tas { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) 0; filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--accent) 10%, transparent)); }
.tas .hexa { width: 100%; background: #fff; translate: 9.5% calc(-25% - var(--s-2) / 4); }
.tas .hexa img { width: 72%; }
.tas .hexa:nth-child(even) { translate: -9.5% calc(25% + var(--s-2) / 4); }

/* 5.18c Uniformisation des blocs */
.entete-section .chapo { margin-top: var(--s-3); }
.entete-section:has(> .titre:only-child), .entete-section:has(> div:only-child) { margin-bottom: var(--s-5); }

.faq-groupe + .faq-groupe { margin-top: var(--s-6); }
/* Bout de phrase de Sophie (« indiqué plus haut sur cette page ») vrai seulement sur la page Usagers */
.faq-groupe .seulement-page-usagers { display: none; }
.faq-groupe > h2 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; margin-bottom: var(--s-3); color: var(--accent); }

/* 5.18d Modificateurs (remplacent les styles en ligne) */
.wrap--etroit { max-width: 900px; }
.section--haut-serre { padding-top: var(--s-4); }
.section--sans-haut { padding-top: 0; }
.titre--intercale { margin: var(--s-7) 0 var(--s-4); }
.barre-outils--pile { flex-direction: column; align-items: stretch; }
.champ-recherche--large { max-width: none; }
.appel--apres { margin-top: var(--s-6); }
.lien-suite { margin-top: var(--s-3); }
.temoin__qui--espace { margin-top: var(--s-3); }
.urgence__intro { font-weight: 700; margin-bottom: var(--s-2); }
.champ__label { font-weight: 700; }
.coordonnees__note a { color: #fff; font-weight: 700; }

/* 5.19 Illustrations (messages clés, risques) : gélule, silhouettes, verre, alerte, 112 */
.illus { height: 170px; display: flex; align-items: center; justify-content: center; gap: var(--s-2); border-radius: 16px; background: linear-gradient(160deg, var(--ciel) 0%, var(--ciel-2) 100%); }
.illus__pilule { width: 84px; height: 33px; rotate: -16deg; }
.illus__pilule--petite { width: 70px; height: 27px; }
.illus__etiquette { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-m); padding: .25em .75em; border-radius: var(--r-pilule); background: #fff; color: var(--dose-2); box-shadow: 0 6px 16px -8px rgba(29, 29, 27, .3); }
.illus__perso { position: relative; width: 52px; color: var(--encre); }
.illus__perso svg { width: 100%; display: block; }
.illus__badge { position: absolute; right: -8px; top: -6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; color: #fff; font-style: normal; font-weight: 800; font-size: 14px; line-height: 1; }
.illus__badge svg { width: 13px; }
.illus__badge--ok { background: var(--encre); }
.illus__badge--ko { background: var(--rouge); }
.illus__signe { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); color: var(--encre-2); }
.illus__objet svg, .illus__alerte svg { width: 46px; display: block; }
.illus__objet { color: var(--encre); }
.illus__alerte { color: var(--rouge); }
.illus__tel { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--rouge); color: #fff; }
.illus__tel svg { width: 26px; }
.illus__112 { font-family: var(--f-titre); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--rouge); letter-spacing: -.02em; }
.illus__fleches { width: 44px; color: var(--encre-2); }
.illus__fleches svg { width: 100%; display: block; }
.risque .illus { margin-bottom: var(--s-2); }

/* 5.20 Professionnel·les : rôle, profils, messages clés illustrés, commande de brochures */
.page-tete__slogan--large { max-width: 52ch; }
.role-intro { padding-bottom: 0; }
.role-profils { padding-top: var(--s-6); }
/* Même espace (s-6) au-dessus et en dessous de chaque trait de séparation */
.role-profils, .cles, .pros-questions { padding-bottom: var(--s-6); }
.role-intro__haut .role-intro__phrase { margin-top: var(--s-3); }
.role-intro__phrase { font-size: var(--t-l); line-height: 1.45; color: var(--encre-2); max-width: 58ch; }
.leviers { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); counter-reset: lv; }
.levier { counter-increment: lv; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r-carte); background: var(--ciel); }
.levier::before { content: "0" counter(lv); font-family: var(--f-titre); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--molecule); }
.levier p { font-size: var(--t-m); line-height: 1.45; color: var(--encre-2); }
.levier b { display: block; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; color: var(--encre); margin-bottom: .3rem; }

.profils__titre { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--trait); }
/* Carte blanche bordée (profils, messages clés, risques, commande de brochures) */
.profil, .cle, .risque, .commande { border-radius: var(--r-carte); background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-carte); }
.profils { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: stretch; }
.profil { display: flex; flex-direction: column; padding: var(--s-5); scroll-margin-top: var(--s-4); }
.profil__titre { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; padding-bottom: var(--s-3); margin-bottom: var(--s-3); border-bottom: 2px solid var(--encre); }
.profil__corps { display: flex; flex-direction: column; flex: 1; }
.profil .liste-check { margin-bottom: var(--s-4); }
.profil .a-retenir { margin-top: auto !important; }
.profil__intro { font-size: var(--t-l); line-height: 1.45; color: var(--encre) !important; }
.profil__lead { margin-top: var(--s-4) !important; font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }
.liste-check { list-style: none; padding: 0; margin-top: var(--s-1); }
.liste-check li, .enjeux .liste-check li, .enjeux .liste-check li:last-child { display: grid; grid-template-columns: 1.1rem 1fr; gap: var(--s-2); padding: .7rem 0; border: 0; border-bottom: 1px solid var(--trait); color: var(--encre-2); line-height: 1.5; }
.liste-check li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: .2rem; border-radius: 50%; background: var(--encre) no-repeat center / 60% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }
.a-retenir { margin-top: var(--s-4) !important; padding: var(--s-3) var(--s-4); border-left: 4px solid var(--rouge); background: var(--ciel); border-radius: 0 12px 12px 0; color: var(--encre) !important; }
.a-retenir b { display: block; font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); margin-bottom: .25rem; }

.cles__haut .chapo { max-width: 62ch; }
.cles__liste { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.cle { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: center; padding: var(--s-3); }
.commande { margin-top: var(--s-5); padding: var(--s-5); }
.commande__titre { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1.05; }
.commande__haut p { margin-top: var(--s-2); color: var(--encre-2); max-width: 70ch; }
.commande__etapes { list-style: none; padding: 0; margin-top: var(--s-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); counter-reset: ce; }
.commande__etapes li { counter-increment: ce; position: relative; padding: var(--s-4) var(--s-4) var(--s-4) calc(var(--s-4) + 2.6rem); border-radius: 16px; background: var(--ciel); color: var(--encre-2); line-height: 1.45; }
.commande__etapes li::before { content: counter(ce); position: absolute; left: var(--s-4); top: var(--s-4); width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--encre); color: #fff; font-family: var(--f-titre); font-weight: 800; }
.commande__etapes b { display: block; color: var(--encre); font-family: var(--f-titre); font-weight: 800; font-size: var(--t-m); text-transform: uppercase; margin-bottom: .2rem; }
.commande__bas { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.commande__bas p { color: var(--encre-2); font-size: var(--t-s); max-width: 62ch; }
.cles__titre { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.cle p { padding: 0 var(--s-3) 0 0; font-family: var(--f-titre); font-weight: 600; font-size: var(--t-l); line-height: 1.25; color: var(--encre); }
.cle b { color: var(--rouge); font-weight: 800; }
.lien-112 { color: var(--rouge); font-weight: 800; }

/* 5.21 Usagers : risques illustrés, encadré d'alerte, bulles « en parler » */
.pourquoi--serre { padding-block: 0; }
.risques { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.risque { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3) var(--s-3) var(--s-4); }
.risque h3 { padding-inline: var(--s-2); font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); text-transform: uppercase; line-height: 1.1; }
.risque p { padding-inline: var(--s-2); color: var(--encre-2); line-height: 1.5; }
.risque strong { color: var(--rouge); }
.risques__alerte { margin-top: var(--s-4); display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3) var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border-radius: 18px; background: #fdecec; border: 1px solid #f6c9ca; }
.risques__icone { width: 44px; color: var(--rouge); }
.risques__icone svg { width: 100%; display: block; }
.risques__alerte p { color: var(--encre-2); line-height: 1.5; max-width: 72ch; }
.risques__alerte strong { color: var(--encre); }
.risques__alerte .btn svg { width: 18px; height: 18px; }
.bulles { list-style: none; padding: 0; margin-top: var(--s-4); display: grid; gap: var(--s-2); justify-items: start; }
.bulles li { position: relative; max-width: 46ch; padding: var(--s-2) var(--s-3); border-radius: 18px 18px 18px 4px; background: var(--ciel); font-weight: 600; color: var(--encre); }
.bulles li:nth-child(2) { margin-left: var(--s-5); }
.bulles li:nth-child(3) { margin-left: var(--s-3); }
.parler__texte { margin-top: var(--s-4); color: var(--encre-2); max-width: 58ch; }

/* ---------- 5.22 Responsive des pages intérieures ---------- */
@media (max-width: 1100px) {
  .cles__liste { grid-template-columns: 1fr; }
  .carte-zone { grid-template-columns: 320px 1fr; }
  .temoins-grille { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .leviers, .profils, .commande__etapes, .risques, .risques__alerte, .page-tete__grille, .partage__grille, .form-grille, .en-bref, .citation-grande, .deux-col, .deux-col--egal, .duo { grid-template-columns: 1fr; }
  .rappel--colonne { position: static; }
  
  .tas { width: min(70%, 300px); margin-block: var(--s-5); }
  .page-tete .molecule { height: 560px; top: -40px; right: -90px; }
  .page-tete__visuel { order: -1; width: min(70%, 260px); }
  .avec-sommaire { grid-template-columns: 1fr; gap: var(--s-4); }
  .sommaire { position: static; padding: var(--s-3); background: var(--ciel); border-radius: var(--r-bloc); }
  .sommaire .btn { width: auto; }
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .evolution { grid-template-columns: 1fr; }
  .evolution__intro { position: static; }
  .objectifs { grid-template-columns: 1fr; }
  .referents { grid-template-columns: 1fr 1fr; }
  .outils__liste--page { grid-template-columns: 1fr; }
  .appel { grid-template-columns: 1fr; }
  .enjeux li { grid-template-columns: 1fr; }
  .coordonnees, .contact-aside { position: static; }
  .carte-outils { grid-template-columns: 1fr 1fr; }
  .carte-outils .champ-recherche-bloc { grid-column: 1 / -1; }
  .carte-vue { display: flex; }
  .carte-zone { grid-template-columns: 1fr; height: auto; }
  .carte-zone[data-vue="liste"] .carte-plan { display: none; }
  .carte-zone[data-vue="carte"] .liste-structures { display: none; }
  .carte-plan { aspect-ratio: 1056 / 910; }
  .liste-structures { overflow: visible; padding: 0; }
  .temoins-grille { grid-template-columns: repeat(2, 1fr); }
  .citation-grande .temoin__video { width: 160px; }
}
@media (max-width: 600px) {
  .cle { grid-template-columns: 1fr; }
  .cle p { padding: 0 var(--s-2) var(--s-2); }
  .page-tete { padding-block: var(--s-3) var(--s-6); }
  .page-tete__titre { font-size: clamp(2.1rem, 9.5vw, 2.75rem); overflow-wrap: anywhere; }
  .cartes, .referents, .champs, .choix-type, .objectifs__liste { grid-template-columns: 1fr; }
  .frise { --date: 64px; --point: 22px; --ecart: var(--s-2); }
  .frise .frise__date { font-size: var(--t-xl); }
  .rappel { grid-template-columns: 1fr; padding: var(--s-4); }

  .comparaison { grid-template-columns: 1fr; }
  .comparaison__fois { font-size: var(--t-2xl); }
  .dossier { grid-template-columns: 96px 1fr; }
  .acc summary { font-size: var(--t-m); }
  .acc__corps { padding-right: 0; }
  .fenetre__corps { padding: var(--s-4); }
  .carte-outils { grid-template-columns: 1fr; }
  .fiche { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 70vh; border-radius: var(--r-carte) 22px 0 0; }
  /* La fiche, fixée en bas de l'écran, reste dans le plan d'empilement de la carte : le relever au-dessus des blocs suivants (sous l'en-tête). */
  .carte-plan { z-index: 40; }
  .temoins-grille { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-2); }
  .appel { padding: var(--s-4); }
}

/* ==========================================================================
   7. Recherche du site : panneau sous l'en-tête (loupe) et page de résultats
   ========================================================================== */
.recherche-site { position: absolute; top: 100%; left: 0; right: 0; padding: var(--s-3) 0; background: #fff; border-bottom: 1px solid var(--trait); box-shadow: 0 12px 24px rgba(29, 29, 27, .08); }
/* Ouverture : fondu + léger glissement (site.js ajoute .is-open, remet [hidden] après la fermeture) */
.recherche-site { opacity: 0; transform: translateY(-8px); transition: opacity .2s ease-out, transform .2s ease-out; }
.recherche-site.is-open { opacity: 1; transform: none; }
.header-actions .icone-btn { transition: background-color .2s, color .2s, border-color .2s; }
@media (prefers-reduced-motion: reduce) { .recherche-site, .header-actions .icone-btn { transition: none; transform: none; } }
.site-header .recherche-site .wrap { display: block; min-height: 0; white-space: normal; }
.recherche-site__form { display: flex; align-items: center; gap: var(--s-2); }
.recherche-site__form .champ-recherche { max-width: none; }
.icone-btn[aria-expanded="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.recherche-page .recherche-site__form { max-width: 820px; margin-bottom: var(--s-5); }
.resultats { list-style: none; padding: 0; display: grid; gap: var(--s-3); max-width: 820px; }
.resultat { padding: var(--s-4); border: 1px solid var(--trait); border-radius: var(--r-carte); background: #fff; box-shadow: var(--ombre-carte); }
.resultat__type { font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }
.resultat h2 { margin-top: .2rem; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); line-height: 1.15; text-transform: uppercase; }
.resultat h2 a { text-decoration: none; }
.resultat h2 a:hover { text-decoration: underline; }
.resultat__extrait { margin-top: var(--s-1); color: var(--encre-2); }
.resultat mark { padding: 0 .1em; border-radius: 3px; background: var(--ciel-2); color: inherit; }
@media (max-width: 600px) { .recherche-site__form { flex-direction: column; align-items: stretch; } }

/* ==========================================================================
   6. Formulaires WordPress (Contact Form 7)
   Le CSS de CF7 n'est pas chargé : ses éléments techniques sont stylés ici.
   Sans effet sur les maquettes (balisage absent de design/*.html).
   ========================================================================== */
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-not-valid-tip { display: block; margin-top: .35rem; color: var(--rouge); font-size: var(--t-s); font-weight: 600; }
.champ .wpcf7-not-valid { border-color: var(--rouge); }
.wpcf7-response-output { margin: 0; padding: var(--s-2) var(--s-3); border: 2px solid var(--encre); border-radius: var(--r-bloc); font-weight: 600; }
.wpcf7-form.init .wpcf7-response-output,
.wpcf7-form.resetting .wpcf7-response-output,
.wpcf7-form.submitting .wpcf7-response-output { display: none; }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output { border-color: var(--rouge); color: var(--rouge-fonce); }
.wpcf7-spinner { visibility: hidden; display: inline-block; width: 22px; height: 22px; border: 3px solid var(--trait); border-top-color: var(--encre); border-radius: 50%; animation: wpcf7-rotation 1s linear infinite; }
.wpcf7-form.submitting .wpcf7-spinner { visibility: visible; }
.wpcf7-form.submitting .wpcf7-submit { opacity: .6; pointer-events: none; }
@keyframes wpcf7-rotation { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wpcf7-spinner { animation: none; } }

/* Barre d'administration WordPress (utilisateur connecté) : décale ce qui est collé en haut.
   Hauteurs de WordPress : 32px, 46px sous 783px ; sous 601px elle n'est plus fixe (elle défile). */
html:has(> body.admin-bar) { --barre-admin: 32px; scroll-padding-top: calc(77px + var(--barre-admin)); }
@media (max-width: 782px) { html:has(> body.admin-bar) { --barre-admin: 46px; } }
@media (max-width: 600px) { html:has(> body.admin-bar) { --barre-admin: 0px; } }
.admin-bar .site-header { top: var(--barre-admin); }
.admin-bar .sommaire,
.admin-bar .coordonnees,
.admin-bar .contact-aside,
.admin-bar .rappel--colonne { top: calc(100px + var(--barre-admin)); }
.admin-bar .evolution__intro { top: calc(120px + var(--barre-admin)); }

/* ==========================================================================
   8. Carte interactive WordPress (Leaflet, assets/wp/carte.js)
   La maquette garde l'aperçu statique (.carte-plan__toile + .carte-plan__points).
   ========================================================================== */
.carte-plan__toile--leaflet { position: absolute; inset: 0; translate: none; width: auto; aspect-ratio: auto; scale: none; z-index: 0; background: var(--ciel); font: inherit; }
.carte-plan:has(.carte-plan__toile--leaflet)::after { display: none; } /* teinte appliquée aux seules tuiles */
.carte-plan__toile--leaflet .leaflet-tile-pane { filter: grayscale(1) contrast(.85) brightness(1.08); opacity: .62; }
.carte-marqueur { display: grid; place-items: center; background: none; border: 0; }
.carte-marqueur .pin { width: 20px; height: 20px; transition: transform .15s; }
.carte-marqueur:hover .pin, .carte-marqueur:focus-visible .pin, .carte-marqueur.is-actif .pin { transform: scale(1.45); }
.carte-marqueur.is-actif { z-index: 1000 !important; }
.carte__credit a { color: inherit; }
.fiche__logo { max-width: 140px; max-height: 60px; width: auto; height: auto; margin-bottom: var(--s-2); }
@media (prefers-reduced-motion: reduce) { .carte-marqueur .pin { transition: none; } }

/* ==========================================================================
   9. Impression
   Le contenu seul, en noir sur blanc : sans en-tête, pied, recherche, formulaires, vidéos ni carte.
   ========================================================================== */
@media print {
  *, *::before, *::after { background: none !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  body { font-size: 11pt; line-height: 1.4; }
  .site-header, .site-footer, .skip, .recherche-site, .recherche-carte, .btn, .btns, form, video, iframe, dialog,
  .temoin__video, .temoin__play, .carte__apercu, .carte-plan, .video-popup, .fenetre, .urgence__plus { display: none !important; }
  .urgence-bar, .molecule, .gelule-hero__pause, .temoin__vignette, .public__fleche { display: none !important; }
  * { -webkit-mask-image: none !important; mask-image: none !important; }
  .temoignages__liste { display: block !important; overflow: visible !important; margin-right: 0; }
  .temoignages__nav { display: none !important; }
  .temoignages__liste > * { margin-bottom: 1rem; }
  .wrap { width: 100%; }
  .section, .hero, .pourquoi, .urgence { padding-block: 1rem !important; }
  .site-header, .sommaire, .coordonnees, .contact-aside, .rappel--colonne, .evolution__intro { position: static !important; }
  .is-fondu { opacity: 1 !important; }
  h1, h2, h3 { break-after: avoid; }
  li, blockquote, figure, img, .dose, .public, .outil, .temoin, .message { break-inside: avoid; }
  main a[href^="http"]:not([href*="methacolor"])::after { content: " (" attr(href) ")"; font-size: .85em; font-weight: 400; word-break: break-all; }
}
