/* ==========================================================================
   La Bête de Jeu — feuille de style unique
   Maquette : Figma tConV6vFiUtt2owimFQKDf, page « Site web »
   Mobile d'abord (cadres 390), composition desktop (cadres 1440) à partir de 1024 px.
   ========================================================================== */

/* ---------- Polices auto-hébergées (@fontsource 5.3.0, licence OFL) ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lilita-one-latin-400-normal.woff2") format("woff2"); }

/* ---------- Variables (issues des variables Figma) ---------- */
:root {
  /* collection « site » */
  --site-titre: #022d3b;
  --site-jaune: #fcae24;
  --site-nav: #384e58;
  --site-texte: #3a4f57;
  --site-turquoise: #dff5f3;
  --site-pied: #033e49;
  --site-pied-texte: #d7e8ee;
  --site-fond: #ffffff;
  --site-goutte-turquoise: #2a9d9f;
  --site-goutte-canard: #1b6e74;
  /* collection « marque » */
  --marque-vert-canard: #1f5f63;
  --marque-jaune: #f6c445;
  /* collections « texte », « fond », « trait » */
  --texte-principal: #24313a;
  --texte-secondaire: #3a4650;
  --texte-inverse: #ffffff;
  --fond-carte: #fffcf6;
  --trait-carte: #e7dcc8;
  /* valeurs non liées à une variable dans Figma */
  --creme: #fefaf1;
  --filet: #e3ded1;
  --date-fond: #e8f7fa;
  --jaune-texte: #b57502;       /* jaune pour le TEXTE sur fond clair (Figma : #fcae24, contraste insuffisant) */
  --citation: #2a5c64;
  --ombre-carte: 0 4px 16px rgba(3, 61, 74, 0.06);
  --ombre-evenement: 0 6px 20px rgba(0, 51, 64, 0.06);

  --police: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-titre: "Lilita One", "Nunito", system-ui, sans-serif;
  --police-manuscrite: "Caveat", "Comic Sans MS", cursive;

  /* gouttière mobile : 20 px, contenu limité à 640 px sur tablette */
  --gouttiere: max(20px, calc((100% - 640px) / 2));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--site-fond);
  color: var(--texte-principal);
  font-family: var(--police);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 700; }
[id] { scroll-margin-top: 16px; }

:focus-visible { outline: 3px solid var(--site-titre); outline-offset: 3px; border-radius: 4px; }
.pied :focus-visible, .aide-contact :focus-visible { outline-color: var(--site-jaune); }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--site-titre); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 800; text-decoration: none;
}
.lien-evitement:focus { top: 12px; }

/* Champs à compléter avant mise en ligne : repérables, sans changer le rendu */
.a-completer { }

.jaune { color: var(--jaune-texte); }
/* Sur le fond sombre du pied, le jaune d'origine contraste mieux (6,27:1) que le jaune foncé (3,08:1) */
.pied .jaune { color: var(--site-jaune); }
.br-d { display: none; }           /* retours à la ligne propres au desktop */
.cadre { display: contents; }
.deco { position: absolute; pointer-events: none; max-width: none; user-select: none; }

/* Lien dans le texte courant */
.lien-texte { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.lien-texte:hover { text-decoration-thickness: 2px; }

/* Surtitre */
.surtitre {
  font-weight: 800; text-transform: uppercase; color: var(--marque-vert-canard);
  font-size: 13px; letter-spacing: 0.13px; line-height: normal;
}

/* Bouton jaune (style Figma « Web/Bouton ») */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px;
  background: var(--marque-jaune); color: var(--texte-principal);
  font-weight: 800; font-size: 18px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.bouton:hover { background: var(--site-jaune); }
.bouton:active { transform: translateY(1px); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.en-tete { position: relative; z-index: 30; background: var(--site-fond); }
.en-tete__cadre { position: relative; display: flex; align-items: center; justify-content: space-between; }
.en-tete__logo { display: block; flex: none; }
.en-tete__logo img { width: 100%; height: 100%; object-fit: contain; }
.en-tete__actions { display: flex; align-items: center; gap: 14px; }
.lien-facebook { display: block; border-radius: 50%; }
.lien-facebook img { width: 100%; height: 100%; }

.bouton-menu {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 12px; margin: 0;
  background: transparent; border: 2px solid var(--site-titre); border-radius: 12px; cursor: pointer;
}
.bouton-menu span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--site-titre); transition: transform .2s ease, opacity .2s ease; }
.bouton-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bouton-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .bouton-menu span { transition: none; } }

