/* =========================================================
   Nexora Digital : feuille de style
   Tous les réglages visuels sont dans :root ci-dessous.
   Pour changer une couleur, une police ou une vitesse,
   modifiez uniquement la valeur correspondante.
   ========================================================= */

/* ---------- Polices hébergées sur le site (dossier fonts) ----------
   Archivo Expanded (titres) et Inter (texte), licence SIL Open Font License.
   Aucun appel à Google : rien n'est transmis à un tiers. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Couleurs (charte cobalt) */
  --fond: #fbfaf8;            /* fond principal, blanc cassé */
  --surface: #ffffff;         /* cartes et surfaces */
  --encre: #14161f;           /* texte principal */
  --gris-texte: #5f6170;      /* texte secondaire */
  --cobalt: #3b3fe4;          /* accent principal */
  --cobalt-fonce: #2e31c4;    /* survol des boutons cobalt */
  --bleu-clair: #e3e4ff;      /* texte secondaire sur cobalt, fonds teintés */
  --gris-700: #3a3c4a;
  --gris-300: #b8bac6;
  --gris-200: #e4e4ea;        /* bordures fines */
  --gris-100: #f0f0f4;

  /* Polices */
  --police-titre: "Archivo", "Arial Black", system-ui, sans-serif;
  --police-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --largeur-titre: 125%;      /* Archivo Expanded */

  /* Tailles de texte (s'adaptent à l'écran) */
  --taille-xs: 0.8125rem;
  --taille-s: 0.9375rem;
  --taille-m: 1.0625rem;
  --taille-l: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --taille-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --taille-xxl: clamp(1.875rem, 1.1rem + 3.8vw, 4.25rem); /* max 68 px : « professionnel » tient dans la colonne du hero */

  /* Espacements */
  --espace-1: 0.25rem;
  --espace-2: 0.5rem;
  --espace-3: 0.75rem;
  --espace-4: 1rem;
  --espace-5: 1.5rem;
  --espace-6: 2rem;
  --espace-7: 3rem;
  --espace-8: 4.5rem;
  --espace-9: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gouttiere: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --largeur-max: 1200px;

  /* Arrondis */
  --arrondi-s: 6px;
  --arrondi-m: 12px;
  --arrondi-l: 20px;
  --arrondi-rond: 999px;

  /* Bordures et ombres */
  --bordure: 1px solid var(--gris-200);
  --ombre-legere: 0 1px 2px rgb(14 14 14 / 0.04), 0 2px 8px rgb(14 14 14 / 0.04);
  --ombre-survol: 0 2px 4px rgb(14 14 14 / 0.05), 0 12px 28px rgb(14 14 14 / 0.08);

  /* Vitesses d'animation */
  --vitesse-rapide: 150ms;
  --vitesse-normale: 250ms;
  --vitesse-lente: 500ms;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* En-tête */
  --entete-h: 80px;
  --entete-h-compact: 64px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h-compact) + var(--espace-4));
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: var(--taille-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-ouvert { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }

/* Icônes (dessins définis une seule fois en haut de chaque page) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 var(--espace-4);
  text-wrap: balance;
  /* Jamais de mot coupé dans un titre : les tailles sont réglées pour que le mot le plus long tienne */
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
h1 { font-size: var(--taille-xxl); font-weight: 800; }
h2 { font-size: var(--taille-xl); }
h3 { font-size: var(--taille-l); }

p { margin: 0 0 var(--espace-4); }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt); }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: var(--arrondi-s);
}

::selection { background: var(--cobalt); color: var(--surface); }

.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Champ « À COMPLÉTER » : volontairement très visible */
.a-completer {
  background: #fff3a8;
  color: var(--encre);
  padding: 0 0.3em;
  border-radius: 3px;
  font-weight: 600;
}

