/* Festi'Wouf · maquette de l'accueil.
   Tokens : tokens.json v1.4 du système Festi'Wouf (mode clair).
   Composants : repris de components/bundle.css ; les @media y deviennent des @container
   pour que la même source se lise à 1440 px et à 375 px sur le canevas. */

:root {
  --fw-orange: #F4602F; --fw-orange-700: #C2380A; --fw-orange-800: #A02E08; --fw-orange-100: #FDE1D8;
  --fw-bleu: #22485B; --fw-bleu-900: #132934; --fw-bleu-600: #316782; --fw-bleu-100: #E9F2F7;
  --fw-peau: #FDD6A7; --fw-jaune: #FFE27A; --fw-jaune-pale: #FFF6D6; --fw-creme: #FFF8EE; --fw-blanc: #FFFFFF;
  --fw-encre: #1B2A33; --fw-gris: #5B6770; --fw-trait: #E4DED3;

  --fw-fond: var(--fw-creme); --fw-surface: var(--fw-blanc); --fw-surface-chaude: var(--fw-jaune-pale);
  --fw-texte: var(--fw-encre); --fw-texte-2: var(--fw-gris); --fw-titre: var(--fw-bleu);
  --fw-lien: var(--fw-orange-700); --fw-lien-survol: var(--fw-orange-800);
  --fw-lien-chaud: var(--fw-orange-700); --fw-lien-merci: var(--fw-orange-800);
  --fw-aplat: var(--fw-orange); --fw-sur-aplat: var(--fw-bleu-900); --fw-sur-aplat-large: var(--fw-blanc);
  --fw-filet: var(--fw-trait); --fw-champ-bord: var(--fw-gris); --fw-focus: var(--fw-bleu);
  --fw-accent: var(--fw-bleu); --fw-picto: var(--fw-bleu); --fw-chiffre: var(--fw-bleu);
  --fw-fond-merci: var(--fw-peau); --fw-fond-fete: var(--fw-jaune); --fw-fond-pratique: var(--fw-bleu-100);
  --fw-etq-evt-fond: var(--fw-bleu); --fw-etq-evt-texte: var(--fw-jaune);
  --fw-source: var(--fw-gris); --fw-avenir: var(--fw-orange-700);

  --fw-e-1: .25rem; --fw-e-2: .5rem; --fw-e-3: .75rem; --fw-e-4: 1rem; --fw-e-5: 1.5rem;
  --fw-e-6: 2rem; --fw-e-7: 3rem; --fw-e-8: 4rem; --fw-e-9: 6rem; --fw-e-10: 8rem;
  --fw-largeur: 72rem; --fw-pile-1: .5rem; --fw-pile-2: 1rem; --fw-pile-3: 2rem;
  --fw-carte-pad: 1.5rem; --fw-marge-fete: 3rem;
  --fw-r-s: 8px; --fw-r-m: 16px; --fw-r-l: 28px; --fw-r-pilule: 999px;
  --fw-ombre-1: 0 2px 6px rgba(34, 72, 91, .08);
  --fw-ombre-2: 0 12px 30px -12px rgba(34, 72, 91, .28);
  --fw-anneau: 0 0 0 6px #fff8ee, 0 0 0 8px #22485b;
  --fw-ombre-tampon: 4px 4px 0 #22485b;
  --fw-inclinaison: -2deg;

  --fw-police: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw-police-main: "Caveat Brush", "Rubik", cursive;
  --fw-fs-display: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  --fw-fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --fw-fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fw-fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --fw-fs-h4: 1.25rem;
  --fw-fs-chapo: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  --fw-fs-texte: 1.125rem; --fw-fs-petit: 1rem; --fw-fs-mini: .875rem;
  --fw-fs-chiffre: clamp(3rem, 2rem + 4vw, 5rem);
  --fw-fs-main: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fw-fs-bouton: 1.1875rem;
  --fw-mesure: 66ch;
  --fw-section: clamp(3rem, 2rem + 5vw, 7rem);
  --fw-trait-avenir: 2px dashed var(--fw-avenir);
  --fw-courbe: cubic-bezier(.2, .7, .2, 1);
  --fw-rebond: cubic-bezier(.34, 1.56, .64, 1);
}

/* Fonds par rôle */
.fw-sombre {
  --fw-focus: var(--fw-jaune); --fw-lien: var(--fw-jaune); --fw-lien-survol: var(--fw-peau);
  --fw-texte: #F6EBDD; --fw-texte-2: #B9C4CB; --fw-titre: var(--fw-peau);
  --fw-accent: var(--fw-peau); --fw-picto: var(--fw-peau); --fw-chiffre: var(--fw-jaune);
  --fw-source: #B9C4CB; --fw-avenir: #FF8A5C; --fw-surface: #193543; --fw-filet: #2A4A5A;
  --fw-anneau: 0 0 0 6px var(--fw-bleu), 0 0 0 8px var(--fw-peau); --fw-ombre-tampon: 4px 4px 0 var(--fw-peau);
  background: var(--fw-bleu); color: var(--fw-texte);
}
.fw-chaud { background: var(--fw-surface-chaude); }
.fw-chaud a { color: var(--fw-lien-chaud); }
.fw-merci { background: var(--fw-fond-merci); --fw-texte-2: var(--fw-titre); --fw-source: var(--fw-titre); --fw-lien: var(--fw-lien-merci); }
.fw-fete { background: var(--fw-fond-fete); --fw-texte-2: var(--fw-titre); --fw-source: var(--fw-titre); --fw-lien: var(--fw-lien-merci); }
.fw-merci a, .fw-fete a { color: var(--fw-lien-merci); }
.fw-blanc { background: var(--fw-blanc); border-top: 2px solid var(--fw-bleu); }
.fw-creme { background: var(--fw-fond); }

