/* Aborde : feuille de styles commune à toutes les pages.
   Charte : docs/Aborde_Plateforme_de_marque_DA.pdf (v1.0, septembre 2026).
   Contrastes vérifiés (WCAG 2.1) : voir les commentaires à côté des couleurs. */

/* Polices : Atkinson Hyperlegible, auto-hébergée (licence SIL OFL, voir fonts/OFL.txt) */
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --encre: #0F2A3F;        /* texte : 13,54:1 sur Écume, 12,27:1 sur Sable */
  --ecume: #F7F5F0;        /* fond de page */
  --sable: #EDEAE2;        /* fond secondaire */
  --acces: #1D5FA8;        /* liens, boutons : 5,92:1 sur Écume, 5,37:1 sur Sable */
  --acces-fonce: #174C87;  /* survol : 7,96:1 sur Écume */
  --signal: #F2B33D;       /* focus, balise : jamais en texte sur fond clair */
  --gres: #5B6470;         /* texte secondaire : 5,50:1 sur Écume, 4,99:1 sur Sable */
  --corail: #B8431F;       /* erreurs : 5,44:1 sur blanc, 4,99:1 sur Écume */
  --varech: #1E6B45;       /* succès : 5,94:1 sur Écume */
  --blanc: #FFFFFF;
  --filet: #D9D6CE;        /* séparateurs décoratifs uniquement */

  /* Échelle typographique : plus de contraste entre les niveaux.
     Texte courant 18 px et texte secondaire 16 px conservés (charte) ;
     H1 et H2 agrandis au-delà de la charte sur grand écran, à la demande. */
  --t-h1: clamp(2.5rem, 1.5rem + 3.4vw, 3.75rem);      /* 40 → 60 px */
  --t-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.375rem);   /* 28 → 38 px */
  --t-h3: 1.3125rem;                                   /* 21 px */
  --t-h3-fort: clamp(1.3125rem, 1.2rem + .5vw, 1.625rem); /* 21 → 26 px */
  --t-chapeau: clamp(1.1875rem, 1.05rem + .6vw, 1.4375rem); /* 19 → 23 px */
  --t-texte: 1.125rem;                                 /* 18 px */
  --t-petit: 1rem;                                     /* 16 px, jamais moins */
  --t-prix: clamp(2rem, 1.6rem + 1.4vw, 2.625rem);     /* 32 → 42 px */
  --t-chiffre: clamp(3.25rem, 2rem + 4.5vw, 5rem);     /* 52 → 80 px */

  --mesure: 28em;          /* 70 caractères par ligne au maximum (mesuré) */
  --largeur: 72rem;
  --gouttiere: clamp(1rem, 4vw, 2rem);
  --rythme: clamp(3rem, 7vw, 5rem);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Très grands écrans (27 pouces…) : à partir de 1 600 px, le contenu s'élargit et tout
   grandit progressivement (texte, espacements), jusqu'à +25 % environ en 2 560 px.
   La taille de base reste en % : elle respecte le réglage de taille du navigateur, et le
   zoom fonctionne normalement. Les lignes de texte restent limitées par --mesure (28em). */
@media (min-width: 100rem) {
  :root { --largeur: 84rem; }
  html { font-size: clamp(100%, 62.5% + .375vw, 125%); }
}
/* Pas de scroll-behavior: smooth : site.js adoucit déjà le défilement vers les rubriques
   (et respecte « moins d'animations »). Le défilement natif doux arrêtait parfois trop tôt
   le défilement vers un champ qui reçoit le focus au clavier (champ coupé en bas d'écran). */

body {
  margin: 0;
  background: var(--ecume);
  color: var(--encre);
  font-family: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;
  font-size: var(--t-texte);
  line-height: 1.6;
  overflow-wrap: anywhere;  /* un mot n'est coupé que s'il ne tient pas sur la ligne (texte très agrandi) */
}

::selection { background: var(--signal); color: var(--encre); }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;  /* coupe un mot seulement s'il est plus large que l'écran (texte très agrandi) */
  hyphens: manual;            /* pas de césure automatique : « abordables » reste entier */
}
.chiffre-valeur, .touche, .essai-titre { overflow-wrap: break-word; }
.sans-coupure { white-space: nowrap; }  /* nom composé gardé entier en fin de ligne (« Saint-Brieuc ») */
h1 { font-size: var(--t-h1); line-height: 1.1; }
h2 { font-size: var(--t-h2); line-height: 1.15; }
h3 { font-size: var(--t-h3); }

p { margin: 0 0 1em; max-width: var(--mesure); }
ul, ol { margin: 0 0 1em; }

img, svg { max-width: 100%; }

a {
  color: var(--acces);
  text-decoration: underline;
  text-decoration-thickness: max(1px, .08em);
  text-underline-offset: .2em;
  border-radius: 2px;
}
a:hover {
  color: var(--acces-fonce);
  text-decoration-thickness: max(2px, .14em);
}

/* Focus clavier : contour Encre 3 px et halo Signal, sans changer la forme de l'élément.
   L'outline reste visible en mode contraste élevé (le box-shadow y est supprimé). */
