/*
 * Page « Action locale (détail) » — styles.
 *
 * Repris de la maquette « Clinique migrante », chargés UNIQUEMENT sur le gabarit
 * template-action-locale.php (voir inc/enqueue.php). Tout est scopé sous « .al-page » :
 * plusieurs classes (.wrap, .sec, .sec-title, .hl, .hr, .reveal, .eyebrow, .btn-orange) sont
 * partagées avec d'autres gabarits et ne doivent fuir ni vers l'en-tête, ni vers le pied de
 * page. Les polices « Anton » et « Open Sans » sont fournies globalement par style.css
 * (@font-face + enqueue) → non redéclarées ici.
 *
 * Écarts assumés par rapport à la maquette (rendu identique, feuille sans code mort) :
 *   • la maquette scopait ses styles sous « .contact-page » (sa feuille avait été copiée
 *     depuis la page Contact) : le gabarit pose « .al-page », qui porte le même habillage ;
 *   • la PREMIÈRE section de la page reçoit le retrait haut qui dégage l'en-tête fixe du site.
 *     La maquette s'affichait sans en-tête : son contenu partait du haut de la page, et se
 *     retrouverait caché derrière la barre de navigation, qui est opaque. Le retrait est posé
 *     sur la première section EN FLUX, quelle qu'elle soit, et suit les deux hauteurs
 *     possibles de l'en-tête (voir « Dégagement de l'en-tête » plus bas) ;
 *   • les cadres « image-slot » de la maquette (attente de l'outil de maquettage) sont de
 *     vraies balises <img> alimentées par la médiathèque. Sans image choisie, le gabarit ne
 *     rend pas l'élément du tout : il n'y a donc aucun cadre d'attente à styler ;
 *   • les COULEURS posées par le RANG (:nth-child) sont posées par une CLASSE quand elles
 *     décrivent un contenu que le back-office peut vider : pastilles de critères
 *     (.cm-badge--…), critères d'admissibilité (.admis-item--…), cartes de renvoi
 *     (.cross-card--…). Sinon les couleurs se décaleraient dès qu'une ligne n'est pas rendue.
 *     La seule alternance restée en :nth-child est celle des pastilles de rendez-vous, dont
 *     toutes les cartes sont bien des frères rendus ;
 *   • toutes les grilles s'adaptent au NOMBRE d'éléments saisis (--al-rdv-cols, --al-adm-cols,
 *     --al-par-cols, --al-srv-cols) : la maquette figeait 2, 3, 4 et 3 colonnes. Une carte
 *     seule occupe donc toute la largeur au lieu d'une fraction suivie de vide. Les deux
 *     grilles qui changent aussi de nombre de colonnes en cours de route en portent une
 *     seconde (--al-adm-cols-md, --al-par-cols-md) : « repeat() » n'accepte qu'un entier
 *     littéral, jamais un calcul, le plafond par palier se calcule donc côté serveur ;
 *   • le titre du bandeau était découpé en deux lignes animées l'une après l'autre
 *     (« .ln.l1 », « .ln.l2 ») : la coupe se décide maintenant au back-office (touche Entrée),
 *     l'animation d'entrée porte sur le titre entier et le surlignage garde la sienne ;
 *   • l'accordéon « Ma situation est différente ? » est un <button> (ouverture au clavier,
 *     état annoncé) : les styles de bouton du navigateur sont donc neutralisés sur
 *     « .elig-head ». Une question sans réponse reste un intitulé simple
 *     (« .elig-head--static »), sans flèche ;
 *   • sans JavaScript, les blocs « .reveal » ET les réponses de l'accordéon sont visibles
 *     d'office (@media scripting: none) ; l'apparition est aussi neutralisée en « mouvement
 *     réduit ». Aucun contenu ne peut rester invisible ;
 *   • la flèche « → » du lien de fin de section « mission » vient du CSS (::before) : le
 *     libellé saisi au back-office reste un libellé ;
 *   • les classes que le balisage n'utilise pas ne sont pas reprises : le motif décoratif du
 *     bandeau (.cm-hero-deco, jamais posé dans la maquette), les pastilles d'icônes des soins
 *     (.soin-ic, c1…c4 — aucune icône livrée), la numérotation de l'accordéon (.elig-num),
 *     l'icône de ressource (.pros-dl-ic), .btn-ghost, .anton et .soins-grid ;
 *   • html{scroll-behavior:smooth} est conservé pour l'ancre « #rdv » du bandeau, et la cible
 *     se cale SOUS l'en-tête fixe.
 *
 * @package medecins-du-monde
 */

/* ============================================================================
 * Base
 * ========================================================================= */