/* Lien d'évitement pour la navigation au clavier */
.lien-evitement {
  position: fixed;
  top: var(--espace-2);
  left: var(--espace-2);
  z-index: 100;
  padding: var(--espace-2) var(--espace-4);
  background: var(--cobalt);
  color: var(--surface);
  border-radius: var(--arrondi-s);
  transform: translateY(-200%);
  transition: transform var(--vitesse-rapide) var(--courbe);
}
.lien-evitement:focus { transform: none; color: var(--surface); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--espace-2);
  min-height: 48px;
  padding: 0 var(--espace-5);
  border: 1px solid transparent;
  border-radius: var(--arrondi-rond);
  font-family: var(--police-texte);
  font-size: var(--taille-s);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--vitesse-normale) var(--courbe),
    color var(--vitesse-normale) var(--courbe),
    border-color var(--vitesse-normale) var(--courbe),
    transform var(--vitesse-normale) var(--courbe),
    box-shadow var(--vitesse-normale) var(--courbe);
}
.bouton:hover { transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton svg { width: 18px; height: 18px; flex: none; }

.bouton--principal { background: var(--cobalt); color: var(--surface); }
.bouton--principal:hover { background: var(--cobalt-fonce); color: var(--surface); box-shadow: var(--ombre-survol); transform: translateY(-2px); }

.bouton--secondaire { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.bouton--secondaire:hover { background: var(--bleu-clair); color: var(--cobalt-fonce); border-color: var(--cobalt-fonce); }

.bouton--compact { min-height: 40px; padding: 0 var(--espace-4); }

/* ---------- Logo ---------- */
/* Wordmark NEXORA avec le X fendu, repris tel quel du site d'origine (jamais redessiné).
   Fichiers : assets/logo.svg (fonds clairs) et assets/logo-blanc.svg (fond cobalt). */
.logo {
  padding-block: var(--espace-3); /* zone cliquable confortable sur mobile */
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
/* Le logo est 16 fois plus large que haut : on règle sa hauteur selon l'écran */
.logo img { height: 20px; width: auto; transition: height var(--vitesse-normale) var(--courbe); }
.defile .entete .logo img { height: 18px; }
/* Pied de page : au plus toute la largeur disponible, sans déformation */
.pied .logo img { width: 340px; max-width: 100%; height: auto; }
/* Mobile : plus petit pour laisser la place au bouton du menu */
@media (max-width: 479px) { .entete .logo img, .defile .entete .logo img { height: 16px; } }
@media (max-width: 359px) { .entete .logo img, .defile .entete .logo img { height: 13px; } }
/* Petits ordinateurs : logo et espaces réduits pour garder le menu sur une seule ligne */
@media (min-width: 960px) and (max-width: 1099px) {
  .entete .logo img, .defile .entete .logo img { height: 16px; }
  .nav ul { gap: var(--espace-4); }
}

/* ---------- En-tête ---------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgb(251 250 248 / 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--vitesse-normale) var(--courbe), box-shadow var(--vitesse-normale) var(--courbe);
}
.entete__interieur {
  display: flex;
  align-items: center;
  gap: var(--espace-5);
  height: var(--entete-h);
  transition: height var(--vitesse-normale) var(--courbe);
}
.entete .logo { margin-right: auto; }

.defile .entete { border-bottom-color: var(--gris-200); box-shadow: var(--ombre-legere); }
.defile .entete__interieur { height: var(--entete-h-compact); }

.nav ul {
  display: flex;
  gap: var(--espace-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  white-space: nowrap;
  position: relative;
  font-size: var(--taille-s);
  font-weight: 500;
  text-decoration: none;
  color: var(--gris-700);
  padding-block: var(--espace-2);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--vitesse-normale) var(--courbe);
}
.nav a:hover { color: var(--encre); }
.nav a:hover::after { transform: scaleX(1); }

/* Bouton du menu mobile */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: calc(var(--espace-2) * -1);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--encre);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--vitesse-normale) var(--courbe), top var(--vitesse-normale) var(--courbe);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-ouvert .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Menu mobile */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: calc(var(--entete-h) + var(--espace-5)) var(--gouttiere) var(--espace-6);
  background: var(--fond);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity var(--vitesse-normale) var(--courbe),
    transform var(--vitesse-normale) var(--courbe),
    visibility 0s linear var(--vitesse-normale);
}
.defile .menu-mobile { padding-top: calc(var(--entete-h-compact) + var(--espace-5)); }
.menu-ouvert .menu-mobile {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.menu-mobile ul { margin: 0; padding: 0; list-style: none; }
.menu-mobile li { border-bottom: var(--bordure); }
.menu-mobile ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--espace-4) 0;
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}
.menu-mobile ul a::after { content: "→"; color: var(--gris-300); font-family: var(--police-texte); font-stretch: normal; }
.menu-mobile__bas { margin-top: auto; padding-top: var(--espace-6); display: grid; gap: var(--espace-3); }
.menu-mobile__bas .bouton { width: 100%; }
.menu-mobile__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace-3); }

@media (max-width: 959px) {
  .nav, .entete__cta { display: none; }
  .burger { display: block; }
}
@media (min-width: 960px) {
  .menu-mobile { display: none; }
}

/* ---------- Contenu principal ---------- */
main { padding-top: var(--entete-h); }

.section { padding-block: var(--espace-9); }

.surtitre {
  display: inline-block;
  margin-bottom: var(--espace-4);
  padding: var(--espace-1) var(--espace-3);
  border-radius: var(--arrondi-rond);
  background: var(--bleu-clair);
  font-size: var(--taille-xs);
  font-weight: 600;
  color: var(--cobalt);
}

.texte-secondaire { color: var(--gris-texte); }

/* ---------- Pied de page ---------- */
.pied {
  margin-top: 0;
  padding-block: var(--espace-8) var(--espace-6);
  background: var(--cobalt);
  color: var(--bleu-clair);
  font-size: var(--taille-s);
}
.pied a { color: var(--surface); text-decoration: none; }
.pied a:hover { color: var(--surface); text-decoration: underline; }
.pied a[href^="tel:"] { font-weight: 600; }
.pied .logo, .pied .logo:hover { color: var(--surface); text-decoration: none; }
.pied .a-completer { background: var(--surface); color: var(--cobalt); }

.pied__grille {
  display: grid;
  gap: var(--espace-7);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .pied__grille { grid-template-columns: 1.4fr 1fr 1fr; }
}
.pied__presentation p { max-width: 36ch; margin-top: var(--espace-4); }
.pied h2 {
  font-family: var(--police-texte);
  font-stretch: normal;
  font-size: var(--taille-s);
  font-weight: 600;
  color: var(--surface);
  margin-bottom: var(--espace-4);
}
.pied ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--espace-2); }
/* Liens du pied de page assez hauts pour le doigt (24 px minimum) */
.pied ul a,
.pied .lien-cookies { display: inline-block; padding-block: var(--espace-1); }
.pied__contact li { display: flex; gap: var(--espace-3); align-items: flex-start; }
.pied__contact svg { width: 18px; height: 18px; flex: none; margin-top: 0.2em; color: var(--bleu-clair); }

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-3) var(--espace-6);
  justify-content: space-between;
  margin-top: var(--espace-8);
  padding-top: var(--espace-5);
  border-top: 1px solid rgb(227 228 255 / 0.25);
  font-size: var(--taille-xs);
  color: var(--bleu-clair);
}
.pied__bas p { margin: 0; }

