/* ASG · V2 locale (17 nov. 2026) — accueil + deux parcours. Charte : dossier Drive de Mégane. */
:root {
  --clem: #FF754B;
  --bleuet: #6089FC;
  --indigo: #493696;
  --jaune: #FFD800;
  --creme: #FFFCF3;
  --encre: #2A2153;          /* texte courant : indigo assombri */
  --encre-douce: #4F4778;    /* texte secondaire, teinté indigo */
  --papier-ombre: #F3EBD6;
  --clem-encre: #B5441B;     /* clémentine assombrie pour les petites notes (≥ 4,5:1 sur crème) */
  --trait: rgba(73, 54, 150, .28);
  --titre: "Bricolage Grotesque", system-ui, sans-serif;
  --marker: "Permanent Marker", "Bricolage Grotesque", cursive;
  --sortie: cubic-bezier(.16, 1, .3, 1);      /* ease-out exponentiel */
  --entree: cubic-bezier(.55, 0, .75, .2);    /* disparition qui accélère */
  --gouttiere: clamp(4.5rem, 8vw, 7.5rem);
  --bandeau-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bandeau-h) + 12px); }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--titre);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grain du papier */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  opacity: .6;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .25  0 0 0 .34 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.defs { position: absolute; width: 0; height: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--clem); }
:focus-visible { outline: 3px solid var(--clem); outline-offset: 3px; border-radius: 4px; }

.evitement { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: var(--creme); padding: .6em 1em; z-index: 100; border-radius: 6px; }
.evitement:focus { left: 12px; }

/* ---------- bandeau ---------- */
.bandeau {
  position: sticky; top: 0; z-index: 50;
  height: var(--bandeau-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: var(--creme);
  border-bottom: 2px dotted var(--trait);
}
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--indigo); }
.marque svg { width: 34px; height: 31px; fill: var(--indigo); flex: none; }
.marque span { font-size: .78rem; line-height: 1.05; font-weight: 600; letter-spacing: .01em; }
.bandeau ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.6rem, 1.6vw, 1.6rem); align-items: center; }
.bandeau nav a {
  font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--indigo); padding: .4em 0;
  background: linear-gradient(var(--clem), var(--clem)) left bottom / 0 2px no-repeat;
  transition: background-size .35s var(--sortie);
}
.bandeau nav a:hover, .bandeau nav a[aria-current="true"] { background-size: 100% 2px; color: var(--indigo); }
.bandeau nav a.nav-contact { background: var(--indigo); color: var(--creme); padding: .5em .95em; border-radius: 999px; }
.bandeau nav a.nav-contact:hover { background: var(--clem); color: var(--indigo); }

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .95rem/1 var(--titre); letter-spacing: .05em; text-transform: uppercase;
  color: var(--encre); background: var(--clem);
  border: 0; border-radius: 999px; padding: .95em 1.5em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(73, 54, 150, .55);
  transition: transform .25s var(--sortie), box-shadow .25s var(--sortie), background-color .25s;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(73, 54, 150, .6); color: var(--encre); background: #FF8A65; }
.bouton:active { transform: translateY(1px); box-shadow: 0 3px 8px -6px rgba(73, 54, 150, .6); }
.bouton-petit { padding: .7em 1.1em; font-size: .8rem; }
.bouton-creme { background: var(--creme); color: var(--indigo); }
.bouton-creme:hover { background: var(--jaune); color: var(--encre); }
.bouton-contour { background: transparent; box-shadow: none; border: 2px solid var(--indigo); padding: .75em 1.2em; font-size: .8rem; }
.bouton-contour:hover { background: var(--indigo); color: var(--creme); box-shadow: none; }
.lien-fleche { font-weight: 600; letter-spacing: .02em; text-decoration: none; border-bottom: 2px dotted currentColor; padding-bottom: 2px; }
.lien-fleche::after { content: ""; display: inline-block; width: 1.5em; height: .8em; margin-left: .35em; vertical-align: -.02em; background: currentColor;
  -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; transition: transform .3s var(--sortie); }
.lien-fleche:hover::after { transform: translateX(4px); }
:root { --fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24'%3E%3Cpath d='M3 14c9-3 20-4 33-2' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3Cpath d='M30 4c5 3 9 6 13 8-4 3-9 6-14 9' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- 1 · ouverture : titre, accroche, carte ---------- */
.ouverture { padding: clamp(1.2rem, 3vh, 2.2rem) clamp(1rem, 3vw, 2.5rem) 1rem; }
.ouverture-tete { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3.5rem); align-items: end; margin-bottom: clamp(1rem, 2.4vh, 1.8rem); }
.titre-site { margin: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2.6rem, 6.2vw, 6.2rem); line-height: .86; letter-spacing: -.005em; color: var(--indigo); }
.titre-site span { display: block; }
.titre-site span:nth-child(2) { color: var(--clem); }
.accroche { max-width: 54ch; }
.accroche-texte { margin: 0 0 .5em; font-size: clamp(1.08rem, 1.45vw, 1.32rem); line-height: 1.35; font-weight: 500; color: var(--encre); text-wrap: pretty; }
.accroche-texte + .accroche-texte { font-weight: 400; }
.accroche-actions { margin: .9rem 0 0; }
.lien-descendre::after { transform: rotate(90deg); }
.lien-descendre:hover::after { transform: rotate(90deg) translateX(4px); }

