/* =========================================================
   NTWU – Accueil – maquette HTML v2 (ordinateur 1370 px + tablette 768–1024 + mobile ≤ 767)
   Repères : coordonnées de la maquette XD de Léna (1x).
   Structure pensée pour être recopiée en conteneurs Elementor :
   section > conteneur (flex) > éléments.
   ========================================================= */

/* ---------- Polices (fichiers fournis par Léna, licences à vérifier) ---------- */
@font-face { font-family: "GC Infinity Sans"; src: url("assets/fonts/gc-infinity-black.woff2") format("woff2"), url("assets/fonts/gc-infinity-black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; } /* licence Web Font Fontspring, commande 140217746 du 01/12/2026 */
@font-face { font-family: "TT Commons Pro"; src: url("assets/fonts/tt-commons-pro-light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("assets/fonts/tt-commons-pro-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("assets/fonts/tt-commons-pro-medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("assets/fonts/tt-commons-pro-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("assets/fonts/tt-commons-pro-black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

/* ---------- Couleurs du nuancier (6) + hors nuancier repris du XD ---------- */
:root {
  --violet: #685BC7;
  --clair: #F8FFE8;
  --lime: #E0FE07;
  --sombre: #201E1F;
  --rouge: #F45755;
  --gris: #B7BBAB;
  --nuit: #201E1F;       /* v2 (Léna, point 10) : était #020D21, hors nuancier ; textes sur fond clair/lime (H4, boutons) */
  --menthe: #F8FFE8;    /* v2 (Léna) : textes du pied de page en #F8FFE8 (le #E3FFF3 de la v1 était hors nuancier) */
  --bleu-nuit: #201E1F;  /* v2 (Léna, point 10) : était #1A3058, hors nuancier ; textes des blocs ouverts, carte « Evo Nice » */
  --bleu-titre: #201E1F; /* v2 (Léna, point 10) : était #0B1B39, hors nuancier ; titres « Stands de salon », « Conception » */
  --violet-cadre: #6B43CE; /* hors nuancier : cadre « Écran LED » (esport) */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body { background: var(--sombre); color: var(--sombre); font-family: "TT Commons Pro", sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }
.page { width: calc(1370 * var(--u)); margin: 0 auto; } /* v2 : largeur = écran (voir --u) */
img { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
.deco { position: absolute; left: 0; top: 0; pointer-events: none; } /* décor sous le contenu (fond SVG d'un bloc) */

/* ---------- Styles de texte du kit (globaux Elementor) ---------- */
.h-gc { font-family: "GC Infinity Sans", sans-serif; font-weight: 900; line-height: 1; }
.h1 { font-family: "GC Infinity Sans", sans-serif; font-weight: 900; font-size: calc(100 * var(--u)); line-height: calc(90 * var(--u)); color: var(--sombre); }
.h2 { font-family: "GC Infinity Sans", sans-serif; font-weight: 900; font-size: calc(84 * var(--u)); line-height: calc(74 * var(--u)); color: var(--sombre); }
.h3 { font-family: "GC Infinity Sans", sans-serif; font-weight: 900; font-size: calc(32 * var(--u)); line-height: calc(30 * var(--u)); color: var(--sombre); }
.h4 { font-family: "TT Commons Pro", sans-serif; font-weight: 700; font-size: calc(31 * var(--u)); line-height: calc(31 * var(--u)); color: var(--nuit); }
.highlight { font-family: "GC Infinity Sans", sans-serif; font-weight: 900; font-size: calc(60 * var(--u)); line-height: calc(50 * var(--u)); color: var(--lime); }
.corps { font-family: "TT Commons Pro", sans-serif; font-weight: 500; font-size: calc(20 * var(--u)); line-height: calc(25 * var(--u)); color: var(--sombre); /* v2 : était #331F3B */ }
.tt-black { font-family: "TT Commons Pro", sans-serif; font-weight: 900; }

/* =========================================================
   1. HERO
   ========================================================= */
.s-hero { position: relative; height: calc(1100 * var(--u)); background: var(--sombre); }
.entete { position: absolute; z-index: 40; left: 0; top: calc(43 * var(--u)); width: calc(1370 * var(--u)); padding: 0 calc(84 * var(--u)) 0 calc(83 * var(--u)); display: flex; justify-content: space-between; }
.entete-boutons { display: flex; gap: calc(11 * var(--u)); }
.btn-carre { display: flex; align-items: center; justify-content: center; height: calc(79 * var(--u)); }
.btn-langue { width: calc(83 * var(--u)); background: var(--clair); color: var(--sombre); font-size: calc(36 * var(--u)); text-decoration: underline; text-decoration-thickness: calc(3 * var(--u)); text-underline-offset: calc(3 * var(--u)); padding-top: 0; }
.hero-showreel { position: relative; padding: calc(42 * var(--u)) 0 0 calc(50 * var(--u)); } /* relative : liseré ou cadre superposé (pages esport et sport) */
.hero-showreel img { width: calc(1269 * var(--u)); height: calc(857 * var(--u)); object-fit: cover; clip-path: polygon(0 0, calc(1269 * var(--u)) calc(28 * var(--u)), calc(1247 * var(--u)) calc(831 * var(--u)), 0 calc(857 * var(--u))); }
.hero-try { position: absolute; left: calc(50 * var(--u)); top: calc(788 * var(--u)); width: calc(498 * var(--u)); height: calc(154 * var(--u)); }
.hero-try-texte { position: absolute; left: calc(181 * var(--u)); top: calc(58.6 * var(--u)); font-size: calc(36 * var(--u)); color: var(--clair); white-space: nowrap; }
.hero-logos { margin-top: calc(56 * var(--u)); }
.logos-grille { display: none; } /* logos séparés : tablette et mobile seulement */

/* =========================================================
   2. UNIVERS (cartes esport / sport)
   ========================================================= */
.s-univers { height: calc(560 * var(--u)); background: linear-gradient(to bottom, var(--sombre) calc(454 * var(--u)), var(--clair) calc(454 * var(--u))); }
.univers-cartes { display: flex; align-items: flex-start; gap: calc(16 * var(--u)); padding: calc(88 * var(--u)) 0 0 calc(95 * var(--u)); }
.carte-univers { position: relative; display: block; }
.carte-esport { width: calc(799 * var(--u)); height: calc(471 * var(--u)); }
.carte-sport { width: calc(384 * var(--u)); height: calc(460 * var(--u)); margin-top: calc(1 * var(--u)); }
.carte-univers-photo { width: 100%; height: 100%; object-fit: cover; }
.carte-esport .carte-univers-photo { clip-path: polygon(calc(799 * var(--u)) 0, calc(13 * var(--u)) calc(1 * var(--u)), 0 calc(471 * var(--u)), calc(799 * var(--u)) calc(453 * var(--u))); }
.carte-sport .carte-univers-photo { clip-path: polygon(calc(384 * var(--u)) 0, 0 0, 0 calc(450 * var(--u)), calc(384 * var(--u)) calc(460 * var(--u))); }
/* Titre posé sur l'étiquette (étiquette = SVG de cadre) : absolu car superposé à la photo */
.carte-univers-titre { position: absolute; top: calc(373.8 * var(--u)); font-size: calc(41 * var(--u)); color: var(--nuit); white-space: nowrap; }
.carte-esport .carte-univers-titre { left: calc(372 * var(--u)); }
.carte-sport .carte-univers-titre { left: calc(146 * var(--u)); top: calc(372.8 * var(--u)); }

/* =========================================================
   3. PAYS + ACCROCHE
   ========================================================= */
.s-pays { position: relative; height: calc(540 * var(--u)); background: var(--clair); }
/* Bandeau incliné : absolu + rotations (décor qui déborde) */
.bandeau-pays { position: absolute; left: 0; top: 0; width: calc(1370 * var(--u)); height: calc(240 * var(--u)); }
.bandeau-nombre { position: absolute; left: calc(449 * var(--u)); top: calc(73.2 * var(--u)); font-size: calc(80 * var(--u)); color: var(--lime); transform: rotate(6deg); transform-origin: 0 calc(60.8 * var(--u)); }
.bandeau-texte { position: absolute; left: calc(532 * var(--u)); top: calc(82.4 * var(--u)); font-size: calc(60 * var(--u)); color: var(--clair); transform: rotate(3deg); transform-origin: 0 calc(45.6 * var(--u)); white-space: nowrap; }
.accroche { padding-top: calc(244 * var(--u)); text-align: center; } /* maquette PNG : 84/74 (le XD indique 100/90) */

/* =========================================================
   4. CARTE DU MONDE
   ========================================================= */
.s-carte { height: calc(640 * var(--u)); background: var(--clair); padding: calc(15 * var(--u)) 0 0 calc(85 * var(--u)); }
/* v2 (24/11, Léna) : carte recomposée depuis le XD (sans drapeaux, pixels nets) + drapeaux SVG par-dessus */
.carte-monde { position: relative; width: calc(1200 * var(--u)); }
.carte-monde-fond { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.drapeau { position: absolute; width: 1.933%; height: auto; pointer-events: none; }

/* =========================================================
   5. NTWU + CHIFFRES + SAVOIR-FAIRE
   ========================================================= */
.s-ntwu { position: relative; height: calc(889 * var(--u)); background: var(--sombre); }
/* Fond clair à bord inférieur incliné (Elementor : séparateur de forme ou fond du conteneur) */
.s-ntwu::before { content: ""; position: absolute; left: 0; top: 0; width: calc(1370 * var(--u)); height: calc(270 * var(--u)); background: var(--clair); clip-path: polygon(0 0, 100% 0, 100% calc(270 * var(--u)), 0 calc(152 * var(--u))); }
.ntwu-ligne { position: relative; display: flex; align-items: flex-start; gap: calc(4 * var(--u)); height: calc(570 * var(--u)); padding: calc(14 * var(--u)) 0 0 calc(146 * var(--u)); }
.ntwu-bloc { width: calc(702 * var(--u)); height: calc(556 * var(--u)); background: var(--lime); clip-path: polygon(0 0, calc(702 * var(--u)) calc(16 * var(--u)), calc(702 * var(--u)) calc(556 * var(--u)), calc(5 * var(--u)) calc(556 * var(--u))); padding: calc(59.8 * var(--u)) 0 0 calc(61 * var(--u)); }
.ntwu-titre { font-size: calc(120 * var(--u)); line-height: calc(110 * var(--u)); color: var(--sombre); }
.ntwu-chiffres { position: relative; width: calc(373 * var(--u)); height: calc(598 * var(--u)); margin-top: calc(-15 * var(--u)); }
/* Chiffres : absolus car posés sur l'illustration (médaille, trophée) */
.chiffre-nombre, .chiffre-legende { position: absolute; left: 0; text-align: center; color: var(--clair); white-space: nowrap; }
.chiffre-nombre { font-size: calc(49 * var(--u)); line-height: calc(49 * var(--u)); }
.chiffre-legende { font-weight: 700; font-size: calc(26 * var(--u)); line-height: calc(26 * var(--u)); }
.chiffre-1 { width: calc(380 * var(--u)); top: calc(95.8 * var(--u)); }
.chiffre-1b { width: calc(380 * var(--u)); top: calc(148.5 * var(--u)); }
.chiffre-2 { width: calc(388 * var(--u)); top: calc(383 * var(--u)); font-size: calc(50 * var(--u)); line-height: calc(50 * var(--u)); }
.chiffre-2b { width: calc(388 * var(--u)); top: calc(428.5 * var(--u)); }
.ntwu-encadre { position: relative; width: calc(1080 * var(--u)); height: calc(197 * var(--u)); margin: calc(10 * var(--u)) 0 0 calc(146 * var(--u)); background: var(--clair); border: calc(5 * var(--u)) solid var(--lime); padding: calc(35.75 * var(--u)) 0 0 calc(43 * var(--u)); }
.encadre-texte { width: calc(983 * var(--u)); margin-top: calc(15.25 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(20 * var(--u)); color: var(--nuit); }

/* =========================================================
   Zone topographique (offres + agenda)
   ========================================================= */
.zone-topo { position: relative; height: calc(1610 * var(--u)); background: url("assets/img/lignes-topo.svg") no-repeat 0 calc(436 * var(--u)) / calc(1370 * var(--u)) calc(1094 * var(--u)), var(--clair);
  clip-path: polygon(0 calc(-200 * var(--u)), 100% calc(-200 * var(--u)), 100% calc(1530 * var(--u)), 0 calc(1610 * var(--u))); }

/* =========================================================
   6. OFFRES SIGNATURES
   ========================================================= */
.s-offres { position: relative; height: calc(671 * var(--u)); }
.mascotte-ecran { left: calc(100 * var(--u)); top: calc(-89 * var(--u)); z-index: 1; }
.offres-titre { padding: calc(145 * var(--u)) calc(2 * var(--u)) 0 0; text-align: center; } /* maquette PNG : 100/90 (le XD indique 84/74) */
.offres-cartes { display: flex; align-items: flex-start; gap: calc(13 * var(--u)); padding-left: calc(152 * var(--u)); margin-top: calc(63 * var(--u)); }
.offre { position: relative; display: block; width: calc(346 * var(--u)); height: calc(288 * var(--u)); padding: calc(40.1 * var(--u)) 0 0 calc(51 * var(--u)); clip-path: polygon(0 0, calc(346 * var(--u)) 0, calc(346 * var(--u)) calc(281 * var(--u)), 0 calc(287 * var(--u))); }
.offre-rouge { background: var(--rouge); color: var(--clair); }
.offre-lime { background: var(--lime); color: var(--sombre); }
.offre-violet { background: var(--violet); color: var(--clair); margin-top: calc(-5 * var(--u)); clip-path: polygon(0 0, calc(346 * var(--u)) 0, calc(346 * var(--u)) calc(281 * var(--u)), 0 calc(288 * var(--u))); }
.offre-titre { font-size: calc(40 * var(--u)); line-height: calc(35 * var(--u)); white-space: nowrap; }
.offre-texte { width: calc(249 * var(--u)); margin-top: calc(22.9 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(20 * var(--u)); }
.offre-plus { position: absolute; left: calc(275 * var(--u)); top: calc(205 * var(--u)); }
.offre-lime .offre-plus, .offre-violet .offre-plus { left: calc(276 * var(--u)); }

/* =========================================================
   7. AGENDA 2026
   ========================================================= */
.s-agenda { position: relative; height: calc(939 * var(--u)); }
.agenda-tete { display: flex; align-items: flex-start; height: calc(276 * var(--u)); padding: calc(79 * var(--u)) calc(75 * var(--u)) 0 calc(95 * var(--u)); }
.agenda-fleches { display: flex; gap: calc(15 * var(--u)); margin: calc(140 * var(--u)) 0 0 auto; }
.fleche { padding: 0; border: 0; background: none; cursor: pointer; }
.agenda-cartes { display: flex; gap: calc(29 * var(--u)); padding-left: calc(96 * var(--u)); margin-top: calc(33 * var(--u)); }
.evt { position: relative; display: block; width: calc(380 * var(--u)); height: calc(433 * var(--u)); padding: calc(21 * var(--u)) 0 0 calc(33 * var(--u)); background: var(--clair); box-shadow: inset 0 0 0 calc(5 * var(--u)) var(--lime); }
.evt { isolation: isolate; }
/* Carte active : fond lime à coin coupé dans un pseudo-élément, pour que le « + » qui déborde du coin reste visible */
.evt-actif { background: none; box-shadow: none; }
.evt-actif::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime); clip-path: polygon(0 0, calc(380 * var(--u)) 0, calc(380 * var(--u)) calc(331 * var(--u)), calc(282 * var(--u)) calc(433 * var(--u)), 0 calc(433 * var(--u))); }
.evt-photo { width: calc(314 * var(--u)); height: calc(255 * var(--u)); object-fit: cover; clip-path: polygon(0 calc(15 * var(--u)), calc(314 * var(--u)) 0, calc(314 * var(--u)) calc(255 * var(--u)), 0 calc(235 * var(--u))); }
.evt-titre { margin: calc(9.5 * var(--u)) 0 0 calc(9 * var(--u)); font-weight: 700; font-size: calc(30 * var(--u)); line-height: calc(30 * var(--u)); color: var(--sombre); }
.evt-texte { width: calc(279 * var(--u)); margin: calc(16.25 * var(--u)) 0 0 calc(9 * var(--u)); font-size: calc(19 * var(--u)); line-height: calc(19 * var(--u)); color: var(--sombre); }
/* Pictos posés sur la photo : absolus */
.evt-picto { position: absolute; left: calc(278 * var(--u)); top: calc(45 * var(--u)); }
.evt-picto-25h { top: calc(43 * var(--u)); }
.evt-plus { position: absolute; left: calc(335 * var(--u)); top: calc(390 * var(--u)); }

/* =========================================================
   8. PIED DE PAGE
   ========================================================= */
.s-pied { position: relative; height: calc(1121 * var(--u)); background: var(--sombre); color: var(--menthe); }
.pied-contact { display: flex; align-items: flex-start; height: calc(495 * var(--u)); padding: calc(95 * var(--u)) 0 0 calc(145 * var(--u)); }
.formulaire { width: calc(667 * var(--u)); }
.form-ligne { display: flex; gap: calc(14 * var(--u)); }
.champ { position: relative; display: block; height: calc(56 * var(--u)); background: var(--clair); border-left: calc(3 * var(--u)) solid var(--lime); }
.champ-nom { width: calc(251 * var(--u)); }
.champ-sujet { width: calc(402 * var(--u)); }
.champ-large { width: calc(667 * var(--u)); margin-top: calc(12 * var(--u)); }
.champ-message { height: calc(135 * var(--u)); margin-top: calc(14 * var(--u)); }
.champ input, .champ textarea { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; resize: none; font-family: "TT Commons Pro", sans-serif; font-weight: 300; font-size: calc(20 * var(--u)); color: var(--sombre); padding: calc(1 * var(--u)) 0 0 calc(17 * var(--u)); line-height: calc(52 * var(--u)); }
.champ textarea { padding-top: calc(9 * var(--u)); line-height: calc(30 * var(--u)); }
.champ ::placeholder { color: var(--sombre); opacity: 1; }
.champ-select { position: absolute; left: calc(344 * var(--u)); top: calc(8 * var(--u)); }
.rgpd { display: flex; align-items: flex-start; margin-top: calc(18.5 * var(--u)); font-weight: 300; font-size: calc(20 * var(--u)); line-height: calc(25 * var(--u)); color: var(--clair); }
.rgpd input { appearance: none; -webkit-appearance: none; flex: none; width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin: calc(8.5 * var(--u)) 0 0 calc(-1 * var(--u)); background: var(--clair); outline: calc(3 * var(--u)) solid var(--lime); }
.rgpd span { width: calc(645 * var(--u)); margin-left: calc(11 * var(--u)); }
.pied-appel { width: calc(369 * var(--u)); margin: calc(-1 * var(--u)) 0 0 calc(42 * var(--u)); text-align: right; color: var(--clair); }
.appel-tete { display: flex; justify-content: space-between; align-items: flex-start; }
.appel-titre { margin-top: calc(11.7 * var(--u)); font-size: calc(53 * var(--u)); line-height: calc(53 * var(--u)); }
.appel-sous-titre { margin-top: calc(17.25 * var(--u)); font-weight: 700; font-size: calc(41 * var(--u)); line-height: calc(41 * var(--u)); }
.appel-texte { width: calc(347 * var(--u)); margin: calc(13 * var(--u)) 0 0 auto; font-size: calc(25 * var(--u)); line-height: calc(25 * var(--u)); }
.btn-envoyer { position: relative; display: block; width: calc(369 * var(--u)); height: calc(47 * var(--u)); margin-top: calc(35.75 * var(--u)); color: var(--nuit); }
.btn-envoyer span { position: absolute; right: calc(66 * var(--u)); top: calc(12 * var(--u)); font-size: calc(29 * var(--u)); white-space: nowrap; }
/* Mascotte « no signal » : absolue car elle chevauche la colonne du logo */
.mascotte-no-signal { position: absolute; left: calc(603 * var(--u)); top: calc(495 * var(--u)); }
.pied-infos { display: flex; height: calc(347 * var(--u)); margin-top: calc(119 * var(--u)); padding-left: calc(143 * var(--u)); }
.pied-col-contact { width: calc(273 * var(--u)); }
.pied-titre { font-size: calc(32 * var(--u)); line-height: calc(32 * var(--u)); color: var(--menthe); }
.pied-col-contact .pied-titre { margin-top: calc(28.7 * var(--u)); }
.pied-ligne-icone { display: flex; align-items: flex-start; gap: calc(19 * var(--u)); margin-top: calc(18.3 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(20 * var(--u)); }
.pied-ligne-icone a { margin-top: calc(7 * var(--u)); }
.pied-tel { margin-top: calc(12 * var(--u)); }
.pied-tel a { margin-top: calc(11 * var(--u)); }
.pied-adresse { margin-top: calc(20 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(20 * var(--u)); }
.pied-sy-rendre { display: flex; align-items: center; gap: calc(6 * var(--u)); margin-top: calc(20 * var(--u)); font-weight: 700; font-size: calc(20 * var(--u)); line-height: calc(20 * var(--u)); }
.pied-sy-rendre span { text-decoration: underline; }
.pied-col-centre { width: calc(485 * var(--u)); }
.reseaux { display: flex; gap: calc(2 * var(--u)); margin: calc(102 * var(--u)) 0 0 calc(193 * var(--u)); }
.btn-coconstruire { position: relative; display: flex; align-items: center; height: calc(52 * var(--u)); margin-top: calc(25 * var(--u)); padding: calc(4 * var(--u)) 0 0 calc(60 * var(--u)); background: url("assets/img/picto-bulle-sombre.png") no-repeat calc(421 * var(--u)) calc(2 * var(--u)) / calc(40 * var(--u)) calc(38 * var(--u)), var(--lime); clip-path: polygon(0 0, calc(485 * var(--u)) 0, calc(485 * var(--u)) calc(52 * var(--u)), calc(43 * var(--u)) calc(52 * var(--u))); font-size: calc(31 * var(--u)); color: var(--nuit); white-space: nowrap; }
.lien-realisations { display: flex; align-items: center; gap: calc(14 * var(--u)); margin: calc(30 * var(--u)) 0 0 calc(133 * var(--u)); font-size: calc(29 * var(--u)); line-height: calc(29 * var(--u)); color: var(--menthe); white-space: nowrap; }
.pied-col-acces { margin-left: calc(123 * var(--u)); }
.pied-col-acces .pied-titre { margin-top: calc(103.7 * var(--u)); }
.pied-liens { list-style: none; margin-top: calc(32.3 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(30 * var(--u)); color: var(--clair); }
.pied-liens a { text-decoration: underline; }
.pied-legal { display: flex; margin-top: calc(37.5 * var(--u)); font-size: calc(14 * var(--u)); line-height: calc(20 * var(--u)); color: var(--menthe); }
.pied-legal a { text-decoration: underline; }
.pied-legal a:nth-child(1) { margin-left: calc(381 * var(--u)); }
.pied-legal a:nth-child(2) { margin-left: calc(59 * var(--u)); }
.pied-legal a:nth-child(3) { margin-left: calc(53 * var(--u)); }
.pied-legal span { margin-left: calc(59 * var(--u)); }

/* ---------- Pied commun : variantes de fond des pages intérieures ----------
   Décision du 18/11 : un seul pied (un modèle Elementor), positions de l'accueil
   sur les 3 pages ; seul le fond du haut change (violet esport, rouge sport),
   avec les couleurs de texte qui vont avec. Le biais suit le pied de chaque maquette,
   remonté de 36 px (esport) et 35 px (sport) comme le contenu. */
.s-pied--violet, .s-pied--rouge { isolation: isolate; }
.s-pied--violet::before, .s-pied--rouge::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 100%; }
.s-pied--violet::before { height: calc(609 * var(--u)); background: var(--violet); clip-path: polygon(0 0, 100% 0, 100% calc(608.8 * var(--u)), 0 calc(521.7 * var(--u))); }
.s-pied--rouge::before { height: calc(621 * var(--u)); background: var(--rouge); clip-path: polygon(0 0, 100% 0, 100% calc(620.6 * var(--u)), 0 calc(523 * var(--u))); }
.s-pied--rouge .rgpd, .s-pied--rouge .pied-appel, .s-pied--rouge .appel-titre, .s-pied--rouge .btn-envoyer { color: var(--sombre); }

/* ---------- Composants communs aux pages intérieures (esport, sport) ---------- */
/* Étiquette lime (« ETIQUETTE », « RARE EN FRANCE ») : forme propre à chaque page (SVG ou découpe CSS) */
.etiquette { position: absolute; color: var(--sombre); white-space: nowrap; text-transform: uppercase; }
/* Lien « En savoir plus » */
.lien-plus { font-weight: 700; text-decoration: underline; }
/* Bouton « FR » en version sombre (page sport) */
.btn-langue--sombre { background: var(--sombre); color: var(--lime); }

/* =========================================================
   v2 (Léna, 24/11/2026) : MISE EN PAGE FLUIDE (ordinateur, 1025 px et plus)
   La v1 était figée à 1370 px (bandes noires sur les côtés, page réduite par zoom
   entre 1025 et 1369 px). Toutes les mesures d'ordinateur sont maintenant en
   « unités maquette » : --u = 1/1370 de 90 % de la largeur de l'écran (plafonnée à 0,92 px) :
   marges de 5 % de chaque côté, contenu de 1260 px au plus, centré ; les fonds continuent jusqu'aux bords.
   Tablette et mobile (≤ 1024) : --u = 1 px, règles inchangées.
   Elementor : conteneurs en pleine largeur (fond) + contenu en %, polices en clamp().
   ========================================================= */
:root { --u-page: 1px; --u-plein: 1px; --u: var(--u-page); }
/* Images : leur taille d'origine (attributs width/height, en px du XD) suit aussi --u en ordinateur.
   :where() = spécificité nulle : toute règle de classe qui fixe déjà une taille l'emporte. */
@media (min-width: 1025px) { :where(.page img[style*="--w"]) { width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); } }
/* v2 (Léna) : le contenu occupe 90 % de l'écran (5 % de marge de chaque côté), 1260 px au plus ; fonds toujours jusqu'aux bords */
@media (min-width: 1025px) {
  :root { --u-page: min(calc(90vw / 1370), 0.92px); --u-plein: min(calc(100vw / 1370), 1.15px); }
  /* v2 (Léna) : l'ouverture (photo, TRY WITH US, logos) garde l'échelle « presque plein écran » ;
     le reste de la page a des marges de 5 %. La section déborde de la page, centrée. */
  .s-hero, .sp-hero { --u: var(--u-plein); width: calc(1370 * var(--u-plein)); margin-left: calc((1370 * var(--u-page) - 1370 * var(--u-plein)) / 2); }
}
/* Fonds clairs prolongés jusqu'aux bords de l'écran (sans changer la mise en page) */
@media (min-width: 1025px) {
  .s-pays, .s-carte { border-image: linear-gradient(var(--clair) 0 0) fill 0 / 0 / 0 100vw; }
  .s-univers { border-image: linear-gradient(to bottom, var(--sombre) calc(454 * var(--u)), var(--clair) calc(454 * var(--u))) fill 0 / 0 / 0 100vw; }
  .zone-topo { border-image: linear-gradient(var(--clair) 0 0) fill 0 / 0 / 0 100vw;
    clip-path: polygon(-100vw calc(-200 * var(--u)), calc(100% + 100vw) calc(-200 * var(--u)), calc(100% + 100vw) calc(1530 * var(--u) - 5.839vw), -100vw calc(1610 * var(--u) + 5.839vw)); }
  .s-ntwu::before { left: -100vw; width: calc(100% + 200vw); height: calc(270 * var(--u) + 8.7vw);
    clip-path: polygon(0 0, 100% 0, 100% calc(270 * var(--u) + 8.613vw), 0 calc(152 * var(--u) - 8.613vw)); }
  .s-pied--violet::before { left: -100vw; width: calc(100% + 200vw); height: calc(609 * var(--u) + 6.4vw);
    clip-path: polygon(0 0, 100% 0, 100% calc(608.8 * var(--u) + 6.358vw), 0 calc(521.7 * var(--u) - 6.358vw)); }
  .s-pied--rouge::before { left: -100vw; width: calc(100% + 200vw); height: calc(621 * var(--u) + 7.2vw);
    clip-path: polygon(0 0, 100% 0, 100% calc(620.6 * var(--u) + 7.124vw), 0 calc(523 * var(--u) - 7.124vw)); }
}
/* Bandeau « + 10 pays » : version allongée du SVG, qui sort de l'écran des deux côtés (toutes tailles) */
.bandeau-pays > img.deco { left: calc(-1000 * var(--u)); top: calc(-100 * var(--u)); width: calc(3370 * var(--u)); max-width: none; height: calc(440 * var(--u)); }

/* =========================================================
   TABLETTE (768 → 1024) ET MOBILE (≤ 767) : règles communes
   Tout ce qui était en position absolue « de mise en page »
   repasse dans le flux ; seuls les décors restent superposés.
   ========================================================= */
@media (max-width: 1024px) {
  :root { --marge: 32px; }
  .page { width: 100%; }

  /* Styles du kit */
  .h1 { font-size: 72px; line-height: 66px; }
  .h2 { font-size: 60px; line-height: 56px; }
  .h3 { font-size: 28px; line-height: 28px; }
  .h4 { font-size: 26px; line-height: 28px; }
  .highlight { font-size: 44px; line-height: 40px; }
  .corps { font-size: 18px; line-height: 24px; }

  /* ---------- 1. Hero ---------- */
  .s-hero { height: auto; padding-bottom: 48px; }
  .entete { position: relative; top: 0; width: auto; padding: 24px var(--marge); align-items: center; }
  .entete-logo img { width: auto; height: 64px; }
  .entete-boutons { gap: 8px; }
  .btn-carre { height: 56px; }
  .btn-carre img { width: auto; height: 56px; }
  .btn-langue { width: 56px; font-size: 26px; text-decoration-thickness: 2px; }
  .hero-showreel { padding: 0; }
  .hero-showreel img { width: 100%; height: auto; aspect-ratio: 1269 / 857; clip-path: polygon(0 0, 100% 3.27%, 98.27% 96.97%, 0 100%); }
  .hero-try { position: relative; display: block; left: auto; top: auto; margin: 20px 0 0 var(--marge); }
  .hero-logos { margin-top: 40px; padding: 0 var(--marge); }
  .logos-bande { display: none; }
  .logos-grille { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 24px; }
  .logos-grille img { width: calc((100% - 48px) / 3); height: 64px; object-fit: contain; }

  /* ---------- 2. Univers ---------- */
  .s-univers { height: auto; padding-bottom: 48px; background: linear-gradient(to bottom, var(--sombre) calc(100% - 140px), var(--clair) calc(100% - 140px)); }
  .univers-cartes { gap: 16px; padding: 24px var(--marge) 0; }
  .carte-univers { container-type: inline-size; }
  .carte-esport { flex: 799 1 0; width: auto; height: auto; aspect-ratio: 799 / 471; }
  .carte-sport { flex: 384 1 0; width: auto; height: auto; aspect-ratio: 384 / 460; margin-top: 0; }
  .carte-univers .deco { width: 100%; height: 100%; }
  .carte-esport .carte-univers-photo { clip-path: polygon(100% 0, 1.63% 0.2%, 0 100%, 100% 96.18%); }
  .carte-sport .carte-univers-photo { clip-path: polygon(100% 0, 0 0, 0 97.83%, 100% 100%); }
  /* Le titre suit l'étiquette du cadre : position et taille proportionnelles à la carte */
  .carte-esport .carte-univers-titre { left: 46.56%; top: 79.36%; font-size: 5.13cqw; }
  .carte-sport .carte-univers-titre { left: 38.02%; top: 81.04%; font-size: 10.68cqw; }

  /* ---------- 3. Pays + accroche ---------- */
  .s-pays { height: auto; padding-bottom: 56px; }
  /* Bandeau : gardé à son dessin d'origine, réduit et centré sur « + 10 pays » ; ce qui dépasse est rogné */
  .bandeau-pays { --k: 0.9; position: relative; left: 50%; margin-left: -662px; transform: scale(var(--k)); transform-origin: 662px 0; margin-bottom: calc(240px * var(--k) - 240px); }
  .accroche { padding: 24px var(--marge) 0; }

  /* ---------- 4. Carte du monde ---------- */
  .s-carte { height: auto; padding: 0 var(--marge) 48px; }
  .carte-monde { width: 100%; }

  /* ---------- 5. NTWU + chiffres + savoir-faire ---------- */
  .s-ntwu { height: auto; padding-bottom: 120px; }
  .s-ntwu::before { top: -1px; width: 100%; height: 200px; clip-path: polygon(0 0, 100% 0, 100% 200px, 0 110px); }
  .ntwu-ligne { flex-direction: column; align-items: stretch; gap: 16px; height: auto; padding: 14px var(--marge) 0; }
  .ntwu-bloc { width: 100%; height: auto; padding: 48px 48px 44px; clip-path: polygon(0 0, 100% 16px, 100% 100%, 5px 100%); }
  .ntwu-titre { max-width: 560px; font-size: 88px; line-height: 82px; }
  .ntwu-titre br { display: none; } /* tablette : 2 lignes « Never Trying / Without Us » */
  .ntwu-chiffres { display: flex; gap: 16px; width: 100%; height: auto; margin-top: 0; }
  .ntwu-chiffres > .deco { display: none; }
  .chiffre-carte { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 373 / 287; background: url("assets/img/carte-chiffre-1.svg") no-repeat center / 100% 100%; }
  .chiffre-carte-2 { aspect-ratio: 373 / 306; background-image: url("assets/img/carte-chiffre-2.svg"); }
  .chiffre-carte-1 { padding-top: 4%; }
  .chiffre-carte-2 { padding-top: 6%; }
  .chiffre-nombre, .chiffre-legende { position: static; width: auto; }
  .chiffre-legende { margin-top: 6px; }
  .ntwu-encadre { width: auto; height: auto; margin: 16px var(--marge) 0; padding: 32px 32px 36px; }
  .encadre-texte { width: auto; margin-top: 14px; font-size: 18px; line-height: 24px; }

  /* ---------- Zone topographique ---------- */
  .zone-topo { height: auto; background-position: center 300px; background-size: 1370px auto;
    clip-path: polygon(0 -200px, 100% -200px, 100% calc(100% - 60px), 0 100%); }

  /* ---------- 6. Offres signatures ---------- */
  .s-offres { height: auto; padding-bottom: 72px; }
  .mascotte-ecran { left: var(--marge); top: -80px; width: 190px; height: auto; }
  .offres-titre { padding: 136px var(--marge) 0; }
  .offres-cartes { flex-wrap: wrap; justify-content: center; gap: 16px; padding: 0 var(--marge); margin-top: 48px; }
  .offre, .offre-violet { width: calc(50% - 8px); height: auto; min-height: 288px; margin-top: 0; padding: 40px 32px 88px 40px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 0 100%); }
  .offre-texte { width: auto; max-width: 280px; }
  .offre-plus, .offre-lime .offre-plus, .offre-violet .offre-plus { left: auto; top: auto; right: 24px; bottom: 30px; }

  /* ---------- 7. Agenda : carrousel au doigt ---------- */
  .s-agenda { height: auto; padding-bottom: 130px; }
  .agenda-tete { flex-wrap: wrap; align-items: flex-end; gap: 24px; height: auto; padding: 24px var(--marge) 0; }
  .agenda-fleches { margin: 0 0 0 auto; }
  .agenda-cartes { gap: 16px; padding: 0 var(--marge) 4px; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .agenda-cartes::-webkit-scrollbar { display: none; }
  .evt { flex: 0 0 380px; scroll-snap-align: start; }

  /* ---------- 8. Pied de page ---------- */
  .s-pied { height: auto; padding-bottom: 40px; }
  .pied-contact { flex-direction: column; align-items: stretch; gap: 48px; height: auto; padding: 72px var(--marge) 0; }
  .formulaire { width: 100%; }
  .champ-nom { flex: 0 0 38%; width: auto; }
  .champ-sujet { flex: 1 1 0; width: auto; }
  .champ-large { width: 100%; }
  .champ input, .champ textarea { font-size: 18px; }
  .champ-sujet input { padding-right: 56px; }
  .champ-select { left: auto; right: 8px; }
  .rgpd { font-size: 18px; line-height: 24px; }
  .rgpd input { width: 14px; height: 14px; margin-top: 5px; }
  .rgpd span { width: auto; margin-left: 14px; }
  .pied-appel { width: auto; margin: 0; text-align: left; }
  .appel-tete { justify-content: flex-start; align-items: center; gap: 20px; }
  .appel-titre { margin-top: 0; }
  .appel-sous-titre br, .appel-texte br { display: none; }
  .appel-texte { width: auto; max-width: 560px; margin: 13px 0 0; }
  .mascotte-no-signal { position: static; margin: 48px auto 0; }
  .pied-infos { flex-wrap: wrap; gap: 40px 32px; height: auto; margin-top: 32px; padding: 0 var(--marge); }
  .pied-col-contact, .pied-col-acces { flex: 1 1 0; width: auto; margin-left: 0; }
  .pied-col-centre { order: 3; flex: 0 0 100%; width: auto; display: flex; flex-direction: column; align-items: center; }
  .pied-col-acces .pied-titre { margin-top: 28.7px; }
  .pied-col-contact .pied-logo { margin-bottom: 0; }
  .reseaux { gap: 12px; margin: 0; }
  .reseaux a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .btn-coconstruire { width: 485px; }
  .lien-realisations { margin: 24px 0 0; min-height: 44px; }
  .pied-ligne-icone { align-items: center; margin-top: 12px; }
  .pied-ligne-icone a, .pied-tel a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
  .pied-sy-rendre { min-height: 44px; margin-top: 8px; }
  .pied-liens { margin-top: 20px; }
  .pied-liens a { display: inline-flex; align-items: center; min-height: 44px; }
  .pied-legal { flex-wrap: wrap; justify-content: center; gap: 0 32px; margin-top: 40px; padding: 0 var(--marge); }
  .pied-legal a:nth-child(n), .pied-legal span { margin-left: 0; }
  .pied-legal a, .pied-legal span { display: inline-flex; align-items: center; min-height: 44px; }

  /* Pied : variantes de fond (haut coloré à bord inférieur incliné, Elementor : séparateur de forme) */
  .s-pied--violet::before, .s-pied--rouge::before { display: none; }
  .s-pied--violet .pied-contact, .s-pied--rouge .pied-contact { padding-bottom: 104px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 56px)); }
  .s-pied--violet .pied-contact { background: var(--violet); }
  .s-pied--rouge .pied-contact { background: var(--rouge); }
  .s-pied--violet .mascotte-no-signal, .s-pied--rouge .mascotte-no-signal { position: relative; left: auto; top: auto; z-index: 1; margin-top: -40px; } /* R50 : left/top auto, sinon la position ordinateur (603 px) la sortait de l’écran */
}

/* =========================================================
   MOBILE (≤ 767)
   ========================================================= */
@media (max-width: 767px) {
  :root { --marge: 20px; }

  .h1 { font-size: 44px; line-height: 42px; }
  .h2 { font-size: 38px; line-height: 36px; }
  .h3 { font-size: 24px; line-height: 24px; }
  .h4 { font-size: 22px; line-height: 24px; }
  .highlight { font-size: 32px; line-height: 30px; }
  .corps { font-size: 17px; line-height: 24px; }

  /* ---------- 1. Hero ---------- */
  .entete { padding: 16px var(--marge); }
  .entete-logo img { height: 44px; }
  .entete-boutons { gap: 6px; }
  .btn-carre, .btn-carre img { height: 44px; }
  .btn-langue { width: 44px; font-size: 20px; }
  /* Bouton sur toute la largeur : dessin d'origine mis à l'échelle, texte proportionnel */
  .hero-try { width: auto; height: auto; aspect-ratio: 498 / 154; margin: 16px var(--marge) 0; container-type: inline-size; }
  .hero-try .deco { width: 100%; height: 100%; }
  .hero-try-texte { left: 36.35%; top: 38.05%; font-size: 7.23cqw; }
  .hero-logos { margin-top: 32px; }
  .logos-grille { gap: 24px 20px; }
  .logos-grille img { width: calc((100% - 20px) / 2); height: 52px; }

  /* ---------- 2. Univers : l'une sous l'autre ---------- */
  .s-univers { background: linear-gradient(to bottom, var(--sombre) calc(100% - 180px), var(--clair) calc(100% - 180px)); padding-bottom: 40px; }
  .univers-cartes { flex-direction: column; align-items: stretch; }
  .carte-esport, .carte-sport { flex: none; width: 100%; }

  /* ---------- 3. Pays + accroche ---------- */
  .bandeau-pays { --k: 0.58; }
  .accroche { padding-top: 16px; }
  .accroche br { display: none; }
  .s-pays { padding-bottom: 36px; }
  .s-carte { padding-bottom: 40px; }

  /* ---------- 5. NTWU ---------- */
  .s-ntwu { padding-bottom: 96px; }
  .s-ntwu::before { height: 140px; clip-path: polygon(0 0, 100% 0, 100% 140px, 0 80px); }
  .ntwu-ligne { gap: 12px; }
  .ntwu-bloc { padding: 36px 24px 32px; clip-path: polygon(0 0, 100% 10px, 100% 100%, 4px 100%); }
  .ntwu-titre { font-size: 64px; line-height: 60px; }
  .ntwu-titre br { display: inline; } /* mobile : un mot par ligne, comme l'ordinateur */
  .ntwu-chiffres { gap: 12px; }
  .chiffre-nombre, .chiffre-2 { font-size: 28px; line-height: 28px; }
  .chiffre-legende { margin-top: 4px; font-size: 15px; line-height: 17px; }
  .ntwu-encadre { margin-top: 12px; padding: 24px 20px 26px; border-width: 4px; }
  .encadre-texte { font-size: 17px; line-height: 24px; }

  /* ---------- Zone topo ---------- */
  .zone-topo { background-size: 900px auto; background-position: center 200px; clip-path: polygon(0 -200px, 100% -200px, 100% calc(100% - 36px), 0 100%); }

  /* ---------- 6. Offres : 1 colonne ---------- */
  .s-offres { padding-bottom: 56px; }
  .mascotte-ecran { top: -56px; width: 128px; }
  .offres-titre { padding-top: 96px; }
  .offres-cartes { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; }
  .offre, .offre-violet { width: 100%; min-height: 0; padding: 28px 24px 76px 28px; }
  .offre-titre { font-size: 32px; line-height: 30px; }
  .offre-texte { margin-top: 16px; font-size: 17px; line-height: 20px; }
  .offre-plus, .offre-lime .offre-plus, .offre-violet .offre-plus { right: 20px; bottom: 20px; width: 40px; height: auto; }

  /* ---------- 7. Agenda : une carte + le bord de la suivante, flèches masquées ---------- */
  .s-agenda { padding-bottom: 96px; }
  .agenda-tete { padding-top: 16px; }
  .agenda-fleches { display: none; }
  .agenda-cartes { gap: 12px; margin-top: 28px; }
  .evt { flex: 0 0 calc(100% - 36px); height: auto; padding: 16px 16px 28px; }
  .evt-photo { width: 100%; height: auto; aspect-ratio: 314 / 255; clip-path: polygon(0 5.9%, 100% 0, 100% 100%, 0 92.2%); }
  .evt-actif::before { clip-path: polygon(0 0, 100% 0, 100% 78%, 76% 100%, 0 100%); }
  .evt-picto { left: auto; right: 30px; top: 36px; width: 40px; height: auto; }
  .evt-picto-25h { top: 34px; }
  .evt-titre { margin: 10px 0 0 4px; font-size: 24px; line-height: 26px; }
  .evt-texte { width: auto; margin: 10px 40px 0 4px; font-size: 17px; line-height: 20px; }
  .evt-plus { left: auto; top: auto; right: 12px; bottom: 10px; }

  /* ---------- 8. Pied de page ---------- */
  .pied-contact { gap: 40px; padding-top: 56px; }
  .form-ligne { flex-direction: column; gap: 12px; }
  .champ-nom, .champ-sujet { flex: none; width: 100%; }
  .champ-large { margin-top: 12px; }
  .champ input, .champ textarea { font-size: 17px; }
  .rgpd { font-size: 16px; line-height: 21px; }
  .rgpd input { margin-top: 4px; }
  .appel-tete { gap: 16px; }
  .appel-tete img { width: 56px; height: auto; }
  .appel-titre { margin-top: 0; font-size: 36px; line-height: 36px; }
  .appel-sous-titre { margin-top: 16px; font-size: 28px; line-height: 30px; }
  .appel-texte { margin-top: 12px; font-size: 18px; line-height: 23px; }
  /* Bouton pleine largeur : forme redessinée en CSS (le SVG ne s'étire pas), flèche à part */
  .btn-envoyer { display: flex; align-items: center; justify-content: flex-end; width: 100%; height: 52px; margin: 24px 0 0;
    background: url("assets/img/fleche-envoyer.svg") no-repeat right 14px center / 28px 28px, var(--clair);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%); }
  .btn-envoyer .deco { display: none; }
  .btn-envoyer span { position: static; margin-right: 54px; font-size: 22px; }
  .mascotte-no-signal { width: 120px; height: auto; margin-top: 40px; }
  .pied-infos { flex-direction: column; flex-wrap: nowrap; gap: 36px; margin-top: 24px; }
  .pied-col-contact, .pied-col-acces, .pied-col-centre { flex: none; }
  .pied-col-centre { order: 0; align-items: stretch; }
  .reseaux { justify-content: flex-start; }
  .btn-coconstruire { width: 100%; margin-top: 16px; padding: 4px 64px 0 40px; font-size: 19px; background-position: right 12px center, 0 0; background-size: 36px 34px, auto;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 36px 100%); white-space: normal; line-height: 1.1; }
  .lien-realisations { font-size: 22px; line-height: 24px; }
  .lien-realisations img { width: 20px; height: auto; }
  .pied-legal { flex-direction: column; align-items: flex-start; }
  .s-pied--violet .pied-contact, .s-pied--rouge .pied-contact { padding-bottom: 80px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px)); }
  .s-pied--violet .mascotte-no-signal, .s-pied--rouge .mascotte-no-signal { margin-top: -30px; }
  .s-pied--rouge .btn-envoyer { background-color: var(--lime); }
}

/* =========================================================
   INTERACTIONS (main.js) – survols, états déployés, menu, fenêtres, formulaires
   Sources : maquettes « déployé & survol » de Léna (XD). Les effets sans maquette
   sont des propositions (voir NOTES-effets.md).
   « .is-survol » : classe de test qui force l'état de survol (captures de contrôle).
   Ordinateur : les survols sont réservés aux écrans à pointeur (hover: hover).
   ========================================================= */
:root { --t: .2s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
html.modale-ouverte { overflow: hidden; }

/* Boutons natifs remis à zéro (spécificité nulle : les classes des pages l'emportent) */
:where(.acc-h > button, .acc-refermer, .sp-acc-moins) { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
:where(.acc-h > button) { width: 100%; }
.acc-h { font-size: inherit; font-weight: inherit; }
[aria-disabled="true"] { cursor: default; }
[data-carte] { cursor: pointer; }

/* ---------- En-tête : boutons ---------- */
.btn-message, .btn-menu, .btn-langue { transition: transform var(--t); }

/* ---------- TRY WITH US (photo d'ouverture) : fond lime, texte sombre (maquette) ---------- */
.hero-try .deco-survol, .btn-envoyer .deco-survol { opacity: 0; transition: opacity var(--t); }
.hero-try-texte { transition: color var(--t); }

/* ---------- Logos clients : le logo survolé passe en lime (maquette esport et sport) ---------- */
.hero-logos, .esp-logos, .sp-logos { position: relative; }
.logos-zones { position: absolute; top: 0; width: var(--bw); height: var(--bh); }
.logos-zones span { position: absolute; top: 0; left: var(--x); width: var(--w); height: 100%; opacity: 0; transition: opacity var(--t);
  background: var(--bande) no-repeat calc(var(--x) * -1) 0 / var(--bw) var(--bh); }

/* ---------- Cartes Esport / Sport : la carte survolée s'élargit (maquette accueil) ----------
   État B = disposition de la page sport (et inversement sur la page sport) */
.u-alt { display: none; }

/* ---------- Offres, cartes « Écran / Arche LED » ---------- */
.offre, .esp-offre-violet, .sp-offre-chrono, .esp-offre-led, .sp-offre-arche { transition: transform var(--t); }

/* ---------- Accordéons : « + » ---------- */
.esp-acc-plus, .sp-acc-plus { transition: transform var(--t); }
@keyframes acc-ouvre { from { opacity: 0; transform: translateY(-8px); } }
.vient-d-ouvrir > .esp-acc-ouvert, .vient-d-ouvrir > .sp-acc-ouvert { animation: acc-ouvre var(--t) ease-out; }

/* ---------- Cartes de l'agenda / « Ils nous ont fait confiance » ----------
   La carte active (lime / rouge) suit le survol ; le « + » ouvre la fenêtre « Réalisation » */
.evt-plus { transition: opacity var(--t); }
.evt:not(.evt-actif) .evt-plus { opacity: 0; }
.agenda-cartes .evt.evt-actif { box-shadow: none; }
.esp-cartes .evt:not(.evt-actif) { box-shadow: inset 0 0 0 5px var(--violet); }
.esp-cartes { --evt-bord: var(--violet); }
.sp-agenda-cartes { --evt-bord: var(--rouge); --evt-fond: var(--rouge); }
.agenda-cartes > .evt { transition: opacity .12s ease, transform .12s ease; }
.agenda-cartes.is-sortie > .evt { opacity: 0; transform: translateX(-24px); }
.agenda-cartes.is-sortie.vers-droite > .evt { transform: translateX(24px); }
.agenda-cartes.is-entree > .evt { opacity: 0; transform: translateX(24px); transition: none; }
.agenda-cartes.is-entree.vers-droite > .evt { transform: translateX(-24px); }
.fleche { transition: transform var(--t), opacity var(--t); }
.fleche[aria-disabled="true"] { opacity: .35; }

/* ---------- Pied : liens, boutons ---------- */
.btn-coconstruire { transition: background-color var(--t); }
.lien-realisations, .pied-liens a, .pied-legal a, .pied-sy-rendre, .pied-ligne-icone a { transition: color var(--t); }
.reseaux a { transition: transform var(--t); }
.pied-liens a[aria-current="page"] { color: var(--lime); font-weight: 700; }

/* ---------- Pied : liste « votre sujet » (maquette « déployé & survol ») ---------- */
.formulaire { position: relative; }
.js .champ-sujet, .js .champ-sujet input { cursor: pointer; caret-color: transparent; }
.liste-sujet { position: absolute; z-index: 3; left: calc(509 * var(--u)); top: 0; width: calc(159 * var(--u)); margin: 0; padding: 0; list-style: none; }
.liste-sujet[hidden] { display: none; }
.liste-sujet li { position: relative; display: flex; align-items: center; height: calc(55 * var(--u)); margin-bottom: calc(4 * var(--u)); padding: 0 0 0 calc(24 * var(--u)); background: var(--sombre); border-left: calc(3 * var(--u)) solid var(--lime);
  font-weight: 500; font-size: calc(20 * var(--u)); line-height: calc(30 * var(--u)); color: var(--clair); cursor: pointer; transition: background-color var(--t), color var(--t); }
.liste-sujet li.liste-sujet-tete { padding-left: calc(19 * var(--u)); }
.liste-sujet li:nth-child(3) { padding-left: calc(22 * var(--u)); }
.liste-sujet li:nth-child(4) { padding-left: calc(23 * var(--u)); }
.liste-sujet img { position: absolute; left: calc(100 * var(--u)); top: calc(8 * var(--u)); }
.liste-sujet li.is-actif, .liste-sujet li:hover { background: var(--violet); }
.s-pied--violet .liste-sujet li.is-actif, .s-pied--violet .liste-sujet li:hover { background: var(--sombre); color: var(--lime); }

/* ---------- Formulaires : message « maquette » à l'envoi (aucune requête) ---------- */
.form-message { margin: 0; padding: 18px 22px; border-left: 3px solid var(--lime); background: rgba(248, 255, 232, .08);
  font-family: "TT Commons Pro", sans-serif; font-weight: 700; font-size: 24px; line-height: 30px; color: var(--lime); }
.form-message[hidden] { display: none; }
.formulaire.is-envoye > :not(.form-message), .pc-form.is-envoye > :not(.form-message) { display: none; }
.s-pied--rouge .form-message { color: var(--sombre); border-color: var(--sombre); background: rgba(32, 30, 31, .08); }

/* =========================================================
   MENU (panneau maquetté : fond sombre à bords inclinés, liens alignés à droite)
   Sans JS : ouverture par ancre (#menu, :target)
   ========================================================= */
.menu { --u: var(--u-plein); display: none; position: fixed; z-index: 100; inset: 0; } /* v2 : même échelle que l'ouverture */
.menu:target, .menu.is-open { display: block; }
.menu-voile { position: absolute; inset: 0; }
.menu-panneau { position: absolute; top: 0; right: 0; bottom: 0; overflow-y: auto; width: calc(531 * var(--u)); padding: calc(206 * var(--u)) calc(111 * var(--u)) calc(150 * var(--u)) 0; background: var(--sombre);
  clip-path: polygon(calc(84 * var(--u)) 0, 100% 0, 100% 100%, 0 calc(100% - calc(72 * var(--u)))); animation: menu-entre var(--t) ease-out; }
@keyframes menu-entre { from { opacity: 0; transform: translateX(calc(32 * var(--u))); } }
.menu.is-closing, .popup.is-closing { pointer-events: none; }
.menu.is-closing .menu-panneau { opacity: 0; transform: translateX(calc(32 * var(--u))); transition: opacity .15s, transform .15s; }
/* v2 : le bouton « menu ouvert » se pose exactement sur le carré menu de l'en-tête */
.menu-bouton { position: absolute; top: calc(43 * var(--u)); right: max(calc(84 * var(--u)), calc((100vw - 1370 * var(--u)) / 2 + 84 * var(--u))); display: flex; align-items: center; justify-content: center; width: calc(var(--carre) * 83 / 79); height: var(--carre); }
.menu-bouton img { width: auto; height: 90%; }
.menu-liens { list-style: none; width: max-content; min-width: calc(280 * var(--u)); margin: 0 0 0 auto; }
.menu-liens li + li { border-top: calc(1 * var(--u)) solid rgba(248, 255, 232, .5); }
.menu-liens a { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: calc(66 * var(--u)); padding-right: calc(4 * var(--u));
  font-weight: 500; font-size: calc(29 * var(--u)); line-height: calc(32 * var(--u)); color: var(--clair); text-align: right; white-space: nowrap; transition: color var(--t); }
.menu-liens a[aria-current="page"] { font-weight: 700; font-size: calc(36 * var(--u)); line-height: calc(40 * var(--u)); color: var(--lime); }
.menu-liens li:has(> a[aria-current="page"]) { border-bottom: calc(2 * var(--u)) solid var(--lime); margin-left: calc(-24 * var(--u)); }
.menu-liens li:has(> a[aria-current="page"]) + li { border-top: 0; }
.menu-liens a[aria-current="page"]::before { content: ""; flex: none; width: calc(23 * var(--u)); height: calc(23 * var(--u)); margin-right: calc(14 * var(--u)); background: url("assets/img/fleche-menu.svg") no-repeat center / contain; }
.menu-fermer { position: absolute; left: calc(52 * var(--u)); bottom: calc(98 * var(--u)); display: flex; align-items: center; justify-content: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); }

/* =========================================================
   FENÊTRES (popups) – cadre crème (ou sombre), contour lime 5 px, bords légèrement inclinés, ombre
   Sans JS : ouverture par ancre (:target)
   ========================================================= */
.popup { display: none; position: fixed; z-index: 110; inset: 0; overflow-y: auto; padding: 32px 16px; }
.popup:target, .popup.is-open { display: flex; }
.popup-voile { position: fixed; inset: 0; background: rgba(32, 30, 31, .45); animation: voile-entre var(--t) ease-out; }
@keyframes voile-entre { from { opacity: 0; } }
@keyframes popup-entre { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.popup-cadre { position: relative; width: 877px; max-width: 100%; margin: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35)); animation: popup-entre var(--t) ease-out; }
.popup.is-closing .popup-cadre, .popup.is-closing .popup-voile { opacity: 0; transition: opacity .15s; }
/* Contour 5 px : la boîte (lime, découpée) + un fond intérieur (::before) découpé 5 px plus petit */
.popup-boite { position: relative; isolation: isolate; color: var(--sombre); background: var(--lime);
  clip-path: polygon(0 0, 100% 22px, calc(100% - 15px) calc(100% - 18px), 0 100%); }
.popup-boite::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--clair);
  clip-path: polygon(5px 5px, calc(100% - 5px) 26.9px, calc(100% - 20px) calc(100% - 22.9px), 5px calc(100% - 5px)); }
.popup-fermer { position: absolute; z-index: 2; top: 37px; right: 36px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; transition: transform var(--t); }

/* ---------- Fenêtre « Arche LED » (maquette, 877 × 643) ---------- */
.popup-arche .popup-boite { min-height: 643px; padding: 66px 46px 64px 48px; }
.pa-photo { position: relative; width: 783px; max-width: 100%; aspect-ratio: 783 / 256; background: var(--violet); clip-path: polygon(0 0, 100% 7.8%, 98.2% 92.8%, 0 100%); }
.pa-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(5px 5px, calc(100% - 5px) calc(7.8% + 5px), calc(98.2% - 5px) calc(92.8% - 5px), 5px calc(100% - 5px)); }
.pa-etiquette { top: 46px; right: 140px; padding: 13px 30px 11px 22px; background: var(--lime); font-size: 22px; line-height: 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.pa-titre { margin-top: 26px; font-size: 35px; line-height: 35px; }
.pa-texte { max-width: 783px; margin-top: 13px; font-size: 20px; line-height: 20px; }
.pa-atouts { display: grid; grid-template-columns: 232px 1fr; gap: 19px 0; max-width: 560px; margin-top: 30px; list-style: none; font-size: 17px; line-height: 17px; }
.pa-atouts strong { display: block; font-size: 21px; line-height: 21px; }
.pa-bouton { position: absolute; right: 59px; bottom: 64px; display: flex; align-items: center; gap: 12px; height: 38px; padding: 2px 16px 0 26px; background: var(--violet); color: var(--clair);
  font-size: 25px; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%); transition: background-color var(--t), color var(--t); }
.popup--rouge .pa-photo { background: var(--rouge); }
.popup--rouge .pa-bouton { background: var(--sombre); }

/* ---------- Fenêtre « Réalisation » (maquette, 1296 × 707) ---------- */
.popup-real .popup-cadre { width: 1296px; }
.popup-real .popup-boite { display: flex; align-items: flex-start; min-height: 707px; padding: 22px 36px 21px 25px; clip-path: polygon(0 0, 100% 24px, calc(100% - 24px) calc(100% - 21px), 0 100%); }
.popup-real .popup-boite::before { clip-path: polygon(5px 5px, calc(100% - 5px) 28.9px, calc(100% - 29px) calc(100% - 25.9px), 5px calc(100% - 5px)); }
.pr-photo { position: relative; flex: none; width: 476px; height: 655px; background: var(--violet); clip-path: polygon(0 0, 100% 17px, 87.4% 100%, 0 100%); }
.pr-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(5px 5px, calc(100% - 5px) 22px, calc(87.4% - 5px) calc(100% - 5px), 5px calc(100% - 5px)); }
.pr-suite { position: absolute; left: 330px; top: 568px; transition: transform var(--t); }
.pr-contenu { flex: 1 1 auto; min-width: 0; padding: 0 0 0 35px; }
.pr-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 54px 22px 0 0; }
.pr-titre { max-width: 560px; font-size: 55px; line-height: 50px; }
.pr-logo { flex: none; margin-top: 5px; }
.popup--rouge .pr-logo { margin: 35px 16px 0 0; }
.pr-texte { max-width: 663px; margin-top: 7px; font-weight: 500; font-size: 20px; line-height: 25px; color: var(--sombre); /* v2 : était #331F3B */ }
.pr-chiffre { display: flex; align-items: center; gap: 24px; min-height: 88px; margin: 27px 22px 0 -35px; padding: 6px 24px 6px 26px; background: var(--violet-cadre); color: var(--clair);
  clip-path: polygon(12px 0, 100% 0, 100% 94.3%, 0 100%); }