/* =========================================================
   PAGE D'ACCUEIL
   ========================================================= */

/* ---------- Éléments communs ---------- */
.section--teintee { background: color-mix(in srgb, var(--bleu-clair) 30%, var(--fond)); }

.entete-section { max-width: 720px; margin-bottom: var(--espace-7); }
.entete-section__intro { font-size: var(--taille-m); color: var(--gris-texte); max-width: 60ch; margin: 0; }

.carte {
  background: var(--surface);
  border: var(--bordure);
  border-radius: var(--arrondi-l);
  box-shadow: var(--ombre-legere);
  transition: transform var(--vitesse-normale) var(--courbe), box-shadow var(--vitesse-normale) var(--courbe), border-color var(--vitesse-normale) var(--courbe);
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-survol); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--espace-1) var(--espace-3);
  border-radius: var(--arrondi-rond);
  background: var(--bleu-clair);
  color: var(--cobalt);
  font-size: var(--taille-xs);
  font-weight: 600;
  white-space: nowrap;
}

.liste-icones { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--espace-3); }
.liste-icones li { display: flex; gap: var(--espace-3); align-items: flex-start; }
.liste-icones__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 0.15em;
  border-radius: var(--arrondi-rond);
}
.liste-icones__icone svg { width: 14px; height: 14px; stroke-width: 2.4; }
.liste-icones--coche .liste-icones__icone { background: var(--bleu-clair); color: var(--cobalt); }
.liste-icones--croix .liste-icones__icone { background: var(--gris-200); color: var(--gris-texte); }


/* Boutons posés sur le bleu cobalt */
.bouton--blanc { background: var(--surface); color: var(--cobalt); }
.bouton--blanc:hover { background: var(--bleu-clair); color: var(--cobalt-fonce); box-shadow: var(--ombre-survol); transform: translateY(-2px); }
.bouton--sur-cobalt { background: transparent; color: var(--surface); border-color: rgb(227 228 255 / 0.45); }
.bouton--sur-cobalt:hover { background: rgb(255 255 255 / 0.12); color: var(--surface); border-color: var(--surface); }

/* ---------- Apparitions au scroll ---------- */
.js .apparait,
.js .apparait-liste > * {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity var(--vitesse-lente) var(--courbe) var(--delai, 0ms),
    translate var(--vitesse-lente) var(--courbe) var(--delai, 0ms),
    transform var(--vitesse-normale) var(--courbe),
    box-shadow var(--vitesse-normale) var(--courbe),
    border-color var(--vitesse-normale) var(--courbe);
}
.js .apparait.visible,
.js .apparait-liste.visible > * { opacity: 1; translate: none; }

/* ---------- 1. Hero ---------- */
.hero { padding-block: var(--espace-7) var(--espace-8); }
.hero__grille { display: grid; gap: var(--espace-7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding-block: var(--espace-8) var(--espace-9); }
  .hero__grille { grid-template-columns: 1.15fr 0.85fr; gap: var(--espace-8); }
}
.hero h1 { margin-bottom: var(--espace-5); }
.hero h1 .accent { color: var(--cobalt); }
.hero__sous-titre { font-size: var(--taille-l); line-height: 1.5; color: var(--gris-texte); max-width: 46ch; margin-bottom: var(--espace-6); }
.hero__arguments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-3);
  margin: 0 0 var(--espace-6);
  padding: 0;
  list-style: none;
}
.hero__arguments li {
  display: inline-flex;
  align-items: center;
  gap: var(--espace-2);
  padding: var(--espace-2) var(--espace-4) var(--espace-2) var(--espace-2);
  border: var(--bordure);
  border-radius: var(--arrondi-rond);
  background: var(--surface);
  font-size: var(--taille-s);
  font-weight: 500;
}
.hero__icone { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--arrondi-rond); background: var(--bleu-clair); color: var(--cobalt); }
.hero__icone svg { width: 16px; height: 16px; }
.hero__boutons { display: flex; flex-wrap: wrap; gap: var(--espace-3); }
@media (max-width: 479px) {
  .hero__boutons .bouton { flex: 1 1 100%; }
}

