/* ==========================================================================
   SEMEA — feuille de style
   Version 1.7.0 — piste A "institutionnel", affichage clair ou sombre
   ========================================================================== */

/* ---------- Polices (auto-hébergées, aucune requête vers Google) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ---------- Variables ----------
   Affichage clair par défaut. L'affichage sombre redéfinit les mêmes variables
   (voir :root[data-theme="sombre"] plus bas) ; l'attribut data-theme est posé
   par le script de includes/header.php. --bleu reste la couleur SEMEA des
   bandeaux, du logo et des fonds de section, dans les deux affichages. */
:root {
  --bleu: #101080;
  --bleu-fonce: #0B0B5C;
  --accent: #101080;
  --bouton: #101080;
  --fond: #FFFFFF;
  --carte: #FFFFFF;
  --nom: #111111;
  --bordure-ctl: #C9CCE0;
  --bordure-fine: #EEF0F6;
  --trait: #C9CCEB;
  --photo-vide: #E7E8F7;
  --separateur: #9A9DB5;
  --ombre-menu: 0 18px 40px rgba(14, 14, 58, 0.16);
  color-scheme: light;
  --encre: #14143A;
  --titre: #0E0E3A;
  --texte-2: #4A4E69;
  --texte-3: #6A6E8A;
  --fond-teinte: #F4F5FB;
  --bordure: #E1E3F0;
  --bordure-legere: #E6E8F3;
  --icone-fond: #EEEFFA;
  --pied: #0B0B3B;
  --police-titre: "Archivo", "Helvetica Neue", sans-serif;
  --police-texte: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --rayon: 12px;
  --ombre-survol: 0 14px 30px rgba(16, 16, 128, 0.10);
  --survol-levee: translateY(-4px);
  --survol-duree: .22s;
  --hauteur-entete: 84px;
}

/* Affichage sombre (bleu nuit) */
:root[data-theme="sombre"] {
  --bleu-fonce: #C9CCFF;
  --accent: #A9AEFF;
  --bouton: #3D43D6;
  --fond: #0C0D22;
  --fond-teinte: #121430;
  --carte: #171A3C;
  --encre: #E4E6F4;
  --titre: #FFFFFF;
  --texte-2: #B3B7D6;
  --texte-3: #9A9EC0;
  --nom: #FFFFFF;
  --bordure: #2B2F5E;
  --bordure-legere: #22264F;
  --bordure-ctl: #3A3F75;
  --bordure-fine: #22264F;
  --icone-fond: #1F2356;
  --pied: #07081A;
  --trait: #2E3366;
  --photo-vide: #1F2356;
  --separateur: #5A5F8A;
  --ombre-survol: 0 14px 30px rgba(0, 0, 0, 0.35);
  --ombre-menu: 0 18px 40px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--police-texte); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--hauteur-entete) + 16px); }
h1, h2, h3 { text-wrap: balance; }