/* Base */
.fw-page, .fw-ouv-hote {
  background: var(--fw-fond); color: var(--fw-texte); font-family: var(--fw-police);
  font-size: var(--fw-fs-texte); line-height: 1.6; -webkit-font-smoothing: antialiased;
  container-type: inline-size;
}
.fw-page *, .fw-page *::before, .fw-page *::after,
.fw-ouv-hote *, .fw-ouv-hote *::before, .fw-ouv-hote *::after { box-sizing: border-box; }
.fw-page a, .fw-ouv-hote a { color: var(--fw-lien); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fw-page a:hover, .fw-ouv-hote a:hover { color: var(--fw-lien-survol); }
.fw-page :focus-visible, .fw-ouv-hote :focus-visible { outline: 3px solid var(--fw-focus); outline-offset: 3px; border-radius: 4px; }
.fw-page img, .fw-ouv-hote img { max-width: 100%; display: block; }
.fw-page p, .fw-page h1, .fw-page h2, .fw-page h3, .fw-page h4, .fw-page ul, .fw-page ol, .fw-page figure, .fw-page blockquote,
.fw-ouv-hote p, .fw-ouv-hote h1 { margin: 0; }
.fw-page ul, .fw-page ol { padding: 0; list-style: none; }
.fw-chiffre, .fw-date { font-variant-numeric: tabular-nums; }
.fw-source { font-size: var(--fw-fs-petit); color: var(--fw-source); line-height: 1.5; max-width: var(--fw-mesure); }
/* Le renvoi vers une source (le bilan, une page) garde la couleur de la source : un lien discret, souligné en pointillé.
   Il sert l'autorité des chiffres (moteurs, LLM), pas la navigation : il se lit, il ne se remarque pas. */
.fw-source a, .fw-page .fw-source a, .fw-chaud .fw-source a, .fw-merci .fw-source a, .fw-fete .fw-source a, .fw-page .fw-f26-compteur__source a { color: inherit; white-space: nowrap; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fw-source a:hover, .fw-page .fw-source a:hover, .fw-page .fw-f26-compteur__source a:hover { color: var(--fw-lien); text-decoration-style: solid; }
.fw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
sup { font-size: .6em; line-height: 0; vertical-align: .55em; }
abbr[title] { text-decoration: none; }

/* Grille : 4 / 8 / 12 colonnes, colonne max. 72rem */
.fw-col { width: 100%; max-width: calc(var(--fw-largeur) + 2rem); margin-inline: auto; padding-inline: 1rem; }
.fw-section { padding-block: var(--fw-section); position: relative; }
.fw-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: var(--fw-e-6); }
.fw-grille > * { grid-column: 1 / -1; }
@container (min-width: 600px) {
  .fw-col { max-width: calc(var(--fw-largeur) + 4rem); padding-inline: 2rem; }
  .fw-grille { grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: 24px; }
}
@container (min-width: 1200px) {
  .fw-grille { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
}

/* Typographie */
.fw-display, .fw-h1, .fw-h2, .fw-h3, .fw-h4 { font-family: var(--fw-police); color: var(--fw-titre); margin: 0; }
.fw-display { font-size: var(--fw-fs-display); font-weight: 800; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.fw-h2 { font-size: var(--fw-fs-h2); font-weight: 700; line-height: 1.15; }
.fw-h3 { font-size: var(--fw-fs-h3); font-weight: 700; line-height: 1.25; }
.fw-h4 { font-size: var(--fw-fs-h4); font-weight: 600; line-height: 1.3; }
.fw-chapo { font-size: var(--fw-fs-chapo); line-height: 1.5; max-width: var(--fw-mesure); }
.fw-texte { font-size: var(--fw-fs-texte); line-height: 1.6; max-width: var(--fw-mesure); }
.fw-petit { font-size: var(--fw-fs-petit); line-height: 1.5; }
.fw-main { font-family: var(--fw-police-main); font-size: var(--fw-fs-main); line-height: 1.1; font-weight: 400; }
.fw-tete { display: flex; flex-direction: column; align-items: flex-start; }
.fw-tete > .fw-etiquette { margin-bottom: var(--fw-pile-1); }
.fw-tete > .fw-h2 { margin-bottom: var(--fw-pile-2); }
.fw-tete > .fw-chapo, .fw-tete > .fw-texte { margin-bottom: var(--fw-pile-3); }
.fw-tete--centre { align-items: center; text-align: center; }
.fw-pile { display: flex; flex-direction: column; gap: var(--fw-e-4); }
.fw-liens { display: flex; flex-wrap: wrap; column-gap: var(--fw-e-6); row-gap: 0; }

/* Boutons et liens */
.fw-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--fw-e-2);
  height: 52px; padding: 0 var(--fw-e-5); border-radius: var(--fw-r-pilule);
  font: 700 var(--fw-fs-bouton)/1 var(--fw-police); text-decoration: none !important; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
}
.fw-bouton svg { width: 22px; height: 22px; flex: none; }
.fw-bouton--principal { background: var(--fw-aplat); color: var(--fw-sur-aplat-large) !important; }
.fw-bouton--principal:hover { background: var(--fw-orange-700); }
.fw-bouton--sur-aplat { background: var(--fw-bleu-900); color: var(--fw-blanc) !important; }
.fw-bouton--sur-aplat:hover { background: var(--fw-bleu); }
.fw-bouton--secondaire { background: transparent; color: var(--fw-accent) !important; border-color: var(--fw-accent); }
.fw-bouton--secondaire:hover { background: var(--fw-accent); color: var(--fw-fond) !important; }
.fw-bouton--sombre { background: var(--fw-jaune); color: var(--fw-bleu-900) !important; }
.fw-boutons { display: flex; flex-wrap: wrap; gap: var(--fw-e-4); align-items: center; }
.fw-lien-fleche { display: inline-block; padding-block: 10px; line-height: 1.4; color: var(--fw-lien); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fw-lien-fleche svg { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin-left: 8px; }

/* Étiquettes */
.fw-etiquette {
  display: inline-flex; align-items: center; gap: var(--fw-e-1);
  padding: var(--fw-e-2) var(--fw-e-3); border-radius: var(--fw-r-pilule);
  font: 700 var(--fw-fs-mini)/1 var(--fw-police); letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid transparent; white-space: nowrap;
}
.fw-etiquette svg { width: 16px; height: 16px; }
.fw-etiquette--jaune, .fw-etiquette--avenir { background: var(--fw-jaune); color: var(--fw-bleu-900); }
.fw-etiquette--evenement { background: var(--fw-etq-evt-fond); color: var(--fw-etq-evt-texte); }
.fw-etiquette--passe { background: var(--fw-trait); color: var(--fw-encre); }
.fw-etiquette--preparation { background: var(--fw-jaune-pale); color: var(--fw-orange-800); border: var(--fw-trait-avenir); }
.fw-etiquette--info { background: transparent; color: var(--fw-accent); border-color: var(--fw-accent); }
.fw-etiquette--colle { transform: rotate(var(--fw-inclinaison)); box-shadow: var(--fw-ombre-tampon); }

/* Pastille date, check, médaillon */
.fw-pastille-date {
  width: 72px; height: 72px; border-radius: 50%; background: var(--fw-peau); color: var(--fw-bleu);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 0 0 4px var(--fw-surface); font-variant-numeric: tabular-nums;
}
.fw-pastille-date b { font: 800 1.75rem/1 var(--fw-police); }
.fw-pastille-date span { font: 700 .75rem/1 var(--fw-police); letter-spacing: .06em; text-transform: uppercase; }
.fw-check-disque { width: var(--taille, 120px); height: var(--taille, 120px); border-radius: 50%; background: var(--fw-peau); display: grid; place-items: center; flex: none; }
.fw-check-disque img { width: 72%; height: 72%; object-fit: contain; }
.fw-check-disque--blanc { background: var(--fw-blanc); }
.fw-medaillon {
  width: var(--taille, 112px); height: var(--taille, 112px); border-radius: 50%; box-shadow: var(--fw-anneau);
  background: var(--fw-fond-merci); display: grid; place-items: center; color: var(--fw-accent);
  font: 800 2rem/1 var(--fw-police); flex: none; overflow: hidden;
}
.fw-medaillon svg { width: 32px; height: 32px; }
.fw-medaillon--vide { background: var(--fw-blanc); }

/* En-tête et bandeau */
.fw-bandeau { font-size: var(--fw-fs-petit); }
.fw-bandeau__in { display: flex; align-items: center; justify-content: center; gap: var(--fw-e-4); min-height: 48px; padding-block: var(--fw-e-2); }
.fw-bandeau p { display: flex; align-items: center; gap: var(--fw-e-3); font-weight: 500; white-space: nowrap; }
.fw-bandeau a { font-weight: 700; white-space: nowrap; }
.fw-bandeau__long { display: none; }
.fw-bandeau__court { display: inline; }
.fw-bandeau .fw-etiquette { display: none; }
@container (min-width: 900px) {
  .fw-bandeau__long { display: inline; }
  .fw-bandeau__court { display: none; }
  .fw-bandeau .fw-etiquette { display: inline-flex; }
}
.fw-entete { background: var(--fw-fond); border-bottom: 1px solid var(--fw-filet); }
.fw-entete__in { display: flex; align-items: center; justify-content: space-between; gap: var(--fw-e-5); min-height: 64px; }
.fw-entete-logo { display: inline-flex; align-items: center; gap: var(--fw-e-3); text-decoration: none !important; }
.fw-entete-logo img { width: 40px; height: 40px; }
.fw-entete-logo span { font: 800 20px/1 var(--fw-police); color: var(--fw-titre); text-transform: uppercase; }
.fw-menu { display: none; gap: var(--fw-e-6); align-items: center; }
.fw-menu a { color: var(--fw-texte); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.fw-menu a:hover { color: var(--fw-lien); }
.fw-menu-btn {
  display: inline-flex; align-items: center; gap: var(--fw-e-2); height: 44px; padding: 0 var(--fw-e-4);
  border-radius: var(--fw-r-pilule); border: 2px solid var(--fw-accent); background: transparent; color: var(--fw-accent);
  font: 700 var(--fw-fs-petit)/1 var(--fw-police);
}
.fw-menu-btn svg { width: 20px; height: 20px; }
@container (min-width: 900px) {
  .fw-entete__in { min-height: 88px; }
  .fw-entete-logo img { width: 48px; height: 48px; }
  .fw-entete-logo span { font-size: 22px; }
  .fw-menu { display: flex; }
  .fw-menu-btn { display: none; }
}

/* Motifs */
.fw-fanions { display: block; width: 100%; height: 32px; }
.fw-fanions .f1 { fill: var(--f1, var(--fw-jaune)); }
.fw-fanions .f2 { fill: var(--f2, var(--fw-blanc)); }
.fw-fanions .f3 { fill: var(--f3, var(--fw-bleu)); }
.fw-fanions .f4 { fill: var(--f4, var(--fw-peau)); }
.fw-fanions .ficelle { fill: none; stroke: var(--fw-bleu-900); stroke-width: 2; }
.fw-traces { display: flex; gap: var(--fw-e-4); color: var(--fw-picto); opacity: .55; padding-top: var(--fw-e-7); justify-content: center; }
.fw-traces svg { width: 20px; height: 20px; }
.fw-traces svg:nth-child(odd) { transform: translateY(8px) rotate(170deg); }
.fw-traces svg:nth-child(even) { transform: translateY(-4px) rotate(190deg); }
.fw-saule { position: absolute; color: var(--fw-bleu-600); opacity: .35; display: none; pointer-events: none; }
@container (min-width: 1200px) { .fw-saule { display: block; } }
.fw-polaroid { background: var(--fw-blanc); padding: 12px 12px 48px; box-shadow: var(--fw-ombre-tampon); transform: rotate(var(--fw-inclinaison)); width: 100%; max-width: 420px; }
.fw-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fw-credit { font-size: var(--fw-fs-petit); color: var(--fw-texte-2); }

/* ===== Section 1 · L'ouverture ===== */
.fw-ouv { position: relative; background: var(--fw-aplat); color: var(--fw-sur-aplat); overflow: hidden; }
.fw-ouv__photo { position: relative; aspect-ratio: 3 / 2; }
.fw-ouv__photo img { width: 100%; height: 100%; object-fit: cover; }
.fw-ouv__credit {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--fw-r-pilule);
  background: var(--fw-creme); color: var(--fw-encre); font-size: var(--fw-fs-petit); line-height: 1.3;
}
.fw-ouv__decoupe { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; display: block; color: var(--fw-aplat); }
.fw-ouv__courbe { display: none; }
.fw-ouv__check { position: absolute; right: 20px; top: calc(100% - 84px); --taille: 96px; box-shadow: 0 0 0 4px var(--fw-aplat); animation: fw-pose 600ms var(--fw-rebond) 200ms 1 both; }
@keyframes fw-pose { from { transform: scale(.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.fw-ouv__fanions { position: relative; padding: 8px 140px 0 0; }
.fw-ouv__fanions .fw-fanions { height: 24px; }
.fw-ouv__texte { position: relative; padding: 44px 16px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.fw-ouv__texte .fw-etiquette { margin-bottom: var(--fw-e-2); }
.fw-ouv__wouf { color: var(--fw-sur-aplat-large); }
.fw-ouv__trad { color: var(--fw-sur-aplat); margin-top: 2px; }
.fw-ouv__para { color: var(--fw-sur-aplat); margin-top: var(--fw-e-4); font-size: var(--fw-fs-texte); line-height: 1.6; max-width: 34rem; }
.fw-ouv__actions { margin-top: var(--fw-e-5); display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.fw-ouv__lien-ligne { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--fw-e-5); }
.fw-ouv a.fw-lien-fleche { color: var(--fw-sur-aplat); }
.fw-ouv a.fw-lien-fleche:hover { color: var(--fw-bleu); }
.fw-ouv__signature { color: var(--fw-sur-aplat); font-size: 30px; }
@container (min-width: 900px) {
  .fw-ouv { height: 560px; }
  .fw-ouv__photo { position: absolute; left: 0; top: 0; bottom: 0; width: 58.333%; aspect-ratio: auto; }
  .fw-ouv__credit { top: auto; bottom: 16px; left: 16px; }
  .fw-ouv__decoupe { display: none; }
  .fw-ouv__courbe { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; color: var(--fw-aplat); }
  .fw-ouv__check { right: auto; left: calc(78.25% - 48px); top: calc(65% - 48px); }
  .fw-ouv__fanions { position: absolute; left: 58.333%; right: 0; top: 0; padding: 0; }
  .fw-ouv__fanions .fw-fanions { height: 28px; }
  .fw-ouv__texte { position: absolute; left: calc(58.333% + 40px); right: 56px; top: 0; bottom: 0; padding: 76px 0 16px; }
  .fw-ouv__para { margin-top: var(--fw-e-4); }
  .fw-ouv__actions { margin-top: var(--fw-e-4); }
}
/* Variante de comparaison : titre en orange (l'aplat passe en crème pour que l'orange se lise) */
.fw-ouv--titre-orange { background: var(--fw-fond); color: var(--fw-texte); }
.fw-ouv--titre-orange .fw-ouv__wouf { color: var(--fw-orange); }
.fw-ouv--titre-orange .fw-ouv__trad, .fw-ouv--titre-orange .fw-ouv__para,
.fw-ouv--titre-orange .fw-ouv__signature { color: var(--fw-texte); }
.fw-ouv--titre-orange a.fw-lien-fleche { color: var(--fw-lien); }
.fw-ouv--titre-orange .fw-ouv__courbe, .fw-ouv--titre-orange .fw-ouv__decoupe { color: var(--fw-fond); }
.fw-ouv--titre-orange .fw-ouv__check { box-shadow: 0 0 0 4px var(--fw-fond); }
.fw-ouv--titre-orange .fw-fanions { --f2: var(--fw-orange); }

/* ===== Section 2 · Les chiffres ===== */
.fw-compteurs { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-7); }
.fw-compteur { display: flex; flex-direction: column; gap: var(--fw-e-2); }
.fw-compteur__plus { font: 700 var(--fw-fs-texte)/1 var(--fw-police); color: var(--fw-chiffre); min-height: 18px; }
.fw-compteur .fw-chiffre { font: 800 min(var(--fw-fs-chiffre), 4rem)/1 var(--fw-police); color: var(--fw-chiffre); white-space: nowrap; }
.fw-compteur .fw-chiffre small { font-size: .45em; font-weight: 700; }
.fw-compteur .fw-chiffre::after { content: ""; display: block; height: 4px; width: 64px; border-radius: 4px; background: var(--fw-orange); margin-top: var(--fw-e-3); }
.fw-compteur__libelle { font-size: var(--fw-fs-texte); line-height: 1.45; }
@container (min-width: 1200px) { .fw-compteurs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fw-e-7); } .fw-compteurs .fw-compteur .fw-chiffre { font-size: 3.5rem; } }
.fw-tete--compteurs > .fw-h2 { margin-bottom: var(--fw-e-7); }
@container (min-width: 1024px) { .fw-compteurs--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--fw-e-8); } .fw-compteurs--trois .fw-compteur .fw-chiffre { font-size: 3.5rem; } }
.fw-association { margin-top: var(--fw-e-8); padding-top: var(--fw-e-6); border-top: 1px solid var(--fw-filet); display: grid; gap: var(--fw-e-4); }

/* ===== Section 3 · Prochaine étape, route ===== */
.fw-carte-rdv { position: relative; display: grid; grid-template-columns: 1fr; background: var(--fw-surface); border: 1px solid var(--fw-filet); border-radius: var(--fw-r-m); }
.fw-carte-rdv__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--fw-r-m) var(--fw-r-m) 0 0; overflow: hidden; }
.fw-carte-rdv__media img { width: 100%; height: 100%; object-fit: cover; }
.fw-carte-rdv__media .fw-etiquettes { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.fw-carte-rdv__corps { position: relative; padding: var(--fw-carte-pad); padding-top: var(--fw-e-8); display: flex; flex-direction: column; gap: var(--fw-e-3); }
.fw-carte-rdv__pastille { position: absolute; left: var(--fw-carte-pad); top: 0; transform: translateY(-50%); }
.fw-carte-rdv__quand { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.fw-carte-rdv__quand span, .fw-carte-rdv__ou { display: inline-flex; gap: 8px; align-items: center; }
.fw-carte-rdv__quand svg, .fw-carte-rdv__ou svg { width: 20px; height: 20px; color: var(--fw-picto); flex: none; }
.fw-carte-rdv__ou { color: var(--fw-texte-2); font-size: var(--fw-fs-petit); font-weight: 400; }
.fw-carte-rdv__infos { display: flex; gap: 8px; flex-wrap: wrap; }
.fw-carte-rdv .fw-credit { margin-top: auto; }
@container (min-width: 900px) {
  .fw-carte-rdv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .fw-carte-rdv__media { aspect-ratio: auto; min-height: 100%; border-radius: var(--fw-r-m) 0 0 var(--fw-r-m); }
  .fw-carte-rdv__corps { padding: var(--fw-e-6); padding-top: var(--fw-e-8); }
  .fw-carte-rdv__pastille { left: auto; right: var(--fw-e-6); top: var(--fw-e-6); transform: none; }
}
.fw-route-bloc { margin-top: var(--fw-e-9); display: flex; flex-direction: column; gap: var(--fw-e-6); }
.fw-route { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--fw-e-5); padding-left: var(--fw-e-7); }
.fw-route::before { content: ""; position: absolute; left: 11px; top: 4px; bottom: 4px; width: 2px; background: var(--fw-bleu-600); }
.fw-jalon { position: relative; display: flex; flex-direction: column; gap: var(--fw-e-1); }
.fw-jalon__point { position: absolute; left: calc(-1 * var(--fw-e-7)); top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--fw-peau); box-shadow: 0 0 0 2px var(--fw-fond), 0 0 0 4px var(--fw-bleu); }
.fw-jalon--avenir .fw-jalon__point { background: var(--fw-fond); box-shadow: 0 0 0 3px var(--fw-fond); border: var(--fw-trait-avenir); }
.fw-jalon__date { font: 700 var(--fw-fs-texte)/1.2 var(--fw-police); color: var(--fw-titre); font-variant-numeric: tabular-nums; }
.fw-jalon__texte { font-size: var(--fw-fs-petit); line-height: 1.45; }
.fw-jalon .fw-etiquette { align-self: flex-start; margin-top: 4px; }
@container (min-width: 900px) {
  .fw-route { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-left: 0; gap: var(--fw-e-5); }
  .fw-route::before { left: 12px; right: 60%; top: 11px; bottom: auto; width: auto; height: 2px; }
  .fw-route::after { content: ""; position: absolute; left: 40%; right: calc(20% - 12px); top: 11px; border-top: var(--fw-trait-avenir); }
  .fw-jalon { padding-top: 40px; }
  .fw-jalon__point { left: 0; }
}