:focus-visible {
  outline: 3px solid var(--encre);
  outline-offset: 2px;
  box-shadow: 0 0 0 8px var(--signal);
}
/* Sur fond Encre, le contour passe en Signal (7,93:1). */
.sur-fonce :focus-visible {
  outline-color: var(--signal);
  box-shadow: none;
}
/* Cibles des liens internes (lien d'évitement, sections) : ce ne sont pas des éléments
   interactifs, le focus y est placé seulement pour reprendre la tabulation à cet endroit. */
main:focus, [data-cible]:focus { outline: none; box-shadow: none; }

:target { scroll-margin-top: 1rem; }

kbd {
  font-family: inherit;
  font-weight: 700;
  font-size: .95em;
  background: var(--blanc);
  border: 2px solid var(--encre);
  border-bottom-width: 4px;
  border-radius: 6px;
  padding: 0 .45em;
  white-space: nowrap;
}

code {
  font-family: inherit;
  font-size: 1rem;
  background: var(--sable);
  border-radius: 4px;
  padding: .05em .3em;
}

/* Champs à compléter par l'éditeur du site */
.a-completer {
  background: var(--signal);  /* Encre sur Signal : 7,93:1 */
  color: var(--encre);
  padding: 0 .2em;
  border-radius: 3px;
}