.pr-chiffre span { font-size: 60px; line-height: 50px; color: var(--lime); }
.pr-chiffre p { max-width: 548px; font-weight: 500; font-size: 20px; line-height: 25px; }
.popup--rouge .pr-photo { background: var(--rouge); }
.popup--rouge .pr-chiffre { background: var(--rouge); }

/* ---------- Fenêtre « Contact » (pas de maquette : proposition dans l'esprit du site) ---------- */
.popup-contact .popup-boite { padding: 56px 64px 60px; background: var(--lime); color: var(--clair); }
.popup-contact .popup-boite::before { background: var(--sombre); }
.pc-tete { display: flex; align-items: center; gap: 20px; }
.pc-titre { font-size: 53px; line-height: 53px; }
.pc-intro { max-width: 600px; margin-top: 16px; font-size: 22px; line-height: 27px; }
.pc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 28px; }
.pc-champ { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 17px; line-height: 20px; }
.pc-select, .pc-message, .pc-rgpd, .pc-envoyer, .pc-form .form-message { grid-column: 1 / -1; }
.pc-champ input, .pc-champ select, .pc-champ textarea { width: 100%; height: 56px; padding: 0 17px; border: 0; border-left: 3px solid var(--lime); border-radius: 0; background: var(--clair); outline-offset: 2px;
  font-family: "TT Commons Pro", sans-serif; font-weight: 300; font-size: 20px; color: var(--sombre); }