/* Visuel abstrait d'écrans */
.hero__visuel { max-width: 520px; width: 100%; margin-inline: auto; }
.ecrans { position: relative; aspect-ratio: 6 / 5; }
.ecran {
  position: absolute;
  background: var(--surface);
  border: var(--bordure);
  box-shadow: var(--ombre-survol);
  overflow: hidden;
}
.ecran--bureau { inset: 0 14% 12% 0; border-radius: var(--arrondi-l); }
.ecran--mobile { right: 0; bottom: 0; width: 31%; aspect-ratio: 9 / 18; border-radius: 22px; border-width: 5px; border-color: var(--encre); }
.ecran__barre { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: var(--bordure); }
.ecran__barre i { width: 8px; height: 8px; border-radius: 50%; background: var(--gris-200); }
.ecran__barre span { margin-left: 10px; height: 10px; flex: 0 1 45%; border-radius: var(--arrondi-rond); background: var(--gris-100); }
.ecran__page { display: flex; flex-direction: column; gap: 9px; padding: 7% 8%; }
.ecran--mobile .ecran__page { padding: 16% 10%; gap: 7px; }
.m-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 8%; }
.m-nav b { width: 22%; height: 10px; border-radius: 4px; background: var(--encre); }
.m-nav span { width: 9%; height: 6px; border-radius: 4px; background: var(--gris-200); }
.m-nav b + span { margin-left: auto; }
.m-nav em { width: 16%; height: 14px; border-radius: var(--arrondi-rond); background: var(--cobalt); }
.m-nav--mobile b { width: 40%; height: 8px; }
.m-nav--mobile span { width: 18%; height: 8px; }
.m-l { display: block; height: 8px; border-radius: 4px; background: var(--gris-100); }
.m-l--titre { height: 14px; width: 82%; background: var(--encre); }
.m-l--court { width: 55%; background: var(--cobalt); }
.m-l--moyen { width: 70%; }
.ecran--mobile .m-l--titre { height: 9px; }
.m-hero { display: flex; flex-direction: column; gap: 9px; margin-bottom: 8%; }
.m-hero em, .ecran--mobile em { display: block; width: 30%; height: 18px; margin-top: 6px; border-radius: var(--arrondi-rond); background: var(--cobalt); }
.ecran--mobile em { width: 60%; height: 14px; }
.m-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-cartes span { height: 64px; border-radius: 10px; border: var(--bordure); background: var(--fond); }
.m-fort { position: relative; background: var(--cobalt) !important; border-color: var(--cobalt) !important; }
.m-fort i { position: absolute; left: 14%; right: 30%; bottom: 18%; height: 8px; border-radius: 4px; background: var(--surface); }
.m-fort--mobile { display: block; height: 52px; margin-top: 10px; border-radius: 10px; }

/* ---------- 2. Pour qui : bandeau défilant ---------- */
.metiers { padding-block: var(--espace-7); border-block: var(--bordure); background: var(--surface); overflow: hidden; }
.metiers__titre {
  font-family: var(--police-texte);
  font-stretch: normal;
  font-size: var(--taille-s);
  font-weight: 500;
  color: var(--gris-texte);
  text-align: center;
  margin-bottom: var(--espace-5);
}
.metiers__fenetre {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.metiers__piste { display: flex; width: max-content; animation: defilement 50s linear infinite; }
.metiers__fenetre:hover .metiers__piste { animation-play-state: paused; }
.metiers__liste { display: flex; margin: 0; padding: 0; list-style: none; }
.metiers__liste li {
  display: flex;
  align-items: center;
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 700;
  font-size: var(--taille-l);
  white-space: nowrap;
  padding-right: var(--espace-6);
}
.metiers__liste li::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: var(--espace-6);
  border-radius: 50%;
  background: var(--cobalt);
}
@keyframes defilement { to { transform: translateX(-50%); } }

/* ---------- 3. Pourquoi moi ---------- */
.deux-colonnes { display: grid; gap: var(--espace-5); }
@media (min-width: 800px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } }
.colonne { padding: var(--espace-6); border-radius: var(--arrondi-l); }
.colonne h3 { margin-bottom: var(--espace-5); }
.colonne--eviter { background: var(--gris-100); color: var(--gris-700); }
.colonne--eviter .liste-icones { color: var(--gris-texte); }
.colonne--engagements { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt), var(--ombre-legere); }
.colonne--engagements:hover { box-shadow: 0 0 0 1px var(--cobalt), var(--ombre-survol); }
.colonne--engagements .liste-icones { font-weight: 500; }

/* ---------- 4. Méthode ---------- */
.etapes { display: grid; gap: var(--espace-5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape { padding: var(--espace-6); display: flex; flex-direction: column; }
.etape__numero {
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--cobalt);
  margin-bottom: var(--espace-5);
}
.etape h3 { font-size: 1.25rem; margin-bottom: var(--espace-2); }
.etape > p { color: var(--gris-texte); font-size: var(--taille-s); }
.jalons { margin: auto 0 0; padding: var(--espace-4) 0 0; list-style: none; display: grid; gap: var(--espace-3); border-top: var(--bordure); font-size: var(--taille-s); }
.jalons li { display: flex; gap: var(--espace-3); align-items: flex-start; }
.case {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
  border: 1.5px solid var(--gris-300);
  border-radius: 6px;
  color: var(--surface);
  transition: background-color var(--vitesse-normale) var(--courbe), border-color var(--vitesse-normale) var(--courbe);
  transition-delay: calc(300ms + var(--j, 0) * 120ms);
}
.case svg { width: 13px; height: 13px; stroke-width: 3; transform: scale(0); transition: transform var(--vitesse-normale) var(--courbe); transition-delay: inherit; }
.visible .case, .no-js .case { background: var(--cobalt); border-color: var(--cobalt); }
.visible .case svg { transform: scale(1); }

/* ---------- 5. Tarifs : les 3 packs ---------- */
.formules { display: grid; gap: var(--espace-5); align-items: stretch; }
@media (min-width: 900px) { .formules { grid-template-columns: repeat(3, 1fr); } }
.formule { display: flex; flex-direction: column; padding: var(--espace-6); }
/* La promesse vient en premier, en grand */
.formule__promesse {
  margin: 0 0 var(--espace-2);
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 800;
  font-size: var(--taille-l);
  line-height: 1.15;
  color: var(--encre);
}
.formule h3 { margin: 0 0 var(--espace-5); font-family: var(--police-texte); font-stretch: normal; font-size: var(--taille-s); font-weight: 600; letter-spacing: 0; color: var(--gris-texte); }
.formule__prix {
  margin: 0;
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem);
  line-height: 1;
  color: var(--cobalt);
}
.formule__a-partir { display: block; margin-bottom: var(--espace-2); font-family: var(--police-texte); font-stretch: normal; font-size: var(--taille-s); font-weight: 500; color: var(--gris-texte); }
.formule__delai { margin: var(--espace-3) 0 var(--espace-5); font-size: var(--taille-s); font-weight: 500; }
.formule__bouton { width: 100%; }
.formule__compris { margin-top: var(--espace-5); padding-top: var(--espace-5); border-top: var(--bordure); font-size: var(--taille-s); }
.formule__titre-liste { font-weight: 600; margin-bottom: var(--espace-3); }
.formule__reprend { margin-bottom: var(--espace-3); font-weight: 600; color: var(--cobalt); font-size: var(--taille-s); }
.formule__note { margin: var(--espace-4) 0 0; font-size: var(--taille-xs); color: var(--gris-texte); }