.visuellement-cache {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.conteneur {
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* Lien d'évitement */
.evitement {
  position: absolute;
  top: 0;
  left: var(--gouttiere);
  z-index: 30;           /* au-dessus de l'en-tête fixe */
  padding: .75rem 1.25rem;
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  transform: translateY(-110%);
}
.evitement:focus { transform: none; }
.evitement:hover { color: var(--blanc); }

/* Boutons : 44 px minimum, coins arrondis 10 px, 18 px gras */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .625rem 1.25rem;
  border: 2px solid transparent;  /* visible en mode contraste élevé */
  border-radius: 10px;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
  overflow-wrap: anywhere;  /* texte très agrandi sur petit écran : le bouton ne déborde jamais */
}
.bouton-principal { background: var(--acces); color: var(--blanc); }  /* 6,45:1 */
.bouton-principal:hover { background: var(--acces-fonce); color: var(--blanc); }
.bouton-secondaire { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton-secondaire:hover {
  color: var(--encre);
  background: color-mix(in srgb, var(--encre) 8%, transparent);
}

/* En-tête */
.entete { position: relative; border-bottom: 1px solid var(--filet); background: var(--ecume); }
/* En-tête fixe au défilement, seulement quand il est compact :
   - grand écran (72rem et plus) : une seule ligne (81 px) ;
   - sous 72rem : menu replié par menu.js (74 px). Sans JavaScript, le menu complet ferait
     plus de 170 px : l'en-tête défile alors avec la page.
   Jamais sur un écran très bas (téléphone en paysage) : il masquerait trop de contenu.
   scroll-padding-top évite qu'un titre visé par un lien ou un élément qui reçoit le focus
   passe sous l'en-tête. */
/* Marges de défilement : un élément qui reçoit le focus au clavier n'arrive jamais collé au
   bord de l'écran (le halo du focus dépasse de 8 px), ni sous le bouton flottant « Revenir en
   haut » (présent avec JavaScript). Les règles suivantes ajoutent la hauteur de l'en-tête collant. */
html { scroll-padding-top: 1rem; scroll-padding-bottom: 1rem; }
html:has(.haut-de-page.flottant) { scroll-padding-bottom: 5.5rem; }
@media (min-width: 72rem) and (min-height: 36rem) {
  .entete { position: sticky; top: 0; z-index: 20; }
  html { scroll-padding-top: 6.5rem; }
}
@media (max-width: 71.99rem) and (min-height: 25rem) {
  .menu-js .entete { position: sticky; top: 0; z-index: 20; }
  html.menu-js { scroll-padding-top: 6rem; }
}
/* Hauteur réelle mesurée par menu.js : quand le texte agrandi ou espacé fait passer le menu sur
   plusieurs lignes, la marge de défilement suit l'en-tête ; au-delà du quart de l'écran,
   l'en-tête n'est plus collant (classe entete-libre). */
html.entete-mesuree { scroll-padding-top: calc(var(--entete-h) + 1.5rem); }
html.entete-libre { scroll-padding-top: 1rem; }
html.entete-libre .entete { position: relative; }
.entete .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 2rem;
  padding-block: .75rem;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: var(--encre);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;  /* le logo n'est pas modifié (charte) */
}
.marque:hover { color: var(--encre); }
.marque svg { flex: none; width: 2.25rem; height: 2.25rem; }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1rem;             /* six entrées : tiennent sur une ligne à côté du logo dès 72rem */
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a:not(.bouton) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav .nav-action { margin-block: .25rem; }
@media (min-width: 72rem) {
  .nav .nav-action { margin-inline-start: .5rem; }
}
/* Sous 72rem (mobile, tablette, petit portable, zoom à 200 %) : les liens se replient derrière un bouton
   « Menu ». Le bouton n'existe que si le JavaScript fonctionne (classe menu-js posée par menu.js) :
   sans lui, les liens restent affichés en entier. */
.nav-bouton { display: none; }
@media (max-width: 71.99rem) {
  .menu-js .nav-bouton {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .5rem 1rem;
    border: 2px solid var(--encre);
    border-radius: 10px;
    background: transparent;
    color: var(--encre);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-js .nav-bouton:hover { background: color-mix(in srgb, var(--encre) 8%, transparent); }
  .menu-js .nav-bouton svg { width: 1.25rem; height: 1.25rem; flex: none; }
  .menu-js .nav-bouton[aria-expanded="true"] { background: var(--encre); color: var(--blanc); }
  /* Panneau du menu : toujours présent mais masqué (visibility: hidden le retire aussi de
     l'ordre de tabulation et des lecteurs d'écran), pour pouvoir l'animer. */
  .menu-js .nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    padding: .75rem var(--gouttiere) 1.25rem;
    border-bottom: 1px solid var(--filet);
    background: var(--ecume);
    box-shadow: 0 .75rem 1.5rem color-mix(in srgb, var(--encre) 15%, transparent);
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
  }
  .menu-js .nav.ouvert ul {
    visibility: visible;
    clip-path: inset(0 0 -2rem 0);   /* -2rem : laisse voir l'ombre portée */
  }
  .menu-js .nav .nav-action { margin-block: .5rem 0; }
  /* Icône : les trois traits deviennent une croix quand le menu est ouvert */
  .menu-js .nav-bouton .trait { transform-box: fill-box; transform-origin: center; }
  .menu-js .nav-bouton[aria-expanded="true"] .trait-1 { transform: translateY(5px) rotate(45deg); }
  .menu-js .nav-bouton[aria-expanded="true"] .trait-2 { opacity: 0; transform: scaleX(0); }
  .menu-js .nav-bouton[aria-expanded="true"] .trait-3 { transform: translateY(-5px) rotate(-45deg); }
}
/* Ouverture fluide : le panneau se déroule, les liens arrivent l'un après l'autre.
   À la fermeture, visibility attend la fin du fondu. Rien ne bouge si le visiteur a
   demandé moins d'animations : le menu s'ouvre alors instantanément. */
@media (max-width: 71.99rem) and (prefers-reduced-motion: no-preference) {
  .menu-js .nav ul {
    transition: clip-path .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
  }
  .menu-js .nav.ouvert ul {
    transition: clip-path .32s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  .menu-js .nav li {
    opacity: 0;
    transform: translateY(-.4rem);
    transition: opacity .2s ease, transform .2s ease;
  }
  .menu-js .nav.ouvert li { opacity: 1; transform: none; }
  .menu-js .nav.ouvert li:nth-child(2) { transition-delay: .04s; }
  .menu-js .nav.ouvert li:nth-child(3) { transition-delay: .08s; }
  .menu-js .nav.ouvert li:nth-child(4) { transition-delay: .12s; }
  .menu-js .nav.ouvert li:nth-child(5) { transition-delay: .16s; }
  .menu-js .nav.ouvert li:nth-child(6) { transition-delay: .2s; }
  .menu-js .nav-bouton { transition: background-color .2s ease, color .2s ease; }
  .menu-js .nav-bouton .trait { transition: transform .25s ease, opacity .2s ease; }
}

/* Sections */
.section { padding-block: var(--rythme); }
.bande { background: var(--sable); }
.section-intro { font-size: var(--t-chapeau); line-height: 1.5; }
.secondaire { color: var(--gres); font-size: var(--t-petit); }
.bande .secondaire { color: var(--gres); }

/* Accroche */
.accroche { position: relative; padding-top: clamp(3rem, 8vw, 6rem); }
/* Le titre H1 (« Audit d'accessibilité numérique en Bretagne ») s'affiche en surtitre ;
   le slogan, en paragraphe juste dessous, garde le rendu d'un grand titre. */
.accroche h1 {
  margin-bottom: .5rem;
  color: var(--gres);                  /* 5,50:1 sur Écume */
  font-size: var(--t-texte);
  line-height: 1.4;
}
.accroche-slogan {
  max-width: 14em;
  margin: 0 0 .5em;
  font-size: var(--t-h1);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.accroche-slogan::after {
  /* filet Signal, repris de la couverture de la charte (décoratif) */
  content: "";
  display: block;
  width: 3.5rem;
  height: .375rem;
  margin-top: 1.25rem;
  background: var(--signal);
  border-radius: 1px;
}
.chapeau { font-size: var(--t-chapeau); line-height: 1.5; }
/* Pages légales : retour à l'accueil en fin de contenu */
.retour-accueil { margin-top: 2.5rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 29.99rem) {
  .actions { flex-direction: column; }
  .actions .bouton { width: 100%; }
}
.accroche-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) {
  .accroche-grille { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; }
  .accroche .actions { margin-bottom: 0; }
}

/* Essai au clavier : la signature d'Aborde, le focus visible */
.essai-clavier {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: 10px;
}
.essai-clavier p { margin-bottom: 1rem; }
.essai-touche { margin: .5rem 0 1.75rem !important; }
.touche {
  /* grande touche entourée du même contour que le focus du site (décorative) */
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1.25rem .5rem;
  background: var(--blanc);
  border: 2px solid var(--encre);
  border-bottom-width: 6px;
  border-radius: 10px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  outline: 3px solid var(--encre);
  outline-offset: 5px;
  box-shadow: 0 0 0 11px var(--signal);
  margin: 11px;
  max-width: calc(100% - 22px);  /* reste dans l'encart même avec le texte agrandi */
  flex-wrap: wrap;
}
.touche svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.essai-titre { font-size: var(--t-h3-fort); font-weight: 700; line-height: 1.3; }
/* Petit écran : la grande touche décorative est retirée, l'essai reste expliqué */
@media (max-width: 40rem) {
  .essai-touche { display: none; }
}
.touches {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--filet);
  list-style: none;
  font-size: var(--t-petit);
}

/* Rampe : séparation reprise du symbole du logo (décorative).
   Une par séparation de l'accueil, chacune avec sa variante. Celle de l'accroche se trace au
   chargement ; les autres suivent le défilement (site.js) et restent tracées en remontant. */
.rampe-cadre {
  --rampe-h: clamp(3.5rem, 9vw, 7.5rem);
  --sol: var(--sable);
  --haut: var(--ecume);   /* couleur au-dessus du trait */
  position: relative;
  overflow-x: clip;       /* rogne le trait sur les côtés, laisse dépasser la balise au-dessus */
  height: var(--rampe-h);
  margin-bottom: -1px;    /* recouvre la section suivante : pas de liseré clair */
}
.accroche .rampe-cadre { margin-top: clamp(2rem, 5vw, 3.5rem); }
.rampe {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;  /* la surface déborde un peu vers le bas, dans la marge de la section suivante */
}
.rampe-sol { fill: var(--sol); shape-rendering: crispEdges; }  /* bords nets : pas de liseré, le trait couvre la pente */
.rampe-trait {
  fill: none;
  stroke: var(--acces);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.balise {
  position: absolute;
  right: 16%;
  bottom: calc(var(--rampe-h) * .7 + .9rem);
  width: clamp(.9rem, 1.6vw, 1.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
}
/* Variante arrivée : rampe courte et raide, long plateau Encre qui devient le pied de page */
.rampe-cadre--arrivee { --sol: var(--encre); --rampe-h: clamp(3rem, 7vw, 6rem); }
.rampe-cadre--arrivee .balise { right: auto; left: 34%; }
/* Séparations qui partent d'une bande Sable vers l'Écume */
.rampe-cadre--sur-sable { --sol: var(--ecume); --haut: var(--sable); background: var(--sable); }
.rampe-cadre--marche .balise { right: 12%; }
/* Trois paliers, comme les trois étapes de la méthode */
.rampe-cadre--paliers .balise { right: 10%; }
/* Le parcours clavier : des arrêts de tabulation le long de la rampe,
   la balise finale porte le contour de focus du site */
.jalon {
  position: absolute;
  width: .7rem;
  height: .7rem;
  margin: -.35rem 0 0 -.35rem;
  border-radius: 50%;
  background: var(--encre);
}
.j1 { left: 10%; top: 85.7%; }
.j2 { left: 22%; top: 72.4%; }
.j3 { left: 34%; top: 59%; }
.j4 { left: 46%; top: 45.6%; }
.balise--focus {
  right: 14%;
  box-shadow: 0 0 0 3px var(--haut), 0 0 0 6px var(--encre), 0 0 0 10px var(--signal);
}

/* Tracé des rampes : le trait est dévoilé de gauche à droite (clip-path). Tous les tracés
   vont de gauche à droite, c'est donc l'équivalent d'un dessin du trait, et contrairement à
   stroke-dasharray, le calcul reste juste avec vector-effect: non-scaling-stroke, quelle que
   soit la largeur de l'écran. Sans prise en charge de clip-path, le trait est simplement
   affiché en entier. Les marges négatives (-1rem) évitent de rogner l'épaisseur du trait. */
@media (prefers-reduced-motion: no-preference) {
  /* Accroche : tracée au chargement */
  .accroche .rampe-trait {
    clip-path: inset(-1rem 100% -1rem 0);
    animation: tracer 2.4s ease-in-out .3s forwards;
  }
  .accroche .balise {
    opacity: 0;
    animation: allumer .6s ease-out 2.6s forwards;
  }
  /* Séparations qui suivent le défilement (--p, de 0 à 1, calculé par site.js ;
     la rampe de l'accroche en fait partie quand elle est sous l'écran au chargement) */
  .rampes-animees .rampe-cadre.rampe-defile { --p: 0; }
  .rampes-animees .rampe-cadre.rampe-defile .rampe-trait {
    clip-path: inset(-1rem calc((1 - var(--p)) * 100%) -1rem 0);
    animation: none;
    transition: clip-path .12s linear;
  }
  /* Chaque arrêt du parcours clavier s'allume quand le trait atteint sa position */
  .rampes-animees .rampe-cadre.rampe-defile .jalon { transition: opacity .15s linear; }
  .rampes-animees .rampe-cadre.rampe-defile .j1 { opacity: clamp(0, (var(--p) - .1) * 20, 1); }
  .rampes-animees .rampe-cadre.rampe-defile .j2 { opacity: clamp(0, (var(--p) - .22) * 20, 1); }
  .rampes-animees .rampe-cadre.rampe-defile .j3 { opacity: clamp(0, (var(--p) - .34) * 20, 1); }
  .rampes-animees .rampe-cadre.rampe-defile .j4 { opacity: clamp(0, (var(--p) - .46) * 20, 1); }
  /* La balise s'allume à l'arrivée */
  .rampes-animees .rampe-cadre.rampe-defile .balise {
    opacity: clamp(0, (var(--p) - .9) * 10, 1);
    animation: none;
    transition: opacity .3s ease-out;
  }
}
@keyframes tracer { to { clip-path: inset(-1rem 0 -1rem 0); } }
@keyframes allumer { to { opacity: 1; } }

/* Constat : quatre points courts et le chiffre clé */
.constat-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 60rem) {
  .constat-grille { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
}
.loi-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .loi-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.loi-points li { padding-top: 1rem; border-top: 3px solid var(--encre); }
.loi-points h3 { margin-bottom: .4rem; }
.loi-points p { margin: 0; }
.loi-sources { margin: 2.5rem 0 0; }

.chiffre {
  margin: 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 6px solid var(--signal);
}
.chiffre-valeur {
  display: block;
  margin-bottom: .1em;
  font-size: min(var(--t-chiffre), 19vw);  /* tient sur la ligne même avec le texte agrandi */
  font-weight: 700;
  line-height: 1;
}

/* Offre : trois formules, de la plus légère à la plus complète. Le Pack est mis en avant
   par un libellé écrit (« Le plus complet »), pas seulement par la couleur ou la bordure.
   Dans le code, le libellé suit le titre h3 (la navigation par titres ne le saute pas) ;
   il s'affiche au-dessus du titre. Requêtes de conteneur en rem : les seuils suivent la
   taille du texte (texte à 200 %).
   - petit écran : cartes empilées ;
   - largeur moyenne : cartes empilées, titre et prix d'un côté, détail de l'autre ;
   - grand écran : trois colonnes, lignes alignées d'une carte à l'autre (subgrid). */
#offre .conteneur { container-type: inline-size; }
.offres {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.offre {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-top: 4px solid var(--encre);
  border-radius: 0 0 10px 10px;
}
.offre-phare {
  border: 2px solid var(--acces);
  border-top-width: 6px;
}
.offre p { margin: 0 0 1rem; }
.offre h3 { margin: 0 0 1rem; font-size: var(--t-h3-fort); }
.offre-etape {
  order: -1;                           /* affiché au-dessus du titre */
  color: var(--gres);                  /* 6:1 sur blanc */
  font-size: var(--t-petit);
  font-weight: 700;
}
.offre .offre-etape { margin-bottom: .35rem; }
.offre .offre-badge {
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .15rem .75rem;
  border: 2px solid transparent;       /* visible en mode contraste élevé */
  border-radius: 999px;
  background: var(--acces);
  color: var(--blanc);                 /* 6,45:1 */
}
.prix {
  font-size: var(--t-prix);
  font-weight: 700;
  line-height: 1.1;
}
.offre .prix { margin-bottom: 1.25rem; }
.prix-precision {
  display: block;
  max-width: 18em;
  margin-top: .5rem;
  color: var(--gres);                  /* 6:1 sur blanc */
  font-size: var(--t-petit);
  font-weight: 400;
  line-height: 1.4;
}
.prix-precision::before { content: ", "; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.offre-detail { margin-bottom: 1.75rem; }
.offre-inclus {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--filet);
  list-style: none;
}
.offre-inclus li {
  position: relative;
  margin-bottom: .6rem;
  padding-left: 1.75rem;
}
.offre-inclus li:last-child { margin-bottom: 0; }
.offre-inclus li::before {
  /* coche dessinée en CSS (décorative, non lue) */
  content: "";
  position: absolute;
  left: .2rem;
  top: .3em;
  width: .45rem;
  height: .8rem;
  border-right: 2px solid var(--varech);
  border-bottom: 2px solid var(--varech);
  transform: rotate(45deg);
}
.offre .offre-mention {
  max-width: none;                     /* 66 caractères : ne dépasse jamais 70 par ligne */
  margin: 1rem 0 0;
  color: var(--gres);                  /* 6:1 sur blanc */
  font-size: var(--t-petit);
}
.offre .bouton { margin-top: auto; align-self: flex-start; }
@container (min-width: 42rem) and (max-width: 65.99rem) {
  .offres > .offre {
    display: grid;
    grid-template-columns: minmax(0, 17.5rem) minmax(0, 36rem);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "etape  detail"
      "titre  detail"
      "prix   detail"
      "bouton detail";
    column-gap: 2.5rem;
    justify-content: start;
  }
  .offres > .offre > .offre-etape { grid-area: etape; justify-self: start; }
  .offres > .offre > h3 { grid-area: titre; }
  .offres > .offre > .prix { grid-area: prix; }
  .offres > .offre > .offre-detail { grid-area: detail; margin-bottom: 0; }
  .offres > .offre > .bouton { grid-area: bouton; align-self: end; justify-self: start; margin-top: 1rem; }
}
@container (min-width: 66rem) {
  .offres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Les cinq lignes (libellé, titre, prix, détail, bouton) s'alignent d'une carte à l'autre */
  @supports (grid-template-rows: subgrid) {
    .offres > .offre {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      grid-template-columns: minmax(0, 1fr);
      row-gap: 0;
    }
    .offres > .offre > .offre-etape { grid-row: 1; align-self: end; justify-self: start; }
    .offres > .offre > h3 { grid-row: 2; }
    .offres > .offre > .prix { grid-row: 3; }
    .offres > .offre > .offre-detail { grid-row: 4; }
    .offres > .offre > .bouton { grid-row: 5; align-self: end; justify-self: start; }
  }
}
/* Sous la grille : conditions et mention de TVA */
.offres-notes {
  max-width: var(--mesure);
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--gres);                  /* 4,99:1 sur Sable */
}
.offres-notes li { margin-bottom: .4rem; }

/* Méthode : frise en trois étapes (c'est une vraie séquence).
   Sur mobile, la frise est verticale ; sur grand écran, horizontale,
   et se termine sur la balise Signal, comme la rampe du logo. */
.etapes {
  --pastille: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  position: relative;
  list-style: none;
  counter-reset: etape;
}
.etapes li {
  position: relative;
  padding-left: calc(var(--pastille) + 1.25rem);
  counter-increment: etape;
}
.etapes li::before {
  content: counter(etape);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--pastille);
  height: var(--pastille);
  border: 2px solid transparent;  /* visible en mode contraste élevé */
  border-radius: 50%;
  background: var(--encre);
  color: var(--blanc);
  font-size: 1.3125rem;
  font-weight: 700;
}
.etapes li::after {
  /* trait qui relie les étapes (décoratif) */
  content: "";
  position: absolute;
  top: var(--pastille);
  bottom: -2.5rem;
  left: calc(var(--pastille) / 2 - 2px);
  width: 4px;
  background: var(--acces);
}
.etapes li:last-child::after { bottom: .5rem; }  /* le trait va jusqu'au bout de la frise */
.etapes::after {
  /* la balise Signal au bout du trait (décorative) */
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--pastille) / 2 - .5rem);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--signal);
}
.etape-temps {
  margin: 0 0 .35rem;
  color: var(--acces);                 /* 5,37:1 sur Sable */
  font-size: var(--t-petit);
  font-weight: 700;
}
.etapes h3 { font-size: var(--t-h3-fort); }
.etapes p:last-child { margin: 0; }
@media (min-width: 56rem) {
  .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .etapes li { padding-left: 0; padding-top: calc(var(--pastille) + 1.5rem); }
  .etapes li::after {
    top: calc(var(--pastille) / 2 - 2px);
    bottom: auto;
    left: var(--pastille);
    right: -2.5rem;
    width: auto;
    height: 4px;
  }
  .etapes li:last-child::after { right: .5rem; }
  .etapes::after {
    top: calc(var(--pastille) / 2 - .5rem);
    bottom: auto;
    left: auto;
    right: 0;
  }
}