.pc-champ select { -webkit-appearance: none; appearance: none; padding-right: 60px; background: url("assets/img/bouton-select.svg") no-repeat right 8px center / 40px 40px, var(--clair); cursor: pointer; }
.pc-champ textarea { height: 120px; padding-top: 12px; line-height: 26px; resize: vertical; }
.pc-rgpd { display: flex; align-items: flex-start; gap: 14px; font-weight: 300; font-size: 18px; line-height: 23px; cursor: pointer; }
.pc-rgpd input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lime); }
.pc-envoyer { justify-self: end; display: flex; align-items: center; gap: 14px; height: 47px; margin-top: 8px; padding: 3px 18px 0 54px; border: 0; background: var(--clair); color: var(--nuit);
  font-size: 29px; cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% 100%, 32px 100%); transition: background-color var(--t); }
.pc-envoyer img { width: 26px; height: 26px; margin-top: -3px; }

/* ---------- Survols (écrans à pointeur) ---------- */
@media (hover: hover) {
  /* v2 (Léna) : les 3 carrés de l'en-tête bougent au survol (montée + bascule) */
  .btn-carre:is(.btn-langue, .btn-message, .btn-menu):is(:hover, :focus-visible, .is-survol) { transform: translateY(-6px) rotate(-4deg); }
  .hero-try:is(:hover, .is-survol) .deco-survol, .btn-envoyer:is(:hover, .is-survol) .deco-survol { opacity: 1; }
  .hero-try:is(:hover, .is-survol) .hero-try-texte { color: var(--sombre); }
  .logos-zones span:hover, .logos-zones span.is-survol { opacity: 1; }
  .offre:is(:hover, .is-survol), .esp-offre-violet:is(:hover, .is-survol), .sp-offre-chrono:is(:hover, .is-survol),
  .esp-offre-led:is(:hover, .is-survol), .sp-offre-arche:is(:hover, .is-survol) { transform: translateY(-6px); }
  .acc-h > button:is(:hover, .is-survol) :is(.esp-acc-plus, .sp-acc-plus) { transform: rotate(90deg); }
  /* Carte active : suit le survol */
  .agenda-cartes:has(> .evt:is(:hover, .is-survol)) > .evt-actif:not(:hover, .is-survol) { background: var(--clair); box-shadow: inset 0 0 0 5px var(--evt-bord, var(--lime)); }
  .agenda-cartes:has(> .evt:is(:hover, .is-survol)) > .evt-actif:not(:hover, .is-survol)::before { opacity: 0; }
  .agenda-cartes:has(> .evt:is(:hover, .is-survol)) > .evt-actif:not(:hover, .is-survol) .evt-plus { opacity: 0; }
  .agenda-cartes > .evt:not(.evt-actif):is(:hover, .is-survol) { background: none; box-shadow: none; }
  .agenda-cartes > .evt:not(.evt-actif):is(:hover, .is-survol)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--evt-fond, var(--lime));
    clip-path: polygon(0 0, 100% 0, 100% 76.44%, 74.21% 100%, 0 100%); }
  .agenda-cartes > .evt:is(:hover, .is-survol) .evt-plus { opacity: 1; }
  .fleche:not([aria-disabled="true"]):is(:hover, .is-survol) { transform: translateY(-3px); }
  .btn-coconstruire:is(:hover, .is-survol) { background-color: var(--clair); }
  .lien-realisations:is(:hover, .is-survol), .pied-liens a:hover, .pied-legal a:hover, .pied-sy-rendre:hover, .pied-ligne-icone a:hover { color: var(--lime); }
  .reseaux a:hover { transform: translateY(-3px); }
  .liste-sujet li:hover { background: var(--violet); }
  .menu-liens a:hover, .menu-liens a.is-survol { color: var(--lime); }
  .popup-fermer:hover, .menu-fermer:hover { transform: rotate(90deg); }
  .pa-bouton:hover { background: var(--lime); color: var(--sombre); }
  .pc-envoyer:hover { background-color: var(--lime); }
  .pr-suite:hover { transform: translateY(-3px); }
}