/* Navigation : panneau déroulant sur mobile (sans JS, la liste reste visible) */
.nav ul { display: flex; flex-direction: column; }
.nav a { display: block; text-decoration: none; font-weight: 700; color: var(--site-titre); font-size: 18px; padding: 12px var(--gouttiere); }
.nav a[aria-current="page"] { color: var(--site-titre); text-decoration: underline; text-decoration-color: var(--site-jaune); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.nav { order: 3; flex-basis: 100%; }
.js .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: var(--site-fond); border-top: 1px solid var(--trait-carte); border-bottom: 1px solid var(--trait-carte); box-shadow: 0 12px 24px rgba(2, 45, 59, 0.08); padding: 8px 0; }
.js .menu-ouvert .nav { display: block; }
.no-js .bouton-menu { display: none; }

/* En-tête de l'accueil, mobile (cadre 134:2) */
.en-tete--accueil .en-tete__cadre { height: 84px; flex-wrap: wrap; }
.en-tete--accueil .en-tete__logo { width: min(196px, calc(100vw - 140px)); height: auto; aspect-ratio: 2 / 1; margin: -7px 0 -7px 13px; }
.en-tete--accueil .en-tete__actions { margin-right: 16px; }
.en-tete--accueil .lien-facebook { width: 34px; height: 34px; }

/* En-tête des pages Aide / Mentions, mobile (cadre 100:135) */
.en-tete--page { border-bottom: 1px solid var(--trait-carte); }
.en-tete--page .en-tete__cadre { padding: 16px 20px; flex-wrap: wrap; }
.en-tete--page .en-tete__logo { width: 140px; height: 70px; }
.en-tete--page .lien-facebook { width: 36px; height: 36px; }
.en-tete--page .bouton-menu { border-color: var(--marque-vert-canard); }
.en-tete--page .bouton-menu span { background: var(--marque-vert-canard); }

/* ==========================================================================
   Accueil — mobile (cadre 100:2)
   ========================================================================== */
/* Haut de page */
.hero { position: relative; padding-bottom: 96px; }
.hero__fond { position: absolute; left: 0; right: 0; top: 10px; bottom: 30px; background: url("../img/fond-hero-mobile.svg") center / 100% 100% no-repeat; }
.hero__photo { position: relative; width: 100%; height: min(84.6vw, 520px); object-fit: cover; }
.hero__texte { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px var(--gouttiere) 0; }
.hero h1 { font-weight: 900; font-size: clamp(30px, 9.23vw, 36px); line-height: 1.111; color: var(--site-titre); }
.hero__chapeau { font-size: 17px; line-height: 25px; color: var(--site-texte); }
.hero__deco-gauche { left: 0; bottom: 10px; width: 28px; height: 120px; }
.hero__deco-photo { display: none; }
.hero__deco-titre { right: 0; top: 65px; width: 72px; height: 57px; }
.hero__deco-bas { right: 2px; bottom: 18px; width: 98px; height: 78px; }
.hero__deco-gauche-d { display: none; }