/* Sur mobile, la frise se dessine au fil du défilement (site.js) : le trait descend de
   l'étape 1 à l'étape 3 (--t, de 0 à 1, sur chaque étape), chaque pastille se remplit quand
   il l'atteint (classe atteinte), puis la balise Signal s'allume (classe terminee).
   Seuls les décors bougent : les textes restent toujours affichés. Sans JavaScript, sur
   grand écran ou avec moins d'animations, la frise est affichée en entier. */
@media (max-width: 55.99rem) and (prefers-reduced-motion: no-preference) {
  .etapes-animees .etapes li::after {
    transform: scaleY(var(--t, 0));
    transform-origin: top;
    transition: transform .12s linear;
  }
  .etapes-animees .etapes li::before {
    border-color: var(--encre);
    background: var(--blanc);            /* pastille vide : Encre sur blanc, 14,8:1 */
    color: var(--encre);
    transition: background-color .3s ease, color .3s ease;
  }
  .etapes-animees .etapes li.atteinte::before {
    background: var(--encre);
    color: var(--blanc);
  }
  .etapes-animees .etapes::after {
    opacity: 0;
    transform: scale(.4);
    transition: opacity .3s ease, transform .3s ease;
  }
  .etapes-animees .etapes.terminee::after { opacity: 1; transform: none; }
}