.carte-cadre { position: relative; }
.carte-outils { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; margin: 0 0 .6rem; }
.filtres { display: flex; gap: .5rem; flex-wrap: wrap; }
.filtre, .outil-agrandir {
  font: 500 .78rem/1 var(--titre); letter-spacing: .07em; text-transform: uppercase;
  color: var(--indigo); background: transparent;
  border: 1.5px solid var(--trait); border-radius: 999px; padding: .55em .95em;
  display: inline-flex; align-items: center; gap: .45em; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.filtre:hover, .outil-agrandir:hover { border-color: var(--indigo); }
.filtre[aria-pressed="true"] { background: var(--indigo); color: var(--creme); border-color: var(--indigo); }
.outil-agrandir { border-color: var(--indigo); font-weight: 700; }
.outil-agrandir svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.outil-agrandir[aria-pressed="true"] { background: var(--indigo); color: var(--creme); }
.carte-cadre.plein { position: fixed; inset: 0; z-index: 80; background: var(--creme); padding: 16px 24px; display: flex; flex-direction: column; overflow: hidden auto; }
.carte-cadre.plein .carte { margin: auto; }
body.carte-pleine { overflow: hidden; }
body.carte-pleine .bandeau { visibility: hidden; }
.pastille { display: inline-block; width: .8em; height: .8em; border-radius: 50%; }
.pastille.op { background: var(--bleuet); }
.pastille.rel { background: var(--clem); }

.carte {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 3 / 2; /* repli avant le script, qui fixe largeur et hauteur */
  margin: 0 auto;
}
.carte[style*="height"] { aspect-ratio: auto; }
.carte-fond, .carte-liens { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.carte-fond { z-index: 0; }
.carte-lecture { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.carte-liens { z-index: 3; }
.carte-fond .lavis-famille { transition: opacity .7s var(--sortie); }
.carte-fond .chemin {
  fill: none; stroke: var(--indigo); stroke-width: 3.2; stroke-linecap: round;
  filter: url(#tremble);
  transition: stroke-dashoffset .5s var(--sortie);
  transition-delay: var(--d, 0ms);
}
.carte-fond .chemin.cache { transition-timing-function: var(--entree); transition-duration: .36s; }

.famille-titre {
  position: absolute; left: 50%; transform: translateX(-50%);
  margin: 0; white-space: nowrap;
  font-size: clamp(.7rem, 1.25cqw, .95rem); letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  color: var(--indigo);
  transition: opacity .5s;
}
.famille-titre { left: 1%; transform: none; display: flex; align-items: center; gap: .5em; }
.famille-titre::before { content: ""; width: .8em; height: .8em; border-radius: 50%; background: var(--bleuet); }
.famille-rel::before { background: var(--clem); }
.famille-op { top: 4%; }
.famille-rel { bottom: 4%; }

.boussole {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: var(--bou-w, 15.5cqw); aspect-ratio: 1;
  transform: translate(-50%, -50%) translate(var(--bx, 0px), var(--by, 0px)) scale(var(--bs, 1));
  transition: transform .75s var(--sortie), opacity .4s;
}
.carte[data-etat="fiche"] .boussole { cursor: pointer; }
.boussole svg { width: 100%; height: 100%; overflow: visible; display: block; }
.boussole .aiguille { transform-origin: 50% 50%; transform-box: view-box; }
.boussole.oscille .aiguille { animation: aiguille 1.6s var(--sortie) both; }
@keyframes aiguille {
  0% { transform: rotate(-112deg); }
  28% { transform: rotate(38deg); }
  48% { transform: rotate(-17deg); }
  66% { transform: rotate(7deg); }
  82% { transform: rotate(-2.5deg); }
  100% { transform: rotate(0); }
}
.boussole.eclot { animation: eclot .7s var(--sortie) both; }
@keyframes eclot { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }

.alveoles { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.alv {
  position: absolute; width: 0; height: 0;
  --tx: 0px; --ty: 0px; --s: 1; --o: 1; --flou: 0px;
  transform: translate(var(--tx), var(--ty)) scale(var(--s));
  opacity: var(--o);
  filter: blur(var(--flou));
  transition:
    transform .72s var(--sortie) var(--d, 0ms),
    opacity .5s var(--sortie) var(--d, 0ms),
    filter .6s var(--sortie) var(--d, 0ms);
}
.alv.cache { transition-timing-function: var(--entree), ease-in, ease-in; transition-duration: .42s, .34s, .42s; }
.alv button {
  position: absolute; pointer-events: auto;
  width: var(--alv-w, 13cqw); aspect-ratio: 342.25 / 402.7;
  left: calc(var(--alv-w, 13cqw) / -2); top: calc(var(--alv-w, 13cqw) / -2 * 402.7 / 342.25);
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  border-radius: 18%;
  transition: transform .35s var(--sortie);
}
.alv button svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 calc(var(--alv-w, 13cqw) * .045) calc(var(--alv-w, 13cqw) * .055) rgba(73, 54, 150, .16)); }
.carte-fond .chemin { filter: none; }
.alv button:hover { transform: translateY(-4%); }
.alv button:focus-visible { outline-offset: 0; }
.carte[data-etat="fiche"] .alv.choisie button:hover { transform: none; }
.carte[data-etat="fiche"] .alv.choisie button { cursor: default; }

.annotation { font-family: var(--marker); color: var(--clem-encre); font-size: clamp(1rem, 1.6cqw, 1.3rem); margin: 0; line-height: 1.1; }
.annotation-carte { position: absolute; right: -1%; top: 44%; z-index: 5; transform: rotate(-4deg); pointer-events: none; transition: opacity .5s; }
.annotation-carte svg { display: block; width: 5.2em; height: 3em; margin: .1em 0 0 auto; fill: none; stroke: var(--jaune); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(160deg); }
.carte[data-etat="fiche"] .annotation-carte, .carte[data-etat="fiche"] .famille-titre { opacity: 0; }
.annotation-carte.vue { opacity: 0; }

/* la fiche d'une alvéole */
.fiche {
  position: absolute; z-index: 5;
  left: 38%; right: 0; top: 3%; bottom: 2%;
  display: flex; flex-direction: column; gap: 1.2cqw;
}
.fiche[hidden] { display: none; }
.fiche > * { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--sortie), transform .55s var(--sortie); transition-delay: var(--d, 0ms); }
.fiche.ouverte > * { opacity: 1; transform: none; }
.fiche-titre { display: flex; align-items: center; gap: .3em; margin: .1em 0 .15em; font-size: clamp(1.9rem, 4.4cqw, 3.6rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .95; color: var(--indigo); outline: none; }
.fiche-titre .pastille { width: .42em; height: .42em; flex: none; }
.fiche-accroche { margin: 0; font-weight: 400; font-style: italic; color: var(--encre); font-size: clamp(1.05rem, 1.7cqw, 1.35rem); line-height: 1.25; }
.fiche-corps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.4cqw; align-items: start; }
.fiche-bloc h3 { margin: 0 0 .7em; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--indigo); }
.fiche-bloc ul { list-style: none; margin: 0; padding: 0; }
.fiche-pratiques li { position: relative; padding: .15em 0 .1em 2.3em; margin-bottom: 1.05em; font-weight: 600; font-size: clamp(.92rem, 1.35cqw, 1.06rem); line-height: 1.25; }
.fiche-pratiques li::before { content: ""; position: absolute; left: 0; top: -.02em; width: 1.55em; height: 1.55em; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #6B58C0 0 18%, var(--indigo) 55%, #3A2A80 100%); box-shadow: inset 0 0 0 1.5px rgba(42, 33, 83, .35); }
.fiche-questions li { position: relative; padding-left: 1.6em; margin-bottom: .75em; font-size: clamp(.88rem, 1.2cqw, .98rem); line-height: 1.38; color: var(--encre); max-width: 60ch; }
.fiche-questions li::before { content: ""; position: absolute; left: 0; top: .34em; width: .72em; height: .72em; border: 1.8px solid var(--indigo); border-radius: 2px; background: var(--creme); }
.fiche-aide { margin: 0; font-size: .95rem; color: var(--encre-douce); }
.fiche-aide a { font-weight: 700; }
.fiche-nav { margin-top: .6rem; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.fiche-btn {
  font: 500 .78rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase;
  color: var(--indigo); background: var(--creme); border: 1.5px solid var(--trait); border-radius: 999px;
  padding: .7em 1em; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.fiche-btn:hover { border-color: var(--indigo); }
.fleche-pinceau { display: inline-block; width: 1.4em; height: .75em; vertical-align: -.05em; background: currentColor; -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; }
.fleche-pinceau.gauche { transform: scaleX(-1); }
.fiche-fermer { background: var(--indigo); color: var(--creme); border-color: var(--indigo); }
.fiche-fermer:hover { background: var(--clem); color: var(--indigo); border-color: var(--clem); }
.carte-liens path { fill: none; stroke: #493696; stroke-opacity: 1; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 7.5; }
.carte-liens path.fin { stroke-width: 1.3; stroke-dasharray: none; opacity: .8; }

/* ---------- l'affiche ---------- */
.affiche { position: relative; padding: 0 clamp(1rem, 3vw, 2.5rem) 0 var(--gouttiere); }
.chemin-long { position: absolute; left: 0; top: 0; width: var(--gouttiere); height: 100%; overflow: visible; pointer-events: none; }
.chemin-long .trace { fill: none; stroke: var(--indigo); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 8; }
.chemin-long .trace-fantome { fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 8; opacity: .22; }
.chemin-long .branche { fill: none; stroke: var(--indigo); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 8; }
.chemin-long .station { fill: var(--creme); stroke: var(--indigo); stroke-width: 2.4; transition: fill .4s var(--sortie), r .4s var(--sortie); }
.chemin-long .station.atteinte { fill: var(--indigo); }

.bloc { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem) clamp(.5rem, 2vw, 2rem); isolation: isolate; }
.lavis-fond { position: absolute; inset: 0 -1rem 0 -2rem; z-index: -1; pointer-events: none; }
.lavis-fond svg { width: 100%; height: 100%; display: block; overflow: visible; }
.titre-bloc {
  margin: 0 0 .5em; max-width: 18ch;
  font-size: clamp(2.3rem, 5.6vw, 5.2rem); font-weight: 800; font-stretch: 75%;
  text-transform: uppercase; line-height: .92; letter-spacing: -.005em; color: var(--indigo);
  text-wrap: balance;
}
.titre-bloc .saut { display: block; }
.vague { display: block; width: clamp(5rem, 9vw, 8rem); height: auto; margin: 0 0 .9rem; overflow: visible; }
.vague path { fill: none; stroke: var(--jaune); stroke-width: 7; stroke-linecap: round; }
.bloc-ateliers .vague path { stroke: var(--clem); }
.titre-moyen { margin: 0 0 .4em; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; color: var(--indigo); }
.sous-titre { margin: 0 0 .6em; font-size: .85rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.intro-bloc { max-width: 62ch; font-size: 1.15rem; margin: 0 0 2.2rem; }
.note-provisoire { font-family: var(--marker); color: var(--clem-encre); font-size: .95rem; margin: .4rem 0 1.4rem; transform: rotate(-1deg); transform-origin: left; }
.encart { margin: 2.2rem 0 0; font-size: 1.1rem; font-weight: 500; }
.encart a { font-weight: 700; }

/* présentation */
.trois-textes { display: grid; grid-template-columns: 1.15fr 1.15fr .8fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-top: 1.5rem; }
.texte h3 { margin: 0 0 .7em; font-size: .85rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); padding-bottom: .6em; border-bottom: 2px dotted var(--trait); }
.texte p { margin: 0 0 1em; max-width: 60ch; }
.texte:nth-child(2) { margin-top: 3.5rem; }
.texte:nth-child(3) { margin-top: 7rem; }
.architectures { margin: 1.2rem 0 0; display: grid; gap: .9rem; }
.architectures dt { font-weight: 700; display: flex; align-items: center; gap: .5em; color: var(--indigo); }
.architectures dd { margin: .2em 0 0 1.3em; color: var(--encre-douce); }
.ronds { list-style: none; margin: 0; padding: 0; }
.ronds li { position: relative; padding-left: 2em; margin-bottom: 1.1em; font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.ronds li::before { content: ""; position: absolute; left: 0; top: .18em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--indigo); }

/* ateliers */
.bloc-ateliers .titre-bloc { color: var(--indigo); }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 980px; }
.evt {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; border-top: 2px dotted rgba(73, 54, 150, .45);
}
.evt:last-child { border-bottom: 2px dotted rgba(73, 54, 150, .45); }
.evt-date { margin: 0; display: grid; line-height: .95; text-transform: uppercase; font-stretch: 75%; color: var(--indigo); }
.evt-jour { font-size: 1.9rem; font-weight: 800; }
.evt-mois { font-size: .95rem; letter-spacing: .1em; }
.evt-corps h3 { margin: 0 0 .2em; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.15; color: var(--indigo); }
.evt-corps p { margin: 0; color: var(--encre-douce); font-size: .98rem; }
.evt-passe .evt-date, .evt-passe h3 { opacity: .7; }

/* accompagner */
.bloc-accompagner { color: var(--creme); padding-top: clamp(5rem, 10vw, 8.5rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.bloc-accompagner .titre-bloc { color: var(--creme); max-width: 16ch; }
.bloc-accompagner a:not(.bouton) { color: var(--creme); }
.offres { list-style: none; margin: 2.5rem 0 0; padding: 0; max-width: 1050px; counter-reset: offre; }
.offres li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: baseline;
  padding: 1.15rem 0 1.15rem 2.4rem; position: relative;
  border-top: 2px dotted rgba(255, 252, 243, .4);
}
.offres li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--jaune); }
.offres li:nth-child(4)::before { background: var(--clem); }
.offres li:nth-child(5)::before { background: transparent; border: 2px solid var(--creme); }
.offre-nom { font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 700; line-height: 1.1; }
.offre-texte { font-size: 1.08rem; color: #EFEBFF; }
.proposition { font-style: normal; opacity: .85; font-size: .9em; }
.titre-acc { max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 4.3rem); }
.note-claire { color: var(--jaune); }
.accompagner-action { margin: 2.6rem 0 0; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.annotation-claire { color: var(--jaune); transform: rotate(-3deg); display: inline-block; font-size: 1.15rem; }

/* ressources */
.poster-outils { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-bottom: .8rem; }
.poster-outils .note-provisoire { margin: 0; }
.poster-cadre {
  overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * clamp(1rem, 3vw, 2.5rem)) 0 0; padding: 1rem 1rem 1.5rem 0;
  scrollbar-color: var(--indigo) transparent;
}
.poster {
  min-width: 1180px;
  background: #FFFEF8; border-radius: 6px;
  padding: 2.2rem 2rem 2rem;
  box-shadow: 0 2px 0 var(--papier-ombre), 0 24px 40px -28px rgba(42, 33, 83, .45);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.6rem 1.3rem;
  position: relative;
}
.poster-bande { grid-column: 1 / -1; display: flex; align-items: center; gap: .8rem; margin: .2rem 0 -.4rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.poster-bande::after { content: ""; flex: 1; border-top: 2px dotted var(--trait); }
.poster-col { display: flex; flex-direction: column; gap: .6rem; }
.poster-col .p-alv { width: 74%; margin: 0 auto .2rem; }
.poster-col .p-alv svg { width: 100%; height: auto; display: block; overflow: visible; }
.poster-col h4 { margin: .4rem 0 .2rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--encre-douce); }
.poster-col ul { list-style: none; margin: 0; padding: 0; }
.poster-col li { position: relative; font-size: .76rem; line-height: 1.32; margin-bottom: .45rem; padding-left: 1.15rem; }
.poster-col .p-q li::before { content: ""; position: absolute; left: 0; top: .3em; width: .55em; height: .55em; border: 1.5px solid var(--indigo); border-radius: 1.5px; }
.poster-col .p-p li { font-weight: 600; }
.poster-col .p-p li::before { content: ""; position: absolute; left: 0; top: .22em; width: .7em; height: .7em; border-radius: 50%; background: var(--indigo); }

.boussole-telechargement { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-top: clamp(3rem, 6vw, 5rem); }
.bt-image { margin: 0; transform: rotate(-1.6deg); }
.bt-image img { border-radius: 4px; box-shadow: 0 2px 0 var(--papier-ombre), 0 26px 40px -24px rgba(42, 33, 83, .5); }
.bt-texte p { max-width: 52ch; }

/* formulaires */
.formulaire { display: grid; gap: .55rem; max-width: 640px; }
.formulaire label { font-weight: 600; font-size: .95rem; color: var(--indigo); }
.formulaire input[type="email"], .formulaire input:not([type]), .formulaire textarea {
  width: 100%; font: 400 1rem/1.4 var(--titre); color: var(--encre);
  background: #FFFFFC; border: 2px solid rgba(73, 54, 150, .4); border-radius: 12px; padding: .8em 1em;
  transition: border-color .2s, box-shadow .2s;
}
.formulaire input:hover, .formulaire textarea:hover { border-color: var(--indigo); }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(255, 117, 75, .35); }
.formulaire [aria-invalid="true"] { border-color: #C2410C; }
.ligne-champ { display: flex; gap: .6rem; flex-wrap: wrap; }
.ligne-champ input { flex: 1 1 15rem; }
.case { display: flex !important; gap: .6em; align-items: flex-start; font-weight: 400 !important; color: var(--encre) !important; font-size: .95rem !important; margin-top: .3rem; }
.case input { width: 1.15em; height: 1.15em; margin-top: .18em; accent-color: var(--indigo); flex: none; }
.mention { margin: .2rem 0 0; font-size: .85rem; color: var(--encre-douce); }
.erreur { margin: 0; color: #B3330A; font-weight: 600; font-size: .92rem; }
.succes { margin: .3rem 0 0; padding: .8em 1em; border-radius: 12px; background: rgba(96, 137, 252, .14); color: var(--indigo); font-weight: 600; }
.formulaire .bouton { justify-self: start; }

/* témoignages */
.citations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; }
.citations blockquote { margin: 0; position: relative; padding-top: 2.4rem; }
.citations blockquote:nth-child(2) { margin-top: 3rem; }
.citations blockquote:nth-child(3) { margin-top: 1.2rem; }
.citations blockquote::before { content: "«"; position: absolute; top: -.6rem; left: -.2rem; font-size: 4.4rem; line-height: 1; font-weight: 800; color: var(--clem); }
.citations p { margin: 0 0 .7rem; font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.25; font-weight: 600; color: var(--indigo); text-wrap: balance; }
.citations footer { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.partenaires { margin-top: 3rem; }
.partenaires ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.partenaires li { padding: .9rem 1.6rem; border: 2px dashed rgba(73, 54, 150, .35); border-radius: 999px; color: var(--encre-douce); font-size: .9rem; }

/* contact */
.equipe { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; max-width: 900px; }
.portrait { margin: 0; position: relative; }
.portrait svg { width: 100%; height: auto; fill: var(--bleuet); opacity: .85; display: block; }
.portrait figcaption { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--marker); color: var(--creme); font-size: 1.05rem; }
.role { font-size: 1.15rem; margin: 0; max-width: 46ch; }
.contact { margin-top: clamp(3rem, 6vw, 5rem); max-width: 760px; }
.titre-contact { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.champs-deux { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.champs-deux > div { display: grid; gap: .45rem; }
.liens-communaute { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.liens-communaute a { font-weight: 700; }

/* cartouche */
.cartouche {
  margin: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2.5rem) 2rem var(--gouttiere);
  padding: 1.6rem 0 0; border-top: 2px dotted var(--trait);
  font-size: .92rem; color: var(--encre-douce);
}
.cartouche p { margin: 0 0 .35rem; }
.cartouche-titre { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.4rem; color: var(--indigo); }

/* ---------- petits écrans ---------- */
@media (max-width: 1080px) {
  .bandeau nav li:not(:last-child) { display: none; }
  .trois-textes { grid-template-columns: 1fr 1fr; }
  .texte:nth-child(3) { grid-column: 1 / -1; margin-top: 0; }
  .texte:nth-child(2) { margin-top: 2rem; }
}
@media (max-width: 760px) {
  :root { --gouttiere: 0px; }
  .ouverture { padding: 1rem 16px 1.5rem; }
  .ouverture-tete { grid-template-columns: 1fr; gap: .8rem; }
  .titre-site { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .carte { aspect-ratio: 9 / 16; }
  .carte-cadre.plein { padding: 12px 16px; }
  .carte-cadre.plein .carte { margin: 0 auto; }
  .carte[data-etat="fiche"] { aspect-ratio: auto; height: auto; padding-top: 62cqw; }
  .famille-titre { display: none; }
  .annotation-carte { display: none; }
  .fiche { position: static; padding: 0 0 .5rem; gap: .8rem; }
  .bloc-accompagner { padding-left: 14px; padding-right: 14px; }
  .fiche-corps { grid-template-columns: 1fr; gap: 1.2rem; }
  .fiche-titre { font-size: 2.3rem; }
  .affiche { padding: 0 16px; }
  .chemin-long { display: none; }
  .bloc { padding-left: 0; }
  .lavis-fond { inset: 0 -16px; }
  .trois-textes, .citations, .boussole-telechargement, .champs-deux { grid-template-columns: 1fr; }
  .texte:nth-child(n) { margin-top: 0; }
  .citations blockquote:nth-child(n) { margin-top: 0; }
  .evt { grid-template-columns: 1fr; gap: .6rem; }
  .evt .bouton, .evt .lien-fleche { justify-self: start; }
  .offres li { grid-template-columns: 1fr; gap: .3rem; }
  .equipe { grid-template-columns: 120px 1fr; }
  .poster-cadre { margin-right: -16px; }
  .cartouche { margin-left: 16px; margin-right: 16px; }
  .marque span { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0ms !important; animation-duration: 1ms !important; animation-delay: 0ms !important; }
}

/* ---------- impression de l'affiche ---------- */
@media print {
  @page { size: A3 landscape; margin: 10mm; }
  body::before { display: none; }
  body.imprime-poster > *:not(main), body.imprime-poster main > *:not(.affiche), body.imprime-poster .affiche > *:not(#ressources),
  body.imprime-poster #ressources > *:not(.poster-cadre) { display: none !important; }
  body.imprime-poster .affiche, body.imprime-poster .bloc { padding: 0 !important; }
  body.imprime-poster .poster-cadre { overflow: visible; margin: 0; padding: 0; }
  body.imprime-poster .poster { min-width: 0; box-shadow: none; }
}

/* états techniques de la carte */
.carte.fige *, .carte.fige { transition: none !important; }
.alv.cache button { pointer-events: none; }

/* =================== V2 =================== */
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- lectures jouées sur la carte ---------- */
.alv-num { position: absolute; left: calc(var(--alv-w) * .28); top: calc(var(--alv-w) * -.62); z-index: 2; width: calc(var(--alv-w) * .24); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--jaune); color: var(--encre); font: 800 calc(var(--alv-w) * .13)/1 var(--titre); box-shadow: 0 0 0 2px var(--indigo);
  opacity: 0; scale: .4; transition: opacity .35s var(--sortie) var(--dl, 0ms), scale .45s var(--sortie) var(--dl, 0ms); pointer-events: none; }
.alv.numerotee .alv-num { opacity: 1; scale: 1; }
.alv.cache .alv-num { opacity: 0; }
.alv button { transition: transform .35s var(--sortie), opacity .45s var(--sortie) var(--dl, 0ms), filter .45s var(--sortie) var(--dl, 0ms); }
.alv.eteinte button { opacity: .2; filter: grayscale(.5); }
.alv.allumee button { opacity: 1; filter: none; }
.alv.respire button { animation: respire 3.6s ease-in-out infinite; }
.alv.expire button { animation-delay: -1.8s; }
@keyframes respire { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }
.alv.phase-1 .alv-num { background: #FFE866; }
.alv.phase-2 .alv-num { background: #FFF3A8; }
.carte[data-etat="lecture"] .annotation-carte, .carte[data-etat="lecture"] .famille-titre { opacity: 0; }
.carte[data-etat="lecture"].lecture-familles .famille-titre { opacity: 1; font-size: clamp(.9rem, 1.7cqw, 1.35rem); font-weight: 700; }
.carte[data-etat="lecture"] .boussole { cursor: pointer; }

.carte-lecture path { fill: none; stroke: var(--indigo); stroke-linecap: round; transition: opacity .5s; }
.carte-lecture .lien-dim { stroke-width: 3; stroke-dasharray: 1 7.5; }
.carte-lecture .lien-paire { stroke-width: 7; stroke-dasharray: 1 11; }
.carte-lecture .lien-paire.horizontal { stroke: #B5441B; }
.carte-lecture .lien-sys { stroke-width: 3.4; stroke-dasharray: 1 7; }
.carte-lecture .lien-influence { stroke-width: 7; stroke-dasharray: 1 11; stroke: #B5441B; }
.carte-lecture .lien-toile { stroke-width: 1.4; opacity: .55; }
.carte[data-etat="lecture"] .carte-fond .chemin { opacity: .14; transition: opacity .5s, stroke-dashoffset .5s var(--sortie); }
.carte-lecture .accolade { stroke-width: 2.4; }
.carte-lecture .fleche-evolution { stroke: var(--jaune); stroke-width: 9; }
.carte-lecture .fleche-tete { stroke: var(--jaune); stroke-width: 9; stroke-linejoin: round; }
.carte-lecture .pale { opacity: .25; }

.lecture-etiquettes { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.etiquette { position: absolute; margin: 0; translate: -50% -50%; white-space: nowrap;
  font: 800 clamp(.95rem, 2cqw, 1.7rem)/1 var(--titre); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em;
  padding: .35em .7em .3em; border-radius: 999px; background: var(--creme); color: var(--indigo); box-shadow: 0 0 0 2px var(--indigo);
  opacity: 0; scale: .7; transition: opacity .45s var(--sortie) var(--d, 0ms), scale .55s var(--sortie) var(--d, 0ms); }
.etiquette.vue { opacity: 1; scale: 1; }
.etiquette.pale { opacity: 0; transition-delay: 0ms; }
.etiquette-dim.op { box-shadow: 0 0 0 2.5px var(--bleuet); }
.etiquette-dim.rel { box-shadow: 0 0 0 2.5px var(--clem); }
.etiquette-phase { background: var(--indigo); color: var(--creme); box-shadow: none; font-size: clamp(.8rem, 1.5cqw, 1.2rem); }
.etiquette-evolution { font-family: var(--marker); font-weight: 400; text-transform: none; letter-spacing: 0; background: var(--jaune); color: var(--encre); box-shadow: none; font-size: clamp(.95rem, 1.8cqw, 1.4rem); rotate: -2deg; }

.carte-cadre.en-lecture { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; column-gap: 24px; align-items: center; }
.carte-cadre.en-lecture .carte-outils { grid-column: 1 / -1; }
.carte-cadre.plein.en-lecture { align-content: center; }
.legende { position: sticky; top: calc(var(--bandeau-h) + 16px); align-self: start; z-index: 7;
  background: var(--creme); border: 2px solid var(--indigo); border-radius: 18px; padding: 1rem 3rem 1rem 1.25rem;
  box-shadow: 0 18px 40px -22px rgba(42, 33, 83, .55); }
.legende[hidden] { display: none; }
.legende-titre { margin: 0 0 .35rem; font: 800 1.05rem/1 var(--titre); font-stretch: 75%; text-transform: uppercase; letter-spacing: .04em; color: var(--clem-encre); }
.legende-texte { margin: 0 0 .8rem; font-size: clamp(.98rem, 1.3vw, 1.12rem); line-height: 1.4; color: var(--encre); }
.legende-nav { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.legende-etape { font-size: .85rem; letter-spacing: .1em; color: var(--encre-douce); margin-right: auto; font-variant-numeric: tabular-nums; }
.legende-fermer { position: absolute; top: .55rem; right: .55rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: transparent; color: var(--indigo); cursor: pointer; display: grid; place-items: center; }
.legende-fermer:hover { background: rgba(73, 54, 150, .1); }
.legende-fermer svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* ---------- les trois onglets ---------- */
.bloc-onglets { padding-top: clamp(2.5rem, 5vw, 4rem); }
.onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(.6rem, 1.5vw, 1.2rem); }
.onglet { grid-row: 1; display: flex; align-items: center; gap: .8rem; text-align: left; cursor: pointer;
  font: 800 clamp(1.15rem, 2vw, 1.7rem)/1.05 var(--titre); font-stretch: 75%; text-transform: uppercase; color: var(--indigo);
  background: var(--creme); border: 2px solid var(--indigo); border-radius: 18px; padding: 1.1rem 1.2rem;
  transition: background-color .3s var(--sortie), color .3s, transform .3s var(--sortie); }
.onglet:hover { transform: translateY(-2px); background: #FFF6D6; }
.onglet[aria-expanded="true"] { background: var(--indigo); color: var(--creme); }
.onglet-num { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--jaune); color: var(--encre); font-size: 1.1rem; font-stretch: 100%; }
.onglet-nom { flex: 1; }
.onglet-signe { flex: none; width: 1.1rem; height: 1.1rem; position: relative; }
.onglet-signe::before, .onglet-signe::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; background: currentColor; border-radius: 2px; transition: rotate .35s var(--sortie); }
.onglet-signe::after { rotate: 90deg; }
.onglet[aria-expanded="true"] .onglet-signe::after { rotate: 0deg; }
.panneau { grid-row: 2; grid-column: 1 / -1; margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.panneau[hidden] { display: none; }
.panneau.apparait { animation: panneau .5s var(--sortie) both; }
@keyframes panneau { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.panneau-texte { max-width: 72ch; }
.panneau-texte p { margin: 0 0 1em; }
.texte-long p { font-size: 1.1rem; line-height: 1.6; }
.texte-envoi { color: var(--indigo); }
.signature { font-family: var(--marker); color: var(--clem-encre); font-size: 1.25rem; }
.lectures-intro { font-size: 1.15rem; font-weight: 500; }
.lectures { margin-top: 1.6rem; max-width: 72ch; }
.panneau-texte:has(.lectures) { max-width: 1180px; }
.lecture[hidden] { display: none; }
.lecture.apparait { animation: panneau .45s var(--sortie) both; }
.lecture h3 { margin: 0 0 .7em; font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 800; line-height: 1.15; color: var(--indigo); }
.lecture-num { color: var(--clem-encre); }
.lecture p { font-size: 1rem; line-height: 1.55; }
.lecture strong { color: var(--indigo); }
.voir-carte { display: inline-flex; align-items: center; gap: .55em; margin-top: .2rem; cursor: pointer;
  font: 700 .82rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--creme);
  background: var(--indigo); border: 0; border-radius: 999px; padding: .75em 1.15em; transition: background-color .25s, color .25s, transform .25s var(--sortie); }
.voir-carte:hover { background: var(--clem); color: var(--encre); transform: translateY(-2px); }
.voir-icone { width: 1.1em; height: 1.1em; border-radius: 50%; border: 2px solid currentColor; position: relative; flex: none; }
.voir-icone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; translate: -35% -50%; border-left: .38em solid currentColor; border-top: .24em solid transparent; border-bottom: .24em solid transparent; }
.utilisations-phrase { font-size: 1.2rem; font-weight: 500; }
.mini-portes { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.mini-portes a { display: inline-flex; align-items: center; gap: .7em; padding: .9rem 1.3rem; border-radius: 999px; border: 2px solid var(--indigo); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.mini-portes a:hover { background: var(--indigo); color: var(--creme); }

/* ---------- les deux portes ---------- */
.portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 1.5rem; }
.porte { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: .7rem; min-height: 19rem;
  padding: clamp(1.8rem, 3.4vw, 3rem); text-decoration: none; color: var(--encre); border-radius: 8px;
  transition: transform .4s var(--sortie); }
.porte .lavis-fond { inset: -.5rem; }
.porte:hover { transform: translateY(-4px); color: var(--encre); }
.porte-titre { font: 800 clamp(1.9rem, 3.6vw, 3.3rem)/.92 var(--titre); font-stretch: 75%; text-transform: uppercase; color: var(--indigo); max-width: 14ch; }
.porte-texte { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; }
.porte-liste { font-size: .98rem; color: var(--encre-douce); }
.porte-aller { margin-top: auto; display: inline-flex; align-items: center; gap: .6em; align-self: flex-start;
  font: 700 .95rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; padding: .9em 1.4em; border-radius: 999px; background: var(--indigo); color: var(--creme); }
.porte-aller .fleche-pinceau { transition: translate .3s var(--sortie); }
.porte:hover .porte-aller .fleche-pinceau { translate: 4px 0; }
.porte-aider, .porte-aider:hover { color: var(--creme); }
.porte-aider .porte-titre { color: var(--creme); }
.porte-aider .porte-liste { color: #E4DEFF; }
.porte-aider .porte-aller { background: var(--jaune); color: var(--encre); }
.porte-petite { min-height: 0; max-width: 34rem; padding: 1.8rem 2rem; }
.porte-petite .porte-titre { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.bloc-autre-porte { padding-top: 1rem; }

/* ---------- pages de parcours ---------- */
.tete-page { position: relative; isolation: isolate; padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem) var(--gouttiere); }
.tete-page .lavis-fond { inset: 0; }
.tete-aider { color: var(--creme); }
.tete-aider .titre-page, .tete-aider a { color: var(--creme); }
.fil { margin: 0 0 1rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.fil a { text-decoration: none; border-bottom: 2px dotted currentColor; }
.titre-page { margin: 0 0 .5em; font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .88; color: var(--indigo); max-width: 16ch; }
.titre-page .saut { display: block; }
.tete-aider .intro-bloc { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; max-width: 30ch; }
.sommaire-page { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sommaire-page a { display: inline-block; padding: .6em 1em; border-radius: 999px; background: var(--creme); border: 1.5px solid var(--indigo); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sommaire-page a:hover { background: var(--indigo); color: var(--creme); }
.deux-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); max-width: 1050px; }
.carte-offre { border: 2px solid var(--indigo); border-radius: 18px; padding: 1.5rem 1.6rem; background: #FFFEF8; }
.carte-offre p { margin: 0 0 1rem; }
.carte-offre-avenir { border-style: dashed; background: transparent; }
.etiquette-avenir { display: inline-block; margin: 0; font-family: var(--marker); font-size: 1rem; color: var(--encre); background: var(--jaune); padding: .2em .7em; border-radius: 6px; rotate: -2deg; }
.poles { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; max-width: 1100px; }
.poles li { border: 2px dashed rgba(73, 54, 150, .45); border-radius: 16px; padding: 1rem 1.1rem; display: grid; gap: .45rem; }
.pole-nom { font-weight: 800; color: var(--indigo); }
.pole-exemple { font-size: .9rem; color: var(--encre-douce); }
.barre { display: block; height: .55rem; border-radius: 999px; background: rgba(73, 54, 150, .12); overflow: hidden; }
.barre i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--clem); border-radius: inherit; }

/* orientation */
.orientation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; max-width: 900px; margin: 0 0 1.2rem; }
.orientation fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.orientation legend { font-weight: 800; font-size: 1.2rem; color: var(--indigo); margin-bottom: .5rem; padding: 0; }
.choix { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choix span { display: block; padding: .95rem 1.2rem .95rem 3rem; border: 2px solid var(--trait); border-radius: 999px; font-weight: 600; font-size: 1.05rem; transition: border-color .2s, background-color .2s; position: relative; }
.choix span::before { content: ""; position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--indigo); background: var(--creme); transition: background-color .2s, box-shadow .2s; }
.choix:hover span { border-color: var(--indigo); }
.choix input:checked + span { border-color: var(--indigo); background: #FFF6D6; }
.choix input:checked + span::before { background: var(--indigo); box-shadow: inset 0 0 0 3px var(--creme); }
.choix input:focus-visible + span { outline: 3px solid var(--clem); outline-offset: 3px; }
.orientation-resultat { max-width: 900px; border-radius: 18px; background: var(--indigo); color: var(--creme); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.orientation-resultat[hidden] { display: none; }
.orientation-resultat.apparait { animation: panneau .5s var(--sortie) both; }
.orientation-resultat p { margin: 0 0 .7rem; }
.resultat-titre { font: 800 clamp(1.4rem, 2.4vw, 2rem)/1 var(--titre); font-stretch: 75%; text-transform: uppercase; color: var(--jaune); }
.resultat-liens { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 0 !important; }
.orientation-resultat a { color: var(--creme); }
.orientation-resultat a:hover { color: var(--jaune); }
.offres li.conseillee { background: rgba(255, 216, 0, .14); border-radius: 12px; }
.offres li.conseillee::after { content: "conseillé pour vous"; position: absolute; right: .8rem; top: -.75rem; font-family: var(--marker); font-size: .9rem; color: var(--encre); background: var(--jaune); padding: .1em .55em; border-radius: 5px; rotate: 2deg; }

@media (max-width: 960px) {
  .onglets { grid-template-columns: 1fr; row-gap: .7rem; }
  .onglet, .panneau { grid-row: auto; }
  .panneau { margin: .4rem 0 1rem; }
  .lectures { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .portes, .deux-cols, .orientation { grid-template-columns: 1fr; }
  .porte { min-height: 15rem; }
  .tete-page { padding-left: 16px; padding-right: 16px; }
  .carte-cadre.en-lecture { display: block; }
  .legende { margin-top: .8rem; padding: .8rem 2.6rem .8rem .9rem; }
  .legende-texte { font-size: .95rem; }
  .offres li.conseillee::after { right: .4rem; }
}
.utilisations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); max-width: 900px; }
.util-titre { margin: 0 0 .8rem; font-size: .85rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); padding-bottom: .6em; border-bottom: 2px dotted var(--trait); }
.util-liste { list-style: none; margin: 0; padding: 0; }
.util-liste li { position: relative; padding-left: 2em; margin-bottom: .85em; }
.util-liste li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--indigo); }
.util-equipe li::before { background: var(--clem); }
.util-liste a { font-weight: 600; font-size: 1.1rem; text-decoration: none; border-bottom: 2px dotted currentColor; }
@media (max-width: 760px) { .utilisations { grid-template-columns: 1fr; } }

/* menu sur petits écrans */
.menu-bouton { display: none; font: 700 .8rem/1 var(--titre); letter-spacing: .07em; text-transform: uppercase; color: var(--indigo); background: transparent; border: 1.5px solid var(--indigo); border-radius: 999px; padding: .65em 1em; cursor: pointer; }
@media (max-width: 1080px) {
  .bandeau nav li:not(:last-child) { display: list-item; }
  .menu-bouton { display: inline-flex; }
  .bandeau nav ul { position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--creme); border-bottom: 2px dotted var(--trait); padding: .4rem clamp(1rem, 3vw, 2.5rem) 1rem; box-shadow: 0 18px 30px -24px rgba(42, 33, 83, .5); }
  .bandeau nav ul[hidden] { display: none; }
  .bandeau nav a { display: block; padding: .9em 0; font-size: .95rem; border-bottom: 1px dotted var(--trait); }
  .bandeau nav a.nav-contact { display: inline-block; margin-top: .8rem; border: 0; }
}

/* lectures : une rangée de quatre vignettes, une lecture à la fois */
.choix-lectures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.choix-lecture { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; text-align: left; cursor: pointer;
  padding: 1rem 1.1rem; border-radius: 16px; border: 2px solid var(--trait); background: #FFFEF8; color: var(--indigo);
  transition: border-color .25s, background-color .25s, color .25s, transform .3s var(--sortie); font-family: var(--titre); }
.choix-lecture:hover { border-color: var(--indigo); transform: translateY(-2px); }
.choix-lecture[aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--creme); }
.cl-picto { grid-row: 1 / 3; width: 3rem; height: 3rem; border-radius: 50%; background: var(--jaune); display: grid; place-items: center; }
.cl-picto svg { width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--encre); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cl-picto circle { fill: var(--encre); stroke: none; }
.cl-num { display: none; }
.cl-nom { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.05; }
.cl-sous { font-size: .88rem; line-height: 1.25; opacity: .85; }
.lecture h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lecture-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.2rem !important; }
.lecture-suivante { display: inline-flex; align-items: center; gap: .5em; background: none; border: 0; padding: .4em 0; cursor: pointer; font: 600 .98rem/1.2 var(--titre); color: var(--indigo); border-bottom: 2px dotted currentColor; }
.lecture-suivante:hover { color: var(--clem-encre); }

/* photos de Yann */
.genese { display: flow-root; max-width: 980px; }
.photo-genese { float: right; width: clamp(200px, 28%, 300px); margin: .3rem 0 1.2rem 2.4rem; rotate: 1.5deg; }
.photo-genese img { border-radius: 6px; box-shadow: 0 2px 0 var(--papier-ombre), 0 24px 40px -24px rgba(42, 33, 83, .55); }
.genese p { max-width: 64ch; }
.portrait img { width: 100%; aspect-ratio: 342 / 302; object-fit: cover; object-position: 50% 14%;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
@media (max-width: 960px) {
  .choix-lectures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .choix-lectures { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .choix-lecture { grid-template-columns: 1fr; padding: .8rem; row-gap: .4rem; }
  .cl-picto { grid-row: auto; width: 2.4rem; height: 2.4rem; }
  .cl-picto svg { width: 1.7rem; height: 1.7rem; }
  .cl-sous { display: none; }
  .photo-genese { float: none; width: 70%; margin: 0 auto 1.4rem; }
  .legende { position: relative; top: auto; }
}
.etiquette-num { padding: 0; width: calc(var(--alv-w) * .2); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--jaune); color: var(--encre); box-shadow: 0 0 0 2px var(--indigo); font-size: calc(var(--alv-w) * .11); font-stretch: 100%; }