/* Pack mis en avant : grand bloc cobalt, texte blanc */
.formule--forte { background: var(--cobalt); border-color: var(--cobalt); color: var(--surface); }
.formule--forte .formule__promesse,
.formule--forte .formule__prix,
.formule--forte .formule__reprend { color: var(--surface); }
.formule--forte h3,
.formule--forte .formule__a-partir,
.formule--forte .formule__note { color: var(--bleu-clair); }
.formule--forte .formule__compris { border-top-color: rgb(227 228 255 / 0.3); }
.formule--forte .liste-icones__icone { background: rgb(255 255 255 / 0.16); color: var(--surface); }
@media (min-width: 900px) { .formule--forte { margin-block: calc(var(--espace-4) * -1); padding-block: calc(var(--espace-6) + var(--espace-4)); } }

/* Lignes sous les cartes */
.tarifs__notes { margin-top: var(--espace-6); display: grid; gap: var(--espace-2); font-size: var(--taille-s); color: var(--gris-texte); }
.tarifs__notes p { margin: 0; }
.tarifs__notes strong { color: var(--encre); font-weight: 600; }

/* ---------- Après votre pack ---------- */
.apres { margin-top: var(--espace-9); }
.apres__entete { max-width: 680px; margin-bottom: var(--espace-6); }
.apres__entete h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3); margin-bottom: var(--espace-2); font-size: var(--taille-xl); }
.apres__entete p { color: var(--gris-texte); margin: 0; }
.services { display: grid; gap: var(--espace-4); }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: flex; flex-direction: column; padding: var(--espace-6); }
.service h4 { font-size: var(--taille-l); margin-bottom: var(--espace-4); }
.service__prix { margin: 0 0 var(--espace-4); padding: 0; list-style: none; display: grid; gap: var(--espace-2); }
.service__prix li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--espace-1) var(--espace-3); }
.service__montant { font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-weight: 800; font-size: 1.75rem; line-height: 1.1; color: var(--cobalt); }
.service__montant small { font-family: var(--police-texte); font-stretch: normal; font-size: var(--taille-s); font-weight: 500; color: var(--gris-texte); }
.service__detail { font-size: var(--taille-s); color: var(--gris-texte); }
.service > p { font-size: var(--taille-s); color: var(--gris-700); }
.service .bouton { margin-top: auto; align-self: flex-start; }

.maintenance { margin-top: var(--espace-7); }
.maintenance__entete { max-width: 640px; margin-bottom: var(--espace-5); }
.maintenance__entete h4 { font-size: var(--taille-l); margin-bottom: var(--espace-2); }
.maintenance__entete p { color: var(--gris-texte); margin: 0; }
.forfaits { display: grid; gap: var(--espace-4); }
@media (min-width: 720px) { .forfaits { grid-template-columns: repeat(3, 1fr); } }
.forfait { padding: var(--espace-5); font-size: var(--taille-s); }
.forfait h5 { font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-size: var(--taille-m); font-weight: 700; margin: 0 0 var(--espace-2); }
.forfait__prix {
  font-family: var(--police-titre);
  font-stretch: var(--largeur-titre);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--cobalt);
  margin-bottom: var(--espace-4);
}
.forfait__note { margin: var(--espace-4) 0 0; padding-top: var(--espace-3); border-top: var(--bordure); font-size: var(--taille-xs); color: var(--gris-texte); }
.forfait__prix span { font-family: var(--police-texte); font-stretch: normal; font-size: var(--taille-s); font-weight: 500; color: var(--gris-texte); margin-left: 2px; }

/* ---------- Témoignages (masqués tant qu'il n'y a pas d'avis) ---------- */
.temoignages { display: grid; gap: var(--espace-5); }
@media (min-width: 800px) { .temoignages { grid-template-columns: repeat(3, 1fr); } }
.temoignage { margin: 0; padding: var(--espace-6); }
.temoignage blockquote { margin: 0 0 var(--espace-4); }
.temoignage figcaption { display: grid; font-size: var(--taille-s); color: var(--gris-texte); }
.temoignage strong { color: var(--encre); }