.al-page,
.al-page *,
.al-page *::before,
.al-page *::after {
  box-sizing: border-box;
}
.al-page {
  --al-gutter: 26px;
  font-family: 'Open Sans', sans-serif;
  color: #1d1a55;
  background: #fff;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.al-page h1,
.al-page h2,
.al-page h3 {
  margin: 0;
}
.al-page p {
  margin: 0;
}
.al-page a {
  text-decoration: none;
  color: inherit;
}
.al-page a:hover {
  color: #e9511c;
}
/* Boutons pleins et cartes de couleur : leur libellé garde sa couleur au survol. La règle
   « a:hover » ci-dessus l'emporterait sinon, et le texte virerait à l'orange sur fond orange. */
.al-page a.btn-orange,
.al-page a.btn-orange:hover,
.al-page a.cross-card,
.al-page a.cross-card:hover {
  color: #fff;
}
.al-page .wrap {
  padding: 0 var(--al-gutter);
}
.al-page .sec {
  padding: 60px 0;
}
.al-page *:has(> .eyebrow) {
  position: relative;
}
.al-page *:has(> .eyebrow) > h1,
.al-page *:has(> .eyebrow) > h2,
.al-page *:has(> .eyebrow) > .sec-title {
  margin-top: 56px;
}
.al-page .eyebrow {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 2;
  padding: 8px 16px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  background: #e9511c;
  border-radius: 5px;
  color: #fff;
  font-size: 28px;
  transform: rotate(-4.14deg);
  white-space: nowrap;
}
.al-page .mission-text > .eyebrow {
  top: 60px;
  left: 52px;
}
.al-page .cm-hero-main > .eyebrow {
  top: 11px;
}
.al-page .sec-title {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: #1d1a55;
}
.al-page .sec-title .hl {
  background: linear-gradient(#bddfec, #bddfec) no-repeat;
  background-size: 100% 1.1em;
  background-position: 0 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.al-page .sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.al-page .sec-head .st-max {
  max-width: 680px;
}
/* La maquette élargissait à 785 px le SEUL titre « Cette clinique est-elle faite pour vous ? »,
   par un style en ligne, pour qu'il tienne sur une ligne. La largeur est portée ici par la
   SECTION : elle survit donc à la réécriture du titre au back-office, ce qu'un style en ligne
   ne ferait pas. Élargir les quatre en-têtes d'un coup ne marche pas — « Deux façons d'obtenir
   une consultation » repasserait sur une ligne, alors que la maquette le coupe en deux. */
.al-page .al-adm .sec-head .st-max {
  max-width: 785px;
}
.al-page .sec-intro {
  /* 15 px, la valeur de la feuille de la maquette. Deux de ses trois intros portaient un style
     en ligne à 16 px, mais les aligner toutes sur 16 px fait passer celle de « Rendez-vous » de
     une à deux lignes — un écart visible, là où le point d'écart de taille ne l'est pas. */
  font-size: 15px;
  color: #5b6078;
  line-height: 1.65;
  max-width: 640px;
  /* La maquette déclarait « margin-top: 14px » mais son propre « p { margin: 0 } » l'emportait
     (spécificité plus forte) : à l'écran l'intro est collée au titre. On reprend le rendu réel,
     et le seul décalage que la maquette posait vraiment — 16 px sur l'admissibilité — est
     rétabli ci-dessous, à l'échelle de la section. */
  margin-top: 0;
}
/* La maquette surchargeait en ligne DEUX de ses trois intros : 16 px pour l'admissibilité et
   les ressources, 15 px (sa feuille) pour les rendez-vous. Les surcharges sont reprises ici à
   l'échelle de la SECTION, donc sans style en ligne à recopier sur un texte éditable. La
   largeur de l'intro d'admissibilité suit celle de son en-tête : la maquette la poussait à
   898 px, au-delà même de son conteneur, ce qui la faisait déborder. */
.al-page .al-adm .sec-intro {
  margin-top: 16px;
  max-width: 785px;
  font-size: 16px;
}
.al-page .cm-res .sec-intro {
  font-size: 16px;
}
.al-page .btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #e9511c;
  color: #fff;
  border: 1px solid #e9511c;
  border-radius: 5px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s;
}
.al-page .btn-orange:hover {
  background: #d1440f;
}
.al-page .btn-orange img {
  width: 14px;
  transition: transform .3s;
}
.al-page .btn-orange:hover img {
  transform: translateX(4px);
}
/* Les ancres de la page — le bouton du bandeau mène à « #rdv », le second bouton de la section
   « Formation » revient à « #banniere » : défilement adouci, cible calée SOUS l'en-tête fixe.
   La règle porte sur « html » (le défilement n'a lieu ni sur .al-page ni sur body) — sans fuite
   vers les autres gabarits, cette feuille n'étant chargée que sur celui-ci.

   Le retrait ne sert au bandeau que s'il est posé PLUS BAS dans la pile : en tête de page, le
   défilement s'arrête de toute façon en haut, où son propre retrait d'en-tête le dégage déjà. */
html {
  scroll-behavior: smooth;
}
.al-page .cm-hero,
.al-page .cm-rdv,
.al-page .cm-res {
  scroll-margin-top: 160px;
}

/* ============================================================================
 * Barre de progression de lecture et bouton « retour en haut »
 * (pilotés par assets/js/action-locale.js)
 * ========================================================================= */

.al-page .al-btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 100%;
  background: #e9511c;
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 80;
  cursor: pointer;
}
.al-page .al-btt.on {
  opacity: 1;
  pointer-events: auto;
}
.al-page .al-btt:hover {
  transform: translateY(-3px);
}
.al-page .al-btt svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

/* ============================================================================
 * Animations d'entrée
 * ========================================================================= */

@keyframes al-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes al-hl-grow {
  from {
    background-size: 0 92%;
  }
  to {
    background-size: 100% 92%;
  }
}
.al-page .hr {
  animation: al-rise .7s cubic-bezier(.22, .61, .36, 1) both;
}
.al-page .hr3 {
  animation-delay: .16s;
}
.al-page .hr4 {
  animation-delay: .26s;
}
.al-page .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
.al-page .reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================================
 * Bandeau (hero)
 *
 * Dégagement de l'en-tête — l'en-tête du thème est en position:fixed et opaque : sans retrait,
 * il recouvrirait le haut de la première section.
 *
 * Le retrait est porté par la première section EN FLUX : il suit donc la page telle qu'elle est
 * réglée au back-office — le bandeau bleu d'ordinaire, la section suivante si le bandeau est
 * entièrement vidé.
 *
 * L'en-tête n'a pas une hauteur unique : la bande d'alerte qui le surmonte s'affiche ou non
 * selon un interrupteur du back-office (« alert_show »). Les deux états sont traités, au lieu
 * de réserver toujours la hauteur maximale : sinon un ruban blanc s'intercalerait entre la
 * barre de navigation et le bandeau bleu dès que la bande d'alerte est masquée.
 *
 * Hauteurs mesurées, en pixels :
 *
 *                    sans la bande   avec la bande
 *   ≥ 1280 px             104             146
 *   ≤ 1279 px              59             101
 * ========================================================================= */

.al-page > *:first-child {
  padding-top: 104px;
}
body:has(.alert-section) .al-page > *:first-child {
  padding-top: 146px;
}

.al-page .cm-hero {
  background: #055da8;
  color: #fff;
  padding-bottom: 76px;
  position: relative;
  overflow: hidden;
}
/* Le retrait d'en-tête remplace le « padding-top: 70px » de la maquette : on le lui rend, en
   plus de la hauteur de la barre de navigation. */
.al-page > .cm-hero:first-child {
  padding-top: 174px;
}
body:has(.alert-section) .al-page > .cm-hero:first-child {
  padding-top: 216px;
}
.al-page .cm-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.al-page .cm-hero--solo .wrap {
  grid-template-columns: 1fr;
}
.al-page .cm-hero h1 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  padding-bottom: 14px;
}
.al-page .cm-hero h1 .hl {
  color: #1d1a55;
  background: linear-gradient(#bddfec, #bddfec) no-repeat;
  background-size: 0 92%;
  background-position: 0 50%;
  padding: 0 10px;
  margin-left: -4px;
  border-radius: 4px;
  /* « inline-block » n'est pas cosmétique : une boîte INLINE tire la hauteur de son fond des
     métriques de la police (ascendante + descendante), une boîte inline-block de l'interligne.
     Avec line-height .94, le fond passait de 86 px à 134 px et recouvrait le bas de la ligne
     précédente. La maquette posait le surlignage sur son élément « .ln », déjà inline-block. */
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: al-hl-grow .8s ease .5s forwards;
}
.al-page .cm-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #dbe8f5;
  max-width: 540px;
  margin-bottom: 32px;
}
.al-page .cm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  align-items: center;
}
.al-page .cm-badge {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 4px;
  color: #fff;
  transition: transform .25s;
}
.al-page .cm-badge:hover {
  transform: translateY(-3px);
}
.al-page .cm-badge--orange {
  background: #e9511c;
}
.al-page .cm-badge--vert {
  background: #00af9c;
}
.al-page .cm-badge--marine {
  background: #1d1a55;
}
.al-page .cm-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Carte « Deux façons de nous joindre » --- */