/* ===== Section 4 · Provenances ===== */
.fw-provenances { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-7); }
.fw-poteau { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0 0; width: fit-content; margin-inline: auto; }
.fw-poteau::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 14px; margin-left: -7px; border-radius: 4px 4px 0 0; background: var(--fw-bleu); }
/* Panneau fléché : deux couches (le contour bleu, puis le fond posé 2 px à l'intérieur), pour que le trait suive
   aussi les deux côtés de la pointe. Le fond intérieur est décalé de 20,8 px et 0,8 px : avec une pointe à 45°,
   c'est ce qui garde 2 px de trait perpendiculaire sur les biais (2 × √2 − 2 ≈ 0,8). */
.fw-panneau {
  position: relative; z-index: 1; isolation: isolate; display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 48px 8px 14px; color: var(--fw-bleu); --fw-panneau-fond: var(--fw-blanc);
  font: 700 var(--fw-fs-petit)/1.15 var(--fw-police); text-transform: uppercase; letter-spacing: .02em;
  white-space: nowrap;
}
.fw-panneau::before, .fw-panneau::after { content: ""; position: absolute; z-index: -1; }
.fw-panneau::before { inset: 0; background: var(--fw-bleu); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.fw-panneau::after { inset: 2px; background: var(--fw-panneau-fond); clip-path: polygon(0 0, calc(100% - 20.8px) 0, calc(100% - .8px) 50%, calc(100% - 20.8px) 100%, 0 100%); }
.fw-panneau--gauche { padding: 8px 14px 8px 48px; }
.fw-panneau--gauche::before { clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%); }
.fw-panneau--gauche::after { clip-path: polygon(20.8px 0, 100% 0, 100% 100%, 20.8px 100%, .8px 50%); }
.fw-poteau > .fw-panneau:nth-child(3n+1) { transform: rotate(-2deg); }
.fw-poteau > .fw-panneau:nth-child(3n+2) { transform: rotate(1deg); }
.fw-poteau > .fw-panneau:nth-child(3n+3) { transform: rotate(-1deg); }
.fw-panneau--pied { --fw-panneau-fond: var(--fw-peau); border-radius: var(--fw-r-s); padding: 12px 24px; transform: none !important; margin-top: 24px; }
.fw-panneau--pied::before, .fw-panneau--pied::after { clip-path: none; border-radius: var(--fw-r-s); }
.fw-panneau--pied::after { border-radius: calc(var(--fw-r-s) - 2px); }
.fw-citation-courte { padding: var(--fw-e-5); border-radius: var(--fw-r-l); background: var(--fw-surface-chaude); max-width: var(--fw-mesure); display: flex; flex-direction: column; gap: var(--fw-e-2); }
.fw-citation-courte p { font-size: var(--fw-fs-chapo); line-height: 1.45; font-weight: 500; color: var(--fw-titre); }
.fw-citation-courte footer { font-size: var(--fw-fs-petit); color: var(--fw-texte-2); }
.fw-presse { margin-top: var(--fw-e-8); padding-top: var(--fw-e-5); border-top: 1px solid var(--fw-filet); display: flex; flex-wrap: wrap; align-items: center; gap: var(--fw-e-3) var(--fw-e-6); }
.fw-presse__titre { font-weight: 700; color: var(--fw-titre); font-size: var(--fw-fs-petit); }
.fw-presse ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--fw-e-2) var(--fw-e-5); }
.fw-presse li .fw-lien-fleche { padding-block: 0; }
.fw-presse li { font-weight: 600; color: var(--fw-texte-2); font-size: var(--fw-fs-texte); }
@container (min-width: 900px) {
  .fw-provenances { grid-template-columns: 320px minmax(0, 1fr); gap: var(--fw-e-8); align-items: start; }
  .fw-poteau { margin-inline: 0; }
}

