/* ============================================================
   SOLIGHT ENGINEERING — Maquette de refonte
   Système multi-univers (4 directions artistiques switchables)
   Charte : Bleu Énergie #0B3D91 · Rouge Puissance #B22222
            Jaune Solaire #E99226 · Or #FBB03B
   Typo   : Bebas Neue (titres) · Montserrat (textes)
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@font-face { font-family: 'Bebas Local'; src: url('../fonts/Bebas-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-SemiBold.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-ExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-Black.otf') format('opentype'); font-weight: 900; font-display: swap; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:root {
  /* Constantes de marque (invariantes) */
  --bleu: #0B3D91;
  --bleu-fonce: #072a66;
  --rouge: #B22222;
  --jaune: #E99226;
  --or: #FBB03B;
  --degrade-or: linear-gradient(135deg, #E99226, #FBB03B);
  --font-titre: 'Bebas Neue', 'Bebas Local', 'Arial Narrow', sans-serif;
  --font-texte: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --transition-univers: .5s var(--ease-out);
}

/* ============================================================
   UNIVERS 1 — « NUIT LUMIÈRE » (défaut)
   Ville nocturne, halos ambre, la lumière comme matière.
   ============================================================ */
html[data-univers="nuit"] {
  --bg: #04091b;
  --bg-2: #071130;
  --bg-3: #0a1a42;
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.08);
  --surface-solid: #0b1636;
  --text: #eef3ff;
  --text-2: #a8b6d8;
  --muted: #6b7ba3;
  --accent: #FBB03B;
  --accent-ink: #1a1002;
  --accent-2: #E99226;
  --primary-soft: #3d6fd8;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --glow: 0 0 24px rgba(251,176,59,.45), 0 0 64px rgba(251,176,59,.18);
  --glow-soft: 0 0 40px rgba(251,176,59,.12);
  --shadow-card: 0 14px 40px rgba(0,0,0,.45);
  --hero-grad: radial-gradient(120% 90% at 50% -10%, #0d2158 0%, #071130 45%, #04091b 100%);
  --header-bg: rgba(4,9,27,.82);
  --chip-bg: rgba(251,176,59,.12);
  --chip-text: #FBB03B;
  --footer-bg: #030714;
  color-scheme: dark;
}

/* ============================================================
   UNIVERS 2 — « PLEIN SOLEIL » : clair sable, or solaire,
   institutionnel premium, aurore africaine.
   ============================================================ */
html[data-univers="solaire"] {
  --bg: #FBF6EC;
  --bg-2: #ffffff;
  --bg-3: #FDF1DC;
  --surface: #ffffff;
  --surface-2: #FDF4E4;
  --surface-solid: #ffffff;
  --text: #122a5c;
  --text-2: #46598a;
  --muted: #8492b5;
  --accent: #E99226;
  --accent-ink: #ffffff;
  --accent-2: #B22222;
  --primary-soft: #0B3D91;
  --line: rgba(11,61,145,.12);
  --line-strong: rgba(11,61,145,.22);
  --glow: 0 10px 30px rgba(233,146,38,.35);
  --glow-soft: 0 6px 24px rgba(233,146,38,.15);
  --shadow-card: 0 16px 44px rgba(18,42,92,.10);
  --hero-grad: linear-gradient(180deg, #FFE9C4 0%, #FBF6EC 55%, #FBF6EC 100%);
  --header-bg: rgba(251,246,236,.88);
  --chip-bg: rgba(233,146,38,.13);
  --chip-text: #b96d0f;
  --footer-bg: #0B3D91;
  color-scheme: light;
}

/* ============================================================
   UNIVERS 3 — « BLUEPRINT » : bureau d'études, plan technique,
   grille millimétrée, tracés qui s'allument.
   ============================================================ */
html[data-univers="blueprint"] {
  --bg: #082b66;
  --bg-2: #0B3D91;
  --bg-3: #0a3376;
  --surface: rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.09);
  --surface-solid: #0c3a85;
  --text: #eaf2ff;
  --text-2: #b7c9ec;
  --muted: #7f97c4;
  --accent: #FBB03B;
  --accent-ink: #1a1002;
  --accent-2: #ffd98a;
  --primary-soft: #6ea8ff;
  --line: rgba(255,255,255,.16);
  --line-strong: rgba(255,255,255,.30);
  --glow: 0 0 0 1px rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.3);
  --glow-soft: 0 0 24px rgba(110,168,255,.15);
  --shadow-card: 0 12px 34px rgba(2,12,38,.4);
  --hero-grad: linear-gradient(160deg, #0a3376 0%, #082b66 60%, #06224f 100%);
  --header-bg: rgba(8,43,102,.85);
  --chip-bg: rgba(255,255,255,.12);
  --chip-text: #ffd98a;
  --footer-bg: #06224f;
  color-scheme: dark;
}
/* Grille millimétrée du blueprint, appliquée au fond de page */
html[data-univers="blueprint"] body {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
}