/* ---------- Cartes Esport / Sport : élargissement au survol (ordinateur à pointeur) ---------- */
@media (min-width: 1025px) and (hover: hover) {
  .u-carte { overflow: hidden; transition: width var(--t) ease, height var(--t) ease; }
  .u-carte > * { transition: opacity var(--t) ease; }
  .u-alt { display: block; position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-carte > :not(.u-alt) { opacity: 0; }
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-carte > .u-alt { opacity: 1; }
  /* Accueil et esport : disposition B = celle de la page sport */
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-esport { width: calc(385 * var(--u)); height: calc(462 * var(--u)); }
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-sport { width: calc(800 * var(--u)); height: calc(472 * var(--u)); }
  .u-alt-etroit { width: calc(385 * var(--u)); height: calc(462 * var(--u)); }
  .u-alt-large { width: calc(800 * var(--u)); height: calc(472 * var(--u)); }
  .u-alt .deco { position: absolute; }
  .u-alt-etroit .u-alt-photo { width: calc(384.92 * var(--u)); height: calc(460.72 * var(--u)); margin-top: calc(1.49 * var(--u)); object-fit: cover; clip-path: polygon(0 0, calc(384.92 * var(--u)) 0, calc(384.92 * var(--u)) calc(450.25 * var(--u)), 0 calc(460.72 * var(--u))); }
  .u-alt-large .u-alt-photo { width: calc(799.72 * var(--u)); height: calc(471.24 * var(--u)); margin-top: calc(.5 * var(--u)); object-fit: cover; clip-path: polygon(0 0, calc(786.65 * var(--u)) calc(.69 * var(--u)), calc(799.72 * var(--u)) calc(471.24 * var(--u)), 0 calc(451.84 * var(--u))); }
  .u-alt .u-alt-etiquette { left: calc(70 * var(--u)); top: calc(360 * var(--u)); }
  .u-alt-large .u-alt-etiquette { left: calc(500 * var(--u)); }
  .u-alt-titre { position: absolute; left: calc(111 * var(--u)); top: calc(375.6 * var(--u)); font-size: calc(40 * var(--u)); color: var(--nuit); text-transform: uppercase; white-space: nowrap; }
  .u-alt-large .u-alt-titre { left: calc(561.4 * var(--u)); top: calc(376.6 * var(--u)); }
  /* Page sport : disposition B = celle de la page esport */
  .page-sport .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-esport { width: calc(799 * var(--u)); height: calc(471 * var(--u)); }
  .page-sport .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-sport { width: calc(384 * var(--u)); height: calc(461 * var(--u)); }
  .page-sport .u-alt-large { width: calc(799 * var(--u)); height: calc(471 * var(--u)); }
  .page-sport .u-alt-etroit { width: calc(384 * var(--u)); height: calc(461 * var(--u)); }
  .page-sport .u-alt-large .u-alt-photo { width: calc(799 * var(--u)); height: calc(471 * var(--u)); margin: 0; clip-path: polygon(calc(799 * var(--u)) 0, calc(13 * var(--u)) 0, 0 calc(471 * var(--u)), calc(799 * var(--u)) calc(452 * var(--u))); }
  .page-sport .u-alt-etroit .u-alt-photo { width: calc(384 * var(--u)); height: calc(461 * var(--u)); margin: 0; clip-path: polygon(calc(384 * var(--u)) 0, 0 0, 0 calc(450 * var(--u)), calc(384 * var(--u)) calc(461 * var(--u))); }
  .page-sport .u-alt-titre { left: calc(146 * var(--u)); top: calc(373.8 * var(--u)); font-size: calc(41 * var(--u)); text-transform: none; }
  .page-sport .u-alt-large .u-alt-titre { left: calc(372 * var(--u)); }
}

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .logos-zones { display: none; }
  .liste-sujet { left: auto; right: 0; }
  .menu-panneau { right: 0; width: 420px; padding: 120px 40px 120px 0; clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 calc(100% - 48px)); }
  .menu-bouton { top: 24px; right: 32px; width: 56px; height: 56px; }
  .menu-bouton img { width: 45px; height: auto; }
  .menu-liens { width: 280px; }
  .menu-liens a { min-height: 56px; font-size: 26px; }
  .menu-liens a[aria-current="page"] { font-size: 30px; }
  .menu-fermer { left: 40px; bottom: 64px; }
  .popup-cadre { width: 720px; }
  .popup-real .popup-cadre { width: 720px; }
  .popup-arche .popup-boite { min-height: 0; padding: 64px 40px 48px; }
  .pa-bouton { position: static; justify-self: start; width: max-content; margin-top: 28px; }
  .popup-real .popup-boite { flex-direction: column; min-height: 0; padding: 22px 32px 40px 24px; }
  .pr-photo { width: 100%; height: 360px; clip-path: polygon(0 0, 100% 12px, 97% 100%, 0 100%); }
  .pr-photo > img { clip-path: polygon(5px 5px, calc(100% - 5px) 17px, calc(97% - 5px) calc(100% - 5px), 5px calc(100% - 5px)); }
  .pr-suite { left: auto; right: 40px; top: auto; bottom: 16px; }
  .pr-contenu { padding: 0; }
  .pr-tete { padding: 28px 0 0; }
  .pr-titre { font-size: 40px; line-height: 38px; }
  .pr-logo { width: 110px; height: auto; margin-top: 0; }
  .popup--rouge .pr-logo { width: 90px; margin: 0; }
  .pr-texte { margin-top: 20px; font-size: 18px; line-height: 24px; }
  .pr-chiffre { margin: 24px 0 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .liste-sujet { top: 67px; }
  .menu-panneau { width: 100%; padding: 92px var(--marge) 104px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px)); }
  .menu-bouton { top: 16px; right: 20px; width: 44px; height: 44px; }
  .menu-bouton img { width: 35px; }
  .menu-liens { width: 100%; }
  .menu-liens li:has(> a[aria-current="page"]) { margin-left: 0; }
  .menu-liens a { min-height: 52px; font-size: 24px; line-height: 28px; }
  .menu-liens a[aria-current="page"] { font-size: 28px; line-height: 32px; }
  .menu-fermer { left: var(--marge); bottom: 52px; }
  .popup { padding: 16px 12px; }
  .popup-fermer { top: 18px; right: 14px; }
  .popup-boite { clip-path: polygon(0 0, 100% 12px, calc(100% - 8px) calc(100% - 10px), 0 100%); }
  .popup-boite::before, .popup-real .popup-boite::before { clip-path: polygon(4px 4px, calc(100% - 4px) 16px, calc(100% - 12px) calc(100% - 14px), 4px calc(100% - 4px)); }
  .popup-real .popup-boite { clip-path: polygon(0 0, 100% 12px, calc(100% - 8px) calc(100% - 10px), 0 100%); }
  .popup-arche .popup-boite { padding: 64px 20px 40px; }
  .pa-etiquette { top: 30px; right: 60px; padding: 9px 22px 8px 16px; font-size: 16px; line-height: 16px; }
  .pa-titre { margin-top: 20px; font-size: 30px; line-height: 30px; }
  .pa-texte { font-size: 17px; line-height: 22px; }
  .pa-atouts { grid-template-columns: 1fr 1fr; gap: 16px 12px; font-size: 15px; line-height: 18px; }
  .pa-atouts strong { font-size: 17px; line-height: 20px; }
  .pa-bouton { font-size: 20px; }
  .popup-real .popup-boite { padding: 56px 18px 32px 16px; }
  .pr-photo { height: 240px; }
  .pr-tete { flex-direction: column-reverse; gap: 16px; padding-top: 20px; }
  .pr-titre { font-size: 30px; line-height: 30px; }
  .pr-logo, .popup--rouge .pr-logo { width: 80px; }
  .pr-texte { font-size: 17px; line-height: 23px; }
  .pr-chiffre { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px 18px 22px; }
  .pr-chiffre span { font-size: 44px; line-height: 40px; }
  .pr-chiffre p { font-size: 17px; line-height: 22px; }
  .popup-contact .popup-boite { padding: 56px 20px 40px; }
  .pc-tete img { width: 52px; height: auto; }
  .pc-titre { font-size: 34px; line-height: 34px; }
  .pc-intro { font-size: 18px; line-height: 23px; }
  .pc-form { grid-template-columns: 1fr; }
  .pc-champ input, .pc-champ select, .pc-champ textarea { font-size: 17px; }
  .pc-envoyer { justify-self: stretch; justify-content: flex-end; font-size: 22px; }
  .form-message { font-size: 20px; line-height: 26px; }
  /* ENVOYER (forme CSS en mobile) : fond lime au survol, crème sur la page sport */
  .btn-envoyer:hover { background-color: var(--lime); }
  .s-pied--rouge .btn-envoyer:hover { background-color: var(--clair); }
}