/* ===== Section 5 · Pourquoi ===== */
.fw-cartes-3 { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-5); }
@container (min-width: 900px) { .fw-cartes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fw-carte { background: var(--fw-surface); border: 1px solid var(--fw-filet); border-radius: var(--fw-r-m); padding: var(--fw-carte-pad); display: flex; flex-direction: column; gap: var(--fw-e-3); height: 100%; }
.fw-carte__picto { width: 48px; height: 48px; border-radius: 50%; background: var(--fw-fond-merci); display: grid; place-items: center; color: var(--fw-picto); }
.fw-merci .fw-carte__picto { background: var(--fw-jaune-pale); }
.fw-carte__picto svg { width: 24px; height: 24px; }
.fw-carte p { font-size: var(--fw-fs-texte); line-height: 1.55; }
.fw-carte .fw-boutons { margin-top: auto; padding-top: var(--fw-e-3); }
.fw-apres-cartes { margin-top: var(--fw-e-6); display: flex; flex-direction: column; gap: var(--fw-e-3); }

/* ===== Section 6 · Le lien ===== */
.fw-lien-grille { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-8); align-items: center; }
.fw-lien-visuel { position: relative; display: flex; align-items: flex-end; gap: var(--fw-e-5); }
.fw-lien-visuel .fw-check-disque { --taille: 128px; margin-left: -40px; margin-bottom: -24px; position: relative; z-index: 1; }
@container (min-width: 900px) { .fw-lien-grille { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } .fw-lien-visuel .fw-check-disque { --taille: 160px; } }
.fw-citation-sombre { margin-top: var(--fw-e-9); padding: var(--fw-e-6); border-radius: var(--fw-r-l); background: #193543; display: grid; gap: var(--fw-e-4); }
.fw-citation-sombre svg { width: 40px; height: 40px; color: var(--fw-jaune); }
.fw-citation-sombre blockquote p { font-size: var(--fw-fs-chapo); line-height: 1.5; color: var(--fw-texte); max-width: 60ch; }
.fw-citation-sombre figcaption { font-size: var(--fw-fs-petit); color: var(--fw-texte-2); }
.fw-citation-sombre figcaption b { color: var(--fw-texte); font-weight: 600; }

/* ===== Section 7 · L'équipe ===== */
.fw-equipe-fanions { position: absolute; top: 0; left: 0; right: 0; --f1: var(--fw-orange); --f2: var(--fw-bleu); --f3: var(--fw-peau); --f4: var(--fw-jaune); }
.fw-equipe { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-8); }
@container (min-width: 1200px) {
  .fw-equipe { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--fw-e-7); align-items: start; }
  .fw-equipe--inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .fw-equipe--inverse > aside { order: -1; align-self: center; }
}
.fw-equipe-photo { border-radius: var(--fw-r-m); overflow: hidden; }
.fw-equipe-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fw-medaillons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fw-e-6) var(--fw-e-4); }
@container (min-width: 600px) { .fw-medaillons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 1200px) { .fw-medaillons--duos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fw-vignette { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--fw-e-2); }
.fw-vignette .fw-medaillon { margin-bottom: var(--fw-e-3); }
.fw-vignette__nom { font-weight: 700; color: var(--fw-titre); font-size: var(--fw-fs-petit); line-height: 1.3; }
.fw-vignette__spe { font-size: var(--fw-fs-petit); color: var(--fw-texte-2); line-height: 1.35; }
.fw-sous-titre { font: 700 var(--fw-fs-texte)/1.3 var(--fw-police); color: var(--fw-titre); margin-bottom: var(--fw-e-5) !important; }
.fw-carte-merci { border-radius: var(--fw-r-l); padding: var(--fw-e-6); display: flex; flex-direction: column; gap: var(--fw-e-4); }
.fw-carte-merci .fw-check-disque { --taille: 128px; align-self: flex-start; }
.fw-carte-merci .fw-medaillons { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; margin-block: var(--fw-e-4); }
.fw-carte-merci .fw-medaillon { --taille: 88px; font-size: 1.6rem; box-shadow: 0 0 0 6px var(--fw-peau), 0 0 0 8px var(--fw-bleu); background: var(--fw-blanc); }

