/* ==========================================================
   Born'up Elec V3 - feuille de style
   Thème sombre unique, accent bleu du logo (#2F80FF).
   Rayons : cartes et panneaux 14px, contrôles (boutons, champs, options) 10px.
   ========================================================== */

@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Michroma'; src: url('../fonts/michroma-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-20AB, U+20AD-FFFF; /* € exclu : le signe € de Michroma ressemble à un 0, il est pris dans Geist */ }

:root {
  --bg: #0a0d12;
  --bg-2: #0e131a;
  --bg-3: #131a23;
  --panel: rgba(16, 22, 31, .78);
  --line: rgba(150, 175, 210, .14);
  --line-2: rgba(150, 175, 210, .24);
  --ink: #eef3f9;
  --text: #c3cdd9;
  --muted: #8b98a9;
  --accent: #2f80ff;
  --accent-hi: #5c9dff;
  --accent-lo: #1a4fa8;
  --accent-wash: rgba(47, 128, 255, .12);
  --ok: #4ad19a;
  --r-card: 14px;
  --r-ctl: 10px;
  --container: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Michroma', 'Geist', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a, button, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(47,128,255,.18); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-ctl); background: var(--accent); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; font-weight: 650; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
strong { color: var(--ink); font-weight: 600; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: var(--r-ctl);
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: #2370e8; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-wash); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn .ic { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-hi); font-weight: 600; font-size: 15px; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header-h);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10, 13, 18, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.header .container { height: 100%; display: flex; align-items: center; gap: 28px; max-width: none; padding: 0 max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left)); }
.logo { display: inline-flex; align-items: center; gap: 2px; color: var(--ink); font-family: var(--display); font-size: 15px; letter-spacing: .04em; }
.logo img { height: 30px; width: auto; margin-right: 1px; }
.logo .e { color: var(--accent-hi); margin-left: 6px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { font-size: 14px; color: var(--text); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.tel .ic { color: var(--accent-hi); }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: var(--r-ctl); font-size: 13px; font-weight: 600; color: var(--text); }
.lang-btn:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 6px; display: none; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.lang-menu.open { display: block; }
.lang-menu button { display: flex; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 7px; font-size: 14px; color: var(--text); text-align: left; }
.lang-menu button b { width: 22px; color: var(--muted); font-weight: 600; }
.lang-menu button:hover, .lang-menu button[aria-current="true"] { background: var(--accent-wash); color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border-radius: var(--r-ctl); align-items: center; justify-content: center; border: 1px solid var(--line-2); }
.burger .ic { width: 22px; height: 22px; }
.mobile-nav { display: none; }

/* ==========================================================
   HERO / CONFIGURATEUR 3D
   ========================================================== */
.config {
  position: relative; min-height: 100dvh; display: grid;
  grid-template-columns: minmax(0, 1fr) 420px; gap: 0;
  background:
    radial-gradient(1200px 600px at 38% 62%, #151d29 0%, rgba(10,13,18,0) 70%),
    linear-gradient(180deg, #0c1016 0%, var(--bg) 100%);
  overflow: hidden;
}
.stage { position: absolute; inset: 0; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.wordmark {
  position: absolute; left: 0; right: 420px; top: 25%; text-align: center; pointer-events: none; user-select: none;
  font-family: var(--display); font-size: clamp(72px, 13vw, 210px); line-height: 1; letter-spacing: .08em;
  color: #161d27; text-shadow: 0 1px 0 rgba(255,255,255,.05), 0 -1px 0 rgba(0,0,0,.4);
  white-space: nowrap;
}
.config-intro { position: relative; z-index: 2; align-self: start; padding: calc(var(--header-h) + 40px) 0 0 48px; max-width: 560px; pointer-events: none; }
.config-intro h1 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; }
.config-intro { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.config.is-configuring .config-intro { opacity: 0; transform: translateY(-10px); }
.config-intro h1 .l2 { display: block; color: var(--muted); font-weight: 500; font-size: .56em; letter-spacing: -.01em; margin-top: 8px; }
.config-intro p { margin-top: 0; max-width: 40ch; font-size: 17px; color: var(--text); }

.stage-loader {
  position: absolute; left: calc((100% - 420px) / 2); top: 58%; transform: translate(-50%, -50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); transition: opacity .5s var(--ease);
}
.stage-loader .track { width: 180px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.stage-loader .fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.stage.is-ready .stage-loader { opacity: 0; pointer-events: none; }
.stage-fallback { position: absolute; inset: 0; display: none; }
.stage-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.stage.no-webgl .stage-fallback { display: block; }
.stage.no-webgl .stage-loader, .stage.no-webgl canvas { display: none; }

.charge-info {
  position: absolute; left: 48px; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: var(--r-card); background: rgba(12,16,23,.6); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.charge-info .ic { width: 22px; height: 22px; color: var(--accent-hi); }
.charge-info .k { font-size: 17px; font-weight: 600; color: var(--ink); }
.charge-info .t { font-size: 13px; color: var(--muted); line-height: 1.35; }
.drag-hint { position: absolute; right: calc(420px + 28px); bottom: 44px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); pointer-events: none; transition: opacity .6s; }
.drag-hint .ic { width: 18px; height: 18px; }
.drag-hint.is-hidden { opacity: 0; }

/* Étiquettes 3D (projetées depuis la scène) */
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; will-change: transform; opacity: 0; transition: opacity .4s var(--ease); }
.tag.is-on { opacity: .62; }
.tag.is-on.is-active { opacity: 1; }
.tag .dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(47,128,255,.35); }
.tag svg { position: absolute; left: 0; bottom: 0; overflow: visible; }
.tag svg line { stroke: rgba(230,238,248,.75); stroke-width: 1; }
.tag .box { position: absolute; left: 46px; bottom: 40px; white-space: nowrap; padding-bottom: 5px; border-bottom: 1px solid rgba(230,238,248,.75); }
.tag .h { font-family: var(--display); font-size: 11px; letter-spacing: .12em; color: #fff; text-transform: uppercase; }
.tag .v { font-size: 13px; color: var(--text); margin-top: 2px; }
.tag.left svg { transform: scaleX(-1); transform-origin: 0 0; }
.tag.left .box { left: auto; right: 46px; text-align: right; }

/* Panneau du simulateur */
.panel {
  position: relative; z-index: 3; grid-column: 2; align-self: stretch;
  margin: calc(var(--header-h) + 16px) 20px 20px 0;
  display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - var(--header-h) - 36px);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 80px -30px rgba(0,0,0,.7);
}
@media (prefers-reduced-transparency: reduce) { .panel { background: var(--bg-3); backdrop-filter: none; } }
.panel-head { padding: 22px 24px 0; }
.panel-head h2 { font-size: 20px; font-weight: 650; }
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.progress button { display: block; width: 100%; height: 22px; position: relative; }
.progress button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); transition: background .3s var(--ease); }
.progress button.is-done::before { background: var(--accent-lo); }
.progress button.is-current::before { background: var(--accent); }
.progress button:disabled { cursor: default; }
.panel-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 24px 18px; scrollbar-width: thin; }
.step-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.step-title h3 { font-size: 17px; font-weight: 600; }
.step-title .n { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cfg-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cfg-step legend { padding: 0; width: 100%; }
.cfg-step.is-entering { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { transform: translateX(16px); } to { transform: none; } }

.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-ctl);
  background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.opt:hover .opt-card { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.opt input:checked + .opt-card { border-color: var(--accent); background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + .opt-card { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.opt input:disabled + .opt-card { opacity: .35; cursor: not-allowed; }
.opt-card.opt-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.opt-row > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.opt .t { color: var(--ink); font-weight: 550; font-size: 15px; line-height: 1.3; }
.opt .s { font-size: 13px; color: var(--muted); line-height: 1.35; }
.opt .price { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt .kw { font-family: var(--display); font-size: 22px; color: var(--ink); line-height: 1; }
.opt .kw small { font-family: 'Geist', sans-serif; font-size: 13px; color: var(--muted); margin-left: 4px; }
.opt-brand .opt-card { min-height: 78px; justify-content: center; }
.wm { font-weight: 700; color: var(--ink); font-size: 17px; letter-spacing: .01em; line-height: 1.1; }
.wm small { display: block; font-size: 9.5px; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-top: 2px; }
.wm-easee { font-weight: 800; letter-spacing: -.03em; text-transform: lowercase; }
.wm-ohme { font-weight: 600; letter-spacing: -.01em; }
.wm-zaptec, .wm-tesla { letter-spacing: .16em; font-size: 14px; }
.wm-abb { font-weight: 800; letter-spacing: .04em; }
.wm-any { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 550; }
.kwline { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.kwline s { opacity: .55; }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note .ic { color: var(--accent-hi); margin-top: 2px; }

.recap dl { margin: 0; display: grid; gap: 0; }
.recap dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 14px; }
.recap dl > div + div { border-top: 1px solid var(--line); }
.recap dt { color: var(--muted); }
.recap dt span:last-child { color: var(--text); }
.recap dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.recap .disc { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.panel-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.total .l { font-size: 13px; color: var(--muted); line-height: 1.3; }
.total .v { font-family: var(--display); font-size: 28px; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total .v .cur { font-family: 'Geist', sans-serif; font-weight: 500; font-size: .82em; margin-left: .28em; }
.nav-btns { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.nav-btns .btn { width: 100%; }
.nav-btns .btn-ghost { padding: 0 16px; }

/* ==========================================================
   Bandeau de confiance (sous le hero)
   ========================================================== */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust .b { display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-size: 15px; color: var(--ink); font-weight: 500; }
.trust .b + .b { border-left: 1px solid var(--line); }
.trust .ic { width: 26px; height: 26px; color: var(--accent-hi); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.sec-head p { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 18px; }

/* Métiers : bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 300px 260px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-3); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,13,18,.05) 20%, rgba(10,13,18,.88) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile h3 { font-size: 22px; }
.tile p { margin-top: 6px; font-size: 15px; color: var(--text); max-width: 34ch; }
.tile .go { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,13,18,.55); border: 1px solid var(--line-2); color: var(--ink); transition: background .25s, transform .25s var(--ease); }
.tile:hover .go { background: var(--accent); transform: rotate(-45deg); }
.tile-xl { grid-row: span 2; }
.tile-wide { grid-column: span 2; }

/* Installation à Colmar : split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split-media { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3.3; border: 1px solid var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(30px, 3.4vw, 44px); }
.split h2 .l2 { color: var(--muted); font-weight: 500; }
.split .text { margin-top: 18px; max-width: 56ch; }
.checks { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.checks li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 550; font-size: 21px; line-height: 1.25; }
.checks .ic { width: 32px; height: 32px; color: var(--accent-hi); }
@media (max-width: 900px) { .checks li { font-size: 18px; } .checks .ic { width: 26px; height: 26px; } }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; gap: 16px; } }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 88px; border-top: 1px solid var(--line); }
.aud { padding: 28px 24px 0 0; }
.aud + .aud { padding-left: 24px; border-left: 1px solid var(--line); }
.aud .ic { width: 28px; height: 28px; color: var(--accent-hi); margin-bottom: 16px; }
.aud h3 { font-size: 17px; }
.aud p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* Méthode : frise */
.method { background: var(--bg-2); border-block: 1px solid var(--line); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: st; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, var(--accent) 0%, var(--line-2) 100%); }
.timeline li { position: relative; padding-top: 64px; counter-increment: st; }
.timeline li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--accent); color: var(--ink); font-family: var(--display); font-size: 14px; }
.timeline p { color: var(--ink); font-size: 17px; font-weight: 500; max-width: 24ch; }

/* Marques : défilement */
.brands { padding: 56px 0; overflow: hidden; }
.brands h2 { font-size: 15px; font-weight: 500; color: var(--muted); text-align: center; letter-spacing: 0; margin-bottom: 28px; }
.marquee { display: flex; width: max-content; gap: 72px; animation: marquee 32s linear infinite; mask-image: none; }
.marquee-wrap { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .wm { font-size: 24px; color: #9aa7b8; white-space: nowrap; }
.marquee .wm small { color: #6f7c8d; }
.marquee .brand { display: inline-flex; align-items: center; }
.marquee .brand img { display: none; height: 30px; width: auto; opacity: .8; filter: grayscale(1) brightness(1.8); }
.marquee .brand.haslogo img { display: block; }
.marquee .brand.haslogo .wm { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee { animation-play-state: paused; }

/* Réalisations : défilement horizontal */
.works { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.work { scroll-snap-align: start; }
.work { display: block; color: inherit; }
.work .img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.work .insta { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(10,13,18,.5); color: #fff; opacity: 0; transition: opacity .35s var(--ease); }
.work .insta .ic { width: 52px; height: 52px; transform: scale(.85); transition: transform .35s var(--ease); }
.work:hover .insta, .work:focus-visible .insta { opacity: 1; }
.work:hover .insta .ic, .work:focus-visible .insta .ic { transform: none; }
.work:hover h3 { color: var(--accent-hi); }
.work .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .img img { transform: scale(1.04); }
.work h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.work p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.work p b { color: var(--text); font-weight: 500; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; color: var(--ink); font-weight: 550; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--muted); transition: transform .3s var(--ease); margin-top: 3px; }
.qa[open] summary .ic { transform: rotate(180deg); color: var(--accent-hi); }
.qa .a { padding: 0 0 24px; color: var(--text); max-width: 68ch; }

/* Bandeau appel à l'action */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-card); border: 1px solid var(--line); padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,13,18,.94) 30%, rgba(10,13,18,.55) 100%); }
.cta h2 { font-size: clamp(26px, 2.8vw, 36px); max-width: 22ch; }
.cta p { margin-top: 10px; max-width: 52ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-lines { display: grid; gap: 4px; margin-top: 32px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.contact-lines a .ic { width: 22px; height: 22px; color: var(--accent-hi); }
.contact-lines a:hover { color: var(--accent-hi); }

.summary { border: 1px solid var(--accent); background: var(--accent-wash); border-radius: var(--r-card); padding: 18px 20px; margin-bottom: 22px; }
.summary-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.summary h3 { font-size: 16px; }
.summary a { font-size: 14px; color: var(--accent-hi); font-weight: 600; }
.summary ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 14px; color: var(--text); }
.summary .sum-total { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(92,157,255,.3); display: flex; justify-content: space-between; color: var(--ink); font-weight: 600; }
.summary .sum-total b { font-family: var(--display); font-weight: 400; font-size: 18px; }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.field { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #7b8899; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,128,255,.25); }
textarea.field { resize: vertical; min-height: 140px; line-height: 1.5; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form .actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: #ffb4a8; }
.success { display: none; padding: 40px 32px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); }
.success.show { display: block; }
.success .ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 20px; }
.success .ok .ic { width: 26px; height: 26px; }
.success h3 { font-size: 24px; }
.success p { margin-top: 10px; }

/* Pied de page */
.footer { margin-top: 112px; border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg-2); }
.footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer .tagline { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 36ch; }
.footer h4 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer .links { display: grid; gap: 10px; font-size: 15px; }
.footer .links a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a, .socials button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, color .2s; }
.socials a:hover, .socials button:hover { border-color: var(--accent); color: var(--ink); }
.footer .bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footer .bottom a:hover { color: var(--ink); }
.footer .credit { margin-top: 6px; }
.footer .credit a { text-decoration: underline; text-underline-offset: 2px; }

/* Modale réseaux sociaux */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(5,8,12,.7); backdrop-filter: blur(4px); }
.modal .panel-m { position: relative; max-width: 420px; width: 100%; padding: 32px; border-radius: var(--r-card); background: var(--bg-3); border: 1px solid var(--line-2); text-align: center; }
.modal .close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.modal .ic-net { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-hi); }
.modal h3 { font-size: 20px; }
.modal p { margin: 10px 0 22px; color: var(--muted); }

/* Apparition au scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .cfg-step.is-entering { animation: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .tel span { display: none; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39; background: rgba(10,13,18,.97); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; flex-direction: column; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
  .config { grid-template-columns: minmax(0, 1fr) 380px; }
  .wordmark { right: 380px; }
  .stage-loader { left: calc((100% - 380px) / 2); }
  .drag-hint { right: calc(380px + 24px); }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .header .container { padding: 0 16px; gap: 12px; }
  .config { display: block; min-height: 0; }
  .stage { position: relative; height: 56vh; min-height: 360px; max-height: 520px; }
  .stage-loader { left: 50%; top: 60%; }
  .wordmark { right: 0; top: 30%; font-size: 22vw; }
  .config-intro { position: absolute; top: 0; left: 0; right: 0; padding: calc(var(--header-h) + 18px) 16px 0; max-width: none; }
  .config-intro h1 { font-size: 28px; }
  .config-intro p { display: none; }
  .charge-info { left: 16px; bottom: 14px; padding: 9px 12px; }
  .charge-info .k { font-size: 15px; }
  .charge-info .t { font-size: 12px; max-width: 30ch; }
  .drag-hint { display: none; }
  .panel { margin: 10px 12px 0; max-height: none; border-radius: var(--r-card); }
  .panel-body { overflow: visible; }
  .panel-head { padding: 20px 18px 0; }
  .panel-body { padding: 14px 18px 16px; }
  .panel-foot { padding: 14px 18px 18px; position: sticky; bottom: 0; background: rgba(14,19,26,.96); border-radius: 0 0 var(--r-card) var(--r-card); }
  .tag:not(.is-active) { display: none; }
  .tag .h { font-size: 10px; }
  .tag .v { font-size: 12px; }
  .trust .container { grid-template-columns: 1fr; padding: 0; }
  .trust .b + .b { border-left: 0; border-top: 1px solid var(--line); }
  .trust .b { padding: 16px; }
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .tile-xl { grid-row: auto; }
  .tile-wide { grid-column: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .audience { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .aud { padding: 24px 12px 24px 0; }
  .aud + .aud { padding-left: 0; border-left: 0; }
  .aud:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .aud:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-2)); }
  .timeline li { padding: 10px 0 30px 68px; }
  .works { grid-auto-columns: 78%; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-grid .sec-head { position: static; margin-bottom: 8px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form .row { grid-template-columns: 1fr; }
  .summary ul { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; gap: 36px; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .opts.two { grid-template-columns: 1fr; }
  .opts.brands-grid { grid-template-columns: 1fr 1fr; }
  .total .v { font-size: 24px; }
}

/* ==========================================================
   Pages légales
   ========================================================== */
.legal-head { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(10,13,18,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.legal-head .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal { max-width: 780px; margin: 0 auto; padding: 72px 24px 24px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 22px; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--text); max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 6px; }
.legal a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; color: var(--ink); }
.todo { background: rgba(255, 196, 0, .14); color: #ffd666; border: 1px dashed rgba(255, 196, 0, .5); border-radius: 6px; padding: 1px 6px; font-weight: 500; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* Bandeau cookies */
.form-legal { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.form-legal a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 50; max-width: 420px; padding: 18px 20px; border-radius: var(--r-card); background: var(--bg-3); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); display: grid; gap: 14px; font-size: 14px; }
.consent a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 600px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* En-tête sur petits téléphones : le bouton devis reste visible dans le hero et plus bas */
@media (max-width: 480px) {
  .logo { font-size: 13px; }
  .logo img { height: 26px; }
  .header .right { gap: 6px; }
  .header .btn-quote { min-height: 36px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 420px) {
  .header .btn-quote { display: none; }
}

/* ==========================================================
   Titres : Archivo étirée en capitales (police de la V1)
   ========================================================== */
.sec-head h2, .split h2, .cta h2, #contact h2, .legal h1, .legal h2, .tile h3, .brands h2 {
  font-family: 'Archivo', 'Geist', sans-serif; font-stretch: 118%; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.04;
}
.sec-head h2, .split h2, #contact h2 { font-size: clamp(26px, 3vw, 40px) !important; }
.cta h2 { font-size: clamp(22px, 2.4vw, 32px); }
.split h2 .l2 { font-weight: 600; }
.tile h3 { font-size: 19px; font-weight: 650; letter-spacing: .01em; }
.brands h2 { font-size: 13px; font-weight: 600; letter-spacing: .32em; color: var(--muted); }
.legal h1 { font-size: clamp(28px, 3.6vw, 42px); }
.legal h2 { font-size: 18px; letter-spacing: .02em; }

/* ==========================================================
   Écran de chargement
   ========================================================== */
html.is-intro, html.is-intro body { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 45%, #121a26 0%, #0b0f16 55%, #07090d 100%);
  transition: opacity .9s var(--ease);
}
.intro-grid {
  position: absolute; inset: -10%; opacity: .5;
  background-image: linear-gradient(rgba(92,157,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(92,157,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
}
.intro-particles span { position: absolute; border-radius: 50%; background: #6fb4ff; animation: introFloat linear infinite; }
@keyframes introFloat {
  0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: var(--po, .35); }
  88% { opacity: var(--po, .35); } 100% { transform: translate(var(--px, 0), -46vh); opacity: 0; }
}
.intro-scene { position: absolute; left: 50%; top: 42%; width: min(1100px, 140vw); transform: translate(-37.4%, -50%); opacity: 0; }
.intro-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.intro-scene .led, .intro-scene .strip { opacity: .3; transition: opacity .3s, filter .3s; }
.intro.is-connected .intro-scene .led, .intro.is-connected .intro-scene .strip { opacity: 1; filter: drop-shadow(0 0 6px #5c9dff); }
.intro-brand { position: absolute; left: 50%; top: 70%; transform: translateX(-50%); display: grid; justify-items: center; gap: 18px; opacity: 0; }
.ib-logo { display: flex; align-items: center; font-family: var(--display); font-size: clamp(22px, 3.4vw, 40px); letter-spacing: .06em; color: #fff; white-space: nowrap; }
.ib-logo img { height: 1.75em; width: auto; margin-right: .04em; opacity: .25; filter: grayscale(1) brightness(.7); transition: opacity .6s var(--ease), filter .6s var(--ease); }
.intro.is-lit .ib-logo img { opacity: 1; filter: drop-shadow(0 0 14px rgba(47,128,255,.75)) drop-shadow(0 0 2px rgba(190,222,255,.9)); }
.ib-logo .l { display: inline-block; color: #2a3442; transition: color .35s var(--ease), text-shadow .35s var(--ease), transform .35s var(--ease); transform: translateY(4px); }
.ib-logo .l.on { color: #eef3f9; transform: none; text-shadow: 0 0 18px rgba(92,157,255,.55); }
.ib-logo .l.e.on { color: var(--accent-hi); text-shadow: 0 0 18px rgba(47,128,255,.8); }
.ib-logo .l:nth-child(7) { margin-right: .25em; }
.intro-meter { width: min(320px, 60vw); height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.intro-meter span { display: block; height: 100%; background: linear-gradient(90deg, #1a4fa8, #5c9dff); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 10px #2f80ff; }
.intro-status { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.2em; }
.intro-skip { position: absolute; right: 24px; bottom: 22px; font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: var(--r-ctl); }
.intro-skip:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.intro-flash { position: absolute; inset: 0; background: rgba(190,222,255,.22); opacity: 0; pointer-events: none; }
.intro-bloom {
  position: absolute; left: 50%; top: 50%; width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(190,222,255,.9) 0%, rgba(111,180,255,.6) 22%, rgba(47,128,255,.35) 42%, rgba(47,128,255,0) 70%);
  transform: scale(0); opacity: 0;
}
.intro.is-leaving { opacity: 0; transition-delay: .35s; }
.intro.is-leaving .intro-bloom { animation: introBloom 1.1s var(--ease) forwards; }
@keyframes introBloom { 0% { transform: scale(.15); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 700px) { .intro-scene { top: 38%; width: 170vw; } .intro-brand { top: 64%; } }
@media (prefers-reduced-motion: reduce) { .intro, .intro * { transition: none !important; animation: none !important; } }

/* Bouton son (égaliseur) */
.sound-btn { width: 40px; height: 40px; border-radius: var(--r-ctl); display: inline-grid; place-items: center; color: var(--muted); }
.sound-btn:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.sound-btn .bars { display: flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.sound-btn .bars i { display: block; width: 3px; height: 4px; border-radius: 2px; background: currentColor; transition: height .3s; }
.sound-btn.is-on { color: var(--accent-hi); }
.sound-btn.is-on .bars i { animation: eq 1.1s ease-in-out infinite; }
.sound-btn.is-on .bars i:nth-child(2) { animation-delay: -.35s; } .sound-btn.is-on .bars i:nth-child(3) { animation-delay: -.7s; } .sound-btn.is-on .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (prefers-reduced-motion: reduce) { .sound-btn.is-on .bars i { animation: none; height: 12px; } }