.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--bleu); color: #FFFFFF; font-weight: 600; border-radius: 8px; text-decoration: none; }
.lien-evitement:focus { top: 16px; color: #FFFFFF; }

/* ---------- Typographie commune ---------- */
.surtitre { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.surtitre--gris { color: var(--texte-2); }
.surtitre--clair { color: #C7CBF6; }
.titre-section { margin: 0 0 14px; font-family: var(--police-titre); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; color: var(--titre); }
.titre-section--clair { color: #FFFFFF; }
.chapo { margin: 0 0 44px; max-width: 640px; color: var(--texte-2); }
#solutions .chapo { max-width: none; } /* phrase d'introduction des solutions sur une seule ligne */

/* ---------- Boutons ---------- */
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 8px; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .18s ease, filter .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.bouton:active { transform: translateY(0) scale(.98); }
.bouton--plein { background: var(--bouton); color: #FFFFFF; border: 0; }
.bouton--plein:hover { color: #FFFFFF; filter: brightness(1.35); transform: translateY(-2px); }
.bouton--contour { background: transparent; color: var(--encre); border: 1.5px solid var(--encre); }
.bouton--contour:hover { background: var(--encre); color: var(--fond); transform: translateY(-2px); }
.bouton--clair { background: transparent; color: #FFFFFF; border: 1.5px solid #FFFFFF; }
.bouton--clair:hover { background: #FFFFFF; color: var(--bleu); transform: translateY(-2px); }
.bouton-rond { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bordure-ctl); border-radius: 50%; background: var(--carte); color: var(--encre); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.bouton-rond:hover { background: var(--bouton); border-color: var(--bouton); color: #FFFFFF; }
.bouton-rond--clair { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #FFFFFF; }
.bouton-rond--clair:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--bleu); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid var(--bordure-legere); }
.entete__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.entete__marque { display: flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; }
.entete__marque:hover { color: var(--encre); }
.entete__slogan { max-width: 170px; font-size: 14px; line-height: 1.3; color: var(--texte-2); }
.entete__menu { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bordure-ctl); border-radius: 8px; background: var(--carte); color: var(--encre); cursor: pointer; }
.entete__menu-fermer { display: none; }
.entete__actions { order: 2; display: flex; align-items: center; gap: 8px; }
.nav { order: 1; margin-left: auto; }
.nav__liste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 16px; font-weight: 600; }
.nav__lien { position: relative; display: inline-block; padding: 8px 0; color: var(--encre); text-decoration: none; transition: color .15s ease; }
.nav__lien::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__lien:hover, .nav__lien.is-actif { color: var(--accent); }
.nav__lien:hover::after, .nav__lien.is-actif::after { transform: scaleX(1); }

/* ---------- Choix de l'affichage (bouton rond de l'en-tête) ---------- */
.affichage { position: relative; }
.no-js .affichage { display: none; }
.affichage__bouton { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bordure-ctl); border-radius: 50%; background: var(--carte); color: var(--encre); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.affichage__bouton:hover, .affichage__bouton[aria-expanded="true"] { background: var(--bouton); border-color: var(--bouton); color: #FFFFFF; }
.affichage__icone { display: none; }
[data-affichage="clair"] .affichage__icone--clair,
[data-affichage="sombre"] .affichage__icone--sombre,
[data-affichage="auto"] .affichage__icone--auto,
[data-affichage="horaire"] .affichage__icone--horaire { display: inline-flex; }
.affichage__menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: min(290px, calc(100vw - 32px)); padding: 8px; background: var(--carte); border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre-menu); }
.affichage__menu[hidden] { display: none; }
.affichage__titre { margin: 4px 12px 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-3); }
.affichage__choix { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--encre); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s ease; }
.affichage__choix:hover, .affichage__choix[aria-checked="true"] { background: var(--icone-fond); }
.affichage__choix:focus-visible { outline-offset: 0; }
.affichage__choix-icone { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--icone-fond); color: var(--accent); }
.affichage__choix-texte { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.affichage__choix-nom { font-size: 15px; font-weight: 600; }
.affichage__choix-aide { font-size: 13px; color: var(--texte-2); }
.affichage__coche { display: none; color: var(--accent); }
.affichage__choix[aria-checked="true"] .affichage__coche { display: flex; }

/* ---------- Accueil : hero ---------- */
.hero { padding: 88px 0 80px; }
.hero__grille { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__texte { flex: 1 1 460px; min-width: 0; }
.hero__titre { margin: 0 0 22px; font-family: var(--police-titre); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--titre); }
.hero__intro { margin: 0 0 32px; max-width: 560px; font-size: 19px; color: var(--texte-2); }
.hero__visuel { flex: 1 1 420px; min-width: 0; }
.hero__visuel svg { display: block; width: 100%; height: auto; }
/* Schéma réseau : couleurs adaptées à l'affichage (le carré SEMEA reste bleu) */
.hero__visuel [stroke="#C9CCEB"] { stroke: var(--trait); }
.hero__noeuds { stroke: var(--accent); fill: var(--fond); }
.hero__visuel g[fill="#4A4E69"] { fill: var(--texte-2); }

/* ---------- Bande défilante ---------- */
.bande { padding: 40px 0 24px; background: var(--fond-teinte); border-top: 1px solid var(--bordure-legere); border-bottom: 1px solid var(--bordure-legere); }
.bande__entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.bande__entete .surtitre { margin: 0; }
.bande__controles { display: flex; gap: 8px; }
.bande__icone-lecture { display: none; }
[data-bande].is-paused .bande__icone-lecture { display: inline-flex; }
[data-bande].is-paused .bande__icone-pause { display: none; }
.bande__fenetre { overflow: hidden; padding: 8px 0 20px; touch-action: pan-y; }
.bande__deplacement { transition: transform .45s ease; }
.bande__deplacement.sans-transition { transition: none; }
.bande__piste { display: flex; gap: 24px; width: max-content; margin: 0; padding: 0 24px 0 0; list-style: none; animation: bande-defile 40s linear infinite; }
.bande__fenetre:hover .bande__piste,
.bande__fenetre:focus-within .bande__piste,
[data-bande].is-paused .bande__piste { animation-play-state: paused; }
@keyframes bande-defile { to { transform: translateX(-25%); } }
.bande__logo { flex: 0 0 260px; height: 84px; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: var(--carte); border: 1px solid var(--bordure); border-radius: 10px; color: var(--encre); transition: transform var(--survol-duree) ease, border-color var(--survol-duree) ease, box-shadow var(--survol-duree) ease; }
.bande__logo:hover { transform: var(--survol-levee); border-color: var(--accent); box-shadow: var(--ombre-survol); }
.bande__icone { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--icone-fond); color: var(--accent); transition: background-color .2s ease, color .2s ease; }
.bande__logo:hover .bande__icone { background: var(--bouton); color: #FFFFFF; }
.bande__nom { font-size: 15px; font-weight: 600; line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--serree { padding: 56px 0 96px; }
.section--teinte { background: var(--fond-teinte); border-top: 1px solid var(--bordure-legere); border-bottom: 1px solid var(--bordure-legere); }

/* ---------- Cartes ---------- */
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.grille-cartes--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.carte-solution { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--fond); border: 1px solid var(--bordure); border-radius: var(--rayon); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.carte-solution:hover { transform: var(--survol-levee); border-color: var(--accent); box-shadow: var(--ombre-survol); }
.carte-solution p { margin: 0; color: var(--texte-2); }
.carte-solution__icone { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: var(--icone-fond); color: var(--accent); transition: background-color .22s ease, color .22s ease; }
.carte-solution:hover .carte-solution__icone { background: var(--bouton); color: #FFFFFF; }
.carte-solution__titre { margin: 0; font-family: var(--police-titre); font-weight: 700; font-size: 21px; color: var(--titre); }

/* ---------- Partenaires technologiques (carrousel des marques) ---------- */
.partenaire { padding: 88px 0; background: var(--bleu); color: #FFFFFF; }
.partenaire :focus-visible, .appel :focus-visible, .pied :focus-visible { outline-color: #FFFFFF; }
.partenaire__titre { max-width: 860px; }
.partenaire__entete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 20px; }
.partenaire__texte { max-width: 640px; margin: 0; color: #E3E5FB; }
.marques__fenetre { margin-bottom: 24px; }
.marques { gap: 16px; padding-right: 16px; animation-duration: 48s; }
.marque { flex: 0 0 280px; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--rayon); transition: transform var(--survol-duree) ease, background-color var(--survol-duree) ease, border-color var(--survol-duree) ease; }
.marque:hover { transform: var(--survol-levee); background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }
.marque__logo { display: flex; align-items: center; height: 52px; margin: 0; }
.marque__logo img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.marque__nom { font-family: var(--police-titre); font-weight: 800; font-size: 30px; line-height: 1; color: #FFFFFF; } /* si le fichier du logo est absent */
.marque__trait { display: flex; align-items: center; gap: 10px; height: 16px; margin: 0; }
.marque__trait::before { content: ""; flex: none; width: 32px; height: 2px; background: rgba(255, 255, 255, 0.5); }
.marque__survol { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #C7CBF6; opacity: 0; transform: translateX(-6px); transition: opacity var(--survol-duree) ease, transform var(--survol-duree) ease; }
.marque:hover .marque__survol { opacity: 1; transform: none; }
@media (hover: none) { .marque__survol { opacity: 1; transform: none; } } /* écrans tactiles : nom toujours visible */
.marque__domaine { margin: 0; color: #E3E5FB; }
.partenaire .surtitre--clair + .liste-coches { margin-top: 16px; }
.liste-coches { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.liste-coches li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--rayon); transition: transform var(--survol-duree) ease, background-color var(--survol-duree) ease, border-color var(--survol-duree) ease; }
.liste-coches li:hover { transform: var(--survol-levee); background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }
.liste-coches__icone { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; transition: background-color var(--survol-duree) ease, color var(--survol-duree) ease; }
.liste-coches li:hover .liste-coches__icone { background: #FFFFFF; color: var(--bleu); }

/* ---------- Pourquoi SEMEA ---------- */
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; }
.atout { padding: 28px; background: var(--fond); border: 1px solid var(--bordure); border-radius: var(--rayon); transition: transform var(--survol-duree) ease, border-color var(--survol-duree) ease, box-shadow var(--survol-duree) ease; }
.atout:hover { transform: var(--survol-levee); border-color: var(--accent); box-shadow: var(--ombre-survol); }
.atout__numero { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 10px; background: var(--icone-fond); font-family: var(--police-titre); font-weight: 700; font-size: 16px; color: var(--accent); transition: background-color var(--survol-duree) ease, color var(--survol-duree) ease; }
.atout:hover .atout__numero { background: var(--bouton); color: #FFFFFF; }
.atout__titre { margin: 0 0 8px; font-family: var(--police-titre); font-weight: 700; font-size: 20px; color: var(--titre); }
.atout p { margin: 0; color: var(--texte-2); }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; background: var(--fond-teinte); border-top: 1px solid var(--bordure-legere); }
.contact__grille { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__infos { flex: 1 1 380px; min-width: 0; }
.contact__infos .chapo { margin-bottom: 32px; }
.fiche-contact { flex: 1 1 520px; min-width: 0; margin: 0; padding: 4px 28px; background: var(--carte); border: 1px solid var(--bordure); border-radius: var(--rayon); }
.fiche-contact__ligne { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--bordure-fine); }
.fiche-contact__ligne:last-child { border-bottom: 0; }
.fiche-contact__ligne:hover .fiche-contact__icone { background: var(--bouton); color: #FFFFFF; }
.fiche-contact__ligne > div { min-width: 0; }
.fiche-contact__icone { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--icone-fond); color: var(--accent); transition: background-color var(--survol-duree) ease, color var(--survol-duree) ease; }
.fiche-contact dt { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-3); }
.fiche-contact dd { margin: 2px 0 0; color: var(--encre); }
.fiche-contact__fort { font-family: var(--police-titre); font-weight: 700; font-size: 21px; overflow-wrap: anywhere; }
.fiche-contact a { color: var(--titre); text-decoration: none; }
.fiche-contact a:hover { color: var(--accent); text-decoration: underline; }
.fiche-contact__note { font-size: 15px; color: var(--texte-2); }

/* ---------- Pages intérieures ---------- */
.entete-page { padding: 56px 0 72px; background: var(--fond-teinte); border-bottom: 1px solid var(--bordure-legere); }
.entete-page--simple { padding: 48px 0 40px; }
.entete-page__grille { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.entete-page__texte { flex: 1 1 520px; min-width: 0; max-width: 860px; }
.entete-page__texte .hero__intro { margin-bottom: 0; }
.entete-page__titre { margin: 0 0 20px; font-family: var(--police-titre); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--titre); }
.entete-page--simple .entete-page__titre { margin-bottom: 0; }
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--texte-3); }
.fil-ariane li + li::before { content: "/"; margin-right: 8px; color: var(--separateur); }
.fil-ariane a { color: var(--texte-2); }

/* Présentation de l'entreprise (rubrique « Notre histoire ») */
.presentation { max-width: 820px; margin-top: 28px; padding-left: 28px; border-left: 3px solid var(--accent); }
.presentation p { margin: 0 0 18px; color: var(--texte-2); }
.presentation p:last-child { margin-bottom: 0; }

/* Président */
.president { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.president__carte { flex: 0 1 380px; min-width: 0; margin: 0; overflow: hidden; background: var(--carte); border: 1px solid var(--bordure); border-radius: var(--rayon); transition: transform var(--survol-duree) ease, border-color var(--survol-duree) ease, box-shadow var(--survol-duree) ease; }
.president__carte:hover { transform: var(--survol-levee); border-color: var(--accent); box-shadow: var(--ombre-survol); }
.president__photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.president__photo--vide { display: flex; align-items: center; justify-content: center; background: var(--photo-vide); }
.president__legende { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 24px; }
.president__nom { font-family: var(--police-titre); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--nom); }
.president__fonction { font-size: 14px; font-weight: 600; color: var(--accent); }
.president__texte { flex: 1 1 460px; min-width: 0; }
.president__texte > p:not(.surtitre) { max-width: 600px; margin: 0 0 16px; color: var(--texte-2); }
.president__texte .groupe-boutons { margin-top: 28px; }

/* Bandeau d'appel */
.appel { padding: 80px 0; background: var(--bleu); color: #FFFFFF; }
.appel__grille { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.appel__grille > div:first-child { flex: 1 1 520px; min-width: 0; }
.appel .titre-section { margin-bottom: 10px; }
.appel__texte { margin: 0; color: #E3E5FB; }

/* Pages légales et 404 */
.texte-legal { max-width: 760px; }
.texte-legal h2 { margin: 40px 0 12px; font-family: var(--police-titre); font-weight: 700; font-size: 22px; color: var(--titre); }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p { color: var(--texte-2); }
.introuvable { padding: 120px 0; }

/* ---------- Pied de page ---------- */
.pied { padding: 56px 0 28px; background: var(--pied); color: #D7DAF5; font-size: 15px; }
.pied__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #262A63; }
.pied__marque { display: flex; flex-direction: column; gap: 14px; }
.pied__marque p { margin: 0; }
.pied__titre { margin: 0 0 8px; font-weight: 600; color: #FFFFFF; }
.pied ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pied a { color: #D7DAF5; text-decoration: none; transition: color .15s ease; }
.pied a:hover { color: #FFFFFF; text-decoration: underline; }
.pied address { font-style: normal; line-height: 1.9; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; color: #AEB3DE; }
.pied__bas ul { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.pied__bas a { color: #AEB3DE; }

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  :root { --hauteur-entete: 74px; }
  .js .entete__menu { display: inline-flex; }
  .js .nav { display: none; flex-basis: 100%; order: 3; margin-left: 0; }
  .js .entete.is-ouvert .nav { display: block; }
  .js .entete.is-ouvert .entete__menu-ouvrir { display: none; }
  .js .entete.is-ouvert .entete__menu-fermer { display: inline-flex; }
  .js .nav__liste { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .js .nav__lien { display: block; padding: 14px 0; border-top: 1px solid var(--bordure-legere); }
  .js .nav__lien::after { display: none; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .hero__intro { font-size: 17px; }
  .section { padding: 64px 0; }
  .section--serree { padding: 40px 0 64px; }
  .partenaire, .contact, .appel { padding: 64px 0; }
  .bouton { width: 100%; }
  .entete__slogan { display: none; }
  .presentation { padding-left: 20px; }
  .fiche-contact { padding: 4px 20px; }
  .fiche-contact__fort { font-size: 18px; }
  .js .affichage__menu { right: -52px; } /* aligné sur le bord droit, bouton Menu compris */
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .bande__piste { animation: none; }
  .bande__pause { display: none; }
}