/* =========================================================
   v2 (Léna, 24/11/2026) : en-tête
   1. Les 3 carrés (langue, message, menu) restent fixes au défilement, à leur place de la maquette.
   2. FR ouvre la liste des langues (EN, ES), mêmes carrés empilés dessous.
   Elementor : conteneur des boutons en position « fixe » (Avancé > Position), z-index 40.
   ========================================================= */
.entete-boutons { position: fixed; z-index: 40; top: 43px; right: max(calc(84 * var(--u)), calc((100vw - 1370 * var(--u)) / 2 + 84 * var(--u))); top: calc(43 * var(--u)); }
.langue { position: relative; }
button.btn-langue { border: 0; cursor: pointer; }
.langue-liste { position: absolute; top: calc(100% + var(--carre-ecart)); left: 0; display: flex; flex-direction: column; gap: var(--carre-ecart); margin: 0; padding: 0; list-style: none; }
.langue-liste[hidden] { display: none; }
.langue-liste .btn-langue { text-decoration: none; }
/* v2 (Léna) : contour lime fin sur les carrés de langue clairs, pour qu'ils restent visibles sur les fonds clairs */
.btn-langue:not(.btn-langue--sombre) { box-shadow: inset 0 0 0 2px var(--lime); }
.langue-liste li { animation: langue-entree var(--t) ease-out both; }
.langue-liste li + li { animation-delay: .05s; }
@keyframes langue-entree { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 1024px) {
  .entete-boutons { top: 24px; right: var(--marge); }
}
@media (max-width: 767px) {
  .entete-boutons { top: 16px; }
}

/* v2 (Léna) : carrés de l'en-tête plus petits et proportionnels à l'écran
   64 px max (grand écran), environ 58 px à 1440, 44 px min (taille tactile minimale, tablette et mobile).
   Elementor : largeur/hauteur des boutons en clamp() ou valeurs par appareil (64 / 52 / 44). */