/* Ce que nous faisons */
.a-propos { padding: 24px var(--gouttiere) 64px; }
.a-propos .surtitre { margin-bottom: 14px; }
.a-propos h2 { font-weight: 900; font-size: 28px; line-height: 33px; color: var(--site-titre); }
.colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 14px; }
.colonne { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.colonne__icone { width: 150px; height: 84px; object-fit: contain; }
.colonne h3 { font-weight: 800; font-size: 16px; line-height: 20px; color: var(--site-titre); }
.colonne p { font-size: 14.5px; line-height: 20px; color: var(--site-nav); }
.filet-colonne { display: none; }

/* Prochain rendez-vous */
.evenements { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 56px var(--gouttiere) 64px; background: url("../img/fond-rdv-mobile.svg") center top / 100% 100% no-repeat; }
.evenements__deco-gauche { left: 0; top: 330px; width: 39px; height: 165px; }
.evenements h2 { font-weight: 900; font-size: 28px; line-height: 33px; color: var(--site-titre); }
.evenement {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px;
  background: #fff; border-radius: 14px; box-shadow: var(--ombre-evenement);
}
.evenement__haut { display: flex; gap: 14px; align-items: flex-start; }
.evenement__date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 78px; height: 96px; border-radius: 12px; background: var(--date-fond); color: var(--site-titre);
  text-align: center;
}
.evenement__date span { display: block; font-weight: 800; font-size: 16px; line-height: normal; }
.evenement__date .jour { font-weight: 900; font-size: 40px; line-height: 42px; }
.evenement__infos { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.evenement h3 { font-weight: 800; font-size: 19px; line-height: normal; color: var(--site-titre); }
.evenement__ligne { display: flex; align-items: center; gap: 8px; font-size: 15.5px; line-height: normal; color: var(--site-titre); }
.evenement__ligne img { width: 20px; height: 20px; flex: none; }
.evenement__description { font-size: 14.5px; line-height: 21px; color: var(--site-titre); }
.evenement__figure { position: relative; }
.evenement__illu { width: min(300px, calc(100% - 52px)); height: auto; aspect-ratio: 640 / 382; object-fit: contain; }
.evenement__traits { position: absolute; left: calc(min(300px, calc(100% - 52px)) + 4px); top: 30px; width: 43px; height: 43.5px; transform: scaleX(-1); }
.evenements__illustration { width: 100%; max-width: 480px; height: auto; aspect-ratio: 1080 / 900; object-fit: cover; align-self: center; }

/* Citation */
.citation { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 20px; }
.citation__boite { position: relative; flex: none; width: 350px; height: 150px; }
.citation blockquote {
  position: absolute; left: 175px; top: 70.5px; transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--police-manuscrite); font-weight: 700; font-size: 32px; line-height: 33px;
  color: var(--citation); white-space: nowrap;
}
.citation blockquote p { margin: 0; }
.citation__traits-g { left: -0.76px; top: 76.48px; width: 48.3px; height: 53.9px; }
.citation__traits-d { left: 318px; top: 1.75px; width: 70.5px; height: 65.2px; }
.citation__mascotte { left: calc(50% - 135px); top: 180px; width: 270px; height: 181px; object-fit: contain; }
.citation__feuillage-g { left: -30px; top: 262.6px; width: 93.6px; height: 130.4px; }
.citation__feuillage-d { right: -41.8px; top: 257.8px; width: 116.3px; height: 135.2px; }
.citation__espace { width: 260px; height: 161px; }

/* ==========================================================================
   Pied de page — mobile (composant 143:46)
   ========================================================================== */
.pied {
  position: relative; z-index: 2; overflow: hidden;
  display: flex; flex-direction: column; gap: 24px;
  padding: 134px var(--gouttiere) 190px;
  color: var(--site-pied-texte);
}
.pied__fond { position: absolute; inset: 106px 0 0 0; background: var(--site-pied); }
.pied__vagues { position: absolute; left: 0; right: 0; top: 0; height: 110px; background: url("../img/vagues-pied-mobile.svg") center top / 100% 100% no-repeat; }
.pied__tentacule-d { right: 0; bottom: 0; width: 73px; height: 169px; object-fit: cover; }
.pied__tentacule-g { left: 0; bottom: 0; width: 102px; height: 130px; object-fit: cover; }
.pied__haut { position: relative; display: flex; flex-direction: column; gap: 22px; }
.pied__marque { display: flex; align-items: center; gap: 16px; }
.pied__logo { position: relative; flex: none; width: 84px; height: 79px; }
.pied__logo::before { content: none; }
.pied__logo img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.pied__nom { font-weight: 900; font-size: 32px; line-height: 32px; color: #fff; }
.pied__signature { margin-top: 8px; font-weight: 800; font-size: 11px; line-height: 16px; letter-spacing: 0.66px; color: #fff; }
.pied__filet { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.25); flex: none; }
.pied__contact { display: flex; flex-direction: column; gap: 14px; font-style: normal; }
.pied__ligne { display: flex; align-items: center; gap: 14px; font-size: 17px; line-height: 24px; }
.pied__ligne--fb { flex-wrap: wrap; gap: 6px 14px; }
.pied__ligne img { width: 24px; height: 24px; flex: none; }
.pied__ligne a { text-decoration: none; }
.pied__ligne a:hover, .pied__liens a:hover { text-decoration: underline; }
.etiquette { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--site-jaune); color: var(--site-titre); font-weight: 700; font-size: 13px; line-height: normal; }
.pied__liens { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 24px; }
.pied__liens a { text-decoration: none; }
.pied__copyright { position: relative; font-size: 13px; line-height: normal; opacity: 0.85; }

/* ==========================================================================
   Pages Aide et Mentions légales — mobile (cadres 100:134 et 152:774)
   ========================================================================== */