.al-page .today-card {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #1d1a55;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 30, 66, .34);
  animation: al-rise .8s cubic-bezier(.22, .61, .36, 1) .28s both;
}
.al-page .tc-head {
  background: #1d1a55;
  color: #fff;
  padding: 22px 26px;
}
.al-page .tc-eyebrow {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .08em;
  color: #bddfec;
}
.al-page .tc-body {
  padding: 8px 26px 12px;
}
.al-page .tc-slot {
  padding: 18px 0;
  border-bottom: 1px dashed #cfe0ef;
}
.al-page .tc-slot:last-child {
  border-bottom: none;
}
.al-page .tc-slot-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  color: #e9511c;
  margin-bottom: 8px;
}
.al-page .tc-slot-mode .dot {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #e9511c;
  flex-shrink: 0;
}
.al-page .tc-slot-line {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  color: #1d1a55;
  margin-bottom: 6px;
}
.al-page .tc-slot-desc {
  font-size: 14px;
  color: #5b6078;
  line-height: 1.5;
}
.al-page .tc-address {
  padding: 14px 26px;
  background: #eef6fb;
  font-size: 14px;
  color: #5b6078;
  display: flex;
  align-items: center;
  gap: 8px;
}
.al-page .tc-address .pin {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #055da8;
  flex-shrink: 0;
}

/* ============================================================================
 * « Deux façons d'obtenir une consultation »
 * ========================================================================= */

.al-page .cm-rdv {
  background: #eef6fb;
}
.al-page .rdv-grid {
  display: grid;
  grid-template-columns: repeat(var(--al-rdv-cols, 2), 1fr);
  gap: 18px;
}
.al-page .rdv-col {
  background: #fff;
  border: 1px solid #dbe8f2;
  border-radius: 14px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s, border-color .3s;
}
.al-page .rdv-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(29, 26, 85, .1);
  border-color: #055da8;
}
.al-page .rdv-tag {
  align-self: flex-start;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  color: #fff;
  background: #055da8;
  border-radius: 50px;
  padding: 6px 15px;
  margin-bottom: 20px;
}
/* Alternance décorative de la maquette (bleu, orange) : toutes les cartes rendues sont bien
   des frères, le rang du DOM est donc le rang affiché. */
.al-page .rdv-col:nth-child(even) .rdv-tag {
  background: #e9511c;
}
.al-page .rdv-time {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1;
  color: #1d1a55;
  margin-bottom: 10px;
}
.al-page .rdv-coord {
  font-size: 16px;
  color: #5b6078;
  line-height: 1.55;
  margin-bottom: 20px;
}
.al-page .rdv-result {
  font-size: 16px;
  color: #3a3a52;
  line-height: 1.6;
  padding-top: 18px;
  border-top: 1px solid #eef2f8;
  margin-top: auto;
}
.al-page .rdv-result strong,
.al-page .rdv-result b {
  color: #055da8;
}

/* ============================================================================
 * Critères d'admissibilité
 * ========================================================================= */

.al-page .admis-grid {
  display: grid;
  grid-template-columns: repeat(var(--al-adm-cols, 3), 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.al-page .admis-item {
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s;
}
.al-page .admis-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.al-page .admis-item--requis::before {
  background: #00af9c;
}
.al-page .admis-item--hors::before {
  background: #8a90a6;
}
.al-page .admis-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(29, 26, 85, .1);
}
.al-page .admis-status {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.al-page .admis-status--requis {
  color: #00af9c;
}
.al-page .admis-status--hors {
  color: #8a90a6;
}
.al-page .admis-status .mk {
  width: 18px;
  height: 18px;
  border-radius: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
}
.al-page .admis-status--requis .mk {
  background: #00af9c;
}
.al-page .admis-status--hors .mk {
  background: #8a90a6;
}
.al-page .admis-item h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.18;
  color: #1d1a55;
}
.al-page .admis-item p {
  font-size: 14px;
  color: #5b6078;
  line-height: 1.6;
}
.al-page .admis-note {
  font-size: 14px;
  color: #4a4a6a;
  line-height: 1.7;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #e2e9f2;
  border-left: 4px solid #055da8;
  border-radius: 8px;
}
.al-page .admis-note p {
  font-size: inherit;
  line-height: inherit;
}
.al-page .admis-note p + p {
  margin-top: 12px;
}
.al-page .admis-note a {
  font-weight: 600;
  color: #055da8;
}

/* ============================================================================
 * Soins offerts
 * ========================================================================= */

.al-page .al-soins {
  background: #eef6fb;
}
.al-page .soins-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.al-page .soins-split--solo {
  grid-template-columns: 1fr;
}
.al-page .soins-aside {
  position: sticky;
  top: 120px;
}
.al-page .soins-aside h2 {
  margin-bottom: 18px;
}
.al-page .soins-aside p {
  font-size: 16px;
  line-height: 1.7;
  color: #5b6172;
  max-width: 360px;
}
.al-page .soins-cols {
  display: flex;
  flex-direction: column;
}
.al-page .soin-col {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 4px;
  border-top: 1px solid #e2e9f2;
  transition: padding-left .4s cubic-bezier(.22, .61, .36, 1), background-color .4s;
}
.al-page .soin-col:last-child {
  border-bottom: 1px solid #e2e9f2;
}
.al-page .soin-col:hover {
  background: #fff;
  padding-left: 18px;
}
.al-page .soin-txt {
  flex: 1;
}
.al-page .soin-col h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.18;
  letter-spacing: .005em;
  color: #1d1a55;
  margin-bottom: 6px;
}
.al-page .soin-col p {
  font-size: 16px;
  line-height: 1.6;
  color: #5b6172;
}
.al-page .soin-col--na h3,
.al-page .soin-col--na p {
  color: #8a90a6;
}
.al-page .soin-col--na:hover {
  padding-left: 4px;
  background: transparent;
}
.al-page .na-label {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .08em;
  color: #8a90a6;
  margin-bottom: 4px;
  display: block;
}

/* ============================================================================
 * Mission
 * ========================================================================= */

.al-page .al-mission:has(+ .al-mission) {
  padding-bottom: 18px;
}
.al-page .al-mission + .al-mission {
  padding-top: 0;
}
.al-page .mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e9f2;
}
.al-page .mission-grid--nophoto {
  grid-template-columns: 1fr;
}
.al-page .mission-photo {
  position: relative;
  min-height: 460px;
  background: #12305a;
}
.al-page .mission-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.al-page .mission-text {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.al-page .mission-text h2 {
  margin-bottom: 8px;
}
.al-page .mission-body p {
  font-size: 16px;
  color: #3a3a52;
  line-height: 1.8;
  margin-top: 16px;
}
.al-page .mission-body p strong {
  color: #1d1a55;
}
/* Listes et liens écrits dans le champ WYSIWYG « Texte ». style.css neutralise les listes
   (« ul, ol { list-style: none; padding-inline-start: 0 } ») et les liens
   (« a { color: inherit; text-decoration: none; display: block } ») pour tout le site : sans
   les règles ci-dessous, une liste saisie au back-office perd ses puces et un lien au fil du
   texte est invisible ET passe à la ligne. Puce = tiret orange, comme partout ailleurs. */
.al-page .mission-body ul,
.al-page .mission-body ol {
  margin: 16px 0 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.al-page .mission-body ol {
  counter-reset: mdm-mission-ol;
}
.al-page .mission-body li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.8;
  color: #3a3a52;
  list-style: none;
}
.al-page .mission-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 2px;
  background: #e9511c;
}
.al-page .mission-body ol li {
  counter-increment: mdm-mission-ol;
}
.al-page .mission-body ol li::before {
  content: counter(mdm-mission-ol);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  color: #055da8;
}
.al-page .mission-body li strong {
  color: #1d1a55;
}
.al-page .mission-body a {
  display: inline;
  color: #055da8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.al-page .mission-body a:hover {
  color: #e9511c;
}
.al-page .mission-plaidoyer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e2e9f2;
  font-size: 16px;
  color: #5b6078;
  line-height: 1.6;
}
.al-page .mission-plaidoyer a {
  color: #055da8;
  font-weight: 700;
}
/* La flèche accompagne le lien : le libellé saisi au back-office n'a pas à la porter. */
.al-page .mission-plaidoyer a::before {
  content: '→ ';
}
.al-page .mission-plaidoyer a:hover {
  color: #e9511c;
}