/* Exemple de rapport : l'explication à côté du document */
.rapport-bloc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: var(--rythme);
  padding-top: var(--rythme);
  border-top: 1px solid var(--filet);
}
@media (min-width: 60rem) {
  .rapport-bloc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 3rem; align-items: start; }
}
.rapport-intro h3 { font-size: var(--t-h2); line-height: 1.15; }
.rapport-intro > p { font-size: var(--t-chapeau); line-height: 1.5; }
.rapport-points { margin: 0; padding: 0; list-style: none; }
.rapport-points li {
  position: relative;
  margin-bottom: .6rem;
  padding-left: 1.5rem;
}
.rapport-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--signal);
}
.rapport {
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: 10px;
  box-shadow: 8px 8px 0 var(--filet);  /* la pile de feuilles */
  overflow-wrap: break-word;
}
.rapport-entete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin: 0;
  padding: .75rem clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--filet);
  color: var(--gres);                  /* 6:1 sur blanc */
  font-size: var(--t-petit);
  font-weight: 700;
  max-width: none;
}
.constat {
  margin: 0;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border-left: 5px solid var(--signal);
}
.constat + .constat { border-top: 1px solid var(--filet); }
.constat.bloquant { border-left-color: var(--corail); }
.constat p { margin: 0 0 .5rem; }
.constat-tete { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.niveau {
  padding: .1rem .6rem;
  border: 2px solid transparent;       /* visible en mode contraste élevé */
  border-radius: 999px;
  font-size: var(--t-petit);
  font-weight: 700;
}
.bloquant .niveau { background: var(--corail); color: var(--blanc); }  /* 5,44:1 */
.majeur .niveau { background: var(--signal); color: var(--encre); }    /* 7,93:1 */
.critere { color: var(--gres); font-size: var(--t-petit); }
.constat-titre { font-size: var(--t-h3); font-weight: 700; line-height: 1.35; }
.constat pre {
  margin: .75rem 0 0;
  padding: .6rem .8rem;
  background: var(--sable);
  border-radius: 6px;
  font-family: inherit;  /* police unique (charte), y compris pour le code */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.constat pre code { padding: 0; background: none; }

/* Qui sommes-nous ? */
.apropos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 60rem) {
  .apropos { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
}
.apropos-phrase {
  max-width: 22em;
  margin: 1.5rem 0 2rem;
  padding-left: 1.25rem;
  border-left: 6px solid var(--signal);
  font-size: var(--t-h3-fort);
  font-weight: 700;
  line-height: 1.35;
}
.en-bref {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--encre);
  color: var(--blanc);
  border-radius: 10px;
}
.en-bref h3 { margin-bottom: 1.25rem; }
.en-bref ul { margin: 0; padding: 0; list-style: none; }
.en-bref li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-top: 1px solid #3A5266;
  color: #E6EBF0;                      /* 12,30:1 sur Encre */
}
.en-bref li:first-child { border-top: 0; padding-top: 0; }
.icone {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: var(--signal);               /* traits 2 px, coins arrondis (charte) */
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Questions fréquentes */
.faq { max-width: 48rem; margin-top: 1.5rem; border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  position: relative;
  min-height: 44px;
  padding: 1rem 0 1rem 2.25rem;
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  /* chevron dessiné en CSS (décoratif, non lu) */
  content: "";
  position: absolute;
  left: .35rem;
  top: 1.5rem;
  width: .6rem;
  height: .6rem;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}
.faq details[open] > summary::before { transform: rotate(45deg); top: 1.3rem; }
.faq summary:hover { color: var(--acces); }
.faq details > p { margin: 0 0 0 2.25rem; padding-bottom: 1.25rem; }  /* espace dans la réponse : voir l'ouverture ci-dessous */
/* Une seule réponse ouverte à la fois : attribut name="faq" sur chaque <details> (natif,
   sans JavaScript). Seule l'ouverture est adoucie : le chevron pivote et la réponse apparaît
   en fondu en glissant un peu ; elle se déplie aussi là où le navigateur sait animer une
   hauteur automatique (::details-content et interpolate-size). Les transitions ne sont
   déclarées que sur l'état ouvert : la fermeture reste immédiate. Ouverture immédiate aussi
   si le visiteur demande moins d'animations. Les <details> restent natifs (clavier, lecteurs
   d'écran, recherche dans la page). */
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] > summary::before { transition: transform .3s ease, top .3s ease; }
  .faq details[open] > p { animation: faq-ouvrir .3s ease-out; }
  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content {
      block-size: 0;
      overflow-x: visible;               /* le halo du focus (8 px) n'est jamais rogné sur les côtés */
      overflow-y: clip;                  /* ni en bas : l'espace sous la réponse est dans la zone */
    }
    .faq details[open]::details-content {
      block-size: auto;
      transition: block-size .3s ease;
    }
  }
}
@keyframes faq-ouvrir {
  from { opacity: 0; transform: translateY(-.4rem); }
  to { opacity: 1; transform: none; }
}