/* ---------- 6. FAQ ---------- */
.faq__grille { display: grid; gap: var(--espace-5); }
@media (min-width: 1000px) {
  .faq__grille { grid-template-columns: 0.8fr 1.2fr; gap: var(--espace-8); align-items: start; }
  .faq__grille .entete-section { position: sticky; top: calc(var(--entete-h-compact) + var(--espace-6)); }
}
.faq__onglets { display: none; flex-wrap: wrap; gap: var(--espace-2); margin-bottom: var(--espace-5); }
.js .faq__onglets { display: flex; }
/* Sans JavaScript : les 3 thèmes s'affichent l'un sous l'autre, avec leur nom */
.faq__theme { margin: 0; padding-top: var(--espace-5); font-weight: 600; color: var(--cobalt); }
.js .faq__theme { display: none; }
html:not(.js) .faq__panneau + .faq__panneau { margin-top: var(--espace-5); }
html:not(.js) .burger { display: none; }
.onglet {
  min-height: 44px;
  padding: 0 var(--espace-4);
  border: var(--bordure);
  border-radius: var(--arrondi-rond);
  background: var(--surface);
  color: var(--encre);
  font: inherit;
  font-size: var(--taille-s);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--vitesse-normale) var(--courbe), color var(--vitesse-normale) var(--courbe), border-color var(--vitesse-normale) var(--courbe);
}
.onglet:hover { border-color: var(--cobalt); color: var(--cobalt); }
.onglet[aria-selected="true"] { background: var(--cobalt); border-color: var(--cobalt); color: var(--surface); }
.faq__panneau { background: var(--surface); border: var(--bordure); border-radius: var(--arrondi-l); padding: 0 var(--espace-5); box-shadow: var(--ombre-legere); }
.faq__panneau:not([hidden]) { animation: fondu var(--vitesse-normale) var(--courbe); }
@keyframes fondu { from { opacity: 0; translate: 0 6px; } }
.question + .question { border-top: var(--bordure); }
.question h3 { margin: 0; font-family: var(--police-texte); font-stretch: normal; font-size: var(--taille-m); font-weight: 600; letter-spacing: 0; line-height: 1.4; hyphens: manual; }
.question__bouton {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--espace-4);
  padding: var(--espace-5) 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.question__bouton:hover { color: var(--cobalt); }
.question__icone { position: relative; flex: none; width: 28px; height: 28px; border-radius: var(--arrondi-rond); background: var(--bleu-clair); }
.question__icone::before,
.question__icone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--cobalt);
  transition: transform var(--vitesse-normale) var(--courbe);
}
.question__icone::after { transform: rotate(90deg); }
.est-ouverte .question__icone::after { transform: rotate(0deg); }
/* Les réponses ne se replient qu'avec JavaScript : sans lui, tout reste lisible */
.question__reponse { display: grid; }
.js .question__reponse { grid-template-rows: 0fr; transition: grid-template-rows var(--vitesse-normale) var(--courbe); }
.js .question__reponse > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear var(--vitesse-normale); }
.js .est-ouverte .question__reponse { grid-template-rows: 1fr; }
.js .est-ouverte .question__reponse > div { visibility: visible; transition-delay: 0s; }
html:not(.js) .question__icone { display: none; }
html:not(.js) .question__bouton { cursor: default; padding-bottom: var(--espace-3); }
.question__reponse p { margin: 0; padding: 0 0 var(--espace-5); color: var(--gris-700); }
@media (min-width: 600px) { .question__reponse p { padding-right: var(--espace-7); } }
.question__reponse strong { color: var(--encre); }

/* ---------- 7. Vous préférez en parler ? ---------- */
.parler { padding-block: var(--espace-8) 0; }
.parler__bloc {
  display: grid;
  gap: var(--espace-6);
  padding: var(--espace-7) var(--espace-6);
  border-radius: 28px;
  background: var(--cobalt);
  color: var(--surface);
}
@media (min-width: 900px) {
  .parler__bloc { grid-template-columns: 1fr auto; align-items: center; padding: var(--espace-8); }
}
.parler__texte h2 { color: var(--surface); margin-bottom: var(--espace-3); }
.parler__texte p { margin: 0; color: var(--bleu-clair); max-width: 46ch; }
.parler__boutons { display: flex; flex-wrap: wrap; gap: var(--espace-3); }
@media (max-width: 599px) { .parler__boutons .bouton { flex: 1 1 100%; } }

/* ---------- 8. Contact ---------- */
.contact__grille { display: grid; gap: var(--espace-7); }
@media (min-width: 960px) { .contact__grille { grid-template-columns: 0.85fr 1.15fr; gap: var(--espace-8); align-items: start; } }
.contact__intro .entete-section { margin-bottom: var(--espace-6); }
.contact__sous-titre { font-size: var(--taille-m); margin-bottom: var(--espace-4); }
.contact-direct__liste { margin: 0 0 var(--espace-5); padding: 0; list-style: none; display: grid; gap: var(--espace-3); }
.contact-direct {
  display: flex;
  align-items: center;
  gap: var(--espace-4);
  padding: var(--espace-3) var(--espace-4);
  border: var(--bordure);
  border-radius: var(--arrondi-m);
  background: var(--surface);
  text-decoration: none;
  transition: border-color var(--vitesse-normale) var(--courbe), transform var(--vitesse-normale) var(--courbe), box-shadow var(--vitesse-normale) var(--courbe);
}
.contact-direct:hover { border-color: var(--cobalt); color: var(--encre); transform: translateY(-2px); box-shadow: var(--ombre-legere); }
.contact-direct__icone { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--arrondi-rond); background: var(--bleu-clair); color: var(--cobalt); }
.contact-direct__icone svg { width: 20px; height: 20px; }
.contact-direct__titre { display: block; font-size: var(--taille-xs); color: var(--gris-texte); }
.contact-direct__valeur { display: block; font-weight: 600; word-break: break-word; }
.contact__zone { font-size: var(--taille-s); margin: 0; }