/* ============================================================
   UNIVERS 4 — « JOUR / NUIT » : deux états, un interrupteur.
   Jour par défaut ; html[data-jn="nuit"] bascule la nuit.
   ============================================================ */
html[data-univers="journuit"] {
  --bg: #EAF4FF;
  --bg-2: #ffffff;
  --bg-3: #DCEDFF;
  --surface: #ffffff;
  --surface-2: #F2F8FF;
  --surface-solid: #ffffff;
  --text: #0d2247;
  --text-2: #3f5680;
  --muted: #7f93b8;
  --accent: #E99226;
  --accent-ink: #ffffff;
  --accent-2: #0B3D91;
  --primary-soft: #0B3D91;
  --line: rgba(13,34,71,.12);
  --line-strong: rgba(13,34,71,.24);
  --glow: 0 10px 30px rgba(233,146,38,.35);
  --glow-soft: 0 8px 26px rgba(11,61,145,.12);
  --shadow-card: 0 14px 40px rgba(13,34,71,.10);
  --hero-grad: linear-gradient(180deg, #9CCBFF 0%, #D6EBFF 45%, #EAF4FF 100%);
  --header-bg: rgba(234,244,255,.88);
  --chip-bg: rgba(11,61,145,.10);
  --chip-text: #0B3D91;
  --footer-bg: #0d2247;
  color-scheme: light;
}
html[data-univers="journuit"][data-jn="nuit"] {
  --bg: #060d24;
  --bg-2: #0a1638;
  --bg-3: #0d1d4a;
  --surface: rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.09);
  --surface-solid: #0d1b42;
  --text: #edf2ff;
  --text-2: #a9b7da;
  --muted: #6d7da6;
  --accent: #FBB03B;
  --accent-ink: #1a1002;
  --accent-2: #E99226;
  --primary-soft: #4d7fe8;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --glow: 0 0 24px rgba(251,176,59,.5), 0 0 64px rgba(251,176,59,.2);
  --glow-soft: 0 0 40px rgba(251,176,59,.12);
  --shadow-card: 0 14px 40px rgba(0,0,0,.5);
  --hero-grad: radial-gradient(120% 90% at 50% -10%, #12245c 0%, #0a1638 50%, #060d24 100%);
  --header-bg: rgba(6,13,36,.85);
  --chip-bg: rgba(251,176,59,.12);
  --chip-text: #FBB03B;
  --footer-bg: #040a1e;
  color-scheme: dark;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-texte);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color var(--transition-univers), color var(--transition-univers);
}
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(1180px, 92vw); margin-inline: auto; }

h1, h2, h3, .titre { font-family: var(--font-titre); font-weight: 400; letter-spacing: .02em; line-height: 1.05; }

/* ---------- Voile de transition entre univers ---------- */
#univers-voile {
  position: fixed; inset: 0; z-index: 12000; pointer-events: none;
  background: radial-gradient(circle at var(--vx,90%) var(--vy,90%), #FBB03B 0%, #E99226 30%, #0B3D91 68%, #04091b 100%);
  clip-path: circle(0% at var(--vx,90%) var(--vy,90%));
  opacity: 0; transition: none;
}
#univers-voile.on {
  animation: voile-wipe .9s var(--ease-out) forwards;
}
@keyframes voile-wipe {
  0%   { clip-path: circle(0% at var(--vx,90%) var(--vy,90%)); opacity: 1; }
  45%  { clip-path: circle(160% at var(--vx,90%) var(--vy,90%)); opacity: 1; }
  60%  { clip-path: circle(160% at var(--vx,90%) var(--vy,90%)); opacity: 1; }
  100% { clip-path: circle(160% at var(--vx,90%) var(--vy,90%)); opacity: 0; }
}