:root { --carre: clamp(44px, 4vw, 64px); --carre-ecart: clamp(6px, .6vw, 10px); }
.entete-boutons { gap: var(--carre-ecart); }
.btn-carre { height: var(--carre); }
.btn-carre img { width: auto; height: var(--carre); }
.btn-langue { width: calc(var(--carre) * 83 / 79); font-size: calc(var(--carre) * .43); text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* v2 R11 : espacements */
/* =========================================================
   v2 (Léna, 24/11/2026) : PLUS D'ESPACE (accueil, ordinateur)
   « Tout est très serré » : on ajoute de l'air entre les blocs et dans les textes,
   sans toucher à la photo d'ouverture ni à la taille des titres.
   Valeurs en unités maquette (u) : +60 sous les cartes, +40/+30 autour du titre et de la carte,
   +60 avant « Offres signatures », +40 avant l'agenda ; interlignes des textes courts de 20 à 26-28.
   Elementor : marges internes des conteneurs (haut / bas).
   ========================================================= */
@media (min-width: 1025px) {
  .s-univers { height: calc(620 * var(--u)); }                       /* +60 sous les cartes Esport / Sport */
  .s-pays { height: calc(590 * var(--u)); }
  .accroche { padding-top: calc(274 * var(--u)); }                    /* +30 entre le bandeau et le titre */
  .s-carte { height: calc(720 * var(--u)); padding-top: calc(45 * var(--u)); } /* +30 avant la carte, +50 après */
  .ntwu-encadre { height: auto; margin-top: calc(24 * var(--u)); padding: calc(40 * var(--u)) calc(48 * var(--u)) calc(44 * var(--u)); }
  .encadre-texte { width: auto; margin-top: calc(16 * var(--u)); line-height: calc(28 * var(--u)); }
  .s-ntwu { height: calc(989 * var(--u)); }                          /* +100 : encadré plus aéré et respiration avant les offres */
  .zone-topo { height: calc(1710 * var(--u)); background-position: 0 calc(496 * var(--u)), 0 0;
    clip-path: polygon(-100vw calc(-200 * var(--u)), calc(100% + 100vw) calc(-200 * var(--u)), calc(100% + 100vw) calc(1630 * var(--u) - 5.839vw), -100vw calc(1710 * var(--u) + 5.839vw)); }
  .s-offres { height: calc(731 * var(--u)); }
  .offres-titre { padding-top: calc(205 * var(--u)); }               /* +60 avant « Offres signatures » */
  .offre-texte { line-height: calc(26 * var(--u)); }
  .s-agenda { height: calc(979 * var(--u)); }
  .s-agenda .agenda-tete { padding-top: calc(119 * var(--u)); height: calc(316 * var(--u)); } /* +40 avant l'agenda */
  .evt-texte { line-height: calc(24 * var(--u)); }
}

/* v2 (Léna) : entrée « Try With Us » du menu, avec l'icône contact */
.menu-contact img { flex: none; width: auto; height: 1.05em; margin-right: .45em; }

/* =========================================================
   v2 (Léna, 24/11/2026) : BANDE DE LOGOS QUI DÉFILE (3 pages)
   Défilement continu vers la gauche ; au survol, le logo prend la couleur de survol
   (lime, ou clair sur la page sport) et la bande se met en pause.
   La couleur de survol est dessinée par un masque (la forme du logo), comme dans la maquette.
   Sans animation si le visiteur a demandé moins de mouvements : une seule série, centrée.
   ========================================================= */
.hero-logos, .esp-logos, .sp-logos { padding-left: 0; padding-right: 0; }
.logos-defile { --logo-h: var(--u); --survol: var(--lime); position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.page-sport .logos-defile { --survol: var(--clair); }
.logos-piste { display: flex; width: max-content; animation: logos-defile 40s linear infinite; }
.logos-defile:hover .logos-piste, .logos-defile:focus-within .logos-piste { animation-play-state: paused; }
@keyframes logos-defile { to { transform: translateX(-25%); } } /* R52 : 4 séries (une de plus) : la boucle reste pleine jusqu'à des écrans très larges */
.logos-serie { display: flex; align-items: center; gap: calc(90 * var(--u)); margin: 0; padding: 0 calc(90 * var(--u)) 0 0; list-style: none; }
.logo-defile { position: relative; flex: none; }
.logo-defile img { display: block; width: auto; height: calc(var(--h) * var(--logo-h)); transition: opacity var(--t); }
.logo-defile::after { content: ""; position: absolute; inset: 0; background: var(--survol); opacity: 0; transition: opacity var(--t);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; pointer-events: none; }
.logo-defile:hover img { opacity: 0; }
.logo-defile:hover::after { opacity: 1; }
@media (max-width: 1024px) {
  .logos-defile { --logo-h: .7px; }
  .logos-serie { gap: 48px; padding-right: 48px; }
  .logos-piste { animation-duration: 30s; }
}
@media (max-width: 767px) {
  .logos-defile { --logo-h: .55px; }
  .logos-serie { gap: 36px; padding-right: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-piste { animation: none; width: auto; justify-content: center; }
  .logos-serie[aria-hidden] { display: none; }
  .logos-serie { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 24px; }
  .logos-defile { -webkit-mask-image: none; mask-image: none; }
}

/* v2 (Léna) : espace sous le « TRY WITH US » de l'ouverture avant la bande de logos (70 u au lieu de 0 à 15).
   « .page » devant : esport.css et sport.css sont chargés après et l'emporteraient sinon. */
@media (min-width: 1025px) {
  .hero-logos { margin-top: calc(113 * var(--u)); }
  .s-hero { height: calc(1160 * var(--u)); }
  .page .esp-logos { margin-top: calc(113 * var(--u)); }
  .page .esp-hero { height: calc(1155 * var(--u)); }
  .page .sp-logos { margin-top: calc(112 * var(--u)); }
  .page .sp-hero { height: calc(1170 * var(--u)); }
}

/* =========================================================
   v2 (Léna, 24/11/2026) : ANIMATIONS ET RETOUCHES (R21 à R27)
   Propriétés individuelles translate / rotate / scale : elles s'ajoutent
   aux transform déjà posés, sans les écraser. Tout est coupé si le visiteur
   a demandé moins d'animations (règle globale prefers-reduced-motion).
   ========================================================= */
:root { --ressort: cubic-bezier(.34, 1.56, .64, 1); --doux: cubic-bezier(.22, 1, .36, 1); }
@property --cadre { syntax: "<color>"; inherits: true; initial-value: #F8FFE8; }

/* R21 : mascottes (régisseurs) : flottent en continu, petit coucou au survol */
.mascotte-ecran, .mascotte-no-signal, .esp-mascotte-casque, .esp-mascotte-poing, .sp-mascotte-casque, .sp-mascotte-poing {
  pointer-events: auto; transform-origin: 50% 85%; animation: mascotte-flotte 3.6s ease-in-out infinite; }
.mascotte-no-signal, .esp-mascotte-poing, .sp-mascotte-poing { animation-delay: -1.8s; }
@keyframes mascotte-flotte { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 calc(-10 * var(--u)); rotate: -2deg; } }
@keyframes mascotte-coucou { 0%, 100% { rotate: 0deg; scale: 1; } 20% { rotate: 8deg; scale: 1.06; } 45% { rotate: -7deg; } 70% { rotate: 5deg; } }
@media (hover: hover) {
  :is(.mascotte-ecran, .mascotte-no-signal, .esp-mascotte-casque, .esp-mascotte-poing, .sp-mascotte-casque, .sp-mascotte-poing):hover { animation: mascotte-coucou .7s ease-in-out; }
}

/* R22 : cartes Esport / Sport : dépli plus lent et fluide, la carte survolée se soulève */
@media (min-width: 1025px) and (hover: hover) {
  .u-carte { transition: width .6s var(--doux), height .6s var(--doux), translate .4s var(--ressort), rotate .4s var(--ressort); }
  .u-carte > * { transition: opacity .35s ease .1s; }
  .u-carte:is(:hover, :focus-visible) { translate: 0 calc(-8 * var(--u)); }
  /* Dépli « portail » : la photo reste visible et s'agrandit en continu (cadrée, object-fit) pendant
     que la carte s'élargit ; seuls le cadre et l'étiquette changent, en fondu au milieu du mouvement. */
  .u-carte { transition: width .7s var(--doux), height .7s var(--doux), translate .4s var(--ressort), rotate .4s var(--ressort); }
  .u-cartes .u-carte > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; }
  .u-cartes .u-esport > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { clip-path: polygon(100% 0, 1.63% .2%, 0 100%, 100% 96.2%); }
  .u-cartes .u-sport > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { clip-path: polygon(100% 0, 0 0, 0 97.8%, 100% 100%); }
  .page-sport .u-cartes .u-esport > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { clip-path: polygon(0 0, 100% 0, 100% 97.73%, 0 100%); }
  .page-sport .u-cartes .u-sport > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { clip-path: polygon(0 0, 98.37% .15%, 100% 100%, 0 95.88%); }
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-carte > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { opacity: 1; }
  .u-alt .u-alt-photo { visibility: hidden; }
  .u-carte > :not(:is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo)) { transition: opacity .3s ease .25s; }
}

/* R23 : bloc « qui sommes-nous » : chaque carte bouge au survol */
@media (min-width: 1025px) {
  .ntwu-chiffres > .deco { display: none; }
  .ntwu-chiffres .chiffre-carte { position: absolute; left: 0; width: calc(373 * var(--u)); background: url("assets/img/carte-chiffre-1.svg") no-repeat 0 0 / 100% 100%;
    transition: translate .4s var(--ressort), rotate .4s var(--ressort); }
  .ntwu-chiffres .chiffre-carte-1 { top: 0; height: calc(287 * var(--u)); }
  .ntwu-chiffres .chiffre-carte-2 { top: calc(292 * var(--u)); height: calc(306 * var(--u)); background-image: url("assets/img/carte-chiffre-2.svg"); }
  .ntwu-chiffres .chiffre-2 { top: calc(91 * var(--u)); }
  .ntwu-chiffres .chiffre-2b { top: calc(136.5 * var(--u)); }
  .ntwu-bloc, .ntwu-encadre { transition: translate .4s var(--ressort), rotate .4s var(--ressort); }
}
@media (min-width: 1025px) and (hover: hover) {
  .ntwu-chiffres .chiffre-carte-1:hover { translate: 0 calc(-12 * var(--u)); rotate: -3deg; }
  .ntwu-chiffres .chiffre-carte-2:hover { translate: 0 calc(-12 * var(--u)); rotate: 3deg; }
  .ntwu-bloc:hover { translate: 0 calc(-8 * var(--u)); rotate: -1deg; }
  .ntwu-encadre:hover { translate: 0 calc(-6 * var(--u)); }
}

/* R24 : offres signatures : la carte se soulève et grandit, le « + » tourne ; clic = fenêtre */
.offre, .esp-offre-violet, .sp-offre-chrono, .esp-offre-led, .sp-offre-arche { transition: translate .4s var(--ressort), scale .4s var(--ressort), transform var(--t); }
.offre-plus, .esp-offre-violet img, .sp-offre-chrono img { transition: rotate .4s var(--ressort); }
@media (hover: hover) {
  :is(.offre, .esp-offre-violet, .sp-offre-chrono, .esp-offre-led, .sp-offre-arche):is(:hover, :focus-visible) { translate: 0 calc(-8 * var(--u)); scale: 1.03; }
  :is(.offre, .esp-offre-violet, .sp-offre-chrono):is(:hover, :focus-visible) :is(.offre-plus, img[src*="plus"]) { rotate: 90deg; }
}

/* R25 : drapeaux de la carte : petit saut au survol */
.drapeau { pointer-events: auto; }
@keyframes drapeau-saut { 0%, 100% { translate: 0 0; } 35% { translate: 0 -70%; } 60% { translate: 0 0; } 78% { translate: 0 -20%; } }
/* v2 (Léna) : saut au survol retiré (trop d'animation) */

/* R26 : pied de page : CTA clair, lime au survol, centré sous les réseaux ; icônes animées */
.btn-coconstruire { background: url("assets/img/picto-bulle-sombre.svg") no-repeat calc(421 * var(--u)) calc(7 * var(--u)) / calc(40 * var(--u)) calc(38 * var(--u)), var(--clair);
  transition: background-color var(--t), translate .4s var(--ressort); }
@media (hover: hover) { .btn-coconstruire:is(:hover, .is-survol) { background-color: var(--lime); translate: 0 -3px; } }
@media (min-width: 1025px) {
  .pied-col-centre { display: flex; flex-direction: column; align-items: center; }
  .pied-col-centre .reseaux, .pied-col-centre .lien-realisations { margin-left: 0; }
  .pied-col-centre .btn-coconstruire { width: calc(485 * var(--u)); }
}
.pied-ligne-icone img, .pied-sy-rendre img { transition: translate var(--t); }
@media (hover: hover) { .pied-ligne-icone:hover img, .pied-sy-rendre:hover img { translate: 0 -3px; } }

/* =========================================================
   v2 (Léna) R28 : OFFRES SIGNATURES (accueil, ordinateur) : dépli au survol
   Comme la maquette XD « déployé » : la carte survolée s'élargit (fond clair, bord à sa couleur,
   texte complet, « En savoir plus », « − ») ; les deux autres se replient (titre et « + » seulement).
   Clic : la fenêtre de l'offre. Elementor : conteneurs flex avec flex-grow animé, ou widget accordéon horizontal.
   ========================================================= */
.offre-suite { display: none; }
@media (min-width: 1025px) {
  .offres-cartes { width: calc(1216 * var(--u)); padding-right: 0; }
  .offre { --bord: var(--rouge); flex: 1 1 0; width: auto; min-width: 0; overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7 * var(--u)), 0 calc(100% - 1 * var(--u)));
    transition: flex-grow .6s var(--doux), color .35s, padding .6s var(--doux); }
  /* Bord de la carte déployée : la carte garde sa couleur et un panneau clair s'ouvre à l'intérieur (5 u de marge),
     avec la même pente en bas : le bord suit la découpe, sans coupure ni décalage. */
  .offre::before { content: ""; position: absolute; z-index: 0; inset: calc(5 * var(--u)); background: var(--clair); opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7 * var(--u)), 0 calc(100% - 1 * var(--u))); transition: opacity .35s ease; }
  .offre > * { position: relative; z-index: 1; }
  .offre > .offre-plus { position: absolute; }
  .offre-lime { --bord: var(--lime); }
  .offre-violet { --bord: var(--violet); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7 * var(--u)), 0 100%); }
  .offre-texte { width: calc(249 * var(--u)); transition: opacity .3s ease .2s; }
  .offre-suite { display: block; margin-top: calc(14 * var(--u)); font-weight: 700; font-size: calc(18 * var(--u)); text-decoration: underline; opacity: 0; transition: opacity .3s ease .2s; }
  .offre-titre { transition: font-size .5s var(--doux); }
  .offre-titre-long { transition: opacity .3s; }
  .offre-plus { transition: opacity .3s, rotate .4s var(--ressort); }
  .offres-cartes .offre .offre-plus { left: auto; right: calc(23 * var(--u)); } /* « + » calé à droite, quelle que soit la largeur de la carte */
  .offre::after { content: ""; position: absolute; z-index: 1; right: calc(30 * var(--u)); bottom: calc(46 * var(--u)); width: calc(30 * var(--u)); height: calc(7 * var(--u)); background: var(--sombre); opacity: 0; transition: opacity .3s; }
}
@media (min-width: 1025px) and (hover: hover) {
  /* l'effet R24 (soulèvement + agrandissement) est remplacé ici par le dépli */
  .offres-cartes > .offre:is(:hover, :focus-visible) { translate: none; scale: none; transform: none; }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:not(:hover, :focus-visible) { flex-grow: 1; padding-left: calc(32 * var(--u)); }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:not(:hover, :focus-visible) .offre-texte { opacity: 0; transition-delay: 0s; }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:not(:hover, :focus-visible) .offre-titre { font-size: calc(30 * var(--u)); line-height: calc(28 * var(--u)); white-space: normal; }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:not(:hover, :focus-visible) .offre-titre-long { display: none; }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:not(:hover, :focus-visible) .offre-plus { left: auto; right: calc(24 * var(--u)); }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:is(:hover, :focus-visible) { flex-grow: 2.8; padding-left: calc(51 * var(--u)); color: var(--sombre); }
  .offres-cartes:has(> .offre:is(:hover, :focus-visible)) > .offre:is(:hover, :focus-visible)::before { opacity: 1; }
  .offres-cartes > .offre:is(:hover, :focus-visible) .offre-suite { opacity: 1; }
  .offres-cartes > .offre:is(:hover, :focus-visible) .offre-texte { width: calc(420 * var(--u)); }
  .offres-cartes > .offre:is(:hover, :focus-visible) .offre-plus { opacity: 0; }
  .offres-cartes > .offre:is(:hover, :focus-visible)::after { opacity: 1; }
}

/* =========================================================
   v2 (Léna) R30 : CARTES ESPORT / SPORT, cadre et étiquette en CSS (ordinateur)
   Les cadres et étiquettes étaient des images à taille fixe : pendant le dépli ils ne suivaient
   pas la photo (décalages, carré blanc du cadre étroit en fondu). Ici, la carte elle-même fait
   le cadre (couleur de fond + découpe), la photo est posée à 6 u du bord avec la même découpe,
   et l'étiquette est un bloc CSS : tout reste aligné pendant tout le mouvement.
   Carte grande : cadre et étiquette lime, flèche. Carte étroite : cadre et étiquette clairs, « + ».
   ========================================================= */
@media (min-width: 1025px) {
  .u-cartes .u-carte { --cadre: var(--clair); overflow: hidden; container: carte / inline-size;
    background: var(--cadre); clip-path: var(--forme); }
  .u-cartes .u-esport { --forme: polygon(100% 0, 1.63% .2%, 0 100%, 100% 96.2%); }
  .u-cartes .u-sport { --forme: polygon(100% 0, 0 0, 0 97.8%, 100% 100%); }
  .page-sport .u-cartes .u-esport { --forme: polygon(0 0, 100% 0, 100% 97.73%, 0 100%); }
  .page-sport .u-cartes .u-sport { --forme: polygon(0 0, 98.37% .15%, 100% 100%, 0 95.88%); }
  .u-cartes .u-ouvert, .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-ferme { --cadre: var(--lime); }
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-ouvert { --cadre: var(--clair); }
  .u-cartes .u-carte > .deco, .u-cartes .u-carte > .u-alt { display: none; }
  /* photos en haute définition (1600 px) : nettes quand la carte est grande ; cadrage quand elle est étroite */
  .u-cartes .u-esport > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { object-position: 70% 50%; }
  .u-cartes .u-carte > :is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo) { position: absolute; left: calc(6 * var(--u)); top: calc(6 * var(--u)); width: calc(100% - 12 * var(--u)); height: calc(100% - 12 * var(--u));
    margin: 0; object-fit: cover; clip-path: var(--forme); }
  .u-cartes .u-carte > :is(.carte-univers-titre, .esp-carte-titre, .sp-carte-titre) { position: absolute; left: auto; top: auto; right: calc(40 * var(--u)); bottom: calc(46 * var(--u));
    display: flex; align-items: center; height: calc(70 * var(--u)); padding: calc(4 * var(--u)) calc(92 * var(--u)) 0 calc(62 * var(--u));
    background: var(--cadre); clip-path: polygon(0 0, 100% 0, 100% 100%, calc(26 * var(--u)) 100%);
    font-size: calc(40 * var(--u)); line-height: 1; color: var(--sombre); text-transform: uppercase; white-space: nowrap; transform: none; }
  .u-cartes .u-carte > :is(.carte-univers-titre, .esp-carte-titre, .sp-carte-titre)::after { content: ""; position: absolute; right: calc(30 * var(--u)); top: 50%; width: calc(38 * var(--u)); height: calc(38 * var(--u));
    translate: 0 -50%; background: url("assets/img/picto-plus-sombre.svg") center / contain no-repeat; }
  /* Texte long et flèche selon la largeur réelle de la carte (requête de conteneur) : ils changent
     exactement quand la carte passe de étroite à grande, pas au début du survol. */
  .u-cartes .titre-long { display: none; }
  @container carte (min-width: 500px) { .u-cartes .titre-long { display: inline; } .u-cartes .u-carte > :is(.carte-univers-titre, .esp-carte-titre, .sp-carte-titre)::after { background-image: url("assets/img/fleche-sombre.svg"); } }
  .u-cartes:has(> .u-ferme:is(:hover, :focus-visible, .is-survol)) > .u-carte > :is(:is(.carte-univers-photo, .esp-carte-photo, .sp-carte-photo), :is(.carte-univers-titre, .esp-carte-titre, .sp-carte-titre)) { opacity: 1; }
}
@media (min-width: 1025px) and (hover: hover) {
  /* couleur du cadre : fondu au milieu du mouvement */
  .u-cartes .u-carte { transition: width .7s var(--doux), height .7s var(--doux), --cadre .3s ease .25s, translate .4s var(--ressort); }
}

