/* Vonkcad · proposition 01 « Noir Studio » : page produit cinématographique, fond noir, bleu en lumière. */

:root {
  --noir: #04060B;
  --noir-2: #070A12;
  --nuit: #0E111C;
  --carte: #0B0F19;
  --ligne: rgba(255, 255, 255, .08);
  --ligne-2: rgba(255, 255, 255, .14);
  --texte: #F5F6F8;
  --gris: #9097A9;
  --gris-2: #6B7285;
  --bleu: #1F77FE;
  --bleu-2: #5C9DFF;
  --bleu-texte: #1765E6;
  --ok: #3DDC97;
  --rayon: 28px;
  --gout: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
/* grain de pellicule, très léger */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* Site Odoo : Bootstrap, le thème d'Odoo et static/src/css/vonkcad.css stylent déjà #wrapwrap et les titres ;
   ces règles rendent le rendu de la proposition (page chargée seulement sur l'accueil et /essayez). */
#wrapwrap.vk-noir { background: var(--noir); color: var(--texte); font-family: var(--font); }
h1, h3, h4 { color: inherit; font-family: inherit; font-weight: 700; line-height: inherit; letter-spacing: normal; }
h1, h2, h3, h4 { margin-bottom: 0; }
h3 { font-size: 1.17em; }
h2 { font-family: inherit; }
::selection { background: var(--bleu); color: #fff; }
:focus-visible { outline: 2px solid var(--bleu-2); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

h2 {
  font-size: clamp(44px, 7.2vw, 112px); line-height: .94; letter-spacing: -.045em; font-weight: 700;
  background: linear-gradient(180deg, #fff 30%, #A9B3C9 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.grad { background: linear-gradient(100deg, #8FBBFF 0%, var(--bleu) 45%, #9CC3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-sub { color: var(--gris); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 34em; margin-top: 22px; }
.sec-sub b { color: var(--texte); font-weight: 600; }
.fine { color: var(--gris-2); font-size: 14px; max-width: 40em; margin-top: 28px; }
.sec-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gout); }

/* Boutons */
.vn-btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; height: var(--h); padding: 0 26px; border-radius: 999px;
  background: var(--bleu); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 40px -8px rgba(31,119,254,.7);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
}
.vn-btn:hover { background: #3787FF; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 16px 56px -8px rgba(31,119,254,.95); }
.vn-btn:active { transform: translateY(0) scale(.98); }
.vn-btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.vn-btn-lg { --h: 54px; padding: 0 30px; font-size: 17px; }
.vn-btn-xl { --h: 64px; padding: 0 40px; font-size: 19px; }
.link-arrow { color: var(--bleu-2); text-decoration: none; font-weight: 500; font-size: 17px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .25s; }
.link-arrow:hover span { transform: translate(2px, 2px); }
.final .link-arrow:hover span { transform: translateX(4px); }


/* ---------- Film : héros + étapes ---------- */
.film { position: relative; overflow-x: clip; background: radial-gradient(120% 70% at 50% 0%, #0B1222 0%, var(--noir) 60%); }
.film-stage { position: relative; }
.film-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
}
.film-glow {
  position: absolute; left: 50%; top: 62%; width: min(1300px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(31,119,254,.55), rgba(31,119,254,.18) 45%, transparent 75%);
  filter: blur(40px); pointer-events: none;
}

.hero-copy { position: relative; z-index: 3; text-align: center; padding: 128px var(--gout) 0; }
.hero-title {
  font-size: clamp(52px, 8.6vw, 140px); line-height: .9; letter-spacing: -.055em; font-weight: 800; margin-top: 22px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .06em; }
.hero-title .line > span {
  display: inline-block;
  background: linear-gradient(180deg, #FFFFFF 35%, #B4BED4 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title em { font-style: normal; color: var(--bleu); -webkit-text-fill-color: var(--bleu); text-shadow: 0 0 40px rgba(31,119,254,.8); }
.hero-sub { color: #AEB5C6; font-size: clamp(17px, 1.6vw, 21px); max-width: 36em; margin: 24px auto 0; font-weight: 400; }
.hero-ctas { display: flex; gap: 28px; align-items: center; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta li { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gris); border: 1px solid var(--ligne-2); border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.02); }

/* Ordinateur dessiné */
.laptop { --lw: min(940px, 84vw); position: relative; z-index: 2; width: var(--lw); margin: 64px auto 0; }
.laptop-lid {
  position: relative; border-radius: calc(var(--lw) * .022) calc(var(--lw) * .022) calc(var(--lw) * .006) calc(var(--lw) * .006);
  padding: calc(var(--lw) * .014) calc(var(--lw) * .014) calc(var(--lw) * .022);
  background: linear-gradient(180deg, #1C202C 0%, #0C0F17 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset, 0 0 0 1px #000, 0 50px 120px -30px rgba(31,119,254,.55), 0 30px 60px -20px rgba(0,0,0,.9);
  transform-origin: 50% 100%;
}
.laptop-cam { position: absolute; top: calc(var(--lw) * .0055); left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1d2333; box-shadow: 0 0 0 1px #0a0d14; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--lw) * .005); background: #000; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.scr-0 { opacity: 1; }
.laptop-glass {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 28%, transparent 42%);
}
.laptop-base {
  position: relative; width: 116%; margin-left: -8%; height: calc(var(--lw) * .028);
  background: linear-gradient(180deg, #3A4152 0%, #1A1E29 35%, #0B0D13 100%);
  border-radius: 2px 2px calc(var(--lw) * .03) calc(var(--lw) * .03) / 2px 2px 100% 100%;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset;
}
.laptop-base span { position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); background: #0A0C12; border-radius: 0 0 10px 10px; }
.laptop-floor { position: absolute; left: 6%; right: 6%; bottom: -36px; height: 40px; background: radial-gradient(closest-side, rgba(31,119,254,.5), transparent); filter: blur(14px); pointer-events: none; }

/* Étapes : par défaut (mobile, mouvement réduit, sans JS) des cartes empilées */
.steps { position: relative; z-index: 3; max-width: var(--max); margin: 0 auto; padding: 120px var(--gout) 40px; }
.steps-title { font-size: clamp(38px, 5.6vw, 80px); margin-top: 18px; }
.steps-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 48px; counter-reset: s; }
.step { background: linear-gradient(180deg, #0D1220, #080B13); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 14px 26px; }
.step-shot { margin: 0 0 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--ligne-2); background: #000; aspect-ratio: 16 / 10; }
.step-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transform-origin: var(--f, 50% 50%); }
.step-n, .step h3, .step p { padding: 0 10px; }
.step-n { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu-2); }
.step h3 { font-size: 28px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; margin-top: 10px; }
.step p { color: var(--gris); margin-top: 10px; font-size: 16px; }
.rail, .scroll-hint { display: none; }

/* Film épinglé (grand écran, mouvement permis) : piloté par noir.js */
.film-on .film-stage { height: 100vh; height: 100svh; overflow: hidden; }
.film-on .hero-copy { position: absolute; left: 0; right: 0; top: 0; padding-top: max(96px, 11.5vh); }
.film-on .laptop { --lw: min(1060px, 74vw, calc((100vh - 150px) * 1.5)); position: absolute; left: 50%; top: 50%; margin: 0; will-change: transform; }
.film-on .laptop-lid { will-change: transform; }
.film-on .steps { position: absolute; left: max(var(--gout), calc(50vw - 640px)); top: 50%; width: min(31vw, 420px); padding: 0; margin: 0; transform: translateY(-50%); }
.film-on .steps-head { opacity: 0; visibility: hidden; }
.film-on .steps-title { font-size: clamp(32px, 2.9vw, 44px); line-height: 1; }
.film-on .steps-list { display: block; position: relative; margin-top: 34px; height: 260px; }
.film-on .step { position: absolute; inset: 0; background: none; border: 0; padding: 0; opacity: 0; visibility: hidden; }
.film-on .step-shot { display: none; }
.film-on .step-n, .film-on .step h3, .film-on .step p { padding: 0; }
.film-on .step h3 { font-size: clamp(30px, 2.7vw, 42px); line-height: 1.02; letter-spacing: -.035em; margin-top: 14px; }
.film-on .step p { font-size: 17.5px; color: #A3AABB; margin-top: 16px; }
.film-on .rail {
  display: flex; flex-direction: column; gap: 4px; position: absolute; z-index: 4; left: max(var(--gout), calc(50vw - 640px)); bottom: 6vh; opacity: 0; visibility: hidden;
  flex-direction: row; gap: 18px;
}
.rail button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-2); transition: color .3s; padding: 6px 0; }
.rail button i { width: 22px; height: 2px; border-radius: 2px; background: var(--ligne-2); transition: background .3s, width .3s; }
.rail button.on { color: #fff; }
.rail button.on i { background: var(--bleu); width: 34px; box-shadow: 0 0 12px var(--bleu); }
.rail button:focus-visible { outline: 2px solid var(--bleu-2); outline-offset: 4px; }
.film-on .scroll-hint { display: block; position: absolute; left: 50%; bottom: 22px; z-index: 4; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(11px); } }

/* ---------- Manifeste ---------- */
.statement { max-width: 1180px; margin: 0 auto; padding: clamp(120px, 18vh, 220px) var(--gout); }
.words { font-size: clamp(34px, 5vw, 72px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; color: #fff; }
.words b { font-weight: 600; color: var(--bleu-2); }
.words .w { opacity: .16; transition: none; }
.no-motion .words .w { opacity: 1; }

/* ---------- Bento ---------- */
.bento { padding: 40px 0 clamp(100px, 14vh, 180px); }
.tiles {
  max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gout);
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 18px; grid-auto-flow: dense;
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--rayon); padding: 30px;
  background: linear-gradient(180deg, #0D1220 0%, #090C15 100%);
  border: 1px solid var(--ligne);
  isolation: isolate;
  transition: border-color .4s, transform .5s cubic-bezier(.2,.8,.2,1);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(31,119,254,.22), transparent 60%);
}
.tile:hover { border-color: rgba(92,157,255,.35); }
.tile:hover::before { opacity: 1; }
.t-2x2 { grid-column: span 2; grid-row: span 2; }
.t-2x1 { grid-column: span 2; }
.t-1x2 { grid-row: span 2; }
.tile-k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu-2); }
.tile h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin-top: 12px; }
.tile-txt p:not(.tile-k) { color: var(--gris); font-size: 15.5px; margin-top: 12px; line-height: 1.5; }
.tile .small { color: var(--gris); font-size: 15px; line-height: 1.45; }
.tile-img { position: absolute; overflow: hidden; border-radius: 14px; border: 1px solid var(--ligne-2); background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-img { transform: translateY(-6px); }
.tile:hover .tile-img img { transform: scale(1.04); }

/* grande tuile tableau 3D */
.t-3d .tile-txt { max-width: 360px; position: relative; z-index: 2; }
.t-3d .tile-img { left: 22%; right: -8%; top: 34%; bottom: -14%; border: 0; border-radius: 18px 0 0 0; background: #DADDE2; }
.t-3d .tile-img img { object-position: center 10%; }
.t-3d::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(9,12,21,.85), transparent); z-index: 1; pointer-events: none; }

/* tuiles larges : texte à gauche, capture à droite qui déborde */
.t-side .tile-txt { width: 44%; position: relative; z-index: 2; }
.t-side .tile-img { left: 50%; right: -6%; top: 30px; bottom: -20px; border-radius: 14px 0 0 0; }

/* chiffres */
.t-num { display: flex; flex-direction: column; justify-content: flex-end; }
.t-num .big {
  font-size: 112px; line-height: .82; letter-spacing: -.06em; font-weight: 800; margin-bottom: auto; padding-top: 4px;
  background: linear-gradient(180deg, #fff 20%, #6E86B8 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: text-shadow .4s, transform .6s cubic-bezier(.2,.8,.2,1); transform-origin: left bottom;
}
.t-num .big small { font-size: .42em; letter-spacing: -.02em; margin-left: 4px; }
.t-num:hover .big { transform: scale(1.04); }
.t-num .tile-k { margin-bottom: 8px; }
.rotator { position: relative; height: 1.3em; overflow: hidden; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.rotator span { position: absolute; left: 0; top: 0; transform: translateY(110%); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.rotator span.on { transform: none; opacity: 1; }
.rotator span.out { transform: translateY(-110%); opacity: 0; }
.no-motion .rotator { height: auto; }
.no-motion .rotator span { position: static; transform: none; opacity: 1; display: inline; }
.no-motion .rotator span + span::before { content: " · "; color: var(--gris-2); }

/* plateformes */
.t-os { display: flex; flex-direction: column; }
.os { display: flex; gap: 14px; margin: auto 0 22px; }
.os li { flex: 1; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.03em; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--ligne); transition: background .4s, border-color .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.os svg { width: 44px; height: 30px; fill: none; stroke: var(--bleu-2); stroke-width: 2; stroke-linecap: round; }
.t-os:hover .os li { border-color: rgba(92,157,255,.3); }
.t-os:hover .os li:nth-child(1) { transform: translateY(-4px); }
.t-os:hover .os li:nth-child(2) { transform: translateY(-8px); }
.t-os:hover .os li:nth-child(3) { transform: translateY(-12px); }

/* simulation */
.t-sim { display: flex; flex-direction: column; }
.sim { width: 100%; max-width: 260px; margin: auto; overflow: visible; }
.sim .wire, .sim .wire-live { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sim .wire { stroke: #262C3B; }
.sim .wire-live { stroke: var(--bleu); stroke-dasharray: 420; stroke-dashoffset: 420; filter: drop-shadow(0 0 6px var(--bleu)); transition: stroke-dashoffset .9s cubic-bezier(.6,0,.2,1); }
.sim .switch rect { fill: #121726; stroke: #3A4256; stroke-width: 2; }
.sim .sw-lever { stroke: #C6CBD8; stroke-width: 4; stroke-linecap: round; transform-origin: 30px 230px; transition: transform .3s; }
.sim .lamp path { stroke: #4A5266; stroke-width: 3; stroke-linecap: round; transition: stroke .4s .7s; }
.sim .bulb { fill: #121726; stroke: #4A5266; stroke-width: 3; transition: fill .4s .7s, stroke .4s .7s; }
.sim .halo { fill: rgba(255, 214, 120, .0); transition: fill .5s .75s; filter: blur(8px); }
.t-sim.on .wire-live { stroke-dashoffset: 0; }
.t-sim.on .sw-lever { transform: rotate(-38deg); }
.t-sim.on .bulb { fill: #FFE7A8; stroke: #FFD27A; }
.t-sim.on .lamp path { stroke: #B58A2F; }
.t-sim.on .halo { fill: rgba(255, 210, 110, .45); }
.sim-hint { position: absolute; right: 24px; top: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-2); }
.t-sim.on .sim-hint { opacity: 0; }

/* ---------- Le tableau, en vrai ---------- */
.brands { position: relative; background: linear-gradient(180deg, var(--noir) 0%, #060912 50%, var(--noir) 100%); }
.brands-stage { padding: 80px 0 120px; }
.brands-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gout); }
.brands-count { display: none; }
.brands-track { display: flex; gap: 22px; margin-top: 56px; padding: 0 var(--gout) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.brands-track::-webkit-scrollbar { display: none; }
.brand { flex: 0 0 min(84vw, 720px); margin: 0; scroll-snap-align: center; }
.brand-frame {
  border-radius: 22px; overflow: hidden; background: #F3F4F6; aspect-ratio: 884 / 462; position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 9px #0E121C, 0 0 0 10px rgba(255,255,255,.06), 0 60px 120px -30px rgba(31,119,254,.35);
  margin: 10px;
}
.brand-frame img { width: 100%; height: 100%; object-fit: cover; }
.brand figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 30px 10px 0; }
.brand-name { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.035em; }
.brand-det { color: var(--gris); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu-2); border: 1px solid rgba(92,157,255,.35); border-radius: 999px; padding: 4px 10px; background: rgba(31,119,254,.08); }

.brands-on .brands-stage { height: 100vh; height: 100svh; padding: 60px 0 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.brands-on .brands-head { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
.brands-on .brands-head h2 { font-size: clamp(48px, 5.6vw, 92px); grid-column: 1; }
.brands-on .brands-head h2 br { display: none; }
.brands-on .brands-head .eyebrow { grid-column: 1 / -1; }
.brands-on .brands-head .sec-sub { display: none; }
.brands-on .brands-count { display: block; grid-column: 2; grid-row: 2; font-family: var(--mono); color: var(--gris-2); font-size: 14px; letter-spacing: .1em; padding-bottom: 10px; }
.brands-on .brands-count b { color: #fff; font-weight: 500; }
.brands-on .brands-track { overflow: visible; scroll-snap-type: none; padding-left: max(var(--gout), calc(50vw - 620px)); margin-top: 4.5vh; will-change: transform; }
.brands-on .brand { flex-basis: min(60vw, calc((100vh - 430px) * 1.913)); }

/* ---------- RGIE ---------- */
.rgie { padding: clamp(110px, 16vh, 200px) 0; position: relative; overflow-x: clip; }
.rgie h2, .chantier h2 { font-size: clamp(44px, 5vw, 84px); }
.rgie-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gout); display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--ligne); }
.facts li { padding: 22px 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--ligne); }
.facts b { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.facts span { color: var(--gris); font-size: 14.5px; line-height: 1.4; }
.check { position: relative; }
.check-card {
  position: relative; z-index: 1; border-radius: 26px; padding: 30px; border: 1px solid var(--ligne-2);
  background: linear-gradient(180deg, rgba(20,27,45,.9), rgba(9,12,21,.92)); backdrop-filter: blur(10px);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
}
.check-h { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.check-h .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 10px var(--bleu); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.check ul { margin-top: 20px; }
.check li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 17px; color: #D9DDE6; }
.check li::before {
  content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1.5px solid #343B4E;
  background: center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%2304060B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: background-color .35s, border-color .35s, box-shadow .35s, transform .35s cubic-bezier(.3,1.6,.5,1);
  transform: scale(.85);
}
.check li.ok::before { background-color: var(--ok); border-color: var(--ok); box-shadow: 0 0 14px rgba(61,220,151,.55); transform: scale(1); }
.check-ok { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: rgba(61,220,151,.08); border: 1px solid rgba(61,220,151,.3); color: var(--ok); font-weight: 600; font-size: 16px; opacity: .25; transition: opacity .5s, box-shadow .5s; }
.check-ok .sep { color: rgba(61,220,151,.5); }
.check.done .check-ok { opacity: 1; box-shadow: 0 0 40px -6px rgba(61,220,151,.35); }
.check.done .check-h .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: none; }
.check-glow { position: absolute; inset: 10% -10% -10% 10%; background: radial-gradient(closest-side, rgba(31,119,254,.35), transparent); filter: blur(40px); }
.no-motion .check li::before { background-color: var(--ok); border-color: var(--ok); transform: none; }
.no-motion .check-ok { opacity: 1; }

/* ---------- Chantier ---------- */
.chantier { padding: clamp(100px, 14vh, 180px) 0; background: radial-gradient(80% 60% at 75% 55%, #0C1630 0%, var(--noir) 65%); overflow: hidden; }
.chantier-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gout); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.measures { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.measures li { border: 1px solid var(--ligne-2); border-radius: 18px; padding: 14px 18px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 130px; }
.measures b { font-size: 24px; letter-spacing: -.03em; font-weight: 700; }
.measures span { color: var(--gris); font-size: 13.5px; }
.devices { position: relative; height: 640px; }
.tablet {
  position: absolute; right: -26%; top: 40px; width: 122%; border-radius: 30px; padding: 2.1%;
  background: linear-gradient(180deg, #1B1F2B, #0B0E15); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 0 0 1px #000, 0 60px 120px -30px rgba(0,0,0,.9);
}
.tablet-screen { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.tablet-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone {
  position: absolute; left: 4%; top: 120px; width: 280px; border-radius: 48px; padding: 11px;
  background: linear-gradient(160deg, #2A3040, #0B0E15 40%); box-shadow: 0 0 0 1.5px #3A4152 inset, 0 0 0 1px #000, 0 50px 100px -20px rgba(0,0,0,.95), 0 0 80px -20px rgba(31,119,254,.5);
}
.phone-screen { position: relative; border-radius: 38px; overflow: hidden; background: #07090F; aspect-ratio: 375 / 708; padding-top: 12.8%; }
.phone-status { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 375 / 48; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; color: #fff; font-size: 13px; font-weight: 600; background: #07090F; }
.phone-status .island { position: absolute; left: 50%; top: 9px; width: 31%; height: 26px; transform: translateX(-50%); background: #000; border-radius: 20px; }
.bars { display: flex; gap: 2px; align-items: flex-end; height: 11px; }
.bars i { width: 3px; background: #0E111C; border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 6px; } .bars i:nth-child(3) { height: 8px; } .bars i:nth-child(4) { height: 11px; }
.phone-screen img { width: 100%; }
.phone-home { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(0deg, #fff 45%, rgba(255,255,255,0)); }
.phone-home::after { content: ""; position: absolute; left: 50%; bottom: 9px; width: 36%; height: 5px; margin-left: -18%; border-radius: 3px; background: #0E111C; }

/* ---------- Origine ---------- */
.origin { padding: clamp(110px, 16vh, 200px) var(--gout); text-align: center; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); background: radial-gradient(60% 80% at 50% 120%, rgba(31,119,254,.18), transparent 70%); }
.origin-t { font-size: clamp(40px, 6vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.origin-t span { display: block; color: var(--gris); font-weight: 500; font-size: .5em; letter-spacing: -.03em; margin-top: .5em; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 14vh, 170px) 0 40px; }
.faq .sec-head { max-width: 900px; }
.faq-list { max-width: 900px; margin: 48px auto 0; padding: 0 var(--gout); }
.faq details { border-bottom: 1px solid var(--ligne-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bleu-2); }
.faq summary i { position: relative; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ligne-2); transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; border-radius: 1px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s; }
.faq details[open] summary i { transform: rotate(180deg); background: var(--bleu); border-color: var(--bleu); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--gris); font-size: 17px; max-width: 46em; padding: 0 0 28px; }

/* ---------- Appel final ---------- */
.final { position: relative; text-align: center; padding: clamp(140px, 22vh, 260px) var(--gout); overflow: hidden; }
.final-glow { position: absolute; left: 50%; top: 58%; width: min(1100px, 140vw); aspect-ratio: 1.6; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(31,119,254,.55), rgba(31,119,254,.12) 50%, transparent 75%); filter: blur(30px); pointer-events: none; }
.final-v { position: relative; width: 84px; height: auto; margin: 0 auto 36px; filter: drop-shadow(0 0 30px rgba(31,119,254,.8)); }
.final h2 { position: relative; font-size: clamp(64px, 12vw, 200px); line-height: .88; letter-spacing: -.06em; font-weight: 800; }
.final .sec-sub { position: relative; margin: 30px auto 0; }
.final-ctas { position: relative; display: flex; gap: 30px; align-items: center; justify-content: center; margin-top: 44px; flex-wrap: wrap; }


/* Apparitions (activées seulement si le mouvement est permis) */
.motion .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .t-1x2 { grid-row: span 1; }
  .t-sim .sim { max-width: 150px; margin: -60px 0 0 auto; }
  .rgie-in, .chantier-in { grid-template-columns: 1fr; }
  .devices { height: auto; aspect-ratio: 1.25; max-width: 760px; width: 100%; margin: 20px auto 0; }
  .tablet { right: 0; width: 88%; top: 0; }
  .phone { left: 0; top: 18%; width: 34%; border-radius: 36px; padding: 8px; }
  .phone-screen { border-radius: 30px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-copy { padding-top: 112px; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-title { font-size: clamp(50px, 15vw, 76px); }
  .hero-ctas { flex-direction: column; gap: 18px; }
  .hero-ctas .vn-btn { width: 100%; max-width: 360px; }
  .laptop { margin-top: 48px; }
  .steps { padding-top: 96px; }
  .steps-list { grid-template-columns: 1fr; gap: 16px; }
  .step h3 { font-size: 26px; }

  .tiles { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .t-2x2, .t-2x1 { grid-column: auto; grid-row: auto; }
  .tile { padding: 24px; min-height: 0; }
  .t-side .tile-txt, .t-3d .tile-txt { width: auto; max-width: none; }
  .tile-img, .t-side .tile-img, .t-3d .tile-img { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; margin: 22px -24px -24px 0; border-radius: 14px 0 0 0; aspect-ratio: 16 / 9; }
  .t-3d .tile-img { aspect-ratio: 1; margin: 22px -24px -24px 0; }
  .t-3d::after { display: none; }
  .t-num { min-height: 220px; }
  .t-num .big { font-size: 96px; margin-bottom: 26px; }
  .t-sim .sim { max-width: 200px; margin: 18px auto 0; }
  .os { margin: 22px 0 18px; gap: 8px; }
  .os li { padding: 14px 12px; font-size: 19px; }
  .os svg { width: 34px; height: 24px; }

  .brands-stage { padding: 40px 0 90px; }
  .brand { flex-basis: 78vw; }
  .brand-frame { aspect-ratio: 1.15; }
  .brand-frame img { object-position: 0 50%; }
  .brand-frame { border-radius: 16px; margin: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 7px #0E121C, 0 0 0 8px rgba(255,255,255,.06), 0 40px 80px -30px rgba(31,119,254,.35); }
  .brand figcaption { margin-top: 22px; }

  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--ligne); flex-direction: row; align-items: baseline; gap: 14px; }
  .facts b { font-size: 30px; min-width: 76px; }
  .check-card { padding: 22px; }
  .check li { font-size: 16px; }

  .devices { aspect-ratio: auto; height: auto; display: flex; justify-content: center; padding: 10px 0 0; }
  .tablet { display: none; }
  .phone { position: relative; left: auto; top: auto; width: min(290px, 78vw); border-radius: 46px; padding: 10px; }
  .phone-screen { border-radius: 37px; }
  .measures li { min-width: 0; flex: 1 1 140px; }

  .faq summary { padding: 22px 0; }
  .final-ctas { flex-direction: column; gap: 20px; }
  .vn-btn-xl { --h: 58px; padding: 0 28px; font-size: 17px; width: 100%; max-width: 380px; }
}

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

/* ---------- « Essayez-le » : lien du menu, bouton du héros, section avant la FAQ ---------- */
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 10px var(--bleu); animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 5px rgba(31,119,254,0), 0 0 14px var(--bleu); transform: scale(1.25); } }
.vn-btn-ghost { background: rgba(255,255,255,.04); gap: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset; }
.vn-btn-ghost:hover { background: rgba(31,119,254,.16); box-shadow: 0 0 0 1px rgba(92,157,255,.6) inset, 0 12px 40px -10px rgba(31,119,254,.8); }
.hero-ctas { gap: 16px 18px; }
.hero-ctas .link-arrow { margin-left: 8px; }

.tryit { padding: clamp(100px, 14vh, 170px) var(--gout) 0; }
.tryit-card {
  position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center;
  padding: clamp(28px, 4vw, 64px); border-radius: 36px; border: 1px solid var(--ligne-2); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 85% 50%, rgba(31,119,254,.28), transparent 70%), linear-gradient(180deg, #0E1424, #080B13);
  box-shadow: 0 60px 140px -50px rgba(31,119,254,.55);
}
.tryit h2 { font-size: clamp(40px, 5vw, 80px); }
.tryit-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.tryit-hint { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gris); }
.tryit-demo { perspective: 1400px; }
.tryit-screen { position: relative; transform: rotateY(-10deg) rotateX(6deg); transform-origin: 60% 50%; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.tryit-card:hover .tryit-screen { transform: none; }
.tryit-screen svg { display: block; width: 100%; height: auto; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 8px #0E121C, 0 0 0 9px rgba(255,255,255,.07), 0 50px 100px -30px rgba(0,0,0,.95); }
.td-floor { fill: #FBFBFD; }
.td-furn rect { fill: #EEF0F4; stroke: #DDE1E8; }
.td-walls { fill: #2A2F3A; }
.td-label { font-size: 12.5px; font-family: var(--font); }
.td-label .rn { font-weight: 700; fill: #16181D; }
.td-label .ra { fill: #6E7381; font-size: 11px; }
.td-sym { color: #E5484D; }
.td-sym.c-l { color: var(--bleu); }
.td-marks text { font-size: 10px; font-weight: 700; font-family: var(--font); fill: #E5484D; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.td-marks text:nth-child(4), .td-marks text:nth-child(5) { fill: var(--bleu); }
.td-glow { fill: rgba(255,201,77,.35); filter: blur(18px); opacity: 0; }
.td-drop { animation: td-drop 7s cubic-bezier(.2,.8,.2,1) infinite; }
.td-drop-mark { animation: td-mark 7s infinite; }
.td-glow { animation: td-glow 7s infinite; }
@keyframes td-drop { 0%, 4% { transform: translate(40px, -46px); opacity: 0; } 16%, 94% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes td-mark { 0%, 15% { opacity: 0; } 18%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes td-glow { 0%, 50% { opacity: 0; } 56%, 92% { opacity: 1; } 100% { opacity: 0; } }
.tryit-pill { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); display: grid; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; padding: 9px 16px; border-radius: 999px; background: rgba(4,6,11,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 20px 40px -10px rgba(0,0,0,.9); }
.tryit-pill span { grid-area: 1 / 1; text-align: center; opacity: 0; }
.tryit-pill .p1 { color: #D9DDE6; animation: td-p1 7s infinite; }
.tryit-pill .p2 { color: var(--ok); animation: td-p2 7s infinite; }
@keyframes td-p1 { 0%, 15% { opacity: 0; } 19%, 47% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes td-p2 { 0%, 50% { opacity: 0; } 54%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* ---------- Passage d'une page à l'autre (accueil ⇄ essai) ---------- */
@view-transition { navigation: auto; }
.vk-header { view-transition-name: entete; }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px); } }
/* repli sans View Transitions : fondu (noir.js ajoute .leaving avant de partir, le retour arrière l'enlève) */
html.leaving body { opacity: 0; transform: translateY(-10px); transition: opacity .28s ease, transform .28s ease; }
@supports not (view-transition-name: none) { body { animation: page-in .55s cubic-bezier(.2,.8,.2,1) both; } }
@keyframes page-in { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 1080px) {
  .tryit-card { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 760px) {
  .hero-ctas .vn-btn-ghost { width: 100%; max-width: 360px; }
  .hero-ctas .link-arrow { margin-left: 0; }
  .tryit { padding-left: 10px; padding-right: 10px; }
  .tryit-card { border-radius: 28px; padding: 28px 20px 46px; }
  .tryit-ctas .vn-btn { width: 100%; }
  .tryit-screen { transform: none; }
  .tryit-pill { font-size: 10.5px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .td-drop, .td-drop-mark { animation: none; }
  .td-glow { animation: none; opacity: 1; }
  .tryit-pill .p1 { animation: none; }
  .tryit-pill .p2 { animation: none; opacity: 1; }
  .live-dot { animation: none; }
}