.contact__carte { padding: var(--espace-6) var(--espace-5); }
.contact__carte:hover { transform: none; box-shadow: var(--ombre-legere); }
@media (min-width: 600px) { .contact__carte { padding: var(--espace-7); } }
.formulaire__grille { display: grid; gap: var(--espace-4); }
@media (min-width: 600px) {
  .formulaire__grille { grid-template-columns: 1fr 1fr; }
  .champ--plein { grid-column: 1 / -1; }
}
.champ { display: grid; gap: var(--espace-2); }
.champ label { font-size: var(--taille-s); font-weight: 500; }
.champ__facultatif { color: var(--gris-texte); font-weight: 400; }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--espace-3) var(--espace-4);
  border: 1px solid var(--gris-200);
  border-radius: var(--arrondi-m);
  background: var(--fond);
  color: var(--encre);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--vitesse-rapide) var(--courbe), box-shadow var(--vitesse-rapide) var(--courbe), background-color var(--vitesse-rapide) var(--courbe);
}
.champ textarea { resize: vertical; min-height: 140px; }
.champ select {
  appearance: none;
  padding-right: var(--espace-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b3fe4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: none; border-color: var(--cobalt); background-color: var(--surface); box-shadow: 0 0 0 3px var(--bleu-clair); }
.a-ete-valide .champ :invalid { border-color: #b3261e; }

.case-a-cocher { display: flex; gap: var(--espace-3); align-items: flex-start; margin: var(--espace-5) 0; font-size: var(--taille-s); }
.case-a-cocher input { flex: none; width: 20px; height: 20px; margin: 0.1em 0 0; accent-color: var(--cobalt); }
.case-a-cocher a { color: var(--cobalt); }
.formulaire__envoyer { width: 100%; }
.formulaire__envoyer:disabled { opacity: 0.7; cursor: progress; transform: none; }

.formulaire__resultat { text-align: center; padding: var(--espace-5) 0; }
.formulaire__resultat:focus { outline: none; }
.formulaire__resultat h3 { font-size: var(--taille-l); }
.formulaire__resultat p { color: var(--gris-texte); }
.resultat__icone { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--espace-4); border-radius: var(--arrondi-rond); background: var(--bleu-clair); color: var(--cobalt); }
.resultat__icone svg { width: 28px; height: 28px; stroke-width: 2.4; }
.formulaire__resultat--erreur { margin-top: var(--espace-5); padding: var(--espace-5); border: var(--bordure); border-radius: var(--arrondi-m); background: var(--fond); }
.telephone-erreur { display: inline-flex; align-items: center; gap: var(--espace-2); font-size: var(--taille-l); font-weight: 700; color: var(--cobalt); text-decoration: none; }
.telephone-erreur svg { width: 22px; height: 22px; }

/* =========================================================
   PAGES INTÉRIEURES (Réalisations, Mentions légales, Confidentialité)
   ========================================================= */
.page-entete { padding-block: var(--espace-8) var(--espace-6); }
.page-entete h1 { font-size: var(--taille-xl); margin-bottom: var(--espace-4); }
@media (min-width: 960px) { .page-entete h1 { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem); } }
.page-entete__intro { max-width: 60ch; font-size: var(--taille-m); color: var(--gris-texte); margin: 0; }
.page-entete__maj { margin: var(--espace-4) 0 0; font-size: var(--taille-xs); color: var(--gris-texte); }
.page-corps { padding-bottom: var(--espace-9); }

/* Texte long (mentions, confidentialité) */
.prose > * { max-width: 760px; }
.prose h2 { font-size: var(--taille-l); margin: var(--espace-7) 0 var(--espace-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--police-texte); font-stretch: normal; font-size: var(--taille-m); font-weight: 600; letter-spacing: 0; margin: var(--espace-5) 0 var(--espace-2); }
.prose p,
.prose li { color: var(--gris-700); }
.prose ul { padding-left: 1.2em; margin: 0 0 var(--espace-4); display: grid; gap: var(--espace-2); }
.prose li::marker { color: var(--cobalt); }
.prose a { color: var(--cobalt); }
.prose strong { color: var(--encre); }

/* Fiche d'identité (liste libellé / valeur) */
.fiche {
  display: grid;
  margin: 0 0 var(--espace-4);
  padding: var(--espace-2) var(--espace-5);
  background: var(--surface);
  border: var(--bordure);
  border-radius: var(--arrondi-l);
  box-shadow: var(--ombre-legere);
}
.fiche > div { display: grid; gap: var(--espace-1); padding: var(--espace-3) 0; }
.fiche > div + div { border-top: var(--bordure); }
@media (min-width: 600px) { .fiche > div { grid-template-columns: 220px 1fr; gap: var(--espace-4); } }
.fiche dt { font-size: var(--taille-s); color: var(--gris-texte); }
.fiche dd { margin: 0; font-weight: 500; color: var(--encre); word-break: break-word; }
.fiche a { color: var(--cobalt); }

/* ---------- Réalisations : cartes de projets (page Réalisations et accueil) ---------- */
.projets { display: grid; gap: var(--espace-5); }
@media (min-width: 700px) { .projets { grid-template-columns: repeat(2, 1fr); } }
/* Page Réalisations (projets--2) : 2 cartes par ligne dès 700 px, une colonne sur mobile.
   Accueil (projets--3) : une colonne sur mobile et tablette, 3 cartes sur une ligne sur ordinateur. */