/* ---------- Icônes SVG ---------- */
i[data-ico] { display: inline-flex; align-items: center; justify-content: center; font-style: normal; vertical-align: -0.14em; }
i[data-ico] svg { width: 1.1em; height: 1.1em; }
.co-ico i[data-ico] svg { width: 21px; height: 21px; }
.jn-pouce { color: #7a4a00; }
html[data-univers="journuit"][data-jn="nuit"] .jn-pouce { color: #17264d; }
.reseaux a i[data-ico] svg { width: 17px; height: 17px; }

/* ---------- Topbar ---------- */
.topbar {
  font-size: 12.5px; padding: 7px 0;
  background: var(--bleu-fonce); color: #dfe8ff;
  position: relative; z-index: 60;
}
html[data-univers="solaire"] .topbar { background: var(--bleu); }
.topbar .container { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-right { margin-left: auto; display: flex; gap: 14px; }
.topbar .dot { opacity: .4; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--transition-univers);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; flex: none; }
.brand img { height: 54px; width: auto; object-fit: contain; border-radius: 7px; flex: none; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand .brand-nom { font-family: var(--font-titre); font-size: 23px; letter-spacing: .06em; }
.brand .brand-nom em { font-style: normal; color: var(--accent); }
.brand .brand-slogan { font-size: 9.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav-main { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 14px; }
.nav-main a { position: relative; padding: 6px 0; color: var(--text-2); transition: color .25s; }
.nav-main a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--degrade-or); border-radius: 2px; transition: width .3s var(--ease-out);
}
.nav-main a:hover, .nav-main a.actif { color: var(--text); }
.nav-main a:hover::after, .nav-main a.actif::after { width: 100%; }
.header-cta { display: flex; gap: 12px; align-items: center; }
.burger { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: .3s; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 14px; letter-spacing: .015em;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .25s var(--ease-spring), box-shadow .3s, background-color .3s, color .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-solaire {
  background: var(--degrade-or); color: #21150a;
  box-shadow: var(--glow);
}
.btn-solaire:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(251,176,59,.55), 0 14px 30px rgba(0,0,0,.25); }
.btn-ligne {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn-ligne:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-bleu { background: var(--bleu); color: #fff; box-shadow: 0 10px 26px rgba(11,61,145,.35); }
.btn-bleu:hover { transform: translateY(-2px); background: #0d47ab; }
.btn-wa { background: #1eb955; color: #fff; }
.btn-wa:hover { transform: translateY(-2px); background: #23cf60; box-shadow: 0 12px 28px rgba(30,185,85,.4); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-tete { max-width: 720px; margin-bottom: 52px; }
.section-tete.centre { margin-inline: auto; text-align: center; }
.sur-titre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--chip-text); background: var(--chip-bg);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.sur-titre::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-tete h2 { font-size: clamp(38px, 5vw, 58px); }
.section-tete h2 .accent { color: var(--accent); }
.section-tete p { color: var(--text-2); margin-top: 16px; font-size: 16.5px; }

/* ---------- Cartes génériques ---------- */
.carte {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s, background-color .3s;
}
.carte:hover { transform: translateY(-6px); border-color: var(--line-strong); }
html[data-univers="blueprint"] .carte { border-radius: 6px; border-style: dashed; }
html[data-univers="blueprint"] .carte:hover { border-style: solid; border-color: var(--accent); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  background: var(--chip-bg); color: var(--chip-text);
  border-radius: 999px; padding: 5px 12px;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.vu { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

/* ============================================================
   SÉLECTEUR D'UNIVERS (bouton flottant)
   ============================================================ */
.univers-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 11000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.univers-fab .fab-bouton {
  width: 62px; height: 62px; border-radius: 50%;
  background: conic-gradient(from 210deg, #04091b 0 25%, #FBF6EC 0 50%, #0B3D91 0 75%, #9CCBFF 0 100%);
  border: 3px solid var(--or);
  box-shadow: 0 0 0 4px rgba(251,176,59,.18), 0 14px 34px rgba(0,0,0,.4);
  cursor: pointer; position: relative;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-spring);
  animation: fab-pulse 2.6s infinite;
}
.univers-fab .fab-bouton:hover { transform: scale(1.08) rotate(12deg); }
.univers-fab .fab-bouton .fab-ico { font-size: 24px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(251,176,59,.18), 0 14px 34px rgba(0,0,0,.4); }
  50% { box-shadow: 0 0 0 10px rgba(251,176,59,.07), 0 14px 34px rgba(0,0,0,.4); }
}
.univers-fab .fab-hint {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
  background: var(--surface-solid); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font-size: 12px; font-weight: 700; padding: 9px 14px; white-space: nowrap;
  box-shadow: var(--shadow-card); pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.univers-fab.hint .fab-hint { opacity: 1; }
.univers-menu {
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(14px) scale(.94); transform-origin: bottom right;
  pointer-events: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-spring);
}
.univers-fab.ouvert .univers-menu { opacity: 1; transform: none; pointer-events: auto; }
.univers-opt {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-solid); border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 14px; padding: 10px 16px 10px 12px; cursor: pointer;
  font-weight: 700; font-size: 13.5px; min-width: 230px;
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease-spring), border-color .25s;
}
.univers-opt:hover { transform: translateX(-6px); border-color: var(--accent); }
.univers-opt.actif { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(251,176,59,.3), var(--shadow-card); }
.univers-opt .swatch {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  border: 2px solid rgba(255,255,255,.25); position: relative; overflow: hidden;
}
.univers-opt small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); margin-top: 1px; }
.sw-nuit { background: radial-gradient(circle at 65% 30%, #FBB03B 0 22%, #0a1a42 24% 100%); }
.sw-solaire { background: url('../img/immersion/hero-panneaux-ciel.jpg') center/cover; }
.sw-blueprint {
  background: #0B3D91;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 8px 8px;
}
.sw-journuit { background: linear-gradient(100deg, #9CCBFF 0 50%, #0a1638 50% 100%); }

/* ============================================================
   DOCK DE DÉMONSTRATION (navigation de la maquette)
   ============================================================ */
.demo-dock {
  position: fixed; left: 22px; bottom: 22px; z-index: 11000;
  display: flex; align-items: center; gap: 4px;
  background: var(--surface-solid); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 6px 10px 6px 16px;
  box-shadow: var(--shadow-card);
  font-size: 12.5px; font-weight: 700;
}
.demo-dock .dock-label {
  color: var(--accent); letter-spacing: .12em; font-size: 10.5px; margin-right: 8px;
  text-transform: uppercase;
}
.demo-dock a {
  padding: 7px 12px; border-radius: 999px; color: var(--text-2);
  transition: background-color .25s, color .25s;
}
.demo-dock a:hover { background: var(--chip-bg); color: var(--text); }
.demo-dock a.actif { background: var(--degrade-or); color: #21150a; }

/* ---------- Marquee clients ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; position: relative; }
.marquee-piste { display: flex; gap: 64px; width: max-content; animation: defile 30s linear infinite; }
.marquee:hover .marquee-piste { animation-play-state: paused; }
.marquee .logo-client {
  font-family: var(--font-titre); font-size: 26px; letter-spacing: .1em;
  color: var(--muted); display: flex; align-items: center; gap: 12px; white-space: nowrap;
  transition: color .3s;
}
.marquee .logo-client:hover { color: var(--accent); }
.marquee .logo-client::before { content: '✦'; font-size: 13px; color: var(--accent); opacity: .6; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #c9d6f2; margin-top: 40px; }
.footer-haut { padding: 70px 0 50px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; }
.site-footer h4 { font-family: var(--font-titre); font-size: 21px; letter-spacing: .06em; color: #fff; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--or); }
.footer-marque img { height: 68px; width: auto; object-fit: contain; border-radius: 9px; margin-bottom: 18px; }
.footer-marque p { font-size: 13.5px; line-height: 1.7; opacity: .85; }
.footer-bas { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; opacity: .8; }
.reseaux { display: flex; gap: 10px; margin-top: 18px; }
.reseaux a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 15px; transition: .3s;
}
.reseaux a:hover { background: var(--degrade-or); color: #21150a; transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-haut { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-main {
    position: fixed; inset: 76px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0;
    background: var(--surface-solid); border-bottom: 1px solid var(--line-strong);
    padding: 10px 5vw 18px; display: none;
  }
  .nav-main.ouvert { display: flex; }
  .nav-main a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: auto; }
  .header-cta .btn-ligne { display: none; }
  .topbar .tb-right { display: none; }
  .section { padding: 68px 0; }
  .demo-dock { left: 12px; bottom: 12px; padding-left: 12px; }
  .demo-dock .dock-label { display: none; }
  .demo-dock a { padding: 7px 9px; font-size: 11.5px; }
  .univers-fab { right: 12px; bottom: 64px; }
}
@media (max-width: 560px) {
  .footer-haut { grid-template-columns: 1fr; gap: 30px; }
  .brand .brand-slogan { display: none; }
}

/* ---------- Entête compacte sur mobile : logo net, rien ne se chevauche ---------- */
@media (max-width: 480px) {
  .site-header .container { gap: 10px; height: 66px; }
  .brand { gap: 9px; }
  .brand img { height: 42px; }
  .brand .brand-nom { font-size: 17.5px; letter-spacing: .04em; }
  .header-cta { gap: 8px; margin-left: auto; }
  .header-cta .btn-sm { padding: 8px 13px; font-size: 12px; }
  .burger { padding: 8px 9px; }
  .nav-main { inset: 66px 0 auto 0; }
  .footer-marque img { height: 56px; }
  .topbar { font-size: 11.5px; padding: 6px 0; }
  .topbar .container { gap: 8px; row-gap: 2px; }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