/* ===== Section 8 · Trois voix ===== */
.fw-voix { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-5); }
@container (min-width: 900px) { .fw-voix { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fw-voix figure { background: var(--fw-surface-chaude); border-radius: var(--fw-r-l); padding: var(--fw-e-6); display: flex; flex-direction: column; gap: var(--fw-e-4); height: 100%; }
.fw-voix svg { width: 32px; height: 32px; color: var(--fw-orange); }
.fw-voix blockquote p { font-size: var(--fw-fs-texte); line-height: 1.55; font-weight: 500; color: var(--fw-texte); }
.fw-voix figcaption { margin-top: auto; font-size: var(--fw-fs-petit); color: var(--fw-texte-2); line-height: 1.45; }
.fw-voix figcaption b { color: var(--fw-titre); font-weight: 600; }

/* ===== Section 9 · 2028 ===== */
.fw-carte-2028 { position: relative; border-radius: var(--fw-r-l); box-shadow: var(--fw-ombre-tampon); padding: var(--fw-e-6) var(--fw-e-5); }
.fw-carte-2028 > .fw-check-disque { position: absolute; top: -40px; right: 24px; --taille: 96px; background: var(--fw-peau); }
@container (min-width: 900px) { .fw-carte-2028 { padding: var(--fw-e-8); } .fw-carte-2028 > .fw-check-disque { --taille: 128px; top: -56px; right: 56px; } }
.fw-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fw-e-5); align-items: start; max-width: 760px; }
.fw-carte-2028 .fw-editions { margin-bottom: var(--fw-e-8); }
.fw-editions > li:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
@container (min-width: 600px) { .fw-editions { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fw-editions > li:last-child { grid-column: auto; max-width: none; } }
.fw-affiche { position: relative; aspect-ratio: 2 / 3; border-radius: var(--fw-r-m); overflow: hidden; }
.fw-affiche img { width: 100%; height: 100%; object-fit: cover; }
.fw-affiche--preparation { background: var(--fw-orange); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--fw-e-4); gap: var(--fw-e-3); }
.fw-affiche--preparation .fw-mot-logo { font: 800 clamp(1.5rem, 1rem + 1.6vw, 2.5rem)/.9 var(--fw-police); color: var(--fw-blanc); text-transform: uppercase; }
.fw-affiche--suite { border: var(--fw-trait-avenir); display: grid; place-items: center; background: var(--fw-jaune-pale); }
.fw-affiche--suite .fw-check-disque { --taille: 72px; opacity: .45; }
.fw-edition__legende { margin-top: var(--fw-e-3); display: flex; flex-direction: column; gap: 2px; font-size: var(--fw-fs-petit); line-height: 1.4; }
.fw-edition__titre { font-weight: 700; color: var(--fw-titre); }
.fw-edition__legende a { min-height: 44px; }
.fw-2028-grille { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-7); }
@container (min-width: 900px) { .fw-2028-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--fw-e-8); align-items: start; } }
.fw-form { display: grid; gap: var(--fw-e-4); }
.fw-champ { display: grid; gap: var(--fw-e-2); }
.fw-champ label { font: 600 var(--fw-fs-petit)/1.4 var(--fw-police); color: var(--fw-texte); }
.fw-champ input { height: 52px; border-radius: var(--fw-r-s); background: var(--fw-surface); color: var(--fw-texte); border: 2px solid var(--fw-champ-bord); padding: 0 var(--fw-e-4); font: 400 var(--fw-fs-texte)/1 var(--fw-police); width: 100%; }
.fw-champ input::placeholder { color: var(--fw-texte-2); opacity: 1; }
.fw-aide, .fw-mention { font-size: var(--fw-fs-petit); color: var(--fw-titre); line-height: 1.45; }