/* =========================================================
   v2 (Léna) R31 EXEMPLE : drapeau + petite fiche d'événement (carte du monde)
   Position : coordonnées réelles converties pour la carte XD (projection de Miller,
   calée sur le cap Horn, le cap des Aiguilles et la Tasmanie, écart < 1 %).
   La fiche s'ouvre au survol, au focus clavier et au toucher (main.js) ; Échap ou clic ailleurs la ferme.
   ========================================================= */
.drapeau-point { position: absolute; z-index: 2; width: 1.933%; }
.drapeau-point:is(:hover, :focus-within, .is-ouvert) { z-index: 10; }
.drapeau-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.drapeau-btn img { display: block; width: 100%; height: auto; }
/* v2 (Léna) : saut au survol retiré (trop d'animation) */
/* Fiche dans le style des cadres du site : contour lime tout autour, fond clair, forme légèrement de biais.
   Deux couches : la fiche (lime, découpée) et le corps clair posé à 4 px du bord avec la même découpe. */
.drapeau-fiche { --forme-fiche: polygon(0 4%, 100% 0, 99% 100%, .8% 95%); position: absolute; left: 50%; bottom: calc(100% + 12px); width: max-content; max-width: 340px; /* R44 : fiches plus larges, donc moins hautes */
  padding: 4px; color: var(--sombre); text-align: left;
  opacity: 0; visibility: hidden; translate: -50% 8px; scale: .96; transform-origin: 50% 100%;
  transition: opacity .2s ease, translate .25s var(--ressort), scale .25s var(--ressort), visibility 0s linear .25s; pointer-events: none; }
.drapeau-fiche { --cadre-fiche: var(--lime); --texte-pays: var(--sombre); }
.fiche-esport .drapeau-fiche { --cadre-fiche: var(--violet); --texte-pays: var(--clair); }   /* esport, jeu vidéo */
.fiche-sport .drapeau-fiche { --cadre-fiche: var(--rouge); --texte-pays: var(--sombre); }    /* sport */
.drapeau-fiche::before { content: ""; position: absolute; inset: 0; background: var(--cadre-fiche); clip-path: var(--forme-fiche); }
.drapeau-fiche::after { content: ""; position: absolute; left: 50%; top: calc(100% - 2px); width: 16px; height: 10px; translate: -50% 0; background: var(--cadre-fiche); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.fiche-corps { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px 18px 14px 16px; background: var(--clair); clip-path: var(--forme-fiche); }
.drapeau-point:is(:hover, :focus-within, .is-ouvert) .drapeau-fiche { opacity: 1; visibility: visible; translate: -50% 0; scale: 1; transition-delay: 0s; pointer-events: auto; }
.fiche-pays { align-self: flex-start; padding: 4px 10px 2px 12px; background: var(--cadre-fiche); color: var(--texte-pays); font-size: 12px; text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%); }
.fiche-evt { margin-top: 4px; font-size: 20px; line-height: 1.05; }
.fiche-lieu { font-size: 14px; line-height: 1.3; }
.fiche-type { font-size: 12px; font-weight: 700; line-height: 1.3; }
@media (min-width: 1025px) {
  .drapeau-fiche { bottom: calc(100% + 12 * var(--u)); max-width: calc(440 * var(--u)); padding: calc(4 * var(--u)); }
  .fiche-corps { gap: calc(4 * var(--u)); padding: calc(13 * var(--u)) calc(20 * var(--u)) calc(15 * var(--u)) calc(18 * var(--u)); }
  .fiche-pays { font-size: calc(13 * var(--u)); }
  .fiche-evt { font-size: calc(22 * var(--u)); }
  .fiche-lieu { font-size: calc(16 * var(--u)); }
  .fiche-type { font-size: calc(13 * var(--u)); }
}
/* Fiche qui reste dans l'écran : près du bord droit, elle s'ouvre vers la gauche ; près du bord gauche, vers la droite (classe posée par main.js) */
.drapeau-point.vers-gauche .drapeau-fiche { left: auto; right: -6px; translate: 0 8px; }
.drapeau-point.vers-droite .drapeau-fiche { left: -6px; translate: 0 8px; }
.drapeau-point:is(.vers-gauche, .vers-droite):is(:hover, :focus-within, .is-ouvert) .drapeau-fiche { translate: 0 0; }
.drapeau-point.vers-gauche .drapeau-fiche::after { left: auto; right: 6px; translate: 0 0; }
.drapeau-point.vers-droite .drapeau-fiche::after { left: 6px; translate: 0 0; }

/* R31 : déploiement sur tous les pays */
.drapeau-btn { rotate: var(--rot, 0deg); transform-origin: 10.3% 95.4%; } /* inclinaison autour du pied du mât (drapeaux serrés en Europe) */
.fiche-lieu + .fiche-evt { margin-top: 10px; }
.fiche-type { margin-top: 4px; }
/* Régie à distance : drapeau crème à contour noir (drapeau-distance.svg), sans animation */
/* Légende sous la carte */
.carte-legende { display: flex; justify-content: center; gap: 28px; margin: 14px 0 0; font-size: 15px; color: var(--sombre); }
.carte-legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende-drapeau img { width: auto; height: 1.4em; }
.legende-distance img { width: auto; height: 1.4em; }
.legende-siege img { width: auto; height: 1.4em; } /* R43 : siège de NTWU, drapeau violet */
@media (min-width: 1025px) {
  .carte-legende { gap: calc(32 * var(--u)); margin-top: calc(16 * var(--u)); font-size: calc(16 * var(--u)); }
  .fiche-lieu + .fiche-evt { margin-top: calc(10 * var(--u)); }
}

/* v2 (Léna) : étiquettes en option sur les 3 pages (masquées ; ajouter la classe is-visible pour les afficher) */
.etiquette-option:not(.is-visible) { display: none; }
/* v2 (Léna) : lignes topographiques sur toute la largeur de l'écran (accueil et sport), via un calque sous le contenu */
@media (min-width: 1025px) {
  .zone-topo, .sp-zone-topo { isolation: isolate; background-image: none; }
  .zone-topo::before, .sp-zone-topo::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; pointer-events: none;
    background-repeat: no-repeat; background-size: 100% auto; }
  .zone-topo::before { background-image: url("assets/img/lignes-topo.svg"); background-position: 0 calc(496 * var(--u)); }
  .sp-zone-topo::before { background-image: url("assets/img/sport-topo.svg"); background-position: 0 calc(-12 * var(--u)); }
}

/* =========================================================
   v2 (Léna) R35 : ACCUEIL, cartes Esport / Sport neutres
   Sur l'accueil, aucune des deux pages n'est « en cours » : même largeur, cadre et étiquette crème, « + ».
   Au survol : la carte s'élargit un peu et passe en lime avec la flèche ↘ (lien vers la page).
   Les pages esport et sport gardent leur carte ouverte (page en cours).
   ========================================================= */