/* ============================================================================
 * « Ma situation est différente ? » (accordéon)
 * ========================================================================= */

.al-page .cm-res {
  background: #eef6fb;
}
.al-page .elig-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #dbe8f2;
}
.al-page .elig-item {
  border-bottom: 1px solid #dbe8f2;
  transition: background-color .25s;
}
.al-page .elig-item:hover,
.al-page .elig-item.open {
  background: #fff;
}
.al-page .elig-head {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 8px;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.al-page .elig-head--static {
  cursor: default;
}
.al-page .elig-q {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  color: #1d1a55;
  line-height: 1.3;
  flex: 1;
}
.al-page .elig-arrow {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: #fff;
  color: #055da8;
  border: 1px solid #cfe0ef;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .3s, background-color .25s, color .25s;
}
.al-page .elig-item.open .elig-arrow {
  transform: rotate(90deg);
  background: #055da8;
  color: #fff;
  border-color: #055da8;
}
.al-page .elig-arrow svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}
.al-page .elig-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.al-page .elig-ans-in {
  padding: 0 52px 24px;
  font-size: 15px;
  color: #5b6078;
  line-height: 1.7;
  max-width: 820px;
}

/* ============================================================================
 * Pour les professionnel·le·s
 * ========================================================================= */

.al-page .al-pros {
  background: #eef6fb;
}
.al-page .cm-res + .al-pros {
  padding-top: 0;
}
.al-page .pros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.al-page .pros-grid--solo {
  grid-template-columns: 1fr;
}
.al-page .pros-left h2 {
  margin-bottom: 14px;
}
.al-page .pros-left p {
  font-size: 16px;
  color: #5b6078;
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 440px;
}
.al-page .pros-dl {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e9f2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.al-page .pros-dl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #eef2f8;
  transition: background-color .25s, padding-left .3s;
}
.al-page .pros-dl-item:last-child {
  border-bottom: none;
}
.al-page a.pros-dl-item:hover {
  background: #f7fafd;
  padding-left: 28px;
}
/* Ressource sans adresse : la ligne reste lisible, mais rien n'y invite au clic. */
.al-page .pros-dl-item--static {
  cursor: default;
}
.al-page .pros-dl-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1a55;
  flex: 1;
  line-height: 1.4;
}
.al-page .pros-dl-act {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .04em;
  color: #055da8;
  transition: gap .25s, color .25s;
}
.al-page a.pros-dl-item:hover .pros-dl-act {
  gap: 12px;
  color: #e9511c;
}
.al-page .pros-dl-act svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.al-page .pros-photo {
  position: relative;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #12305a;
}
.al-page .pros-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-page .cm-rencontrer {
  background: #eef6fb;
}
.al-page .mob-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 16px;
  padding: 22px 28px;
  border-radius: 12px;
  background: #00af9c;
}
.al-page .mob-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #fff;
}
.al-page .mob-live .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: al-pulse 1.6s ease-in-out infinite;
}
.al-page .mob-txt {
  font-size: 15px;
  line-height: 1.6;
  color: #eafff9;
}
.al-page .mob-txt strong {
  color: #fff;
}
.al-page a.mob-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.al-page a.mob-btn:hover {
  border-color: #fff;
  background: #fff;
  color: #1d1a55;
}
.al-page .mob-btn img {
  width: 14px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s, filter 0.3s;
}
.al-page .mob-btn:hover img {
  transform: translateX(4px);
  filter: none;
}
/* Deux colonnes comme la maquette, mais jamais plus que le nombre de cliniques réellement
   rendues : le back-office peut n'en saisir qu'une. « repeat() » n'accepte qu'un entier
   littéral, le compte est donc calculé en PHP et posé en variable (même procédé que
   --al-adm-cols et --al-par-cols plus haut). */
.al-page .fix-grid {
  display: grid;
  grid-template-columns: repeat(var(--al-fix-cols, 2), 1fr);
  gap: 18px;
}
.al-page .fix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 36px 34px 30px;
  border: 1px solid #dbe8f2;
  border-top: 5px solid #055da8;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s, border-color 0.3s;
}
.al-page .fix-card:nth-child(2) {
  border-top-color: #00af9c;
}
.al-page .fix-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(29, 26, 85, 0.12);
}
.al-page .fix-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.al-page .fix-tag {
  padding: 5px 14px;
  border-radius: 50px;
  background: #055da8;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
}
.al-page .fix-card:nth-child(2) .fix-tag {
  background: #00af9c;
}
.al-page .fix-badge {
  padding: 5px 13px;
  border-radius: 50px;
  background: #e6f7f4;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #006d64;
  white-space: nowrap;
}
.al-page .fix-name {
  margin-bottom: 10px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: #1d1a55;
}
.al-page .fix-addr {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: #5b6078;
}
.al-page .fix-addr-link {
  font-weight: 600;
  color: #055da8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s;
}
.al-page .fix-org {
  display: block;
}
.al-page .fix-hours {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eef2f8;
}
.al-page .fix-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f8;
}
.al-page .fh-day {
  font-size: 15px;
  font-weight: 600;
  color: #1d1a55;
}
.al-page .fh-time {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #055da8;
}
.al-page .fix-card:nth-child(2) .fh-time {
  color: #00857a;
}
.al-page .fix-h.closed .fh-day {
  font-weight: 500;
  color: #5b6078;
}
.al-page .fix-h.closed .fh-time {
  color: #5b6078;
}
@keyframes al-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.al-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
/* Sans vidéo renseignée au back-office, le texte occupe toute la largeur plutôt que de laisser
   une colonne vide à sa droite — même parti que .pros-grid--solo et .mission-grid--nophoto. */
.al-page .form-grid--solo {
  grid-template-columns: 1fr;
}
.al-page .form-left .sec-title {
  margin-bottom: 14px;
}
.al-page .form-left p {
  max-width: 480px;
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: #5b6078;
}
.al-page .form-left p strong {
  color: #1d1a55;
}
.al-page .form-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.al-page .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid #cfd9e8;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #1d1a55;
  transition: border-color 0.3s, color 0.3s;
}
.al-page .btn-ghost:hover {
  border-color: #055da8;
  color: #055da8;
}
.al-page .form-video {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  border-radius: 16px;
  background: #12305a;
}
/* La maquette posait un CADRE de vidéo vide (aplat marine + bouton « Lire »). Le gabarit y met
   la vidéo elle-même : le lecteur remplit le cadre, dont l'aplat marine reste le fond le temps
   que la plateforme réponde. */