/* ===== Section 11 · Merci à la Ville ===== */
.fw-ville { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-6); }
@container (min-width: 900px) { .fw-ville { grid-template-columns: 280px minmax(0, 1fr); gap: var(--fw-e-8); align-items: start; } }
.fw-tuile-logo { min-height: 160px; border: 1px solid var(--fw-filet); border-radius: var(--fw-r-m); background: var(--fw-surface); display: grid; place-items: center; padding: var(--fw-e-5); text-align: center; font: 600 1.375rem/1.2 var(--fw-police); color: var(--fw-accent); }
.fw-partenaires-ligne { margin-top: var(--fw-e-6); padding-top: var(--fw-e-5); border-top: 1px solid var(--fw-filet); display: flex; flex-direction: column; gap: var(--fw-e-2); }
.fw-maj { display: inline-flex; align-items: center; gap: var(--fw-e-2); margin-top: var(--fw-e-7); font-size: var(--fw-fs-petit); color: var(--fw-source); }
.fw-maj svg { width: 18px; height: 18px; }

/* ===== Pied de page ===== */
.fw-pied { padding-block: var(--fw-e-9) var(--fw-e-6); }
.fw-pied__grille { display: grid; grid-template-columns: 1fr; gap: var(--fw-e-7); }
@container (min-width: 900px) { .fw-pied__grille { grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3.5fr)); } }
.fw-pied__marque { display: flex; flex-direction: column; gap: var(--fw-e-4); align-items: flex-start; }
.fw-pied__logo { width: 96px; height: 96px; }
.fw-pied__logo img { width: 100%; height: 100%; }
.fw-pied h2 { font: 700 var(--fw-fs-petit)/1.3 var(--fw-police); color: var(--fw-titre); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--fw-e-3) !important; }
.fw-pied ul li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: var(--fw-texte); }
.fw-pied ul li a:hover { color: var(--fw-lien); text-decoration: underline; }
.fw-pied__bas { margin-top: var(--fw-e-8); padding-top: var(--fw-e-5); border-top: 1px solid var(--fw-filet); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--fw-e-4); font-size: var(--fw-fs-petit); color: var(--fw-texte-2); }
.fw-pied__bas a { color: var(--fw-texte-2) !important; }

.fw-polaroid { position: relative; }
.fw-polaroid__legende { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 400 26px/1.1 var(--fw-police-main); color: var(--fw-bleu); }

@media (prefers-reduced-motion: reduce) {
  .fw-ouv__check { animation: none; }
}