@media (min-width: 700px) and (max-width: 899px) { .projets--3 { grid-template-columns: 1fr; max-width: 560px; } }
@media (min-width: 900px) { .projets--3 { grid-template-columns: repeat(3, 1fr); } }
.projet { display: flex; flex-direction: column; overflow: hidden; }
.projet img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-bottom: var(--bordure); background: var(--gris-100); }
.projet__corps { display: flex; flex-direction: column; flex: 1; padding: var(--espace-5); }
.projet h2,
.projet h3 { font-size: var(--taille-l); margin: 0 0 var(--espace-2); }
.projet__activite { color: var(--gris-700); font-size: var(--taille-s); margin-bottom: var(--espace-3); }
.projet__type { align-self: flex-start; margin: 0 0 var(--espace-5); padding: var(--espace-1) var(--espace-3); border-radius: var(--arrondi-rond); background: var(--bleu-clair); color: var(--cobalt); font-size: var(--taille-xs); font-weight: 600; }
.projet__bouton { margin-top: auto; align-self: flex-start; }
.projets__suite { margin-top: var(--espace-8); padding: var(--espace-6); border-radius: var(--arrondi-l); background: var(--bleu-clair); }
.projets__suite h2 { font-size: var(--taille-l); margin-bottom: var(--espace-2); }
.projets__suite p { color: var(--gris-700); margin: 0; }
.projets__lien { margin-top: var(--espace-6); }
.projets__boutons { display: flex; flex-wrap: wrap; gap: var(--espace-3); margin-top: var(--espace-5); }
@media (max-width: 479px) { .projets__boutons .bouton { flex: 1 1 100%; } }

/* =========================================================
   BANDEAU COOKIES (bibliothèque vanilla-cookieconsent)
   Les 3 boutons ont exactement la même apparence (règle CNIL).
   ========================================================= */
#cc-main {
  --cc-font-family: var(--police-texte);
  --cc-modal-border-radius: var(--arrondi-l);
  --cc-btn-border-radius: var(--arrondi-rond);
  --cc-bg: var(--surface);
  --cc-primary-color: var(--encre);
  --cc-secondary-color: var(--gris-texte);
  --cc-link-color: var(--cobalt);
  --cc-separator-border-color: var(--gris-200);
  --cc-footer-bg: var(--fond);
  --cc-footer-color: var(--gris-texte);
  --cc-footer-border-color: var(--gris-200);
  --cc-overlay-bg: rgb(20 22 31 / 0.45);

  /* Boutons : même style pour Tout accepter, Tout refuser, Personnaliser */
  --cc-btn-primary-bg: var(--cobalt);
  --cc-btn-primary-color: var(--surface);
  --cc-btn-primary-border-color: var(--cobalt);
  --cc-btn-primary-hover-bg: var(--cobalt-fonce);
  --cc-btn-primary-hover-color: var(--surface);
  --cc-btn-primary-hover-border-color: var(--cobalt-fonce);
  --cc-btn-secondary-bg: var(--cobalt);
  --cc-btn-secondary-color: var(--surface);
  --cc-btn-secondary-border-color: var(--cobalt);
  --cc-btn-secondary-hover-bg: var(--cobalt-fonce);
  --cc-btn-secondary-hover-color: var(--surface);
  --cc-btn-secondary-hover-border-color: var(--cobalt-fonce);

  /* Interrupteurs des catégories */
  --cc-toggle-on-bg: var(--cobalt);
  --cc-toggle-off-bg: var(--gris-300);
  --cc-toggle-on-knob-bg: var(--surface);
  --cc-toggle-off-knob-bg: var(--surface);
  --cc-toggle-enabled-icon-color: var(--cobalt);
  --cc-toggle-disabled-icon-color: var(--gris-texte);
  --cc-toggle-readonly-bg: var(--bleu-clair);
  --cc-toggle-readonly-knob-bg: var(--surface);
  --cc-toggle-readonly-knob-icon-color: var(--cobalt);
  --cc-cookie-category-block-bg: var(--fond);
  --cc-cookie-category-block-border: var(--gris-200);
  --cc-cookie-category-block-hover-bg: var(--bleu-clair);
  --cc-cookie-category-block-hover-border: var(--bleu-clair);
  --cc-cookie-category-expanded-block-bg: var(--surface);
  --cc-cookie-category-expanded-block-hover-bg: var(--fond);
}
#cc-main .cm__title,
#cc-main .pm__title { font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-weight: 700; }
#cc-main .cm,
#cc-main .pm { border: var(--bordure); box-shadow: var(--ombre-survol); }
#cc-main .cm__btn,
#cc-main .pm__btn { font-weight: 600; min-height: 44px; }
/* « Personnaliser » à égalité avec les deux autres boutons */
#cc-main .cm__btn-group { gap: var(--espace-2); }
#cc-main .cm__btns { gap: var(--espace-2); }
#cc-main .pm__badge { background: var(--bleu-clair); color: var(--cobalt); }
#cc-main a { color: var(--cobalt); }

/* Lien « Gérer mes cookies » du pied de page (bouton qui ressemble à un lien) */
.lien-cookies {
  padding: 0;
  border: 0;
  background: none;
  color: var(--surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.lien-cookies:hover { text-decoration: underline; }
.lien-cookies--texte { color: var(--cobalt); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Bandeau des métiers : affiché fixe, sans défilement */
  .metiers__fenetre { -webkit-mask-image: none; mask-image: none; }
  .metiers__piste { animation: none; width: auto; justify-content: center; padding-inline: var(--gouttiere); }
  .metiers__liste { flex-wrap: wrap; justify-content: center; row-gap: var(--espace-3); }
  .metiers__liste--copie { display: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