.al-page .form-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.al-page .cm-contact {
  background: #f7fafd;
}
.al-page .contact-head {
  display: flow-root;
}
.al-page .contact-note {
  max-width: 560px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a6a;
}
.al-page .contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 44px;
}
/* Idem quand les cartes de contact OU l'encadré d'urgence sont vidés au back-office. */
.al-page .contact-cards--solo {
  grid-template-columns: minmax(0, 1fr);
}
.al-page .cc-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* « .cc » et non « a.cc » : une carte dont le numéro ou l'adresse n'est pas saisi au
   back-office est rendue en <div> plutôt qu'en lien mort, et doit garder sa mise en forme.
   Le survol soulevé, lui, reste réservé aux cartes réellement cliquables (a.cc:hover). */
.al-page .cc {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 26px 30px;
  border-radius: 10px;
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}
.al-page a.cc:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(29, 26, 85, 0.14);
  color: #fff;
}
.al-page .cc.blue {
  background: #055da8;
}
.al-page .cc.green {
  background: #00af9c;
}
.al-page .cc-lbl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid currentColor;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.al-page .cc-val {
  margin-bottom: 12px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -0.005em;
}
.al-page .cc-val.mail {
  font-size: clamp(18px, 1.6vw, 20px);
  word-break: break-word;
}
.al-page .cc-sub {
  margin-top: auto;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.82;
}
.al-page .urgence-box {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
}
.al-page .urgence-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 30px 30px 28px;
  background: #bd1118;
  color: #fff;
}
.al-page .urgence-head::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  background:
    linear-gradient(#fff, #fff) center / 34% 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 34% no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.al-page .urgence-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.09em;
  color: #ffd9d6;
}
.al-page .urgence-kicker .pulse {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #fff;
  animation: al-pulse 1.6s ease-in-out infinite;
}
.al-page .urgence-head h3 {
  position: relative;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.02;
}
.al-page .urgence-head p {
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}
.al-page .urgence-body {
  border: 1px solid #f0c4bb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: #fff;
}
.al-page .urgence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 30px;
  border-bottom: 1px solid #f6e5e3;
  transition: background-color 0.25s, padding-left 0.3s;
}
.al-page .urgence-row:last-child {
  border-bottom: none;
}
.al-page .urgence-row:hover {
  padding-left: 38px;
  background: #fff5f4;
}
.al-page .u-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d1a55;
}
.al-page .u-num {
  padding: 6px 13px;
  border-radius: 6px;
  background: #fdeceb;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: #bd1118;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.al-page .urgence-row:hover .u-num {
  background: #bd1118;
  color: #fff;
}

/* ============================================================================
 * Partenaires
 * ========================================================================= */