/* Tuile de la Ville : visuels d'attente (le logo officiel viendra de la mairie) */
.fw-tuile-ville { position: relative; min-height: 200px; border: 1px solid var(--fw-filet); border-radius: var(--fw-r-m); background: var(--fw-bleu-100); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--fw-e-4); padding: var(--fw-e-6) var(--fw-e-4) var(--fw-e-9); overflow: hidden; }
.fw-tuile-ville__panneau { background: var(--fw-blanc); border: 4px solid var(--fw-bleu); border-radius: 10px; box-shadow: 0 0 0 4px var(--fw-blanc), 0 6px 14px -8px rgba(34,72,91,.5); padding: 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.fw-tuile-ville__nom { white-space: nowrap; font: 800 1.2rem/1.1 var(--fw-police); color: var(--fw-bleu); text-transform: uppercase; letter-spacing: .02em; }
.fw-tuile-ville__dep { font: 600 .875rem/1 var(--fw-police); color: var(--fw-bleu-600); letter-spacing: .06em; text-transform: uppercase; }
.fw-tuile-ville__erdre { position: absolute; left: 0; right: 0; bottom: 20px; width: 100%; height: 40px; }
.fw-tuile-ville-photo { margin: 0; display: flex; flex-direction: column; gap: var(--fw-e-2); }
.fw-tuile-ville-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--fw-r-m); }
.fw-tuile-ville-photo figcaption { font-size: var(--fw-fs-petit); color: var(--fw-texte-2); line-height: 1.4; }

/* ===== En-tête du § 4.2 (réalignement du 23/10/2026) ===== */
.fw-page { position: relative; }
.fw-evitement { position: absolute; left: 16px; top: -64px; z-index: 200; background: var(--fw-jaune); color: var(--fw-bleu-900) !important; padding: 10px 18px; border-radius: var(--fw-r-pilule); font-weight: 700; text-decoration: none !important; }
.fw-evitement:focus { top: 8px; }
.fw-entete { position: sticky; top: 0; z-index: 50; background: var(--fw-fond); border-bottom: 1px solid var(--fw-filet); }
.fw-entete .fw-entete__in, .fw-panneau-menu__tete { min-height: 72px; transition: min-height var(--fw-duree-2, 200ms) var(--fw-courbe); }
.fw-entete--reduit .fw-entete__in { min-height: 56px; }
.fw-entete-logo img { width: 48px; height: 48px; }
.fw-entete-logo span { font: 800 22px/1 var(--fw-police); color: var(--fw-titre); text-transform: uppercase; }
.fw-entete-logo .fw-sr { position: absolute; }
@container (min-width: 900px) {
  .fw-entete .fw-entete__in { min-height: 72px; }
  .fw-entete--reduit .fw-entete__in { min-height: 56px; }
  .fw-entete-logo img { width: 48px; height: 48px; }
  .fw-entete-logo span { font-size: 22px; }
  .fw-menu { display: flex; gap: var(--fw-e-5); align-items: center; }
  .fw-panneau-menu { display: none !important; }
}
.fw-menu > li > a, .fw-sous-menu > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--fw-texte); font: 600 1.0625rem/1 var(--fw-police); text-decoration: none; cursor: pointer; list-style: none; }
.fw-menu > li > a:hover, .fw-sous-menu > summary:hover { color: var(--fw-lien); }
.fw-sous-menu > summary::-webkit-details-marker { display: none; }
.fw-sous-menu > summary svg { width: 18px; height: 18px; transition: transform var(--fw-duree-2, 200ms) var(--fw-courbe); }
.fw-sous-menu[open] > summary svg { transform: rotate(180deg); }
.fw-sous-menu { position: relative; }
.fw-sous-menu > ul { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; z-index: 60; background: var(--fw-surface); border: 1px solid var(--fw-filet); border-radius: var(--fw-r-m); box-shadow: var(--fw-ombre-2); padding: 8px; display: flex; flex-direction: column; }
.fw-sous-menu > ul a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--fw-texte); text-decoration: none; font-weight: 500; }
.fw-sous-menu > ul a:hover { background: var(--fw-jaune-pale); color: var(--fw-lien); }
.fw-pastille-nav { display: inline-flex; align-items: center; margin-left: 8px; background: var(--fw-jaune); color: var(--fw-bleu-900); font: 700 .875rem/1 var(--fw-police); padding: 5px 9px; border-radius: var(--fw-r-pilule); white-space: nowrap; }
.fw-menu .fw-bouton--ecrire { height: 44px; padding: 0 var(--fw-e-4); font-size: 1rem; background: var(--fw-orange-700); color: var(--fw-blanc) !important; }
.fw-menu .fw-bouton--ecrire:hover { background: var(--fw-orange-800); }
.fw-menu-btn { cursor: pointer; }

/* Panneau du menu, sous 900 px */
.fw-panneau-menu { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; overflow: auto; padding: 0 16px 24px; }
.fw-panneau-menu[open] { display: flex; flex-direction: column; }
.fw-panneau-menu::backdrop { background: var(--fw-bleu-900); }
.fw-panneau-menu .fw-fanions { --f1: var(--fw-jaune); --f2: var(--fw-peau); --f3: var(--fw-orange); --f4: var(--fw-creme); height: 28px; margin: 0 -16px; width: calc(100% + 32px); }
.fw-panneau-menu .fw-fanions .ficelle { stroke: var(--fw-peau); }
.fw-panneau-menu__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fw-panneau-menu .fw-menu-btn { border-color: var(--fw-peau); color: var(--fw-peau); }
.fw-panneau-menu__liens { display: flex; flex-direction: column; gap: var(--fw-e-5); margin-top: var(--fw-e-5); }
.fw-panneau-menu__liens > li > a { font: 700 var(--fw-fs-h2)/1.15 var(--fw-police); color: var(--fw-creme); text-decoration: none; }
.fw-panneau-menu__sous { margin-top: var(--fw-e-2); display: flex; flex-direction: column; }
.fw-panneau-menu__sous a { display: inline-flex; align-items: center; min-height: 40px; color: #F6EBDD; text-decoration: none; font-size: var(--fw-fs-texte); }
.fw-panneau-menu__carte { margin-top: auto; padding-top: var(--fw-e-7); display: flex; flex-direction: column; gap: var(--fw-e-2); }
.fw-panneau-menu__label { font: 700 var(--fw-fs-petit)/1.3 var(--fw-police); color: var(--fw-titre); text-transform: uppercase; letter-spacing: .06em; }

/* Mini-carte du prochain rendez-vous (menu mobile, pied de page) */
.fw-rdv-mini { display: flex; align-items: center; gap: var(--fw-e-4); padding: var(--fw-e-4); border-radius: var(--fw-r-m); background: var(--fw-surface); border: 1px solid var(--fw-filet); text-decoration: none !important; max-width: 380px; }
.fw-rdv-mini .fw-pastille-date { width: 56px; height: 56px; box-shadow: none; flex: none; }
.fw-rdv-mini .fw-pastille-date b { font-size: 1.375rem; }
.fw-rdv-mini__corps { display: flex; flex-direction: column; gap: 4px; }
.fw-rdv-mini__titre { font-weight: 700; color: var(--fw-titre); line-height: 1.3; }
.fw-rdv-mini__infos { font-size: var(--fw-fs-petit); color: var(--fw-texte); line-height: 1.4; }

/* Date et lieu de la carte rendez-vous (§ 4.5) */
.fw-carte-rdv__meta { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--fw-titre); line-height: 1.4; }
.fw-carte-rdv__meta svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--fw-picto); }