@media (min-width: 1025px) {
  .page-accueil .univers-cartes { width: calc(1294 * var(--u)); }
  .page-accueil .univers-cartes .u-carte { flex: 1 1 0; width: auto; height: calc(471 * var(--u)); margin-top: 0; }
  .page-accueil .u-cartes .u-carte > :is(.carte-univers-titre, .esp-carte-titre, .sp-carte-titre)::after { background-image: url("assets/img/picto-plus-sombre.svg"); }
}
@media (min-width: 1025px) and (hover: hover) {
  .page-accueil .univers-cartes .u-carte { transition: flex-grow .7s var(--doux), --cadre .3s ease, translate .4s var(--ressort); }
  .page-accueil .univers-cartes .u-carte:is(:hover, :focus-visible) { flex-grow: 1.4; --cadre: var(--lime); }
  .page-accueil .u-cartes .u-carte:is(:hover, :focus-visible) > :is(.carte-univers-titre, .esp-carte-titre, .sp-carte-titre)::after { background-image: url("assets/img/fleche-sombre.svg"); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .page-accueil .carte-esport, .page-accueil .carte-sport { flex: 1 1 0; aspect-ratio: 1 / 1; }
}
/* Tablette et mobile : même principe (cadre crème fait en CSS, étiquette « + ») */
@media (max-width: 1024px) {
  .page-accueil .univers-cartes .u-carte { position: relative; overflow: hidden; background: var(--clair); clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .page-accueil .univers-cartes .u-carte > .deco, .page-accueil .univers-cartes .u-carte > .u-alt { display: none; }
  .page-accueil .univers-cartes .u-carte > .carte-univers-photo { position: absolute; left: 5px; top: 5px; width: calc(100% - 10px); height: calc(100% - 10px);
    object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .page-accueil .univers-cartes .u-carte > .carte-univers-titre { position: absolute; left: auto; top: auto; right: 18px; bottom: 26px; display: flex; align-items: center;
    height: 46px; padding: 3px 58px 0 38px; background: var(--clair); clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%);
    font-size: 22px; line-height: 1; color: var(--sombre); text-transform: uppercase; white-space: nowrap; transform: none; }
  .page-accueil .univers-cartes .u-carte > .carte-univers-titre::after { content: ""; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; translate: 0 -50%;
    background: url("assets/img/picto-plus-sombre.svg") center / contain no-repeat; }
}
@media (max-width: 767px) {
  .page-accueil .carte-esport, .page-accueil .carte-sport { aspect-ratio: 4 / 3; }
  .page-accueil .univers-cartes .u-carte > .carte-univers-titre .titre-long { display: none; }
}

/* v2 (Léna) R37 : logos des partenaires dessinés par leur forme (masque) : même gris au repos pour tous,
   couleur de la page au survol : lime (accueil), violet (esport), orange (sport). */
.logos-defile { --repos: rgba(183, 187, 171, .6); }
.page-esport .logos-defile { --survol: var(--violet); }
.page-sport .logos-defile { --survol: var(--rouge); }
.logo-defile img { opacity: 0; }
.logo-defile::before { content: ""; position: absolute; inset: 0; background: var(--repos); transition: opacity var(--t);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; pointer-events: none; }
.logo-defile:hover::before { opacity: 0; }
.logo-defile:hover img { opacity: 0; }

/* =========================================================
   v2 (Léna, 25/11/2026) R39 : OUVERTURE ADAPTÉE À LA HAUTEUR DE L'ÉCRAN (3 pages)
   La photo garde toute la largeur ; sa hauteur suit la hauteur de l'écran pour que
   « TRY WITH US » arrive juste au-dessus de la ligne de flottaison (40 px de marge).
   La photo est recadrée (object-fit: cover), le biseau garde la même pente.
   Les cadres (violet esport, orange sport) sont dessinés en CSS pour suivre la photo.
   Elementor : conteneur photo en hauteur « calc(100svh - …) » (unités vh / svh), image en « couvrir ».
   ========================================================= */
/* Forme biseautée commune à la photo et à son cadre */
.hero-showreel, .sp-hero-photo {
  --hd: calc(28 * var(--u)); --bx: calc(22 * var(--u)); --by: calc(25 * var(--u)); --ep: calc(5 * var(--u));
  --forme-hero: polygon(0 0, 100% var(--hd), calc(100% - var(--bx)) calc(100% - var(--by)), 0 100%); }
.page :is(.hero-showreel img, .sp-hero-img) { clip-path: var(--forme-hero); object-fit: cover; }
/* Le bouton TRY WITH US passe toujours au-dessus de la photo et de son cadre */
.page .hero-try { z-index: 2; }
/* Cadre : un anneau de la couleur --cadre, même forme que la photo, épaisseur --ep vers l'intérieur */
.hero-cadre::after { content: ""; position: absolute; pointer-events: none; background: var(--cadre);
  left: var(--photo-x, 0); top: var(--photo-y, 0); width: var(--photo-l, 100%); height: var(--photo-h, 100%);
  clip-path: polygon(evenodd, 0 0, 100% var(--hd), calc(100% - var(--bx)) calc(100% - var(--by)), 0 100%, 0 0,
    var(--ep) var(--ep), var(--ep) calc(100% - var(--ep)), calc(100% - var(--bx) - var(--ep)) calc(100% - var(--by) - var(--ep)),
    calc(100% - var(--ep)) calc(var(--hd) + var(--ep)), var(--ep) var(--ep)); }

@media (min-width: 1025px) {
  .page :is(.s-hero, .sp-hero) {
    --photo-x: calc(50 * var(--u)); --photo-y: calc(42 * var(--u)); --photo-l: calc(1269 * var(--u));
    /* bas du bouton = haut de la photo + hauteur + 43 u ; il doit tomber à 40 px du bas de l'écran.
       Entre 420 u (écrans très bas) et 1000 u (écrans très hauts). */
    --photo-h: clamp(calc(420 * var(--u)), calc(100svh - 40px - 85 * var(--u)), calc(1000 * var(--u)));
    --hauteur-xd: calc(1160 * var(--u));
    height: calc(var(--hauteur-xd) - 857 * var(--u) + var(--photo-h)); }
  .page .esp-hero { --hauteur-xd: calc(1155 * var(--u)); }
  .page .sp-hero { --photo-x: calc(45.17 * var(--u)); --photo-y: calc(43.18 * var(--u)); --photo-l: calc(1269.98 * var(--u));
    --photo-h: clamp(calc(420 * var(--u)), calc(100svh - 40px - 86 * var(--u)), calc(1000 * var(--u))); --hauteur-xd: calc(1170 * var(--u)); }
  .page :is(.hero-showreel img, .sp-hero-img) { width: var(--photo-l); height: var(--photo-h); }
  .page .hero-try { top: calc(var(--photo-y) + var(--photo-h) - 111 * var(--u)); }
}
@media (max-width: 1024px) {
  /* en-tête (112 px) + photo + marge (20 px) + bouton (154 px) + 40 px : la photo remplit la hauteur de l'écran (recadrée) */
  .hero-showreel, .sp-hero-photo { --hd: 3.3%; --bx: 1.8%; --by: 3%; --ep: 4px; }
  .page :is(.hero-showreel img, .sp-hero-img) { aspect-ratio: auto; height: max(240px, calc(100svh - 326px)); }
}
@media (max-width: 767px) {
  /* en-tête (76 px) + photo + marge (16 px) + bouton (31 % de la largeur utile) + 24 px */
  .hero-showreel, .sp-hero-photo { --ep: 3px; }
  .page :is(.hero-showreel img, .sp-hero-img) { height: max(180px, calc(100svh - 116px - (100vw - 2 * var(--marge)) * .31)); }
}

/* =========================================================
   v2 (Léna, 25/11/2026) R40 : FLÈCHE « FAIRE DÉFILER » (accueil, esport, sport)
   Carré lime (couleur commune aux trois univers), même taille et même alignement à droite
   que les carrés de l'en-tête ; en bas de l'écran, sur la ligne du bas de TRY WITH US.
   La flèche est fixe et fait un petit saut toutes les 5 s ; le carré disparaît dès qu'on a commencé à défiler.
   ========================================================= */
/* --u-plein : même échelle que l'en-tête, pour tomber pile sous le menu burger (même marge droite, même largeur) */
.fleche-defiler { --u: var(--u-plein); position: fixed; z-index: 39; bottom: 40px; right: max(calc(84 * var(--u)), calc((100vw - 1370 * var(--u)) / 2 + 84 * var(--u)));
  display: flex; align-items: center; justify-content: center; width: calc(var(--carre) * 83 / 79); height: var(--carre);
  background: var(--lime); color: var(--sombre);
  transition: opacity var(--t), visibility var(--t), translate var(--t), rotate var(--t); }
/* flèche des CTA (fleche-sombre.svg, pointe en bas à droite) tournée de 45° : elle pointe vers le bas */
/* La flèche reste fixe ; toutes les 5 s (la première fois au bout de 5 s), elle fait un petit saut vers le bas (deux rebonds) */
.fleche-defiler img { width: 55%; height: 55%; rotate: 45deg; animation: fleche-saut 5s ease-in-out infinite; }
@keyframes fleche-saut { 0%, 88%, 100% { translate: 0 0; } 91.5% { translate: 0 24%; } 95% { translate: 0 0; } 97.5% { translate: 0 10%; } }
.fleche-defiler:is(:hover, :focus-visible) { translate: 0 -6px; rotate: -4deg; }
.fleche-defiler:focus-visible { outline: 3px solid var(--clair); outline-offset: 3px; }
html.a-defile .fleche-defiler { opacity: 0; visibility: hidden; translate: 0 12px; pointer-events: none; }
@media (max-width: 1024px) { .fleche-defiler { right: var(--marge); } }
/* Téléphone : TRY WITH US prend toute la largeur en bas ; la flèche se pose dans le coin bas droit de la photo */
@media (max-width: 767px) { .fleche-defiler { bottom: calc(70px + (100vw - 2 * var(--marge)) * .31); } }
@media (prefers-reduced-motion: reduce) { .fleche-defiler img { animation: none; } }

/* =========================================================
   v2 (Léna, 25/11/2026) R41 : CARTES « ILS NOUS ONT FAIT CONFIANCE » (3 pages)
   Même logique que l'accueil : le contour dit l'univers du projet (violet esport, orange sport),
   la carte mise en avant et la carte survolée passent en vert (lime), avec le « + » vert.
   Accueil : tous les projets ; page esport : projets esport ; page sport : projets sport.
   Elementor : une boucle (Loop Grid) sur les réalisations, filtrée par catégorie (esport / sport) sur chaque page.
   ========================================================= */
.page .agenda-cartes { --evt-fond: var(--lime); }
.page .agenda-cartes > .evt--esport { --evt-bord: var(--violet); }
.page .agenda-cartes > .evt--sport { --evt-bord: var(--rouge); }
.page .agenda-cartes > .evt:not(.evt-actif):not(:hover, .is-survol) { background: var(--clair); box-shadow: inset 0 0 0 calc(5 * var(--u)) var(--evt-bord); }
.page .agenda-cartes > .evt-actif::before { background: var(--lime); }
.page .agenda-cartes > .evt :is(.evt-titre, .evt-texte) { color: var(--sombre); }
/* Ordinateur : 3 cartes visibles, les flèches font tourner les suivantes (main.js) */
@media (min-width: 1025px) { .page .agenda-cartes > .evt:nth-of-type(n + 4) { display: none; } }
@media (max-width: 1024px) {
  .page .agenda-cartes > .evt:not(.evt-actif):not(:hover, .is-survol) { box-shadow: inset 0 0 0 4px var(--evt-bord); }
}
/* R44 : téléphone, la fiche reste dans l'écran */
@media (max-width: 767px) { .drapeau-fiche { max-width: min(300px, 80vw); } }

/* =========================================================
   v2 (Léna, 25/11/2026) R45 : MODULES SERVICES (pages esport et sport)
   1. Les modules s'ouvrent au survol de la souris et se referment quand elle part (main.js) ;
      le grand bloc « Conception » (sport) reste fixe. Au clavier et au toucher : clic, comme avant.
   2. « En savoir plus » ouvre une fenêtre : carrousel de photos à gauche, description détaillée à droite.
   ========================================================= */
/* Fenêtre « En savoir plus » : gabarit de la fenêtre « Arche LED », photos en carrousel avec une seule flèche */
.ps-galerie > img { opacity: 0; transition: opacity .35s ease; }
.ps-galerie > img.is-active { opacity: 1; }
.ps-galerie { touch-action: pan-y; }
.ps-suivant { position: absolute; z-index: 1; right: 4.5%; bottom: 14%; padding: 0; border: 0; background: none; cursor: pointer; transition: transform var(--t); }
.pa-photo .ps-suivant img { position: static; display: block; width: 50px; height: 50px; clip-path: none; }
.ps-suivant:is(:hover, :focus-visible) { transform: translateY(-3px); }
.popup-service .pa-texte { line-height: 26px; }
/* Listes des modules ouverts (sport) : même puce que le bloc Conception */
.sp-acc-puces { padding-left: 0; }
.sp-acc-puces li { position: relative; padding-left: calc(29 * var(--u)); }
.sp-acc-puces li::before { content: ""; position: absolute; left: 0; top: .32em; width: calc(15 * var(--u)); height: calc(11 * var(--u)); background: var(--rouge); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
@media (max-width: 1024px) {
  .sp-acc-puces li { padding-left: 26px; }
  .sp-acc-puces li::before { width: 14px; height: 10px; }
}
@media (max-width: 767px) {
  .pa-photo .ps-suivant img { width: 40px; height: 40px; }
  .popup-service .pa-photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .ps-galerie > img { transition: none; } }
/* R46 : bouton TRY WITH US des fenêtres : au survol (fond lime), l'icône bulle passe en sombre comme le texte */
.pa-bouton .pa-bulle-survol { display: none; }
.pa-bouton:is(:hover, :focus-visible) .pa-bulle { display: none; }
.pa-bouton:is(:hover, :focus-visible) .pa-bulle-survol { display: block; }
.pa-bouton:focus-visible { background: var(--lime); color: var(--sombre); }
/* R47 : module ouvert (et bloc Conception) cliquable partout : ouvre sa fenêtre « En savoir plus » (main.js, [data-carte]) ; le « − » referme toujours */
:is(.esp-acc-ouvert, .sp-acc-ouvert, .sp-carte-conception)[data-carte] { cursor: pointer; }
/* R48 : liste « votre sujet » du pied : cartes beige à fin contour sombre (texte sombre) ; la carte survolée, active au clavier ou choisie
   passe en noir (texte lime). Mêmes couleurs sur les 3 pieds (lime, violet, orange). */
.s-pied .liste-sujet li { background: var(--clair); color: var(--sombre); box-shadow: inset 0 0 0 2px var(--sombre); } /* contour sombre : la liste passe par-dessus les champs beige */
.s-pied .liste-sujet li:is(.is-actif, :hover, [aria-selected="true"]) { background: var(--sombre); color: var(--lime); }
/* R49 : case de consentement du formulaire du pied
   – elle se coche visiblement (fond sombre, coche lime) ;
   – envoi sans l'avoir cochée : message d'erreur sous la case (main.js), qui disparaît dès qu'on coche. */
.rgpd { cursor: pointer; }
.rgpd input { width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin-top: calc(5 * var(--u)); cursor: pointer;
  background: var(--clair) no-repeat center / 85% 85%; transition: background-color var(--t); }
.rgpd input:checked { background-color: var(--sombre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.3l3.3 3.3L13.2 4.6' fill='none' stroke='%23E0FE07' stroke-width='2.8' stroke-linecap='square'/%3E%3C/svg%3E"); }
.rgpd input:focus-visible { outline-color: var(--sombre); }
.rgpd.is-erreur input { outline-color: var(--sombre); }
.rgpd-erreur { justify-self: start; width: max-content; max-width: 100%; margin: calc(12 * var(--u)) 0 0 calc(25 * var(--u)); padding: calc(9 * var(--u)) calc(22 * var(--u)) calc(7 * var(--u)) calc(14 * var(--u));
  background: var(--sombre); color: var(--lime); font-weight: 500; font-size: calc(17 * var(--u)); line-height: 1.3;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); animation: rgpd-erreur .25s ease-out; }
.rgpd-erreur[hidden] { display: none; }
@keyframes rgpd-erreur { from { opacity: 0; translate: 0 -6px; } }
@media (max-width: 1024px) {
  .rgpd input { width: 16px; height: 16px; margin-top: 4px; }
  .rgpd-erreur { margin: 12px 0 0 30px; padding: 8px 20px 6px 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .rgpd-erreur { animation: none; } }

/* =========================================================
   v2 (Léna, 25/11/2026) R50 : RESPONSIVE (tablette et téléphone)
   1. Bandeau fixe : dès qu'on a défilé, les carrés de l'en-tête (fixes) se posent sur un bandeau sombre
      avec le logo, au lieu de passer par-dessus les titres et les textes.
   2. Carte du monde sur téléphone : 900 px de large, elle défile au doigt (centrée sur l'Europe) ;
      la fiche d'un drapeau s'ouvre en bas de l'écran.
   ========================================================= */
.barre-logo { display: none; }
@media (max-width: 1024px) {
  :root { --barre-h: calc(24px * 2 + var(--carre)); }
  html { scroll-padding-top: calc(var(--barre-h) + 12px); }
  body::before { content: ""; position: fixed; z-index: 38; top: 0; left: 0; right: 0; height: var(--barre-h); background: var(--sombre);
    box-shadow: 0 3px 0 var(--lime); opacity: 0; visibility: hidden; translate: 0 -100%; transition: opacity var(--t), visibility var(--t), translate var(--t); pointer-events: none; }
  .barre-logo { display: flex; align-items: center; position: fixed; z-index: 39; left: var(--marge); top: 0; height: var(--barre-h);
    opacity: 0; visibility: hidden; translate: 0 -100%; transition: opacity var(--t), visibility var(--t), translate var(--t); }
  .barre-logo img { width: auto; height: 40px; }
  html.a-defile body::before, html.a-defile .barre-logo { opacity: 1; visibility: visible; translate: 0 0; }
}
@media (max-width: 767px) {
  :root { --barre-h: calc(16px * 2 + var(--carre)); }
  .barre-logo img { height: 32px; }
  /* Carte du monde */
  .carte-defile { margin: 0 calc(-1 * var(--marge)); padding: 0 var(--marge) 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .carte-defile::-webkit-scrollbar { display: none; }
  .carte-defile .carte-monde { width: 900px; }
  .carte-aide { margin: 10px 0 0; font-size: 14px; text-align: center; color: var(--sombre); opacity: .75; }
  .drapeau-fiche { position: fixed; z-index: 120; left: 12px; right: 12px; top: auto; bottom: 16px; width: auto; max-width: none; translate: 0 16px; }
  .drapeau-point:is(:hover, :focus-within, .is-ouvert) .drapeau-fiche,
  .drapeau-point:is(.vers-gauche, .vers-droite):is(:hover, :focus-within, .is-ouvert) .drapeau-fiche { translate: 0 0; }
  .drapeau-point.vers-gauche .drapeau-fiche, .drapeau-point.vers-droite .drapeau-fiche { left: 12px; right: 12px; }
  .drapeau-fiche::after { display: none; }
}
@media (min-width: 768px) { .carte-aide { display: none; } }
@media (prefers-reduced-motion: reduce) { body::before, .barre-logo { transition: none; } }

/* =========================================================
   v2 (Léna, 25/11/2026) R51 : retouches téléphone
   1. Carte du monde : légende retirée (les fiches disent déjà « sur place » / « régie à distance »).
   2. Cartes de l'agenda : plus d'air entre les cartes, « + » rentré dans le coin.
   3. Cartes Esport / Sport des pages esport et sport : la carte de la page est la grande (4/5),
      l'autre un bandeau (16/9) ; cadre et étiquette en CSS comme sur l'accueil.
   ========================================================= */
@media (max-width: 767px) {
  .carte-legende { display: none; }
  .page .agenda-cartes { gap: 20px; }
  .page .agenda-cartes .evt-plus { right: 18px; bottom: 14px; }

  .page:is(.page-sport, .page-esport) .u-cartes .u-carte { --cadre: var(--clair); position: relative; overflow: hidden; height: auto; background: var(--cadre);
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .page:is(.page-sport, .page-esport) .u-cartes .u-ouvert { --cadre: var(--lime); aspect-ratio: 4 / 5; }
  .page:is(.page-sport, .page-esport) .u-cartes .u-ferme { aspect-ratio: 16 / 9; }
  .page:is(.page-sport, .page-esport) .u-cartes .u-carte > :is(.deco, .u-alt) { display: none; }
  .page:is(.page-sport, .page-esport) .u-cartes .u-carte > :is(.esp-carte-photo, .sp-carte-photo) { position: absolute; left: 5px; top: 5px; width: calc(100% - 10px); height: calc(100% - 10px);
    margin: 0; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .page:is(.page-sport, .page-esport) .u-cartes .u-carte > :is(.esp-carte-titre, .sp-carte-titre) { position: absolute; left: auto; top: auto; right: 18px; bottom: 26px;
    display: flex; align-items: center; height: 46px; padding: 3px 58px 0 38px; background: var(--cadre); clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%);
    font-size: 22px; line-height: 1; color: var(--sombre); text-transform: uppercase; white-space: nowrap; transform: none; }
  .page:is(.page-sport, .page-esport) .u-cartes .u-carte > :is(.esp-carte-titre, .sp-carte-titre)::after { content: ""; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px;
    translate: 0 -50%; background: url("assets/img/picto-plus-sombre.svg") center / contain no-repeat; }
  .page:is(.page-sport, .page-esport) .u-cartes .titre-long { display: none; }
  .page:is(.page-sport, .page-esport) .u-cartes .u-ouvert .titre-long { display: inline; } /* grande carte : « ESPORT & GAMING » en entier */
}

/* =========================================================
   v2 (Léna, 26/11/2026) R52 : GRANDS ÉCRANS (plus de 1 575 px de large)
   L'ouverture était plafonnée à 1 370 u (1 575 px) : sur un grand écran, la photo restait au centre,
   presque carrée, avec de grandes bandes noires. La photo prend maintenant toute la largeur de l'écran
   (même marge que la maquette : 50 u à gauche, 51 u à droite) ; logo, carrés de l'en-tête, TRY WITH US
   et flèche suivent ses coins. Jusqu'à 1 575 px de large, rien ne change (--deborde = 0).
   ========================================================= */
@media (min-width: 1025px) {
  .page :is(.s-hero, .sp-hero) { --deborde: max(0px, calc((100vw - 1370 * var(--u)) / 2)); }
  .page :is(.hero-showreel img, .sp-hero-img) { width: calc(var(--photo-l) + 2 * var(--deborde)); margin-left: calc(-1 * var(--deborde)); }
  .page :is(.s-hero, .sp-hero) .hero-cadre::after { left: calc(var(--photo-x) - var(--deborde)); width: calc(var(--photo-l) + 2 * var(--deborde)); }
  .page :is(.s-hero, .sp-hero) .hero-try { left: calc(50 * var(--u) - var(--deborde)); }
  .page .sp-hero .sp-hero-try { left: calc(46 * var(--u) - var(--deborde)); }
  .page :is(.s-hero, .sp-hero) .entete { left: calc(-1 * var(--deborde)); width: calc(1370 * var(--u) + 2 * var(--deborde)); }
  /* Carrés de l'en-tête et flèche « faire défiler » : à 84 u du bord droit de l'écran, sur toutes les pages */
  .entete-boutons, .fleche-defiler { right: calc(84 * var(--u-plein)); }
}
/* R52 (suite) : la bande de logos qui défile suit la photo : toute la largeur de l'écran sur grand écran */
@media (min-width: 1025px) {
  .page :is(.s-hero, .sp-hero) :is(.hero-logos, .esp-logos, .sp-logos) { margin-left: calc(-1 * var(--deborde)); margin-right: calc(-1 * var(--deborde)); }
}