/* Contact et formulaire */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 56rem) {
  .contact-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
.contact-intro h3 { margin-top: 2.25rem; }
/* Et ensuite ? : mini-frise verticale, même langage que la méthode */
.suite {
  position: relative;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}
.suite li {
  position: relative;
  padding: 0 0 1.5rem 2rem;
}
.suite li:last-child { padding-bottom: 0; }
.suite li:not(:last-child)::after {
  /* trait jusqu'au repère suivant (décoratif) */
  content: "";
  position: absolute;
  top: 1.35rem;
  bottom: -.35rem;
  left: calc(.5rem - 1.5px);
  width: 3px;
  background: var(--acces);
}
.suite li::before {
  /* repère sur le trait, balise Signal pour la dernière étape (décoratif) */
  content: "";
  position: absolute;
  top: .35rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--acces);
  border-radius: 50%;
  background: var(--ecume);
}
.suite li:last-child::before { border-color: var(--signal); background: var(--signal); }
.suite p { margin: 0; }
.suite-temps { color: var(--acces); font-size: var(--t-petit); font-weight: 700; }
.contact-direct {
  padding-top: 1.25rem;
  border-top: 1px solid var(--filet);
}

.formulaire { display: grid; gap: 1.5rem; max-width: 36rem; }
.formulaire > p { margin: 0; }
.champ label { display: block; font-weight: 700; }
.champ .aide { margin: 0; }
.facultatif { font-weight: 400; }
.obligatoire { font-weight: 700; }  /* astérisque des champs obligatoires, expliqué en tête du formulaire */
.champ input,
.champ textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: .4rem;
  padding: .6rem .75rem;
  border: 2px solid var(--gres);  /* 5,50:1 sur Écume, 6:1 sur blanc */
  border-radius: 8px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
}
.champ textarea { min-height: 9rem; resize: vertical; }
/* Exemples dans les champs : en plus des étiquettes, jamais à leur place (charte) */
.champ ::placeholder {
  color: var(--gres);                  /* 6:1 sur blanc */
  opacity: 1;                          /* Firefox l'éclaircit par défaut */
}
.champ [aria-invalid="true"] {
  border-color: var(--corail);
  border-width: 3px;
  padding: calc(.6rem - 1px) calc(.75rem - 1px);
}
.erreur {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .3rem 0 0;
  color: var(--corail);
  font-weight: 700;
}
.erreur svg, .confirmation svg { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .05em; }
.recap-erreurs {
  padding: 1rem 1.25rem;
  background: var(--blanc);
  border: 3px solid var(--corail);
  border-radius: 10px;
}
.recap-erreurs h3 { margin-bottom: .5rem; }
.recap-erreurs ul { margin: 0; padding-left: 1.25rem; }
.recap-erreurs li { margin-bottom: .25rem; }
.piege { display: none; }