.intro { display: flex; flex-direction: column; gap: 16px; padding: 48px var(--gouttiere) 56px; }
.intro .surtitre, .sommaire__titre { font-size: 15px; line-height: 1.3; letter-spacing: 1.2px; }
.intro h1 { font-family: var(--police-titre); font-weight: 400; font-size: 38px; line-height: 1.1; color: var(--marque-vert-canard); }
.intro__chapeau { font-weight: 700; font-size: 22px; line-height: 1.5; color: var(--texte-secondaire); max-width: 860px; }

.carte {
  background: var(--fond-carte); border: 1.5px solid var(--trait-carte); border-radius: 16px;
  box-shadow: var(--ombre-carte); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.carte h2, .carte h3 { font-family: var(--police-titre); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--marque-vert-canard); }
.carte p { font-size: 18px; line-height: 1.6; color: var(--texte-principal); }
.carte .gras { font-weight: 800; }
.carte .paragraphe-espace { margin-top: 18.8px; }
.bloc-mediation { display: flex; flex-direction: column; gap: 10px; }

.aide-contenu { display: flex; flex-direction: column; gap: 40px; padding: 0 var(--gouttiere) 56px; }
.sommaire { padding: 28px; border-radius: 20px; gap: 14px; }
.sommaire .sommaire__titre { font-weight: 800; font-size: 15px; line-height: 1.3; letter-spacing: 1.2px; text-transform: uppercase; color: var(--texte-secondaire); }
.sommaire ul { display: flex; flex-direction: column; gap: 14px; }
.sommaire a { font-weight: 800; font-size: 18px; line-height: 1.6; color: var(--marque-vert-canard); text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.faq { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.faq__section { display: flex; flex-direction: column; gap: 16px; }
.faq__section > h2 { font-family: var(--police-titre); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--texte-principal); }

.aide-contact {
  display: flex; flex-direction: column; align-items: stretch; gap: 24px;
  padding: 36px 24px; border-radius: 20px; background: var(--marque-vert-canard); color: var(--texte-inverse);
}
.aide-contact__texte { display: flex; flex-direction: column; gap: 6px; }
.aide-contact h2 { font-family: var(--police-titre); font-weight: 400; font-size: 22px; line-height: 1.2; }
.aide-contact p { font-size: 18px; line-height: 1.6; }

.mentions-contenu { display: flex; flex-direction: column; gap: 20px; padding: 0 var(--gouttiere) 56px; }

/* ==========================================================================
   Desktop : composition 1440 mise à l'échelle entre 1024 et 1440 px
   --u vaut 1 px à 1440 px et au-delà, et diminue proportionnellement en dessous.
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --u: min(1px, calc(100vw / 1440)); }
  .br-d { display: inline; }
  .cadre { display: block; position: relative; width: calc(1440 * var(--u)); height: 100%; margin-inline: auto; }

  /* --- Navigation desktop --- */
  .bouton-menu { display: none; }
  .js .nav, .nav { position: static; display: block; order: 0; flex-basis: auto; background: none; border: 0; box-shadow: none; padding: 0; }

  /* En-tête accueil (129:11) : positions absolues du cadre */
  .en-tete--accueil .en-tete__cadre { display: block; width: calc(1440 * var(--u)); height: calc(132 * var(--u)); margin-inline: auto; }
  .en-tete--accueil .en-tete__logo { position: absolute; left: calc(53 * var(--u)); top: calc(-15 * var(--u)); width: calc(314 * var(--u)); height: calc(157 * var(--u)); margin: 0; }
  .en-tete--accueil .nav { position: absolute; left: calc(777 * var(--u)); top: calc(45 * var(--u)); }
  .en-tete--accueil .nav ul { flex-direction: row; gap: calc(56 * var(--u)); }
  .en-tete--accueil .nav a {
    display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--u));
    padding: 0; font-size: calc(19 * var(--u)); line-height: normal; font-weight: 600; color: var(--site-nav);
  }
  .en-tete--accueil .nav a::after { content: ""; display: block; width: calc(66 * var(--u)); height: calc(4 * var(--u)); border-radius: 2px; background: transparent; transition: background-color .15s ease; }
  .en-tete--accueil .nav a[aria-current="page"] { font-weight: 700; color: var(--site-titre); text-decoration: none; }
  .en-tete--accueil .nav a[aria-current="page"]::after { background: var(--site-jaune); }
  .en-tete--accueil .nav a:hover::after { background: var(--site-jaune); }
  .en-tete--accueil .en-tete__actions { position: absolute; left: calc(1306 * var(--u)); top: calc(35 * var(--u)); margin: 0; }
  .en-tete--accueil .lien-facebook { width: calc(42 * var(--u)); height: calc(42 * var(--u)); }

  /* En-tête pages (99:3) */
  .en-tete--page .en-tete__cadre { flex-wrap: nowrap; max-width: 1440px; margin-inline: auto; padding: 16px clamp(20px, 8.333vw, 120px); }
  .en-tete--page .en-tete__logo { width: 200px; height: 100px; }
  .en-tete--page .en-tete__actions { gap: 36px; }
  .en-tete--page .nav { margin-left: auto; margin-right: 36px; }
  .en-tete--page .nav ul { flex-direction: row; align-items: center; gap: 36px; }
  .en-tete--page .nav a { padding: 6px 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--marque-vert-canard); }
  .en-tete--page .nav a:hover { text-decoration: underline; text-decoration-color: var(--marque-jaune); text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .en-tete--page .lien-facebook { width: 40px; height: 40px; }

  /* --- Haut de page (129:28) --- */
  .hero { height: calc(631 * var(--u)); padding: 0; }
  .hero__fond { top: calc(22 * var(--u)); bottom: auto; height: calc(540 * var(--u)); background-image: url("../img/fond-hero.svg"); }
  .hero__photo { position: absolute; right: 0; top: calc(10 * var(--u)); width: calc(740 * var(--u)); height: calc(612 * var(--u)); }
  .hero__texte { position: absolute; inset: 0; display: block; padding: 0; width: calc(1440 * var(--u)); margin-inline: auto; }
  .hero .surtitre { position: absolute; left: calc(87 * var(--u)); top: calc(77 * var(--u)); font-size: calc(17.5 * var(--u)); letter-spacing: calc(0.175 * var(--u)); white-space: nowrap; }
  .hero h1 { position: absolute; left: calc(84 * var(--u)); top: calc(110 * var(--u)); font-size: calc(70 * var(--u)); line-height: calc(73 * var(--u)); white-space: nowrap; }
  .hero__chapeau { position: absolute; left: calc(88 * var(--u)); top: calc(346 * var(--u)); font-size: calc(20.5 * var(--u)); line-height: calc(28.6 * var(--u)); white-space: nowrap; }
  .hero .bouton { position: absolute; left: calc(84 * var(--u)); top: calc(476 * var(--u)); padding: calc(16 * var(--u)) calc(28 * var(--u)); font-size: calc(18 * var(--u)); }
  .hero__deco-titre, .hero__deco-bas, .hero__deco-gauche { display: none; }
  .hero__deco-gauche-d { display: block; left: 0; top: calc(190 * var(--u)); width: calc(77 * var(--u)); height: calc(330 * var(--u)); }
  .hero__deco-photo { display: block; right: calc(610 * var(--u)); top: calc(410 * var(--u)); width: calc(130 * var(--u)); height: calc(103 * var(--u)); }

  /* --- Ce que nous faisons (130:2) --- */
  .a-propos { position: relative; height: calc(367 * var(--u)); padding: 0; }
  .a-propos .surtitre { position: absolute; left: calc(92 * var(--u)); top: calc(13 * var(--u)); margin: 0; font-size: calc(17.5 * var(--u)); letter-spacing: calc(0.175 * var(--u)); }
  .a-propos h2 { position: absolute; left: calc(91 * var(--u)); top: calc(47 * var(--u)); font-size: calc(41 * var(--u)); line-height: normal; white-space: nowrap; }
  .colonnes { display: block; margin: 0; }
  .colonne { position: absolute; display: block; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); }
  .colonne__icone { position: absolute; left: calc(var(--ix) * var(--u)); top: calc(var(--iy) * var(--u)); width: calc(var(--iw) * var(--u)); height: calc(96 * var(--u)); }
  .colonne h3 { font-size: calc(22 * var(--u)); line-height: normal; white-space: nowrap; }
  .colonne p { margin-top: calc(7 * var(--u)); font-size: calc(19.5 * var(--u)); line-height: calc(25.5 * var(--u)); white-space: nowrap; }
  .colonne--1 { --x: 75;    --y: 240; --w: 238; --ix: 48.5; --iy: -102; --iw: 171; }
  .colonne--2 { --x: 441;   --y: 240; --w: 206; --ix: 19;   --iy: -105; --iw: 174; }
  .colonne--3 { --x: 734.5; --y: 245; --w: 316; --ix: 83.5; --iy: -110; --iw: 161; }
  .colonne--4 { --x: 1119.5;--y: 240; --w: 263; --ix: 35;   --iy: -110; --iw: 172; }
  .colonne--3 h3 { font-size: calc(18.5 * var(--u)); }
  .filet-colonne { display: block; position: absolute; top: calc(169 * var(--u)); width: 1px; height: calc(176 * var(--u)); background: var(--filet); }
  .filet-colonne--1 { left: calc(371 * var(--u)); }
  .filet-colonne--2 { left: calc(719 * var(--u)); }
  .filet-colonne--3 { left: calc(1075 * var(--u)); }

  /* --- Prochain rendez-vous (130:24) --- */
  .evenements { display: block; height: calc(540 * var(--u)); padding: 0; background-image: url("../img/fond-rdv.svg"); }
  .evenements__deco-gauche { left: 0; top: calc(80 * var(--u)); width: calc(81 * var(--u)); height: calc(345 * var(--u)); }
  .evenements .cadre { position: relative; }
  .evenements .surtitre { position: absolute; left: calc(98 * var(--u)); top: calc(67 * var(--u)); font-size: calc(17.5 * var(--u)); letter-spacing: calc(0.175 * var(--u)); }
  .evenements h2 { position: absolute; left: calc(97 * var(--u)); top: calc(100 * var(--u)); font-size: calc(49 * var(--u)); line-height: calc(57 * var(--u)); white-space: nowrap; }
  .evenements__illustration { position: absolute; left: calc(890 * var(--u)); top: calc(54 * var(--u)); width: calc(540 * var(--u)); height: calc(450 * var(--u)); max-width: none; }
  .evenement { position: absolute; display: block; left: calc(97 * var(--u)); top: calc(232 * var(--u)); width: calc(812 * var(--u)); height: calc(261 * var(--u)); padding: 0; border-radius: calc(18 * var(--u)); }
  .evenement__haut { display: block; }
  .evenement__date { position: absolute; left: calc(21 * var(--u)); top: calc(22 * var(--u)); width: calc(125 * var(--u)); height: calc(153 * var(--u)); }
  .evenement__date span { font-size: calc(20 * var(--u)); }
  .evenement__date .jour { font-size: calc(52 * var(--u)); line-height: calc(56 * var(--u)); }
  .evenement__infos { display: block; }
  .evenement h3 { position: absolute; left: calc(175 * var(--u)); top: calc(29 * var(--u)); font-size: calc(25 * var(--u)); white-space: nowrap; }
  .evenement__ligne { position: absolute; left: calc(175 * var(--u)); gap: calc(18 * var(--u)); font-size: calc(19 * var(--u)); white-space: nowrap; }
  .evenement__ligne img { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
  .evenement__ligne--lieu { top: calc(75 * var(--u)); }
  .evenement__ligne--horaires { top: calc(119 * var(--u)); }
  .evenement__description { position: absolute; left: calc(175 * var(--u)); top: calc(166 * var(--u)); font-size: calc(15.5 * var(--u)); line-height: calc(24.5 * var(--u)); white-space: nowrap; }
  .evenement__figure { position: absolute; left: calc(598 * var(--u)); top: calc(22 * var(--u)); width: calc(191 * var(--u)); }
  .evenement__illu { width: 100%; }
  .evenement__traits { left: calc(-58 * var(--u)); top: calc(-14 * var(--u)); width: calc(61.3 * var(--u)); height: calc(62.1 * var(--u)); }

  /* --- Citation (130:60) --- */
  .citation { display: block; height: calc(227 * var(--u)); padding: 0; }
  .citation .cadre { position: relative; }
  .citation__boite { position: static; width: auto; height: auto; }
  .citation blockquote { left: calc(972.21 * var(--u)); top: calc(122.5 * var(--u)); transform: translate(-50%, -50%) rotate(-11deg); font-size: calc(52 * var(--u)); line-height: calc(48 * var(--u)); text-align: center; }
  .citation__traits-g { left: calc(704.06 * var(--u)); top: calc(105.97 * var(--u)); width: calc(68.94 * var(--u)); height: calc(77.05 * var(--u)); }
  .citation__traits-d { left: calc(1175 * var(--u)); top: calc(68.93 * var(--u)); width: calc(100.74 * var(--u)); height: calc(93.15 * var(--u)); }
  .citation__mascotte { left: calc(203 * var(--u)); top: calc(-1 * var(--u)); width: calc(453 * var(--u)); height: calc(338 * var(--u)); }
  .citation__feuillage-g { left: 0; top: calc(104.65 * var(--u)); width: calc(156.07 * var(--u)); height: calc(217.35 * var(--u)); }
  .citation__feuillage-d { right: 0; top: calc(96.6 * var(--u)); width: calc(193.84 * var(--u)); height: calc(225.4 * var(--u)); }
  .citation__espace { display: none; }

  /* --- Pied de page (143:2) --- */
  .pied { gap: calc(36 * var(--u)); padding: calc(220 * var(--u)) 0 calc(56 * var(--u)); }
  .pied__interieur { position: relative; display: flex; flex-direction: column; gap: calc(36 * var(--u)); width: calc(1440 * var(--u)); margin-inline: auto; padding: 0 calc(170 * var(--u)); }
  .pied__fond { top: calc(176 * var(--u)); }
  .pied__vagues { height: calc(180 * var(--u)); background-image: url("../img/vagues-pied.svg"); }
  .pied__tentacule-d { width: calc(113 * var(--u)); height: calc(263 * var(--u)); }
  .pied__tentacule-g { width: calc(151 * var(--u)); height: calc(192 * var(--u)); }
  .pied__haut { flex-direction: row; align-items: center; gap: calc(48 * var(--u)); }
  .pied__marque { gap: calc(16 * var(--u)); }
  .pied__logo { width: calc(157 * var(--u)); height: calc(147 * var(--u)); }
  .pied__logo::before { content: ""; position: absolute; left: calc(32 * var(--u)); top: calc(27.5 * var(--u)); width: calc(92 * var(--u)); height: calc(92 * var(--u)); border-radius: 50%; background: var(--fond-carte); }
  .pied__nom { font-size: calc(38 * var(--u)); line-height: calc(38 * var(--u)); }
  .pied__signature { margin-top: calc(8 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: calc(0.72 * var(--u)); line-height: calc(16 * var(--u)); }
  .pied__filet { width: 1px; height: calc(130 * var(--u)); }
  .pied__contact { gap: calc(14 * var(--u)); }
  .pied__ligne, .pied__ligne--fb { flex-wrap: nowrap; gap: calc(14 * var(--u)); font-size: calc(18 * var(--u)); line-height: calc(24 * var(--u)); white-space: nowrap; }
  .pied__ligne img { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
  .etiquette { padding: calc(2 * var(--u)) calc(8 * var(--u)); font-size: calc(13 * var(--u)); }
  .pied__liens { gap: calc(10 * var(--u)); font-size: calc(18 * var(--u)); line-height: calc(24 * var(--u)); white-space: nowrap; }
  .pied__copyright { font-size: calc(14 * var(--u)); }

  /* --- Pages Aide et Mentions (99:2, 152:620) --- */
  .intro { max-width: 1440px; margin-inline: auto; padding: 80px clamp(20px, 8.333vw, 120px) 56px; }
  .intro h1 { font-size: 60px; line-height: 1.08; }
  .carte { padding: 28px 32px; }
  .carte h2, .carte h3 { font-size: 26px; }
  .aide-contenu { flex-direction: row; align-items: flex-start; gap: 64px; max-width: 1440px; margin-inline: auto; padding: 0 clamp(20px, 8.333vw, 120px) 96px; }
  .sommaire { flex: none; width: 300px; padding: 28px; border-radius: 20px; }
  .faq { flex: 1 1 0; }
  .faq__section > h2 { font-size: 42px; }
  .aide-contact { flex-direction: row; align-items: center; padding: 36px 40px; }
  .aide-contact__texte { flex: 1 1 0; }
  .aide-contact h2 { font-size: 26px; }
  .mentions-contenu { max-width: 1440px; margin-inline: auto; padding: 0 clamp(20px, 8.333vw, 120px) 96px; }
  .mentions-contenu > .carte { width: 100%; max-width: 1000px; }
}

/* Pied mobile : pas de conteneur intermédiaire */
@media (max-width: 1023.98px) {
  .pied__interieur { display: contents; }
}

/* Pages : titres mobiles (Figma « Web/Titre-1-mobile », « Web/Titre-2-mobile ») déjà en base */
@media (min-width: 1024px) and (max-width: 1199px) {
  .aide-contenu { gap: 40px; }
  .sommaire { width: 260px; }
}

@media print {
  .bouton-menu, .lien-evitement, .deco, .pied__vagues, .hero__fond { display: none !important; }
  .pied { color: #000; padding: 24px 0; }
  .pied__fond { display: none; }
}

/* ==========================================================================
   Desktop 1024–1440 px : tailles minimales de lecture.
   Chaque valeur est max(minimum, valeur Figma × --u) : à 1440 px et au-delà,
   la valeur Figma l'emporte, le rendu y est donc inchangé.
   Texte courant ≥ 15 px, petits textes ≥ 14 px, crédit photo ≥ 11 px.
   ========================================================================== */
@media (min-width: 1024px) {
  /* Navigation : ancrée par la droite pour ne pas toucher l'icône Facebook */
  .en-tete--accueil .nav a { font-size: max(15px, calc(19 * var(--u))); }

  /* Surtitres (petits textes) */
  .hero .surtitre, .a-propos .surtitre, .evenements .surtitre { font-size: max(14px, calc(17.5 * var(--u))); }

  /* Haut de page */
  .hero__chapeau { font-size: max(15px, calc(20.5 * var(--u))); line-height: max(20.93px, calc(28.6 * var(--u))); }
  .hero .bouton { font-size: max(15px, calc(18 * var(--u))); }

  /* Ce que nous faisons : retour à la ligne autorisé, hauteur minimale pour les lignes en plus */
  .a-propos { height: auto; min-height: max(290px, calc(367 * var(--u))); }
  .colonne h3 { font-size: max(15px, calc(22 * var(--u))); }
  .colonne--3 h3 { font-size: max(15px, calc(18.5 * var(--u))); }
  .colonne p { font-size: max(15px, calc(19.5 * var(--u))); line-height: max(19.62px, calc(25.5 * var(--u))); white-space: normal; }

  /* Prochain rendez-vous : la carte passe dans le flux, hauteur automatique */
  .evenements { height: auto; }
  .evenements .cadre { min-height: calc(540 * var(--u)); padding: calc(232 * var(--u)) 0 calc(47 * var(--u)); }
  .evenement {
    position: relative; left: auto; top: auto; margin-left: calc(97 * var(--u));
    height: auto; min-height: calc(261 * var(--u));
    display: grid; gap: 0; align-content: start; align-items: start;
    grid-template-columns: calc(125 * var(--u)) minmax(0, 1fr) calc(232 * var(--u));
    grid-template-rows: auto auto auto auto 1fr;
    padding: calc(22 * var(--u)) calc(23 * var(--u)) calc(10 * var(--u)) calc(21 * var(--u));
  }
  .evenement__haut, .evenement__infos { display: contents; }
  .evenement__date { position: static; grid-column: 1; grid-row: 1 / -1; }
  .evenement h3, .evenement__ligne, .evenement__description { position: static; grid-column: 2; margin-left: calc(29 * var(--u)); margin-right: 0; }
  .evenement h3 { grid-row: 1; margin-top: calc(7 * var(--u)); white-space: normal; }
  .evenement__ligne { font-size: max(14px, calc(19 * var(--u))); }
  .evenement__ligne--lieu { grid-row: 2; margin-top: calc(12 * var(--u)); }
  .evenement__ligne--horaires { grid-row: 3; margin-top: calc(18 * var(--u)); }
  .evenement__description { grid-row: 4; margin-top: calc(21 * var(--u)); font-size: max(14px, calc(15.5 * var(--u))); line-height: max(22.1px, calc(24.5 * var(--u))); white-space: normal; }
  .evenement__figure { position: relative; left: auto; top: auto; width: auto; grid-column: 3; grid-row: 1 / -1; align-self: center; }

  /* Pied de page */
  .pied__ligne, .pied__ligne--fb, .pied__liens { font-size: max(15px, calc(18 * var(--u))); line-height: max(20px, calc(24 * var(--u))); }
  .pied__copyright { font-size: max(14px, calc(14 * var(--u))); }
}

/* Entre 1024 et 1439 px seulement (à 1440 px, positions Figma exactes) */
@media (min-width: 1024px) and (max-width: 1439.98px) {
  .en-tete--accueil .nav { left: auto; right: calc(176 * var(--u)); }   /* ne touche pas l'icône Facebook */
  .colonne h3 { white-space: normal; }                                   /* « Organisation d’événements ludiques » */
  .colonne p .br-d, .evenement__description .br-d { display: none; }     /* retours Figma remplacés par le retour automatique */
}