/* Boutons : jamais plus larges que l'écran */
.fw-boutons .fw-bouton { white-space: normal; text-align: center; height: auto; min-height: 52px; padding-block: 12px; line-height: 1.2; max-width: 100%; }

/* ===== Pied de page du § 4.2 ===== */
.fw-pied-hote { container-type: inline-size; font-family: var(--fw-police); font-size: var(--fw-fs-texte); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.fw-pied-hote *, .fw-pied-hote *::before, .fw-pied-hote *::after { box-sizing: border-box; }
.fw-pied-hote p, .fw-pied-hote h2, .fw-pied-hote ul, .fw-pied-hote fieldset { margin: 0; }
.fw-pied-hote ul { padding: 0; list-style: none; }
.fw-pied-hote img { display: block; max-width: 100%; }
.fw-pied-hote :focus-visible { outline: 3px solid var(--fw-jaune); outline-offset: 3px; border-radius: 4px; }
.fw-pied__erdre { display: block; width: 100%; height: 48px; margin-bottom: -1px; }
.fw-pied { position: relative; overflow: hidden; padding-block: var(--fw-e-7) var(--fw-e-6); }
.fw-pied__guirlande { display: block; width: 100%; height: 56px; margin: -16px 0 var(--fw-e-5); }
.fw-pied__saule { position: absolute; right: -40px; bottom: 60px; width: 420px; height: 420px; color: var(--fw-peau); opacity: .07; pointer-events: none; }
.fw-pied__grille { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--fw-e-7); }
@container (min-width: 600px) { .fw-pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1200px) { .fw-pied__grille { grid-template-columns: minmax(0, 4fr) minmax(0, 2.6fr) minmax(0, 2.8fr) minmax(0, 3.4fr); gap: var(--fw-e-6); } }
.fw-pied h2 { font: 700 var(--fw-fs-petit)/1.3 var(--fw-police); color: var(--fw-titre); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--fw-e-3) !important; }
.fw-pied__marque { display: flex; flex-direction: column; gap: var(--fw-e-3); align-items: flex-start; }
.fw-pied__devise { font-weight: 700; color: var(--fw-titre); }
.fw-pied__reseaux { display: flex; gap: var(--fw-e-3); }
.fw-pied__reseaux a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--fw-lien); display: grid; place-items: center; color: var(--fw-lien) !important; }
.fw-pied__reseaux svg { width: 22px; height: 22px; }
.fw-pied .fw-pied__liste a { display: inline-flex; align-items: center; min-height: 40px; color: var(--fw-lien); text-decoration: none; line-height: 1.3; }
.fw-pied .fw-pied__liste a:hover { text-decoration: underline; color: var(--fw-lien-survol); }
.fw-pied__merci { margin-top: var(--fw-e-4) !important; font-size: var(--fw-fs-petit); line-height: 1.5; }
.fw-pied .fw-pied__bas { position: relative; margin-top: var(--fw-e-8); padding-top: var(--fw-e-5); border-top: 1px solid var(--fw-filet); display: flex; flex-direction: column; gap: var(--fw-e-3); font-size: var(--fw-fs-petit); line-height: 1.5; color: var(--fw-texte-2); }
.fw-pied .fw-pied__bas a { color: var(--fw-lien) !important; }
.fw-pied__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--fw-e-5); }
.fw-pied__legal a { display: inline-flex; align-items: center; min-height: 40px; }
.fw-pied__fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--fw-e-3); }

/* Correctifs du 23/10 : exposants dans les liens, panneau mobile, largeur 375 px */
.fw-pied .fw-pied__liste a { display: inline-block; padding-block: 8px; min-height: 0; }
.fw-panneau-menu > * { flex: none; }
.fw-panneau-menu__carte { flex: 1 0 auto; justify-content: flex-end; }
.fw-panneau-menu__liens > li > a, .fw-panneau-menu__details > summary { font: 700 var(--fw-fs-h2)/1.15 var(--fw-police); color: var(--fw-creme); text-decoration: none; }
.fw-panneau-menu__details > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.fw-panneau-menu__details > summary::-webkit-details-marker { display: none; }
.fw-panneau-menu__details > summary svg { width: 24px; height: 24px; transition: transform var(--fw-duree-2, 200ms) var(--fw-courbe); }
.fw-panneau-menu__details[open] > summary svg { transform: rotate(180deg); }
.fw-panneau-menu__sous a { display: block; padding-block: 8px; min-height: 0; }
.fw-bandeau__in { gap: var(--fw-e-3); }
.fw-bandeau p { white-space: normal; min-width: 0; }
.fw-jalon .fw-etiquette { white-space: normal; max-width: 100%; }
@container (min-width: 900px) { .fw-carte-rdv__corps > .fw-h3 { padding-right: 88px; } }

/* Pied : icônes des réseaux centrées dans leur cercle (03/12/2026) — la règle générale `.fw-pied ul li a`
   (inline-flex, sans centrage horizontal) l'emportait sur `.fw-pied__reseaux a`. */
.fw-pied .fw-pied__reseaux a { display: grid; place-items: center; padding: 0; min-height: 0; text-decoration: none; }
.fw-pied .fw-pied__reseaux svg { display: block; }

/* Règles reprises de gf-website (referentiel/technique-web.md, étude Modern Web Guidance), appliquées le 03/12/2026 */
/* Une seule palette, claire : on la déclare comme la seule (l'assombrissement d'office de Chrome Android ne s'y applique pas). */
:root { color-scheme: only light; }
/* Les images portent leur taille (width/height) : la hauteur suit la largeur, sans jamais l'emporter sur une règle de la page. */
:where(.fw-page, .fw-ouv-hote, .fw-pied-hote) img { height: auto; }
/* Ce qui reçoit le focus s'arrête sous l'en-tête collé (WCAG 2.4.11), jamais derrière : marge d'arrêt, pas de scroll-padding sur html. */
:root { --arret-entete: 88px; }
:where(a[href], button, summary, input, select, textarea, [tabindex]:not([tabindex="-1"])) { scroll-margin-top: var(--arret-entete); scroll-margin-bottom: 16px; }
.fw-entete :where(a[href], button, summary), .fw-panneau-menu :where(a[href], button, summary) { scroll-margin-top: 0; }
