/*
 * Site vitrine GEXONE (GXO) : feuille de style unique (aucune dépendance).
 * Trois thèmes de couleurs (blocs html[data-theme] plus bas) : orangé et bleu (défaut), orange et blanc, bleu d'origine.
 * Couleurs du thème bleu : bleu nuit #061631 / #0b2a5b, bleu GEXONE #1565d8, bleu ciel #5cb6f5 (sur fond nuit), accent ambré #f5b942
 * réservé aux mentions « Bientôt ». Texte courant anthracite #1f2933. Aucun violet, aucun bouton en pilule.
 * Aucun attribut style="" dans les pages : la politique de sécurité du contenu (CSP) n'autorise que cette feuille.
 * Animations (niveaux 3 et 4 de la charte) : vitrine 3D (conteneur en 3D CSS, voiture, disque, diagnostic), routes en pointillés,
 * vagues, roues et disque qui tournent. Toutes arrêtées par le bouton « Pause » (main.js), hors de l'écran, et si « réduire les animations ».
 */

@font-face {
  font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('../fonts/unbounded.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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/plus-jakarta-sans.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;
}

:root {
  --nuit: #061631;
  --nuit-2: #0b2a5b;
  --nuit-3: #103a7a;
  --marque: #1565d8;           /* boutons, liens, accents (5,4:1 sur blanc) */
  --marque-fonce: #0d4aa8;
  --titre: #0b3577;            /* titres sur fond clair */
  --ciel: #5cb6f5;             /* accents sur fond nuit */
  --ciel-clair: #a9d8fb;
  --ambre: #f5b942;            /* « Bientôt » sur fond nuit */
  --ambre-texte: #7a4f00;      /* « Bientôt » sur fond clair (AA) */
  --texte: #1f2933;            /* anthracite */
  --texte-doux: #4a5868;
  --texte-sur-nuit: #ffffff;
  --texte-sur-nuit-doux: #c3d4ea;
  --fond: #ffffff;
  --fond-doux: #f3f7fc;
  --fond-doux-2: #e6eef8;
  --bord: #d5e1ef;
  --erreur: #b3261e;
  --ok: #1d6b3c;
  --ombre: 0 1px 2px rgb(var(--ombre-rgb) / .06), 0 8px 24px rgb(var(--ombre-rgb) / .08);
  --ombre-forte: 0 2px 6px rgb(var(--ombre-rgb) / .10), 0 18px 44px rgb(var(--ombre-rgb) / .18);
  --rayon: 14px;
  --rayon-btn: 8px;
  --police: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --police-titre: 'Unbounded', 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  /* Variables de thème (valeurs du thème « bleu » d'origine) */
  --marque-2: #2a7be6;         /* haut des dégradés de boutons et pictos */
  --marque-rgb: 21 101 216;
  --ciel-rgb: 92 182 245;
  --ciel-clair-rgb: 169 216 251;
  --ombre-rgb: 6 22 49;
  --encre: #061631;            /* texte foncé (le fond nuit peut devenir clair) */
  --voile-rgb: 255 255 255;    /* voiles et bordures des zones nuit */
  --sur-nuit: #ffffff;         /* texte fort des zones nuit */
  --sur-nuit-titre: #ffffff;   /* titres des zones nuit */
  --texte-sur-nuit-clair: #e6effa;
  --teinte-0: #fbfdff; --teinte-1: #f1f7ff; --teinte-2: #e8f1fc; --teinte-3: #dcecfb;
  --bord-doux: #d3e3f5; --bord-fort: #b9cfe8; --bord-champ: #93a9c2;
  /* Illustrations (voiture, étrier, conteneur, valise de diagnostic, routes) */
  --illu-g1: #5cb6f5; --illu-g2: #1f6fd8; --illu-g3: #0b3f92; --illu-g4: #082860;
  --illu-bleu: #1565d8; --illu-ciel: #5cb6f5; --illu-ciel-clair: #a9d8fb;
  --illu-nuit: #0b2a5b; --illu-nuit-2: #103a7a; --illu-nuit-3: #061631;
  --vague-1: #1565d8; --vague-2: #5cb6f5;
  --pastille-1: #1565d8; --pastille-2: #061631;
  --route-fret: #f5b942;
}

/* ==========================================================================
   THÈMES DE COULEURS : le visiteur choisit avec le sélecteur de l'en-tête (liste THEMES de assets/js/config.js,
   choix gardé sur l'appareil). :root ci-dessus = thème « bleu » d'origine ; chaque bloc html[data-theme="…"]
   redéfinit les mêmes variables. Le logo change aussi (images .logo-theme--orange / .logo-theme--bleu).
   ========================================================================== */
/* Thème 1 « orangé / bleu » (par défaut) : fonds bleu nuit conservés, l'orange remplace le bleu vif
   (boutons, liens, accents, illustrations), titres bleu nuit, logo orange */
html[data-theme="orange"] {
  --marque: #c2410c; --marque-fonce: #9a3009; --marque-2: #e8531f; --marque-rgb: 232 83 31;
  --titre: #0b3577;
  --ciel: #ff8a5b; --ciel-clair: #ffc4a8; --ciel-rgb: 255 138 91; --ciel-clair-rgb: 255 196 168;
  --teinte-0: #fffdfb; --teinte-1: #fff6f1; --teinte-2: #ffede4; --teinte-3: #ffdfcf;
  --bord-doux: #f6d9cb; --bord-fort: #efb9a0; --bord-champ: #a99a93;
  --illu-g1: #ff9a6b; --illu-g2: #f04a1c; --illu-g3: #b5360c; --illu-g4: #7c2407;
  --illu-bleu: #e8531f; --illu-ciel: #ff8a5b; --illu-ciel-clair: #ffc4a8;
  --pastille-1: #f04a1c; --pastille-2: #061631;
  --route-fret: #a9d8fb;
}
/* Thème 2 « orange / blanc » : fonds blancs partout (les zones nuit deviennent blanc → pêche avec ombres douces),
   titres et informations en orange, texte anthracite, logo orange */
html[data-theme="blanc"] {
  --nuit: #ffffff; --nuit-2: #fff8f4; --nuit-3: #fff0e8;
  --marque: #c2410c; --marque-fonce: #9a3009; --marque-2: #e8531f; --marque-rgb: 232 83 31;
  --titre: #c2410c;
  --ciel: #c2410c; --ciel-clair: #ffc4a8; --ciel-rgb: 255 150 105; --ciel-clair-rgb: 232 83 31;
  --texte-sur-nuit: #1f2933; --texte-sur-nuit-doux: #4a5868; --texte-sur-nuit-clair: #1f2933;
  --sur-nuit: #1f2933; --sur-nuit-titre: #c2410c; --voile-rgb: 194 65 12; --encre: #1f2933;
  --ombre-rgb: 90 40 20;
  --fond-doux: #fff8f4; --fond-doux-2: #ffefe6; --bord: #f1ddd2;
  --teinte-0: #fffdfb; --teinte-1: #fff6f1; --teinte-2: #ffede4; --teinte-3: #ffdfcf;
  --bord-doux: #f6d9cb; --bord-fort: #efb9a0; --bord-champ: #a99a93;
  --illu-g1: #ff9a6b; --illu-g2: #f04a1c; --illu-g3: #b5360c; --illu-g4: #7c2407;
  --illu-bleu: #e8531f; --illu-ciel: #f07a4a; --illu-ciel-clair: #ffc4a8;
  --illu-nuit: #2b2f36; --illu-nuit-2: #3d424b; --illu-nuit-3: #1f2933;
  --vague-1: #f04a1c; --vague-2: #ff9a6b;
  --pastille-1: #f04a1c; --pastille-2: #ffffff;
  --route-fret: #4a5868;
}
/* Thème 3 « bleu » : le site d'origine (valeurs de :root), logo bleu */

/* Logo selon le thème : deux images, celle du thème inactif est masquée (chargement différé : jamais téléchargée) */
html:not([data-theme="bleu"]) .logo-theme--bleu, html[data-theme="bleu"] .logo-theme--orange { display: none !important; }

/* Thème blanc : zones « nuit » claires (ombres douces au lieu des aplats) */
html[data-theme="blanc"] :is(.heros, .page-heros, .sur-nuit, .bande-cta__boite, .carte-nuit, .carte-service--grand) { box-shadow: 0 30px 60px -40px rgb(var(--ombre-rgb) / .35); }
html[data-theme="blanc"] .carte-service--grand { border: 1px solid var(--bord); }
html[data-theme="blanc"] :is(.bande-cta__boite, .carte-nuit) { border: 1px solid var(--bord); }
html[data-theme="blanc"] .pied { box-shadow: inset 0 1px 0 var(--bord); }
html[data-theme="blanc"] .btn--clair, html[data-theme="blanc"] .nav__mobile-cta .btn { color: #fff; background: linear-gradient(180deg, var(--marque-2), var(--marque-fonce)); box-shadow: 0 6px 18px rgb(var(--marque-rgb) / .32); }
html[data-theme="blanc"] .btn--clair:hover { color: #fff; }
html[data-theme="blanc"] .carte-service--grand .carte-service__picto { color: #fff; background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce)); }
html[data-theme="blanc"] :is(.vitrine__ombre, .cube-ombre) { opacity: .35; }
html[data-theme="blanc"] .objet-svg { filter: drop-shadow(0 22px 24px rgb(var(--ombre-rgb) / .28)); }
html[data-theme="blanc"] .heros__points .ico, html[data-theme="blanc"] .point-carte h3 .ico { color: var(--marque); }
html[data-theme="blanc"] .point-carte { background: #fff; box-shadow: var(--ombre); }
html[data-theme="blanc"] .heros h1 em { color: #1f2933; }
html[data-theme="blanc"] .vitrine__libelle { background: rgb(255 255 255 / .85); box-shadow: var(--ombre); }

/* Couleurs fixes des illustrations SVG des pages, ramenées aux variables du thème (le CSS l'emporte sur l'attribut) */
svg [fill="#1565d8"] { fill: var(--illu-bleu); }
svg [stroke="#1565d8"] { stroke: var(--illu-bleu); }
svg [fill="#5cb6f5"] { fill: var(--illu-ciel); }
svg [stroke="#5cb6f5"] { stroke: var(--illu-ciel); }
svg [fill="#a9d8fb"] { fill: var(--illu-ciel-clair); }
svg [stroke="#a9d8fb"] { stroke: var(--illu-ciel-clair); }
svg [fill="#0b2a5b"] { fill: var(--illu-nuit); }
svg [fill="#103a7a"] { fill: var(--illu-nuit-2); }
svg [fill="#061631"] { fill: var(--illu-nuit-3); }
svg [stop-color="#5cb6f5"] { stop-color: var(--illu-g1); }
svg [stop-color="#1f6fd8"] { stop-color: var(--illu-g2); }
svg [stop-color="#0b3f92"] { stop-color: var(--illu-g3); }
svg [fill="#eaf2fb"] { fill: var(--teinte-2); }
svg [fill="#f3f7fc"] { fill: var(--teinte-1); }
svg [stroke="#d5e1ef"] { stroke: var(--bord); }
.vagues .vague { fill: var(--vague-1); }
.vagues .vague--2 { fill: var(--vague-2); }
svg [stroke="#f5b942"] { stroke: var(--route-fret); }
.routes__legende i.fret { border-top-color: var(--route-fret); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
body {
  margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.65; color: var(--texte);
  background: var(--fond); overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--marque); text-underline-offset: 3px; }
a:hover { color: var(--marque-fonce); }
:focus-visible { outline: 3px solid var(--ciel); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--titre); line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--police-titre); font-weight: 650; letter-spacing: -.02em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; font-weight: 750; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 750; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--rayon-btn); }
.lien-evitement:focus { top: 12px; color: #fff; }

.conteneur { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 420px) { .conteneur { padding: 0 16px; } }

/* ---------- Boutons : coins légèrement arrondis, jamais en pilule ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: 12px 22px; border-radius: var(--rayon-btn); border: 0; font: inherit; font-weight: 750; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-align: center; line-height: 1.25;
}
.btn--principal { color: #fff; background: linear-gradient(180deg, var(--marque-2), var(--marque-fonce)); box-shadow: 0 6px 18px rgb(var(--marque-rgb) / .32); }
.btn--principal:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgb(var(--marque-rgb) / .40); }
.btn--clair { color: var(--encre); background: linear-gradient(180deg, #ffffff, var(--teinte-3)); box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.btn--clair:hover { color: var(--encre); transform: translateY(-1px); }
.btn--petit { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.lien-fleche { font-weight: 750; display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.lien-fleche .ico { transition: transform .15s ease; }
.lien-fleche:hover { text-decoration: underline; }
.lien-fleche:hover .ico { transform: translateX(3px); }
.sur-nuit .lien-fleche, .heros .lien-fleche, .page-heros .lien-fleche { color: var(--sur-nuit); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.etiquette {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: .15em;
  padding: 2px 6px; border-radius: 4px; color: var(--ambre-texte); background: #fff2d1; border: 1px solid #f0d58e;
}
.etiquette--dispo { color: #145a32; background: #e3f4ea; border-color: #b6dcc4; }

/* ---------- En-tête ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, rgb(var(--ciel-rgb) / .6) 30%, rgb(var(--marque-rgb) / .5) 70%, transparent); }
.nav.defile { background: rgba(255, 255, 255, .95); box-shadow: 0 8px 26px rgb(var(--ombre-rgb) / .10); }
.nav__barre { display: flex; align-items: center; gap: 14px; min-height: 88px; }
.marque { display: inline-flex; align-items: center; flex: none; text-decoration: none; border-radius: 10px; }
.marque img { width: auto; height: 44px; }
/* Logo avec slogan : assez grand pour que le slogan reste lisible (barre de 88 px, 76 px sur téléphone) */
.marque--slogan img { height: 64px; }
@media (min-width: 1281px) and (max-width: 1420px) { .marque--slogan img { height: 56px; } } /* logo GEXONE plus large : le menu complet tient */
@media (max-width: 480px) { .nav__barre { min-height: 76px; } .marque--slogan img { height: 54px; } }
.nav__menu { margin-left: auto; display: flex; align-items: center; }
/* Ordinateur : en-tête plus large que le contenu et marges latérales réduites de moitié (12 px), pour laisser
   respirer le menu à côté du logo */
@media (min-width: 1281px) {
  .nav .conteneur { max-width: 1340px; padding: 0 12px; }
  .nav__menu { padding-left: 28px; }
  .nav__item--accueil, .nav__long { display: none; } /* le logo mène à l'accueil ; nom court à la place du nom long */
}
.nav__court { display: none; }
@media (min-width: 1281px) { .nav__court { display: inline; } }
@media (min-width: 1281px) and (max-width: 1365px) { .nav__menu { padding-left: 12px; } .nav__liens .nav__lien { padding-left: 6px; padding-right: 6px; } .nav__liens .nav__lien::after { left: 6px; right: 6px; } } /* menu complet entre 1281 et 1365 px */
.nav__liens { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__lien {
  position: relative; display: inline-block; padding: 10px 9px; border-radius: var(--rayon-btn); text-decoration: none; color: var(--texte);
  font-weight: 650; font-size: .94rem; white-space: nowrap; transition: color .15s ease, background-color .15s ease;
}
.nav__lien::after {
  content: ''; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--marque), var(--ciel)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__lien:hover { color: var(--marque-fonce); background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); }
.nav__lien:hover::after { transform: scaleX(.45); }
.nav__lien[aria-current="page"] { color: var(--marque-fonce); }
.nav__lien[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { flex: none; }
.nav__mobile-cta { display: none; }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--bord); border-radius: 12px; background: #fff; color: var(--encre); cursor: pointer; place-items: center; transition: background .2s, color .2s, box-shadow .2s; }
.nav__burger .ico { width: 24px; height: 24px; }
.nav__voile { position: fixed; inset: 0; z-index: 40; background: rgb(var(--ombre-rgb) / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* Hors du menu téléphone : ni icône, ni sous-titre, ni titre de panneau */
.nav__ico, .nav__texte small, .nav__titre { display: none; }

/* ---------- Sélecteur de couleurs (en-tête) : une pastille par thème, le cadre blanc glisse sur le thème choisi ---------- */
.theme {
  --t: 32px; position: relative; display: inline-flex; flex: none; padding: 3px; border-radius: 10px;
  background: var(--teinte-1); border: 1px solid var(--bord);
}
.theme__curseur {
  position: absolute; top: 3px; left: 3px; width: var(--t); height: var(--t); border-radius: 8px;
  background: #fff; box-shadow: 0 4px 12px -4px rgb(var(--ombre-rgb) / .45); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.theme[data-idx="1"] .theme__curseur { transform: translateX(var(--t)); }
.theme[data-idx="2"] .theme__curseur { transform: translateX(calc(var(--t) * 2)); }
.theme button {
  position: relative; z-index: 1; display: grid; place-items: center; width: var(--t); height: var(--t); padding: 0;
  border: 0; border-radius: 8px; background: none; cursor: pointer;
}
.theme button:focus-visible { outline: 3px solid var(--ciel); outline-offset: 0; }
.theme__pastille { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgb(0 0 0 / .12); transition: transform .2s ease; }
.theme button:hover .theme__pastille { transform: scale(1.15); }
.theme__pastille--orange { background: linear-gradient(135deg, #f04a1c 50%, #061631 50%); }
.theme__pastille--blanc { background: linear-gradient(135deg, #f04a1c 50%, #ffffff 50%); }
.theme__pastille--bleu { background: linear-gradient(135deg, #1565d8 50%, #061631 50%); }
.nav__barre > .theme { margin-left: 8px; }
.nav__theme { display: none; }
@media (max-width: 1280px) { .nav__barre > .theme { margin-left: auto; } .nav__barre > .theme + .nav__burger { margin-left: 0; } }
@media (max-width: 420px) { .nav__barre { gap: 10px; } .theme { --t: 28px; } .theme__pastille { width: 16px; height: 16px; } }
/* Très petits écrans : le sélecteur passe dans le menu */
@media (max-width: 374px) {
  .nav__barre > .theme { display: none; }
  .nav__barre > .nav__burger { margin-left: auto; }
  .nav__theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 12px;
    border-radius: 12px; background: rgb(var(--voile-rgb) / .05); border: 1px solid rgb(var(--voile-rgb) / .12); color: var(--sur-nuit); font-weight: 700; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .theme__curseur { transition: none; } }

/* ==========================================================================
   Menu téléphone et tablette (≤ 1280 px) : panneau bleu nuit en tuiles, icône + sous-titre par page
   (repris du site Educato). Coins légèrement arrondis, jamais de pilule.
   ========================================================================== */
@keyframes menu-entree { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes menu-tuile { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.menu-ouvert { overflow: hidden; }
@media (max-width: 1280px) {
  .nav__barre { position: relative; }
  .nav__burger { display: inline-grid; }
  .nav__cta { display: none; }
  .menu-ouvert .nav__burger { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--marque-2), var(--marque-fonce)); box-shadow: 0 8px 22px -8px rgb(var(--marque-rgb) / .8); }
  .nav__menu {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); z-index: 45; display: none; flex-direction: column; align-items: stretch;
    max-height: calc(100dvh - 100px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    padding: 18px; border-radius: 20px; isolation: isolate;
    background: linear-gradient(160deg, var(--nuit-3) 0%, var(--nuit-2) 40%, var(--nuit) 100%);
    border: 1px solid rgb(var(--voile-rgb) / .1);
    box-shadow: 0 30px 80px -20px rgb(var(--ombre-rgb) / .8), inset 0 1px 0 rgb(var(--voile-rgb) / .08);
  }
  /* Halo bleu ciel dans le coin haut droit */
  .nav__menu::before { content: ''; position: absolute; z-index: -1; width: 280px; height: 280px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgb(var(--ciel-rgb) / .3), transparent 70%); pointer-events: none; }
  .menu-ouvert .nav__menu { display: flex; animation: menu-entree .32s cubic-bezier(.2, .8, .2, 1); }
  .nav__liens { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
  .nav__titre {
    display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; margin: 2px 4px 4px;
    font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ciel);
  }
  .nav__titre::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgb(var(--ciel-rgb) / .5), transparent); }
  .nav__lien {
    display: flex; align-items: center; gap: 12px; min-width: 0; height: 100%; white-space: normal;
    padding: 12px; border-radius: 14px; color: var(--sur-nuit); font-size: 1rem;
    background: rgb(var(--voile-rgb) / .04); border: 1px solid rgb(var(--voile-rgb) / .08);
    transition: background .2s, border-color .2s, transform .2s;
    animation: menu-tuile .4s cubic-bezier(.2, .8, .2, 1) both;
  }
  .nav__liens li:nth-child(2) .nav__lien { animation-delay: 60ms; } .nav__liens li:nth-child(3) .nav__lien { animation-delay: 95ms; }
  .nav__liens li:nth-child(4) .nav__lien { animation-delay: 130ms; } .nav__liens li:nth-child(5) .nav__lien { animation-delay: 165ms; }
  .nav__liens li:nth-child(6) .nav__lien { animation-delay: 200ms; } .nav__liens li:nth-child(7) .nav__lien { animation-delay: 235ms; }
  .nav__lien::after { display: none; }
  .nav__lien:hover { color: var(--sur-nuit); }
  .nav__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgb(var(--voile-rgb) / .08); color: var(--ciel); transition: background .2s, color .2s, box-shadow .2s; }
  .nav__ico .ico { width: 20px; height: 20px; }
  .nav__texte { min-width: 0; font-weight: 750; font-size: .97rem; line-height: 1.2; }
  .nav__texte small { display: block; margin-top: 3px; font-weight: 500; font-size: .76rem; color: var(--texte-sur-nuit-doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav__lien .etiquette { margin-left: 4px; color: #3d2800; background: var(--ambre); border-color: transparent; }
  .nav__lien:hover, .nav__lien:focus-visible { color: var(--sur-nuit); background: rgb(var(--voile-rgb) / .1); border-color: rgb(var(--ciel-rgb) / .55); transform: translateY(-2px); outline: none; }
  .nav__lien:hover .nav__ico, .nav__lien:focus-visible .nav__ico, .nav__lien[aria-current="page"] .nav__ico {
    color: #fff; background: linear-gradient(135deg, var(--ciel), var(--marque)); box-shadow: 0 8px 20px -8px rgb(var(--ciel-rgb) / .85);
  }
  .nav__lien:active { transform: scale(.97); }
  /* Page en cours : tuile teintée et point lumineux */
  .nav__lien[aria-current="page"] { position: relative; color: var(--sur-nuit); background: linear-gradient(120deg, rgb(var(--ciel-rgb) / .22), rgb(var(--marque-rgb) / .1)); border-color: rgb(var(--ciel-rgb) / .65); }
  .nav__lien[aria-current="page"]::after { display: block; content: ''; position: absolute; left: auto; right: 10px; top: 10px; bottom: auto; width: 7px; height: 7px; border-radius: 50%; transform: none; background: var(--ciel); box-shadow: 0 0 0 4px rgb(var(--ciel-rgb) / .2); }
  .nav__mobile-cta { display: block; margin-top: 14px; animation: menu-tuile .4s .25s cubic-bezier(.2, .8, .2, 1) both; }
  .nav__mobile-cta .btn { width: 100%; min-height: 52px; color: var(--encre); background: linear-gradient(180deg, #ffffff, var(--teinte-3)); box-shadow: 0 12px 30px -10px rgb(var(--ciel-rgb) / .6); }
}
@media (max-width: 480px) {
  .sous-nav { top: 76px; }
  .nav__menu { left: 10px; right: 10px; padding: 14px; }
  .nav__liens { grid-template-columns: 1fr; gap: 8px; }
  .nav__lien { padding: 10px 12px; }
}
@media (max-width: 380px) { .marque img { height: 38px; } .marque--slogan img { height: 50px; } }
@media (prefers-reduced-motion: reduce) { .menu-ouvert .nav__menu, .nav__lien, .nav__mobile-cta { animation: none; } }

/* ---------- Héros de l'accueil ---------- */
.heros {
  position: relative; overflow: hidden; color: var(--texte-sur-nuit);
  background: radial-gradient(900px 520px at 88% 0%, rgb(var(--ciel-rgb) / .22), transparent 60%),
              radial-gradient(800px 600px at 0% 110%, rgb(var(--marque-rgb) / .30), transparent 60%),
              linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 60%, var(--nuit-3) 100%);
  padding: 76px 0 120px;
}
.heros > .conteneur { position: relative; z-index: 1; }
.heros h1 { color: var(--sur-nuit-titre); }
.heros h1 em { font-style: normal; color: var(--ciel); }
.heros p { color: var(--texte-sur-nuit-doux); font-size: 1.12rem; max-width: 600px; }
.heros__grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--marque); margin-bottom: 14px; }
.heros .surtitre, .page-heros .surtitre, .sur-nuit .surtitre { color: var(--ciel); }
.heros__points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.heros__points li { display: flex; gap: 10px; align-items: flex-start; color: var(--texte-sur-nuit-clair); }
.heros__points .ico { color: var(--ciel); margin-top: .2em; }
.heros__decor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
@media (max-width: 960px) {
  .heros { padding: 44px 0 100px; }
  .heros__grille { grid-template-columns: 1fr; gap: 28px; }
}

/* Cube 3D en CSS seul (page 404) */
.cube-zone { --c: 220px; width: var(--c); height: var(--c); perspective: 1100px; position: relative; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(-30deg); animation: cube-tourne 28s linear infinite; }
.cube__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-radius: 10px; color: #fff; text-align: center; font-weight: 800; font-size: 1rem; line-height: 1.25; padding: 16px;
  background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce) 60%, var(--illu-g4));
  border: 1px solid rgb(var(--ciel-clair-rgb) / .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 30px 60px rgba(255, 255, 255, .08);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.cube__face .ico { width: 64px; height: 64px; stroke-width: 1.4; color: #fff; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.cube__face small { display: block; font-weight: 600; font-size: .78rem; color: var(--ciel-clair); }
.cube__face--1 { transform: translateZ(calc(var(--c) / 2)); }
.cube__face--2 { transform: rotateY(90deg) translateZ(calc(var(--c) / 2)); }
.cube__face--3 { transform: rotateY(180deg) translateZ(calc(var(--c) / 2)); }
.cube__face--4 { transform: rotateY(-90deg) translateZ(calc(var(--c) / 2)); }
.cube__face--5 { transform: rotateX(90deg) translateZ(calc(var(--c) / 2)); background: linear-gradient(145deg, var(--ciel-clair), var(--ciel)); }
.cube__face--6 { transform: rotateX(-90deg) translateZ(calc(var(--c) / 2)); }
.cube-ombre { position: absolute; left: 50%; bottom: -78px; width: 260px; height: 38px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); animation: ombre 7s ease-in-out infinite; }
@keyframes cube-tourne { from { transform: rotateX(-18deg) rotateY(-30deg); } to { transform: rotateX(-18deg) rotateY(330deg); } }
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ombre { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .7; scale: .9; } }
/* Pastille d'icône des libellés de la vitrine */
.badge-flottant__picto { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce)); }

/* Décor du héros : points et routes en pointillés qui avancent */
.route-anim { stroke-dasharray: 6 8; animation: route 2.4s linear infinite; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-in-out infinite; }
@keyframes route { to { stroke-dashoffset: -28; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .35; } }

/* Chiffres clés posés à cheval sur le bas du héros */
.chiffres { position: relative; z-index: 2; margin-top: -64px; }
.chiffres__grille {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: var(--ombre-forte);
  border: 1px solid var(--bord-doux); overflow: hidden;
}
.chiffre { padding: 22px 22px 20px; border-right: 1px solid var(--bord); }
.chiffre:last-child { border-right: 0; }
.chiffre strong { display: block; font-family: var(--police-titre); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--marque); line-height: 1.1; margin-bottom: 6px; }
.chiffre span { font-size: .92rem; color: var(--texte-doux); }
.chiffres__source { font-size: .8rem; color: var(--texte-doux); margin: 10px 4px 0; }
@media (max-width: 760px) {
  .chiffres__grille { grid-template-columns: 1fr 1fr; }
  .chiffre:nth-child(2) { border-right: 0; }
  .chiffre:nth-child(-n+2) { border-bottom: 1px solid var(--bord); }
}

/* ---------- En-tête des pages intérieures ---------- */
.page-heros {
  position: relative; overflow: hidden; color: var(--sur-nuit); padding: 56px 0 60px;
  background: radial-gradient(700px 400px at 90% 0%, rgb(var(--ciel-rgb) / .22), transparent 60%),
              linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 65%, var(--nuit-3) 100%);
}
.page-heros h1 { color: var(--sur-nuit-titre); }
.page-heros p { color: var(--texte-sur-nuit-doux); font-size: 1.08rem; max-width: 640px; }
.page-heros > .conteneur { position: relative; z-index: 1; }
.page-heros__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px 48px; align-items: center; }
.fil { font-size: .88rem; margin-bottom: 16px; color: var(--texte-sur-nuit-doux); }
.fil a { color: var(--sur-nuit); }
@media (max-width: 860px) { .page-heros__grille { grid-template-columns: 1fr; } .page-heros { padding: 40px 0 44px; } }
.page-heros .vitrine { height: 360px; }
@media (max-width: 560px) { .page-heros .vitrine { height: 320px; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--doux { background: linear-gradient(180deg, var(--fond-doux), #fff); }
.section--serre { padding: 64px 0; }
.sur-nuit { color: var(--texte-sur-nuit); background: radial-gradient(800px 500px at 100% 0%, rgb(var(--ciel-rgb) / .18), transparent 60%), linear-gradient(165deg, var(--nuit), var(--nuit-2)); }
.sur-nuit h2, .sur-nuit h3 { color: var(--sur-nuit-titre); }
.sur-nuit p { color: var(--texte-sur-nuit-doux); }
.entete-section { max-width: 760px; margin-bottom: 44px; }
.entete-section--centre { margin-left: auto; margin-right: auto; text-align: center; }
.entete-section p { color: var(--texte-doux); font-size: 1.08rem; }
.sur-nuit .entete-section p { color: var(--texte-sur-nuit-doux); }
@media (max-width: 700px) { .section { padding: 60px 0; } .section--serre { padding: 48px 0; } }

/* Services : grille « bento » */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.carte-service {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--rayon); overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--fond-doux)); border: 1px solid var(--bord-doux); box-shadow: var(--ombre);
  transition: transform .2s ease, box-shadow .2s ease;
}
.carte-service:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.carte-service h3 { margin: 4px 0 0; }
.carte-service p { color: var(--texte-doux); margin: 0; }
.carte-service .lien-fleche { margin-top: auto; padding-top: 8px; }
.carte-service__picto { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce)); box-shadow: 0 8px 18px rgb(var(--marque-rgb) / .28); }
.carte-service__picto .ico { width: 28px; height: 28px; }
.carte-service__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.carte-service--grand { grid-column: span 3; grid-row: span 2; color: var(--sur-nuit); background: radial-gradient(500px 300px at 100% 0%, rgb(var(--ciel-rgb) / .3), transparent 60%), linear-gradient(160deg, var(--nuit-2), var(--nuit)); border-color: transparent; }
.carte-service--grand h3 { color: var(--sur-nuit-titre); font-family: var(--police-titre); font-weight: 650; font-size: 1.45rem; }
.carte-service--grand p { color: var(--texte-sur-nuit-doux); }
.carte-service--grand .lien-fleche { color: var(--sur-nuit); }
.carte-service--grand ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; color: var(--texte-sur-nuit-clair); }
.carte-service--grand li { display: flex; gap: 10px; align-items: flex-start; }
.carte-service--grand li .ico { color: var(--ciel); margin-top: .2em; }
.carte-service--grand .carte-service__picto { background: linear-gradient(145deg, var(--ciel-clair), var(--ciel)); color: var(--encre); }
.carte-service--grand .etiquette--dispo { color: #0b3d22; }
.carte-service--moyen { grid-column: span 3; }
.carte-service--petit { grid-column: span 2; }
.carte-service--grand .engrenage { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; color: rgb(var(--ciel-clair-rgb) / .12); stroke-width: 1; animation: rotation 30s linear infinite; }
@keyframes rotation { to { rotate: 360deg; } }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .carte-service--grand { grid-column: 1 / -1; grid-row: auto; }
  .carte-service--moyen, .carte-service--petit { grid-column: span 1; }
}
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .carte-service { padding: 22px; } }

/* Deux colonnes : texte + illustration */
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.deux-col--inverse > :first-child { order: 2; }
@media (max-width: 900px) { .deux-col { grid-template-columns: minmax(0, 1fr); gap: 32px; } .deux-col--inverse > :first-child { order: 0; } }
.liste-check { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.liste-check li { display: flex; gap: 12px; align-items: flex-start; }
.liste-check .ico { color: var(--marque); margin-top: .2em; }
.sur-nuit .liste-check .ico { color: var(--ciel); }

/* Illustration « châssis → référence » */
.illu { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgb(var(--ombre-rgb) / .14)); }
.illu-texte { font-family: var(--police); font-size: 13px; font-weight: 700; fill: var(--texte-doux); }
.illu-texte--titre { font-size: 15px; font-weight: 800; fill: var(--titre); }
.illu-texte--blanc { fill: #fff; }
.illu-texte--mono { font-family: Consolas, 'Courier New', monospace; font-size: 15px; letter-spacing: .08em; fill: var(--encre); font-weight: 700; }
.scan { animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%, 100% { translate: 0 0; } 50% { translate: 236px 0; } }
.apparait { animation: apparait 3s ease-in-out infinite; }
@keyframes apparait { 0%, 35% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* Comparatif */
.comparatif { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comparatif__col { border-radius: var(--rayon); padding: 26px; border: 1px solid var(--bord); background: #fff; box-shadow: var(--ombre); }
.comparatif__col h3 { display: flex; align-items: center; gap: 10px; }
.comparatif__col--gxo { border: 2px solid var(--marque); background: linear-gradient(180deg, var(--teinte-1), #fff); }
.comparatif__col dl { margin: 0; display: grid; gap: 14px; }
.comparatif__col dt { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-doux); }
.comparatif__col dd { margin: 2px 0 0; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.comparatif__col--gxo dd .ico { color: var(--ok); margin-top: .2em; }
.comparatif__col--autre dd .ico { color: var(--erreur); margin-top: .2em; }
@media (max-width: 760px) { .comparatif { grid-template-columns: 1fr; } }

/* Routes d'import et d'envoi (section nuit) */
.routes { position: relative; }
.routes__carte { width: 100%; height: auto; display: block; }
.routes__label { font-family: var(--police); font-size: 15px; font-weight: 800; fill: var(--sur-nuit); }
.routes__label--doux { font-size: 12px; font-weight: 600; fill: var(--texte-sur-nuit-doux); }
.routes__legende { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--texte-sur-nuit-doux); font-size: .92rem; }
.routes__legende span { display: inline-flex; align-items: center; gap: 8px; }
.routes__legende i { display: inline-block; width: 26px; height: 0; border-top: 3px dashed var(--ciel); }
.routes__legende i.fret { border-top-color: var(--route-fret); }
.points-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.point-carte { padding: 22px; border-radius: var(--rayon); background: rgb(var(--voile-rgb) / .06); border: 1px solid rgb(var(--ciel-clair-rgb) / .22); }
.point-carte h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.point-carte h3 .ico { color: var(--ciel); }
.point-carte p { margin: 0; font-size: .96rem; }
@media (max-width: 860px) { .points-cartes { grid-template-columns: 1fr; } }

/* Étapes numérotées */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: etape; position: relative; }
.etapes::before { content: ''; position: absolute; left: 10%; right: 10%; top: 30px; border-top: 2px dashed var(--bord-fort); }
.etape { position: relative; text-align: center; padding: 0 6px; }
.etape__num {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px;
  font-family: var(--police-titre); font-weight: 700; font-size: 1.3rem; color: #fff; background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce));
  box-shadow: 0 10px 22px rgb(var(--marque-rgb) / .3), 0 0 0 6px #fff;
}
.section--doux .etape__num { box-shadow: 0 10px 22px rgb(var(--marque-rgb) / .3), 0 0 0 6px var(--fond-doux); }
.etape h3 { font-size: 1.02rem; margin-bottom: .4em; }
.etape p { font-size: .93rem; color: var(--texte-doux); margin: 0; }
@media (max-width: 960px) {
  .etapes { grid-template-columns: 1fr; gap: 22px; }
  .etapes::before { left: 29px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed var(--bord-fort); }
  .etape { display: grid; grid-template-columns: 60px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .etape__num { grid-row: span 2; margin: 0; }
}

/* Marques */
.marques { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.marques li { padding: 8px 14px; border-radius: var(--rayon-btn); background: #fff; border: 1px solid var(--bord); font-weight: 750; color: var(--titre); box-shadow: 0 1px 2px rgb(var(--ombre-rgb) / .05); }
.note { font-size: .9rem; color: var(--texte-doux); }

/* Équipe : la direction en cartes (photo ronde, poste, nom, formation). La photo remplace plus tard les initiales :
   <div class="dirigeant__photo"><img src="assets/img/equipe/nom.webp" alt="" width="240" height="240"></div> */
.dirigeants__titre { font-family: var(--police-titre); font-weight: 650; font-size: 1.2rem; margin: 8px 0 22px; }
.dirigeants { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dirigeant {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 28px 20px 24px; border-radius: var(--rayon); overflow: hidden;
  background: linear-gradient(180deg, var(--teinte-1) 0, #fff 92px); border: 1px solid var(--bord); box-shadow: var(--ombre);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dirigeant:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.dirigeant::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--marque-2), var(--ciel)); }
.dirigeant__photo {
  display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 6px; border-radius: 50%; padding: 4px;
  background: linear-gradient(145deg, var(--marque-2), var(--ciel)); box-shadow: 0 12px 26px -12px rgb(var(--marque-rgb) / .6);
}
.dirigeant__photo > * { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; }
.dirigeant__photo span { display: grid; place-items: center; font-family: var(--police-titre); font-weight: 650; font-size: 1.7rem; letter-spacing: .02em; color: var(--titre); background: linear-gradient(180deg, var(--teinte-2), var(--teinte-3)); }
.dirigeant__photo img { object-fit: cover; }
.dirigeant__poste {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 10px; border-radius: 6px;
  font-size: .8rem; font-weight: 750; line-height: 1.3; color: var(--marque-fonce); background: var(--teinte-2); border: 1px solid var(--bord-doux);
}
.dirigeant__poste .ico { width: 15px; height: 15px; flex: none; }
.dirigeant__nom { margin: 4px 0 0; font-size: 1.1rem; line-height: 1.3; }
.dirigeant__nom span { text-transform: uppercase; letter-spacing: .04em; }
.dirigeant__formation { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--bord); font-size: .9rem; line-height: 1.5; color: var(--texte-doux); text-align: left; }
.dirigeant__formation .ico { color: var(--marque); margin-top: .15em; }
@media (max-width: 1100px) { .dirigeants { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dirigeants { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .dirigeant:hover { transform: none; } }

/* Bandeau garage (bientôt) */
.bientot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 40px; border-radius: 20px; background: linear-gradient(135deg, var(--teinte-1), var(--teinte-2)); border: 1px solid var(--bord-doux); }
.bientot__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0 0 22px; }
.bientot__liste li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 1px 2px rgb(var(--ombre-rgb) / .06); }
.bientot__liste .ico { color: var(--marque); }
@media (max-width: 900px) { .bientot { grid-template-columns: 1fr; padding: 28px 22px; } }
@media (max-width: 480px) { .bientot__liste { grid-template-columns: 1fr; } }
.jauge { transform-box: fill-box; transform-origin: 50% 100%; animation: jauge 4s ease-in-out infinite; }
@keyframes jauge { 0%, 100% { rotate: -50deg; } 50% { rotate: 40deg; } }

/* Bande d'appel à l'action finale */
.bande-cta { padding: 0 0 88px; }
.bande-cta__boite {
  position: relative; overflow: hidden; border-radius: 22px; padding: 48px; color: var(--sur-nuit);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  background: radial-gradient(500px 300px at 100% 0%, rgb(var(--ciel-rgb) / .35), transparent 60%), linear-gradient(140deg, var(--nuit-3), var(--nuit));
  box-shadow: var(--ombre-forte);
}
.bande-cta__boite h2 { color: var(--sur-nuit-titre); margin-bottom: .3em; }
.bande-cta__boite p { color: var(--texte-sur-nuit-doux); margin: 0; }
.bande-cta__boite > * { position: relative; z-index: 1; }
.bande-cta__decor { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; z-index: 0; opacity: .14; animation: rotation 40s linear infinite; }
@media (max-width: 760px) { .bande-cta__boite { grid-template-columns: 1fr; padding: 32px 22px; } .bande-cta { padding-bottom: 60px; } }

/* Sous-menu des pages longues */
.sous-nav { position: sticky; top: 88px; z-index: 30; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--bord); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sous-nav__defile { overflow-x: auto; scrollbar-width: none; }
.sous-nav__defile::-webkit-scrollbar { display: none; }
.sous-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; white-space: nowrap; }
.sous-nav a { display: inline-block; padding: 14px 12px; font-weight: 650; font-size: .93rem; text-decoration: none; color: var(--texte-doux); border-bottom: 3px solid transparent; }
.sous-nav a:hover { color: var(--marque-fonce); }
.sous-nav a[aria-current="true"] { color: var(--marque-fonce); border-bottom-color: var(--marque); }

/* Gammes de produits */
.gammes { display: grid; gap: 22px; }
.gamme { border-radius: var(--rayon); background: #fff; border: 1px solid var(--bord); box-shadow: var(--ombre); overflow: hidden; }
.gamme__tete { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); border-bottom: 1px solid var(--bord); }
.gamme__tete h3 { margin: 0; font-family: var(--police-titre); font-weight: 650; font-size: 1.12rem; }
.gamme__tete .carte-service__picto { width: 44px; height: 44px; border-radius: 12px; }
.gamme__corps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.famille { padding: 20px 24px; border-bottom: 1px solid var(--bord); border-right: 1px solid var(--bord); }
.famille:nth-child(2n) { border-right: 0; }
.famille h4 { margin: 0 0 8px; font-size: 1rem; color: var(--titre); }
.famille p { margin: 0; font-size: .93rem; color: var(--texte-doux); }
@media (max-width: 760px) { .gamme__corps { grid-template-columns: 1fr; } .famille { border-right: 0; } }

/* Blocs de contenu des pages de service */
.bloc { padding: 72px 0; border-bottom: 1px solid var(--bord); }
.bloc:last-of-type { border-bottom: 0; }
.bloc--doux { background: linear-gradient(180deg, var(--fond-doux), #fff); }
.cartes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cartes-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.carte { padding: 24px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bord); box-shadow: var(--ombre); }
.carte h3 { display: flex; align-items: center; gap: 10px; }
.carte h3 .ico { color: var(--marque); }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte ul { padding-left: 1.1em; color: var(--texte-doux); }
.carte--pays { position: relative; overflow: hidden; }
.carte--pays::before { content: attr(data-code); position: absolute; right: 16px; top: 10px; font-family: var(--police-titre); font-size: 2.6rem; font-weight: 700; color: var(--teinte-2); line-height: 1; }
@media (max-width: 900px) { .cartes-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cartes-2 { grid-template-columns: 1fr; } }

.encadre { background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); border: 1px solid var(--bord-doux); border-left: 4px solid var(--marque); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 18px 20px; margin: 0 0 1.4em; }
.encadre p:last-child { margin: 0; }
.encadre--ambre { background: linear-gradient(180deg, #fffaf0, #fff4dd); border-color: #f0d58e; border-left-color: #d99a12; }

/* Tableau */
.tableau-defile { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--rayon); box-shadow: var(--ombre); }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--bord); vertical-align: top; }
th { background: linear-gradient(180deg, var(--teinte-2), var(--teinte-3)); color: var(--encre); font-weight: 750; }

/* Pages légales */
.texte-legal .conteneur { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.sommaire { position: sticky; top: 108px; display: grid; gap: 4px; background: linear-gradient(180deg, #fff, var(--fond-doux)); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); }
.sommaire strong { color: var(--encre); margin-bottom: 6px; }
.sommaire a { text-decoration: none; font-size: .93rem; padding: 4px 0; }
.sommaire a:hover { text-decoration: underline; }
.texte-legal article { max-width: 780px; }
.texte-legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal h3 { font-size: 1.08rem; margin-top: 1.2em; }
@media (max-width: 900px) { .texte-legal .conteneur { grid-template-columns: minmax(0, 1fr); gap: 28px; } .sommaire { position: static; } }
.a-completer { display: inline-block; background: #fff3c4; color: #5a4300; border: 1px dashed #b88a00; border-radius: 5px; padding: 0 7px; font-weight: 700; font-size: .92em; }

/* ---------- Formulaire de contact ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, .85fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }
.formulaire { background: #fff; border-radius: 18px; box-shadow: var(--ombre-forte); padding: 32px; border: 1px solid var(--bord-doux); }
@media (max-width: 420px) { .formulaire { padding: 22px 16px; } }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
@media (max-width: 600px) { .champs { grid-template-columns: 1fr; } }
.champ label { font-weight: 700; font-size: .95rem; color: var(--texte); }
.champ label .facultatif { font-weight: 500; color: var(--texte-doux); }
.champ input, .champ textarea, .champ select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: #fff; border: 1.5px solid var(--bord-champ);
  border-radius: var(--rayon-btn); padding: 11px 13px; min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--marque); box-shadow: 0 0 0 3px rgb(var(--marque-rgb) / .2); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ__aide { font-size: .84rem; color: var(--texte-doux); }
.champ__erreur { color: var(--erreur); font-size: .88rem; font-weight: 650; }
.champ__erreur:empty { display: none; }
.champ--case { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.champ--case input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--marque); flex: none; }
.champ--case label { font-weight: 500; flex: 1 1 200px; }
.champ--case .champ__erreur { flex-basis: 100%; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mention-donnees { font-size: .88rem; color: var(--texte-doux); margin: 18px 0 0; }
.message-form { margin: 18px 0 0; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--rayon-btn); font-size: .95rem; }
.message-form:empty { display: none; }
.message-form.info { background: var(--teinte-1); color: var(--encre); border: 1px solid var(--bord-doux); }
.message-form.ok { background: #e9f5ee; color: #164f2c; border: 1px solid #b9dcc6; }
.message-form.erreur { background: #fdecea; color: #7d1d15; border: 1px solid #f1bcb6; }
.actions-form { margin-top: 22px; display: flex; justify-content: flex-end; }
@media (max-width: 600px) { .actions-form .btn { width: 100%; } }
.coordonnees { display: grid; gap: 16px; }
.coordonnees .carte h3 { font-size: 1.02rem; margin-bottom: .5em; }
.coordonnees .carte p { margin: 0; }

/* ---------- Pied de page ---------- */
.pied { color: var(--texte-sur-nuit-doux); background: linear-gradient(170deg, var(--nuit-2) 0%, var(--nuit) 100%); padding: 60px 0 28px; font-size: .96rem; }
.pied a { color: var(--sur-nuit); text-decoration: none; }
.pied a:hover { text-decoration: underline; color: var(--sur-nuit); }
.pied .marque img { height: 46px; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
.pied__titre { font-family: var(--police); font-size: 1rem; font-weight: 750; color: var(--sur-nuit); margin-bottom: 14px; letter-spacing: 0; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied__contact li { display: flex; gap: 10px; align-items: flex-start; }
.pied__contact .ico { color: var(--ciel); margin-top: .2em; }
.pied__intro p { margin-top: 16px; max-width: 420px; }
.pied__bas { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(var(--voile-rgb) / .14); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.pied__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied__legal button { background: none; border: 0; padding: 0; font: inherit; color: var(--sur-nuit); cursor: pointer; }
.pied__legal button:hover { text-decoration: underline; }
@media (max-width: 860px) { .pied__grille { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .pied { padding-bottom: 84px; } }

/* ---------- Bandeau de consentement aux cookies ---------- */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--texte); border-radius: 14px; box-shadow: 0 20px 50px rgb(var(--ombre-rgb) / .28); border: 1px solid var(--bord);
  padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center;
}
.cookies p { margin: 0; font-size: .94rem; }
.cookies strong { display: block; color: var(--titre); margin-bottom: 4px; }
.cookies__actions { display: flex; gap: 12px; }
.cookies__actions .btn { min-width: 120px; }
/* « Refuser » et « Accepter » : même taille, même style, même visibilité */
.btn--choix { color: #fff; background: linear-gradient(180deg, var(--marque-2), var(--marque-fonce)); box-shadow: 0 4px 12px rgb(var(--marque-rgb) / .24); }
.btn--choix:hover { color: #fff; filter: brightness(1.08); }
@media (max-width: 640px) { .cookies { grid-template-columns: 1fr; } .cookies__actions .btn { flex: 1; min-width: 0; } }

/* ---------- Page 404 ---------- */
.introuvable { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.introuvable h1 { color: var(--sur-nuit-titre); }
.introuvable p { margin-left: auto; margin-right: auto; max-width: 520px; }
.introuvable .actions { justify-content: center; margin-top: 26px; }
.introuvable .cube-zone { --c: 120px; margin: 0 auto 70px; }
.introuvable .cube__face .ico { width: 40px; height: 40px; }
.introuvable .cube__face { font-size: 1.6rem; font-family: var(--police-titre); border-radius: 12px; }
.introuvable .cube-ombre { width: 150px; bottom: -50px; }

/* ---------- Pause des animations en boucle (bouton créé par main.js) et blocs hors de l'écran ---------- */
.animations-pause *, .animations-pause *::before, .animations-pause *::after,
.hors-ecran, .hors-ecran::before, .hors-ecran::after, .hors-ecran *, .hors-ecran *::before, .hors-ecran *::after { animation-play-state: paused !important; }
.pause-animations {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--bord); border-radius: 10px; cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 750; color: var(--encre);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgb(var(--ombre-rgb) / .2); transition: box-shadow .15s ease;
}
.pause-animations:hover, .pause-animations:focus-visible { box-shadow: 0 8px 26px rgb(var(--ombre-rgb) / .3); }
.pause-animations .ico { width: 18px; height: 18px; }
@media (max-width: 600px) { .pause-animations { padding: 0; justify-content: center; } .pause-animations__texte { display: none; } }
@media print { .pause-animations { display: none; } }

/* ---------- Apparitions discrètes, une seule fois (désactivées si « réduire les animations ») ---------- */
.js .revele { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .revele.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .revele { opacity: 1; transform: none; }
  .btn:hover, .carte-service:hover { transform: none; }
}

@media print {
  .nav, .pied, .cookies, .sous-nav, .bande-cta { display: none !important; }
  .heros, .page-heros, .sur-nuit { background: none; color: #000; }
}

/* ==========================================================================
   Vitrine 3D du héros (variante « B » choisie) : un objet par service, avec son libellé.
   Conteneur en vraie 3D CSS (fret maritime, conteneurs et colis), voiture importée, disque de frein (pièces d'origine),
   valise de diagnostic (garage). À l'accueil, les quatre se succèdent toutes les 5 s ; sur chaque page intérieure,
   l'objet du service reste seul. Arrêtées par le bouton pause, hors de l'écran et si « réduire les animations ».
   ========================================================================== */
.vitrine { position: relative; width: 100%; max-width: 480px; height: 440px; justify-self: center; }
.vitrine__diapo { position: absolute; inset: 0 0 34px; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; }
.vitrine--cycle .vitrine__diapo { opacity: 0; animation: diapo 20s ease-in-out infinite; }
.vitrine--cycle .vitrine__diapo:nth-child(2) { animation-delay: 5s; }
.vitrine--cycle .vitrine__diapo:nth-child(3) { animation-delay: 10s; }
.vitrine--cycle .vitrine__diapo:nth-child(4) { animation-delay: 15s; }
@keyframes diapo {
  0% { opacity: 0; transform: translateY(16px) scale(.96); }
  4%, 21% { opacity: 1; transform: none; }
  25%, 100% { opacity: 0; transform: translateY(-12px) scale(.98); }
}
.vitrine__objet { position: relative; width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; }
.vitrine__libelle {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px 9px 9px; border-radius: 10px;
  font-size: .92rem; font-weight: 750; color: var(--sur-nuit); background: rgb(var(--voile-rgb) / .08); border: 1px solid rgb(var(--ciel-clair-rgb) / .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vitrine__libelle small { display: block; font-weight: 500; font-size: .8rem; color: var(--texte-sur-nuit-doux); }
.vitrine__libelle .badge-flottant__picto { width: 34px; height: 34px; border-radius: 9px; }
.vitrine__libelle .badge-flottant__picto .ico { width: 18px; height: 18px; }
.vitrine__libelle .etiquette { margin-left: 4px; color: #3d2800; background: var(--ambre); border-color: transparent; }
.vitrine__ombre { position: absolute; left: 50%; bottom: 96px; width: 300px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); }
.vitrine__points { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; }
.vitrine__points span { width: 22px; height: 4px; border-radius: 2px; background: rgb(var(--ciel-clair-rgb) / .25); overflow: hidden; position: relative; }
.vitrine__points span::after { content: ''; position: absolute; inset: 0; background: var(--ciel); transform: scaleX(0); transform-origin: left; animation: point 20s linear infinite; }
.vitrine__points span:nth-child(2)::after { animation-delay: 5s; }
.vitrine__points span:nth-child(3)::after { animation-delay: 10s; }
.vitrine__points span:nth-child(4)::after { animation-delay: 15s; }
@keyframes point { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }

/* Conteneur maritime en vraie 3D, posé sur les vagues */
.boite-zone { --l: 290px; --h: 120px; --p: 120px; position: relative; width: var(--l); height: var(--h); perspective: 1200px; margin-top: -40px; }
.boite { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(-32deg); animation: boite-tourne 10s ease-in-out infinite; }
.boite__face { position: absolute; left: 50%; top: 50%; border: 1px solid rgb(var(--ciel-clair-rgb) / .35);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .10) 0 6px, rgba(0, 0, 0, .10) 6px 12px), linear-gradient(180deg, var(--marque-2), var(--marque-fonce)); }
.boite__face--avant, .boite__face--arriere { width: var(--l); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--l) / -2); }
.boite__face--avant { transform: translateZ(calc(var(--p) / 2)); display: grid; place-items: center; }
.boite__face--avant img { width: 140px; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.boite__face--arriere { transform: rotateY(180deg) translateZ(calc(var(--p) / 2)); }
.boite__face--gauche, .boite__face--droite { width: var(--p); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--p) / -2); }
.boite__face--droite { transform: rotateY(90deg) translateZ(calc(var(--l) / 2)); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 4px, transparent 4px 31px), linear-gradient(180deg, var(--illu-g2), var(--illu-g3)); }
.boite__face--droite::before, .boite__face--droite::after { content: ''; position: absolute; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--ciel-clair); }
.boite__face--droite::before { left: 42%; } .boite__face--droite::after { left: 58%; }
.boite__face--gauche { transform: rotateY(-90deg) translateZ(calc(var(--l) / 2)); }
.boite__face--dessus, .boite__face--dessous { width: var(--l); height: var(--p); margin: calc(var(--p) / -2) 0 0 calc(var(--l) / -2); }
.boite__face--dessus { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); background: linear-gradient(135deg, var(--ciel), var(--marque-2)); }
.boite__face--dessous { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: var(--illu-g4); }
@keyframes boite-tourne { 0%, 100% { transform: rotateX(-14deg) rotateY(-32deg) translateY(0); } 50% { transform: rotateX(-10deg) rotateY(-14deg) translateY(-8px); } }
.vagues { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 70px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.vague { animation: vague 6s ease-in-out infinite; }
.vague--2 { animation-duration: 8s; animation-direction: reverse; }
@keyframes vague { 0%, 100% { translate: 0 0; } 50% { translate: -24px 2px; } }

/* Objets dessinés (voiture, disque de frein, diagnostic) : légère perspective et mouvement propre */
.objet-svg { width: 100%; max-width: 400px; max-height: 300px; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .4)); }
.objet-3d { perspective: 1000px; }
.objet-3d > * { animation: objet-balance 8s ease-in-out infinite; transform: rotateY(-16deg) rotateX(6deg); }
@keyframes objet-balance { 0%, 100% { transform: rotateY(-16deg) rotateX(6deg); } 50% { transform: rotateY(8deg) rotateX(3deg) translateY(-6px); } }
.roue { transform-box: fill-box; transform-origin: center; animation: rotation 1.6s linear infinite; }
.route-voiture { animation: route 1s linear infinite; }
.disque { transform-box: fill-box; transform-origin: center; animation: rotation 5s linear infinite; }
.objet-svg.disque-3d { max-width: 250px; }
.disque-3d { animation: disque-pivote 8s ease-in-out infinite !important; transform: rotateY(-35deg); }
@keyframes disque-pivote { 0%, 100% { transform: rotateY(-35deg) rotateX(8deg); } 50% { transform: rotateY(25deg) rotateX(4deg); } }

@media (max-width: 560px) {
  .vitrine { height: 380px; }
  .boite-zone { --l: 220px; --h: 92px; --p: 92px; } .boite__face--avant img { width: 110px; }
  .objet-svg { max-width: 300px; }
  .objet-svg.disque-3d { max-width: 200px; }
  .vitrine__ombre { width: 220px; bottom: 92px; }
  .vitrine__libelle { font-size: .84rem; }
}
/* Animations en pause (bouton « Pause ») : la vitrine revient au premier objet, toujours visible */
.animations-pause .vitrine--cycle .vitrine__diapo { animation: none; opacity: 0; }
.animations-pause .vitrine--cycle .vitrine__diapo:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .vitrine--cycle .vitrine__diapo { opacity: 0; }
  .vitrine--cycle .vitrine__diapo:first-child { opacity: 1; }
}

/* ==========================================================================
   Formulaire de contact en étapes : choix du besoin en cartes, véhicule (selon le besoin), message, coordonnées.
   Numéros d'étape automatiques (compteur CSS) : l'étape « véhicule » masquée ne compte pas.
   ========================================================================== */
.section--formulaire { background: linear-gradient(180deg, var(--fond-doux), #fff 60%); }
.formulaire { counter-reset: etape; padding: 34px 34px 28px; border-radius: 22px; }
.formulaire__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--bord); }
.formulaire__tete h2 { margin-bottom: .3em; }
.formulaire__tete p { margin: 0; color: var(--texte-doux); max-width: 520px; }
.formulaire__duree { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 10px; border-radius: 8px; font-size: .85rem; font-weight: 750; color: var(--marque-fonce); background: var(--teinte-2); }
.etape-form { border: 0; margin: 0; padding: 22px 0 6px; min-width: 0; }
.etape-form[hidden] { display: none; }
.etape-form__titre { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 10px; float: left; width: 100%; font-weight: 800; font-size: 1.08rem; color: var(--titre); }
.etape-form__titre .facultatif { font-weight: 500; font-size: .9rem; color: var(--texte-doux); }
.etape-form__num { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; color: #fff; font-size: .92rem; font-weight: 800; background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce)); box-shadow: 0 6px 14px -6px rgb(var(--marque-rgb) / .7); }
.etape-form__num::before { counter-increment: etape; content: counter(etape); }
.etape-form.champ { display: block; }
.etape-form__titre + * { clear: both; }

/* Cartes de choix du besoin (boutons radio) */
.choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choix__carte {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center;
  padding: 14px; border-radius: 14px; cursor: pointer; background: #fff; border: 1.5px solid var(--bord);
  box-shadow: 0 1px 2px rgb(var(--ombre-rgb) / .05); transition: border-color .15s, box-shadow .15s, transform .15s, background-color .15s;
}
.choix__carte:hover { border-color: var(--bord-fort); transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgb(var(--ombre-rgb) / .35); }
.choix__carte input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix__picto { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--marque); background: var(--teinte-2); transition: background .15s, color .15s; }
.choix__picto .ico { width: 22px; height: 22px; }
.choix__titre { font-weight: 750; font-size: .95rem; color: var(--titre); line-height: 1.2; }
.choix__detail { font-size: .8rem; color: var(--texte-doux); line-height: 1.3; }
.choix__coche { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #fff; background: var(--marque); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.choix__coche .ico { width: 13px; height: 13px; stroke-width: 3; }
.choix__carte:has(input:checked) { border-color: var(--marque); background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); box-shadow: 0 10px 24px -14px rgb(var(--marque-rgb) / .6); }
.choix__carte:has(input:checked) .choix__picto { color: #fff; background: linear-gradient(145deg, var(--marque-2), var(--marque-fonce)); }
.choix__carte:has(input:checked) .choix__coche { opacity: 1; transform: none; }
.choix__carte:has(input:focus-visible) { outline: 3px solid var(--ciel); outline-offset: 2px; }
.choix__carte:has(input[aria-invalid="true"]) { border-color: #e2a9a4; }
@media (max-width: 760px) { .choix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .choix { grid-template-columns: 1fr; } }

/* Champs avec icône */
.champ__saisie { position: relative; display: block; }
.champ__saisie > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: #7a90a8; pointer-events: none; transition: color .15s; }
.champ__saisie input { padding-left: 44px; }
.champ__saisie:focus-within > .ico { color: var(--marque); }
.champ input, .champ textarea { background: var(--teinte-0); }
.champ input:focus, .champ textarea:focus { background: #fff; }
.champ__aide--droite { align-self: flex-end; }
.formulaire__pied { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--bord); }
.btn--large { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
@media (max-width: 700px) { .formulaire__pied { grid-template-columns: 1fr; } .formulaire__pied .btn { width: 100%; } .formulaire { padding: 24px 18px 22px; } .formulaire__tete { flex-direction: column; } }
.mention-donnees { display: flex; gap: 8px; align-items: flex-start; }
.mention-donnees .ico { color: var(--ok); margin-top: .15em; }

/* Message d'état du formulaire */
.message-form { gap: 12px; padding: 16px 18px; border-radius: 12px; }
.message-form .ico { width: 22px; height: 22px; flex: none; }
.message-form strong { display: block; margin-bottom: 2px; }
.message-form.info { background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); border: 1px solid var(--bord-doux); color: var(--encre); }
.message-form.info .ico { color: var(--marque); }

/* Colonne de droite */
.coordonnees { position: sticky; top: 108px; }
.carte-nuit { padding: 24px; border-radius: 18px; color: var(--sur-nuit); background: radial-gradient(360px 220px at 100% 0%, rgb(var(--ciel-rgb) / .3), transparent 60%), linear-gradient(160deg, var(--nuit-3), var(--nuit)); box-shadow: var(--ombre-forte); }
.carte-nuit h3 { color: var(--sur-nuit-titre); margin-bottom: 16px; }
.frise { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.frise::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; border-left: 2px dashed rgb(var(--ciel-clair-rgb) / .35); }
.frise li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--texte-sur-nuit-doux); }
.frise strong { display: block; color: var(--sur-nuit); font-size: .98rem; }
.frise__picto { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--ciel), var(--marque)); box-shadow: 0 8px 18px -8px rgb(var(--ciel-rgb) / .8); }
.frise__picto .ico { width: 20px; height: 20px; }
.liste-check--serre { gap: 8px; margin: 0; font-size: .95rem; }
.coordonnees__liste { margin: 12px 0 0; display: grid; gap: 10px; }
.coordonnees__liste div { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--bord); font-size: .94rem; }
.coordonnees__liste dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--texte); }
.coordonnees__liste dt .ico { color: var(--marque); width: 18px; height: 18px; }
.coordonnees__liste dd { margin: 0; text-align: right; }
.bientot-dispo { display: inline-block; font-size: .8rem; font-weight: 750; color: var(--ambre-texte); background: #fff2d1; border: 1px solid #f0d58e; border-radius: 6px; padding: 2px 8px; }
@media (max-width: 900px) { .coordonnees { position: static; } }

/* ==========================================================================
   Pages EPI et Bureau / informatique : grilles de familles de produits
   ========================================================================== */
.cartes-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .cartes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cartes-3.cartes-3--souple { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cartes-4, .cartes-3.cartes-3--souple { grid-template-columns: minmax(0, 1fr); } }
.carte--famille { display: flex; flex-direction: column; gap: 4px; }
.carte--famille h3 { font-size: 1.05rem; margin: 0 0 4px; }
.carte--famille h3 .ico { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); }
.carte--famille p { margin: 0; color: var(--texte-doux); font-size: .95rem; }
.carte__norme { margin-top: auto !important; padding-top: 10px; font-size: .82rem !important; color: var(--texte-doux); }
.carte__norme strong { color: var(--marque-fonce); }
.bloc__suite { margin-top: 28px; }

/* Accueil : carte large « Bureau, informatique et impression » avec ses quatre rubriques */
.carte-service--large { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 18px 28px; }
.carte-service--large .carte-service__tete { align-self: start; }
.carte-service__texte { display: grid; gap: 6px; }
.carte-service__liens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.carte-service__liens a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 10px; font-weight: 650; color: var(--titre); text-decoration: none; background: linear-gradient(180deg, var(--teinte-1), var(--teinte-2)); border: 1px solid var(--bord-doux); transition: border-color .15s, transform .15s; }
.carte-service__liens a:hover, .carte-service__liens a:focus-visible { border-color: var(--marque); transform: translateY(-2px); }
.carte-service__liens .ico { flex: none; color: var(--marque); }
@media (max-width: 960px) { .carte-service--large { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .carte-service__liens { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .carte-service__liens a { transition: none; } .carte-service__liens a:hover { transform: none; } }