/* Prestation souhaitée : boutons radio, cibles de 44 px */
.choix { margin: 0; padding: 0; border: 0; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.choix legend { max-width: 100%; }
.choix legend { margin-bottom: .4rem; padding: 0; font-weight: 700; }
.choix-options { display: grid; gap: .25rem 1.5rem; }
@media (min-width: 30rem) {
  .choix-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.choix label {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  min-height: 44px;
  cursor: pointer;
}
.choix input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  accent-color: var(--acces);
}

/* Pages de texte (mentions légales, merci, 404) */
.page-texte { padding-block: var(--rythme); }
.page-texte h2 { margin-top: 3rem; }
.page-texte h3 { margin-top: 1.75rem; }
.page-texte li { max-width: var(--mesure); }
.fiche { margin: 0 0 1em; max-width: var(--mesure); }
.fiche dt { font-weight: 700; }
.fiche dd { margin: 0 0 .75rem; }
.sommaire { padding-left: 1.25rem; }
.sommaire li { margin-bottom: .35rem; }
.confirmation {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: var(--varech);
  font-weight: 700;
}

/* Pied de page */
.pied {
  padding-block: 3rem 2rem;
  background: var(--encre);
  color: var(--blanc);
}
.pied a { color: var(--blanc); }       /* 14,75:1 */
.pied a:hover { color: var(--blanc); }
.pied p, .pied li { color: #E6EBF0; font-size: 1rem; }  /* 12,30:1 */
.pied h2 { font-size: 1.3125rem; }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li a { display: inline-block; padding-block: .35rem; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 48rem) {
  .pied-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pied-marque {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  color: var(--blanc) !important;
  font-size: 1.75rem !important;
  font-weight: 700;
  line-height: 1;
}
.pied-marque svg { flex: none; width: 2.25rem; height: 2.25rem; }
.pied-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #3A5266;
}
.pied-legal p { max-width: none; margin-bottom: .5rem; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin: .25rem 0 .75rem !important; }

/* Mode contraste élevé : on retire les décors qui n'y ont pas de sens */
@media (forced-colors: active) {
  .rampe-cadre, .accroche-slogan::after { display: none; }
}

/* Haut de page : lien en bas de page sans JavaScript, bouton flottant avec */
.haut-de-page {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: max-content;
  min-height: 44px;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}
.haut-de-page svg { width: 1.25rem; height: 1.25rem; flex: none; }
.haut-de-page.flottant {
  position: fixed;
  right: var(--gouttiere);
  bottom: 1.25rem;
  z-index: 5;
  margin: 0;
  padding: .5rem 1rem;
  border: 2px solid var(--blanc);  /* se détache aussi sur le pied de page Encre */
  border-radius: 10px;
  background: var(--acces);
  color: var(--blanc);
  font-size: var(--t-petit);
  text-decoration: none;
  visibility: hidden;
  opacity: 0;
}
.haut-de-page.flottant:hover { background: var(--acces-fonce); color: var(--blanc); }
.haut-de-page.flottant.visible { visibility: visible; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .haut-de-page.flottant { transition: opacity .2s, visibility .2s; }
}
/* Petit écran : bouton rond de 48 px pour masquer le moins de texte possible.
   Le libellé reste présent pour les lecteurs d'écran. */
@media (max-width: 40rem) {
  .haut-de-page.flottant {
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 50%;
  }
  .haut-de-page.flottant .haut-libelle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}
/* Place pour le bouton flottant sous la dernière ligne du pied de page */
.pied { padding-bottom: 5.5rem; }

/* Plan du site */
.plan, .plan ul { padding-left: 1.25rem; }
.plan > li { margin-bottom: .75rem; font-weight: 700; }
.plan ul { margin: .5rem 0 0; font-weight: 400; }
.plan li li { margin-bottom: .4rem; }