.al-page .cm-partners {
  background: #1d1a55;
}
.al-page .cm-partners .sec-title {
  color: #fff;
}
/* Sur le fond marine, le surlignage bleu clair porte un texte marine (maquette). */
.al-page .cm-partners .sec-title .hl {
  color: #1d1a55;
}
.al-page .partners-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.al-page .partners-head--solo {
  justify-content: flex-start;
}
.al-page .partners-desc {
  font-size: 16px;
  color: #c4cde3;
  line-height: 1.65;
  max-width: 420px;
}
.al-page .partners-logos {
  display: grid;
  grid-template-columns: repeat(var(--al-par-cols, 4), 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
/* Moins de quatre logos : on plafonne la colonne au lieu de la laisser s'étirer en « 1fr »,
   et on centre la grille, qui ne remplit plus la largeur du bandeau. */
.al-page .partners-logos--compact {
  grid-template-columns: repeat(var(--al-par-cols, 4), minmax(0, 320px));
  justify-content: center;
}
.al-page .partner-logo {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid #dbe8f2;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .3s ease;
}
.al-page .partner-logo:hover {
  transform: translateY(-4px);
  border-color: #e9511c;
}
.al-page .partner-logo a {
  display: block;
  position: absolute;
  inset: 0;
}
.al-page .partner-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  display: block;
}

/* ============================================================================
 * Trois autres services
 * ========================================================================= */

.al-page .cross-grid {
  display: grid;
  grid-template-columns: repeat(var(--al-srv-cols, 3), 1fr);
  gap: 18px;
}
.al-page .cross-card {
  position: relative;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s;
}
.al-page a.cross-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(29, 26, 85, .18);
}
.al-page .cross-card--marine {
  background: #1d1a55;
}
.al-page .cross-card--bleu {
  background: #055da8;
}
.al-page .cross-card--vert {
  background: #00af9c;
}
.al-page .cross-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.al-page .cross-tag {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .85);
}
.al-page .cross-card h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(26px, 2.4vw, 32px);
  letter-spacing: .005em;
  color: #fff;
  line-height: 1.18;
}
.al-page .cross-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.6;
}
.al-page .cross-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 26px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .3s, color .3s;
}
.al-page .cross-card--marine .cross-btn {
  color: #1d1a55;
}
.al-page .cross-card--bleu .cross-btn {
  color: #055da8;
}
.al-page .cross-card--vert .cross-btn {
  color: #00af9c;
}
.al-page a.cross-card:hover .cross-btn {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ============================================================================
 * Adaptation aux petits écrans
 * ========================================================================= */

@media (max-width: 1279px) {
  .al-page .eyebrow {
    top: 18px;
    font-size: 18px;
    line-height: 27px;
  }
  .al-page .mission-text > .eyebrow {
    top: 74px;
  }
  .al-page .cm-hero-main > .eyebrow {
    top: 22px;
  }
  .al-page {
    --al-gutter: 10px;
  }
  .al-page > *:first-child {
    padding-top: 59px;
  }
  body:has(.alert-section) .al-page > *:first-child {
    padding-top: 101px;
  }
  .al-page > .cm-hero:first-child {
    padding-top: 129px;
  }
  body:has(.alert-section) .al-page > .cm-hero:first-child {
    padding-top: 171px;
  }
}
@media (max-width: 1040px) {
  .al-page .fix-grid {
    grid-template-columns: 1fr;
  }
  .al-page .form-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .al-page .contact-cards {
    grid-template-columns: 1fr;
  }
  .al-page .urgence-box {
    position: static;
  }
  .al-page .mission-text > .eyebrow {
    top: 58px;
    left: 26px;
  }
  .al-page .cm-hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .al-page .rdv-grid,
  .al-page .cross-grid {
    grid-template-columns: 1fr;
  }
  .al-page .admis-grid {
    grid-template-columns: repeat(var(--al-adm-cols-md, 2), 1fr);
  }
  .al-page .soins-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .al-page .soins-aside {
    position: static;
  }
  .al-page .mission-grid {
    grid-template-columns: 1fr;
  }
  .al-page .mission-photo {
    min-height: 300px;
  }
  .al-page .mission-text {
    padding: 40px 26px;
  }
  .al-page .pros-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
@media (max-width: 860px) {
  .al-page .partners-logos {
    grid-template-columns: repeat(var(--al-par-cols-md, 2), 1fr);
  }
}
@media (max-width: 640px) {
  .al-page .fix-card {
    padding: 28px 24px 26px;
  }
  .al-page .mob-strip {
    padding: 20px 22px;
  }
  .al-page a.mob-btn {
    width: 100%;
    justify-content: center;
  }
  .al-page .eyebrow {
    top: 23px;
    font-size: 14px;
    line-height: 21px;
  }
  .al-page .mission-text > .eyebrow {
    top: 63px;
  }
  .al-page .cm-hero-main > .eyebrow {
    top: 26px;
  }
  .al-page .cm-hero {
    padding-bottom: 60px;
  }
  .al-page > .cm-hero:first-child {
    padding-top: 111px;
  }
  body:has(.alert-section) .al-page > .cm-hero:first-child {
    padding-top: 153px;
  }
  .al-page .sec {
    padding: 48px 0;
  }
  /* Les deux grilles de cartes deviennent des carrousels horizontaux (maquette). */
  .al-page .admis-grid,
  .al-page .cross-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0 0 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .al-page .admis-grid::-webkit-scrollbar,
  .al-page .cross-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .al-page .admis-item {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .al-page .cross-card {
    flex: 0 0 82%;
    min-height: 0;
    scroll-snap-align: start;
  }
  .al-page .elig-ans-in {
    padding: 0 8px 24px;
  }
  .al-page .pros-dl-item {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ============================================================================
 * Accessibilité — mouvement réduit et absence de JavaScript
 *
 * CES DEUX BLOCS DOIVENT RESTER EN FIN DE FEUILLE. Ils neutralisent des déclarations
 * (animation du bandeau, repli de l'accordéon, flèche) posées plus haut avec la MÊME
 * spécificité : à spécificité égale, c'est l'ordre du fichier qui tranche. Placés avant,
 * comme ils l'étaient d'abord, ils perdaient — l'accordéon restait replié sans JavaScript et
 * la carte de contact gardait son animation en « mouvement réduit ».
 * ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .al-page .reveal,
  .al-page .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .al-page .hr,
  .al-page .today-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .al-page .cm-hero h1 .hl {
    animation: none;
    background-size: 100% 92%;
  }
}

/* Sans JavaScript, personne ne pose la classe « in » ni n'ouvre l'accordéon : les blocs et les
   réponses doivent rester lisibles, et la flèche n'annonce plus une ouverture impossible. */
@media (scripting: none) {
  .al-page .reveal {
    opacity: 1;
    transform: none;
  }
  .al-page .elig-ans {
    max-height: none;
  }
  .al-page .elig-arrow {
    display: none;
  }
  .al-page .elig-head {
    cursor: default;
  }
}
/* Au-delà de 1700px, la page passe en unités relatives (1px = 0.0694486429vw). */
@media (min-width: 1700px) {
  .al-page *:has(> .eyebrow) > h1,
  .al-page *:has(> .eyebrow) > h2,
  .al-page *:has(> .eyebrow) > .sec-title {
    margin-top: 3.8891vw;
  }
  .al-page .eyebrow {
    top: 0.2778vw;
    padding: 0.5556vw 1.1112vw;
    border-radius: 0.3472vw;
    font-size: 1.9446vw;
  }
  .al-page .mission-text > .eyebrow {
    top: 4.1669vw;
    left: 3.6113vw;
  }
  .al-page .cm-hero-main > .eyebrow {
    top: 0.7639vw;
  }
  .al-page {
    --al-gutter: 1.8057vw;
  }
  .al-page .sec {
    padding: 4.1669vw 0;
  }
  .al-page .sec-title {
    font-size: clamp(1.9446vw, 3.6vw, 3.0557vw);
  }
  .al-page .sec-head {
    gap: 2.2224vw;
    margin-bottom: 2.7779vw;
  }
  .al-page .sec-head .st-max {
    max-width: 47.2251vw;
  }
  .al-page .al-adm .sec-head .st-max {
    max-width: 54.5172vw;
  }
  .al-page .sec-intro {
    font-size: 1.0417vw;
    max-width: 44.4471vw;
  }
  .al-page .al-adm .sec-intro {
    margin-top: 1.1112vw;
    max-width: 54.5172vw;
    font-size: 1.1112vw;
  }
  .al-page .cm-res .sec-intro {
    font-size: 1.1112vw;
  }
  .al-page .btn-orange {
    gap: 0.8334vw;
    border: 0.0694vw solid #e9511c;
    border-radius: 0.3472vw;
    padding: 0.9723vw 1.8057vw;
    font-size: 1.1112vw;
  }
  .al-page .btn-orange img {
    width: 0.9723vw;
  }
  .al-page .btn-orange:hover img {
    transform: translateX(0.2778vw);
  }
  .al-page .cm-res {
    scroll-margin-top: 11.1118vw;
  }
  .al-page .al-btt {
    bottom: 1.6668vw;
    right: 1.6668vw;
    width: 3.1946vw;
    height: 3.1946vw;
  }
  .al-page .al-btt:hover {
    transform: translateY(-0.2083vw);
  }
  .al-page .al-btt svg {
    width: 1.2501vw;
    height: 1.2501vw;
  }
  .al-page .reveal {
    transform: translateY(1.389vw);
  }
  .al-page > *:first-child {
    padding-top: 7.2227vw;
  }
  body:has(.alert-section) .al-page > *:first-child {
    padding-top: 10.1395vw;
  }
  .al-page .cm-hero {
    padding-bottom: 5.2781vw;
  }
  .al-page > .cm-hero:first-child {
    padding-top: 12.0841vw;
  }
  body:has(.alert-section) .al-page > .cm-hero:first-child {
    padding-top: 15.0009vw;
  }
  .al-page .cm-hero .wrap {
    grid-template-columns: 1fr 26.3905vw;
    gap: 4.1669vw;
  }
  .al-page .cm-hero h1 {
    font-size: clamp(2.9168vw, 5.4vw, 5.417vw);
    margin-bottom: 1.6668vw;
    padding-bottom: 0.9723vw;
  }
  .al-page .cm-hero h1 .hl {
    padding: 0 0.6945vw;
    margin-left: -0.2778vw;
    border-radius: 0.2778vw;
  }
  .al-page .cm-lead {
    font-size: 1.2501vw;
    max-width: 37.5023vw;
    margin-bottom: 2.2224vw;
  }
  .al-page .cm-badges {
    gap: 0.6945vw;
    margin-bottom: 2.7779vw;
  }
  .al-page .cm-badge {
    font-size: 1.1112vw;
    padding: 0.4167vw 0.9723vw;
    border-radius: 0.2778vw;
  }
  .al-page .cm-badge:hover {
    transform: translateY(-0.2083vw);
  }
  .al-page .cm-ctas {
    gap: 0.8334vw;
  }
  .al-page .today-card {
    border-radius: 0.8334vw;
    box-shadow: 0 1.6668vw 4.1669vw rgba(6, 30, 66, .34);
  }
  .al-page .tc-head {
    padding: 1.5279vw 1.8057vw;
  }
  .al-page .tc-eyebrow {
    font-size: 1.1112vw;
  }
  .al-page .tc-body {
    padding: 0.5556vw 1.8057vw 0.8334vw;
  }
  .al-page .tc-slot {
    padding: 1.2501vw 0;
    border-bottom: 0.0694vw dashed #cfe0ef;
  }
  .al-page .tc-slot-mode {
    gap: 0.5556vw;
    font-size: 0.9723vw;
    margin-bottom: 0.5556vw;
  }
  .al-page .tc-slot-mode .dot {
    width: 0.5556vw;
    height: 0.5556vw;
  }
  .al-page .tc-slot-line {
    font-size: 1.5279vw;
    margin-bottom: 0.4167vw;
  }
  .al-page .tc-slot-desc {
    font-size: 0.9723vw;
  }
  .al-page .tc-address {
    padding: 0.9723vw 1.8057vw;
    font-size: 0.9723vw;
    gap: 0.5556vw;
  }
  .al-page .tc-address .pin {
    width: 0.5556vw;
    height: 0.5556vw;
  }
  .al-page .rdv-grid {
    gap: 1.2501vw;
  }
  .al-page .rdv-col {
    border: 0.0694vw solid #dbe8f2;
    border-radius: 0.9723vw;
    padding: 2.3613vw 2.2224vw;
  }
  .al-page .rdv-col:hover {
    transform: translateY(-0.3472vw);
    box-shadow: 0 1.2501vw 2.7779vw rgba(29, 26, 85, .1);
  }
  .al-page .rdv-tag {
    font-size: 0.9723vw;
    border-radius: 3.4724vw;
    padding: 0.4167vw 1.0417vw;
    margin-bottom: 1.389vw;
  }
  .al-page .rdv-time {
    font-size: 1.8057vw;
    margin-bottom: 0.6945vw;
  }
  .al-page .rdv-coord {
    font-size: 1.1112vw;
    margin-bottom: 1.389vw;
  }
  .al-page .rdv-result {
    font-size: 1.1112vw;
    padding-top: 1.2501vw;
    border-top: 0.0694vw solid #eef2f8;
  }
  .al-page .admis-grid {
    gap: 1.1112vw;
    margin-bottom: 1.5279vw;
  }
  .al-page .admis-item {
    border: 0.0694vw solid #e2e9f2;
    border-radius: 0.9723vw;
    padding: 1.9446vw;
    gap: 0.6945vw;
  }
  .al-page .admis-item::before {
    width: 0.2778vw;
  }
  .al-page .admis-item:hover {
    transform: translateY(-0.3472vw);
    box-shadow: 0 1.2501vw 2.7779vw rgba(29, 26, 85, .1);
  }
  .al-page .admis-status {
    font-size: 0.9723vw;
    gap: 0.4861vw;
  }
  .al-page .admis-status .mk {
    width: 1.2501vw;
    height: 1.2501vw;
    font-size: 0.7639vw;
  }
  .al-page .admis-item h3 {
    font-size: 1.3195vw;
  }
  .al-page .admis-item p {
    font-size: 0.9723vw;
  }
  .al-page .admis-note {
    font-size: 0.9723vw;
    padding: 1.5279vw 1.8057vw;
    border: 0.0694vw solid #e2e9f2;
    border-left: 0.2778vw solid #055da8;
    border-radius: 0.5556vw;
  }
  .al-page .admis-note p + p {
    margin-top: 0.8334vw;
  }
  .al-page .soins-split {
    gap: 3.8891vw;
  }
  .al-page .soins-aside {
    top: 8.3338vw;
  }
  .al-page .soins-aside h2 {
    margin-bottom: 1.2501vw;
  }
  .al-page .soins-aside p {
    font-size: 1.1112vw;
    max-width: 25.0015vw;
  }
  .al-page .soin-col {
    gap: 1.6668vw;
    padding: 1.6668vw 0.2778vw;
    border-top: 0.0694vw solid #e2e9f2;
  }
  .al-page .soin-col:last-child {
    border-bottom: 0.0694vw solid #e2e9f2;
  }
  .al-page .soin-col:hover {
    padding-left: 1.2501vw;
  }
  .al-page .soin-col h3 {
    font-size: clamp(1.389vw, 1.7vw, 1.7362vw);
    margin-bottom: 0.4167vw;
  }
  .al-page .soin-col p {
    font-size: 1.1112vw;
  }
  .al-page .soin-col--na:hover {
    padding-left: 0.2778vw;
  }
  .al-page .na-label {
    font-size: 0.6945vw;
    margin-bottom: 0.2778vw;
  }
  .al-page .al-mission:has(+ .al-mission) {
    padding-bottom: 1.2501vw;
  }
  .al-page .mission-grid {
    border-radius: 1.1112vw;
    border: 0.0694vw solid #e2e9f2;
  }
  .al-page .mission-photo {
    min-height: 31.9464vw;
  }
  .al-page .mission-text {
    padding: 3.8891vw 3.6113vw;
  }
  .al-page .mission-text h2 {
    margin-bottom: 0.5556vw;
  }
  .al-page .mission-body p {
    font-size: 1.1112vw;
    margin-top: 1.1112vw;
  }
  .al-page .mission-plaidoyer {
    margin-top: 1.8057vw;
    padding-top: 1.389vw;
    border-top: 0.0694vw solid #e2e9f2;
    font-size: 1.1112vw;
  }
  .al-page .elig-grid {
    border-top: 0.0694vw solid #dbe8f2;
  }
  .al-page .elig-item {
    border-bottom: 0.0694vw solid #dbe8f2;
  }
  .al-page .elig-head {
    gap: 1.2501vw;
    padding: 1.5279vw 0.5556vw;
  }
  .al-page .elig-q {
    font-size: clamp(1.1112vw, 1.5vw, 1.3195vw);
  }
  .al-page .elig-arrow {
    width: 2.0835vw;
    height: 2.0835vw;
    border: 0.0694vw solid #cfe0ef;
  }
  .al-page .elig-arrow svg {
    width: 0.9028vw;
    height: 0.9028vw;
  }
  .al-page .elig-ans-in {
    padding: 0 3.6113vw 1.6668vw;
    font-size: 1.0417vw;
    max-width: 56.9479vw;
  }
  .al-page .pros-grid {
    gap: 3.8891vw;
  }
  .al-page .pros-left h2 {
    margin-bottom: 0.9723vw;
  }
  .al-page .pros-left p {
    font-size: 1.1112vw;
    margin-bottom: 1.8057vw;
    max-width: 30.5574vw;
  }
  .al-page .pros-dl {
    border: 0.0694vw solid #e2e9f2;
    border-radius: 0.9723vw;
  }
  .al-page .pros-dl-item {
    gap: 1.1112vw;
    padding: 1.389vw 1.5279vw;
    border-bottom: 0.0694vw solid #eef2f8;
  }
  .al-page a.pros-dl-item:hover {
    padding-left: 1.9446vw;
  }
  .al-page .pros-dl-name {
    font-size: 1.1112vw;
  }
  .al-page .pros-dl-act {
    gap: 0.5556vw;
    font-size: 0.9723vw;
  }
  .al-page a.pros-dl-item:hover .pros-dl-act {
    gap: 0.8334vw;
  }
  .al-page .pros-dl-act svg {
    width: 0.9723vw;
    height: 0.9723vw;
  }
  .al-page .pros-photo {
    min-height: 27.7795vw;
    border-radius: 1.1112vw;
  }
  .al-page .partners-head {
    gap: 2.2224vw;
    margin-bottom: 2.639vw;
  }
  .al-page .partners-desc {
    font-size: 1.1112vw;
    max-width: 29.1684vw;
  }
  .al-page .partners-logos {
    gap: 0.9723vw;
    margin-bottom: 2.5002vw;
  }
  .al-page .partners-logos--compact {
    grid-template-columns: repeat(var(--al-par-cols, 4), minmax(0, 22.2223vw));
  }
  .al-page .partner-logo {
    border: 0.0694vw solid #dbe8f2;
    border-radius: 0.6945vw;
  }
  .al-page .partner-logo:hover {
    transform: translateY(-0.2778vw);
  }
  .al-page .partner-logo img {
    padding: 0.9723vw;
  }
  .al-page .cross-grid {
    gap: 1.2501vw;
  }
  .al-page .cross-card {
    border-radius: 0.6945vw;
    padding: 2.0835vw;
  }
  .al-page a.cross-card:hover {
    transform: translateY(-0.4167vw);
    box-shadow: 0 1.6668vw 3.3335vw rgba(29, 26, 85, .18);
  }
  .al-page .cross-body {
    gap: 0.8334vw;
  }
  .al-page .cross-tag {
    font-size: 0.9723vw;
  }
  .al-page .cross-card h3 {
    font-size: clamp(1.8057vw, 2.4vw, 2.2224vw);
  }
  .al-page .cross-card p {
    font-size: 1.1112vw;
  }
  .al-page .cross-btn {
    gap: 0.6945vw;
    margin-top: 1.8057vw;
    border: 0.0694vw solid #fff;
    border-radius: 0.3472vw;
    padding: 0.8334vw 1.5279vw;
    font-size: 1.0417vw;
  }
  .al-page .mob-strip {
    gap: 1.8057vw;
    margin-bottom: 1.1112vw;
    padding: 1.5279vw 1.9446vw;
    border-radius: 0.8334vw;
  }
  .al-page .mob-live {
    gap: 0.625vw;
    margin-bottom: 0.4167vw;
    font-size: 0.9723vw;
  }
  .al-page .mob-live .dot {
    width: 0.625vw;
    height: 0.625vw;
  }
  .al-page .mob-txt {
    font-size: 1.0417vw;
  }
  .al-page a.mob-btn {
    gap: 0.8334vw;
    padding: 0.8334vw 1.5279vw;
    border-width: 0.0694vw;
    border-radius: 0.3472vw;
    font-size: 1.0417vw;
  }
  .al-page .mob-btn img {
    width: 0.9723vw;
  }
  .al-page .mob-btn:hover img {
    transform: translateX(0.2778vw);
  }
  .al-page .fix-grid {
    gap: 1.2501vw;
  }
  .al-page .fix-card {
    padding: 2.5002vw 2.3613vw 2.0835vw;
    border-width: 0.0694vw;
    border-top-width: 0.3472vw;
    border-radius: 1.1112vw;
  }
  .al-page .fix-card:hover {
    transform: translateY(-0.4167vw);
    box-shadow: 0 1.5279vw 3.1946vw rgba(29, 26, 85, 0.12);
  }
  .al-page .fix-top {
    gap: 0.9723vw;
    margin-bottom: 1.1112vw;
  }
  .al-page .fix-tag {
    padding: 0.3472vw 0.9723vw;
    border-radius: 3.4724vw;
    font-size: 0.9723vw;
  }
  .al-page .fix-badge {
    padding: 0.3472vw 0.9028vw;
    border-radius: 3.4724vw;
    font-size: 0.9723vw;
  }
  .al-page .fix-name {
    margin-bottom: 0.6945vw;
    font-size: clamp(1.9446vw, 3vw, 2.7779vw);
  }
  .al-page .fix-addr {
    margin-bottom: 1.5279vw;
    font-size: 1.0417vw;
  }
  .al-page .fix-addr-link {
    text-underline-offset: 0.2083vw;
  }
  .al-page .fix-hours {
    border-top-width: 0.0694vw;
  }
  .al-page .fix-h {
    gap: 1.1112vw;
    padding: 0.7639vw 0;
    border-bottom-width: 0.0694vw;
  }
  .al-page .fh-day,
  .al-page .fh-time {
    font-size: 1.0417vw;
  }
  .al-page .form-grid {
    gap: 3.8891vw;
  }
  .al-page .form-left .sec-title {
    margin-bottom: 0.9723vw;
  }
  .al-page .form-left p {
    max-width: 33.3353vw;
    margin-bottom: 1.8057vw;
    font-size: 1.0417vw;
  }
  .al-page .form-ctas {
    gap: 0.8334vw;
  }
  .al-page .btn-ghost {
    gap: 0.6945vw;
    padding: 0.7639vw 1.389vw;
    border-width: 0.0694vw;
    border-radius: 0.3472vw;
    font-size: 0.9723vw;
  }
  .al-page .form-video {
    min-height: 22.2236vw;
    border-radius: 1.1112vw;
  }
  .al-page .contact-note {
    max-width: 38.8912vw;
    margin-top: 1.1112vw;
    font-size: 1.1112vw;
  }
  .al-page .contact-cards {
    gap: 1.2501vw;
    margin-top: 3.0557vw;
  }
  .al-page .cc-col {
    gap: 1.2501vw;
  }
  .al-page a.cc {
    padding: 1.9446vw 1.8057vw 2.0835vw;
    border-radius: 0.6945vw;
  }
  .al-page a.cc:hover {
    transform: translateY(-0.5556vw);
    box-shadow: 0 1.5279vw 3.1946vw rgba(29, 26, 85, 0.14);
  }
  .al-page .cc-lbl {
    gap: 0.6945vw;
    margin-bottom: 1.2501vw;
    padding-bottom: 0.9723vw;
    border-bottom-width: 0.0694vw;
    font-size: 0.9723vw;
  }
  .al-page .cc-val {
    margin-bottom: 0.8334vw;
    font-size: clamp(1.6668vw, 2.2vw, 2.0835vw);
  }
  .al-page .cc-val.mail {
    font-size: clamp(1.2501vw, 1.6vw, 1.389vw);
  }
  .al-page .cc-sub {
    font-size: 0.9723vw;
  }
  .al-page .urgence-box {
    top: 6.6671vw;
    border-radius: 0.8334vw;
  }
  .al-page .urgence-head {
    gap: 0.8334vw;
    padding: 2.0835vw 2.0835vw 1.9446vw;
  }
  .al-page .urgence-head::after {
    right: -3.4724vw;
    bottom: -4.1669vw;
    width: 13.1952vw;
    height: 13.1952vw;
  }
  .al-page .urgence-kicker {
    gap: 0.625vw;
    font-size: 0.9723vw;
  }
  .al-page .urgence-kicker .pulse {
    width: 0.5556vw;
    height: 0.5556vw;
  }
  .al-page .urgence-head h3 {
    font-size: 1.6668vw;
  }
  .al-page .urgence-head p {
    font-size: 0.9723vw;
  }
  .al-page .urgence-body {
    border-width: 0.0694vw;
    border-top: none;
    border-radius: 0 0 0.8334vw 0.8334vw;
  }
  .al-page .urgence-row {
    gap: 0.8334vw;
    padding: 1.1806vw 2.0835vw;
    border-bottom-width: 0.0694vw;
  }
  .al-page .urgence-row:hover {
    padding-left: 2.639vw;
  }
  .al-page .u-name {
    font-size: 0.9723vw;
  }
  .al-page .u-num {
    padding: 0.4167vw 0.9028vw;
    border-radius: 0.4167vw;
    font-size: 1.389vw;
  }
}
