/* i-Spot.fr — feuille de style
   Direction : studio immersif façon configurateur. Fond noir profond, chaque univers apporte
   ses deux couleurs (--c1, --c2) qui débordent des scènes animées comme une lumière d'écran. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken.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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-ext.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: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

@property --c1 { syntax: "<color>"; inherits: true; initial-value: #2de2e6; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #3b82f6; }

:root {
  --noir: #05060c;
  --noir-2: #0b0d18;
  --texte: #f2f3fa;
  --brume: #a9adc6;
  --trait: rgba(255, 255, 255, .09);
  --trait-fort: rgba(255, 255, 255, .18);
  --verre: rgba(255, 255, 255, .045);
  --encre: #07080f;

  --display: "Unbounded", "Hanken Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 16px;
  --r-lg: 28px;
  --header-h: 76px;
  --strip-h: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
  transition: --c1 1s var(--ease), --c2 1s var(--ease);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); background: var(--noir); }
body { margin: 0; background: var(--noir); color: var(--texte); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, select { font: inherit; color: inherit; }
::selection { background: var(--c1); color: var(--encre); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--texte); color: var(--encre); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.glass { background: var(--verre); border: 1px solid var(--trait); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }

/* ---------- typo ---------- */
.h-xl { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; }
.h-lg { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 32px; }
.h-sm { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 18px; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--texte); opacity: .92; max-width: 36em; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: var(--encre); background: linear-gradient(110deg, var(--c1), var(--c2)); box-shadow: 0 10px 40px -10px var(--c1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px var(--c1); }
.btn-glass { color: var(--texte); background: rgba(255, 255, 255, .06); border-color: var(--trait-fort); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--c1); background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 42px; padding: 0 1.2em; font-size: .95rem; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; font-size: inherit; text-align: left; }

/* ---------- en-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .menu-open .site-header { background: rgba(5, 6, 12, .62); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border-color: var(--trait); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-img { height: 50px; width: auto; display: block; }
.logo-foot { height: 72px; }
.logo-mark { width: 32px; height: 32px; }
.logo-mark .lm-dot { fill: var(--c1); transition: fill 1s; }
.logo-mark path { fill: none; stroke: var(--texte); stroke-width: 3; stroke-linecap: round; }
.logo-mark .lm-w2 { opacity: .65; } .logo-mark .lm-w3 { opacity: .35; }
.logo-txt { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 2px; margin-inline: auto; }
.nav-svc { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; text-decoration: none; color: var(--brume); font-size: .92rem; font-weight: 600; white-space: nowrap; transition: color .25s, background .25s; }
.nav-ic { width: 18px; height: 18px; color: var(--c1); flex: none; transition: filter .25s; }
.nav-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-ic svg circle { fill: currentColor; stroke: none; }
.nav-svc:hover, .nav-svc:focus-visible, .nav-svc.is-on, .nav-svc[aria-current] { color: var(--texte); background: color-mix(in srgb, var(--c1) 13%, transparent); }
.nav-svc:hover .nav-ic, .nav-svc.is-on .nav-ic, .nav-svc[aria-current] .nav-ic { filter: drop-shadow(0 0 6px var(--c1)); }
.nav-bar { position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: left; transform: scaleX(0); }
.nav-svc.is-on .nav-bar { transform: scaleX(var(--p, 0)); }
.nav-svc[aria-current] .nav-bar { transform: scaleX(1); }
.nav-contact { flex: none; }

/* ---------- lumière qui déborde ---------- */
.stage-amb, .amb { position: absolute; pointer-events: none; z-index: -1; filter: blur(70px) saturate(1.8); opacity: .75; }
.stage-amb { inset: -12% -8%; width: 116%; height: 124%; }

/* ---------- scène d'ouverture (configurateur) ---------- */
.stage { position: relative; isolation: isolate; min-height: 100svh; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) 0 28px; overflow: hidden; display: flex; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 55% 50%, color-mix(in srgb, var(--c2) 22%, transparent), transparent 70%); }
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--noir)); }
.stage-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto minmax(400px, 1fr); gap: 12px 40px; flex: 1; }
.stage-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.stage-h1 { font-family: var(--mono); font-weight: 400; font-size: .82rem; color: var(--brume); letter-spacing: 0; max-width: 46ch; }
.stage-claim { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: -0.01em; color: var(--texte); }
.stage-screen { grid-column: 1; grid-row: 2; position: relative; min-height: 340px; }
.stage-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-info { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; justify-content: center; gap: 28px; }

/* panneau d'info */
.infos { display: grid; }
.info { grid-area: 1 / 1; }
.info:not([hidden]) { animation: info-in .7s var(--ease) both; }
@keyframes info-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.info-idx { font-family: var(--mono); font-size: .82rem; color: var(--brume); margin-bottom: 14px; }
.info-idx span { color: var(--c1); }
.info-t { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px; background: linear-gradient(100deg, var(--texte) 30%, var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.info-p { color: var(--brume); font-size: 1.08rem; margin-bottom: 26px; }
.stage-ctrl { display: flex; align-items: center; gap: 12px; }
.play { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--trait-fort); background: rgba(255, 255, 255, .05); display: grid; place-items: center; cursor: pointer; }
.play svg { width: 16px; height: 16px; fill: var(--texte); }
.play .i-play { display: none; }
.is-paused .play .i-play { display: block; } .is-paused .play .i-pause { display: none; }
.ctrl-hint { font-family: var(--mono); font-size: .78rem; color: var(--brume); }

/* séquence d'arrivée */
.js .stage-top, .js .stage-info { opacity: 0; transform: translateY(16px); }
.js.is-ready .stage-top, .js.is-ready .stage-info { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.is-ready .tiles li:nth-child(2) { transition-delay: .05s; } .js.is-ready .tiles li:nth-child(3) { transition-delay: .1s; } .js.is-ready .tiles li:nth-child(4) { transition-delay: .15s; }
.js.is-ready .tiles li:nth-child(5) { transition-delay: .2s; } .js.is-ready .tiles li:nth-child(6) { transition-delay: .25s; } .js.is-ready .tiles li:nth-child(7) { transition-delay: .3s; }
.js.is-ready .tiles li:nth-child(8) { transition-delay: .35s; } .js.is-ready .stage-info { transition-delay: .3s; }

/* ---------- chapitres ---------- */
.chapter { position: relative; isolation: isolate; padding: clamp(80px, 11vw, 150px) 0; }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 50% 60% at 25% 50%, color-mix(in srgb, var(--c2) 13%, transparent), transparent 70%); }
.chapter.is-flip::before { background: radial-gradient(ellipse 50% 60% at 75% 50%, color-mix(in srgb, var(--c2) 13%, transparent), transparent 70%); }
.chapter-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.is-flip .chapter-media { order: 2; }
.chapter-media { position: relative; isolation: isolate; }
.chapter-media .amb { inset: -14%; width: 128%; height: 128%; }
.screen { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--c2) 18%, var(--noir-2)), var(--noir-2) 75%); border: 1px solid color-mix(in srgb, var(--c1) 25%, var(--trait)); box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--c1) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .08); }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chapter-copy { min-width: 0; }
.chapter-tag { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--c1); margin-bottom: 18px; }
.tag-ic { width: 24px; height: 24px; }
.chapter-copy .h-xl { margin-bottom: 22px; }
.chapter-copy > p:not(.lead):not(.chapter-tag):not(.price) { color: var(--brume); max-width: 38em; }
.chapter-copy .btn { margin-top: 10px; }
.chapter-extra { margin-top: clamp(48px, 7vw, 96px); }

.points { display: grid; gap: 0; margin: 26px 0 28px; border-top: 1px solid var(--trait); }
.points li { display: grid; gap: 2px; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--trait); position: relative; color: var(--brume); }
.points li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 9px; height: 9px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 14px var(--c1); }
.points strong { color: var(--texte); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.chips li { font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); background: color-mix(in srgb, var(--c1) 9%, transparent); }
.price { display: flex; flex-direction: column; gap: 2px; margin: 24px 0 28px; padding: 22px 26px; border-radius: var(--r); border-color: color-mix(in srgb, var(--c1) 40%, transparent); width: fit-content; }
.price-v { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.15; background: linear-gradient(100deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-l { color: var(--brume); }

/* image dont la couleur déborde */
.web-extra { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.glowpic { position: relative; margin: 0; isolation: isolate; }
.glowpic img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.8); transform: scale(1.12); opacity: .85; z-index: -1; }
.glowpic-main { position: relative; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .14); }

/* réalisations */
.works { border-top: 1px solid var(--trait); }
.work { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 6px; border-bottom: 1px solid var(--trait); text-decoration: none; position: relative; transition: padding .35s var(--ease), background .35s; border-radius: 10px; }
.work:hover { padding-left: 18px; background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 16%, transparent), transparent); }
.work-name { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.work-url { font-family: var(--mono); font-size: .8rem; color: var(--brume); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.work-url svg { width: 14px; height: 14px; fill: currentColor; transition: transform .25s var(--ease); }
.work:hover .work-url { color: var(--texte); } .work:hover .work-url svg { transform: translate(2px, -2px); fill: var(--c1); }
.tag { font-style: normal; font-family: var(--mono); font-size: .7rem; font-weight: 500; padding: 3px 9px; border-radius: 999px; color: var(--encre); background: var(--c1); }

/* logiciels */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease), border-color .35s; }
.app:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--app) 60%, transparent); }
.app-glow { position: absolute; z-index: -1; width: 220px; height: 220px; top: -80px; left: -60px; border-radius: 50%; background: var(--app); filter: blur(80px); opacity: .35; transition: opacity .35s; }
.app:hover .app-glow { opacity: .6; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 14px; box-shadow: 0 10px 30px -8px var(--app); }
.app-icon-txt { display: grid; place-items: center; font-family: var(--display); font-size: 1.6rem; color: #fff; background: var(--app); }
.app-name { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.02em; }
.app-type { font-family: var(--mono); font-size: .8rem; color: var(--brume); margin: 0 0 6px; }
.app-text { color: var(--brume); flex: 1; }
.app-status { font-size: .88rem; font-weight: 600; color: var(--app); margin: 0 0 8px; }
.app-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; width: fit-content; border-bottom: 1px solid var(--trait-fort); padding-bottom: 2px; }
.app-link svg { width: 14px; height: 14px; fill: currentColor; }
.app-link:hover { border-color: var(--app); }
.apps-more { margin-top: 28px; }


/* ---------- accès rapide (8 services) ---------- */
.dock { grid-column: 1 / -1; grid-row: 3; }
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 16px 14px 18px; border-radius: 18px; text-decoration: none; overflow: hidden;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--trait); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .35s, background .35s, transform .35s var(--ease); }
.tile::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 120%; background: radial-gradient(ellipse at 50% 100%, var(--c1), transparent 65%); opacity: 0; transition: opacity .4s; z-index: -1; }
.tile:hover, .tile:focus-visible, .tile[aria-current] { border-color: color-mix(in srgb, var(--c1) 55%, transparent); background: rgba(255, 255, 255, .06); }
.tile:hover { transform: translateY(-3px); }
.tile[aria-current]::before, .tile:hover::before { opacity: .22; }
.tile-ic { width: 30px; height: 30px; color: var(--c1); }
.tile-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile-ic svg circle { fill: currentColor; stroke: none; }
.tile-txt { display: grid; gap: 2px; }
.tile-t { font-weight: 700; font-size: .98rem; line-height: 1.2; letter-spacing: -0.01em; }
.tile-p { font-family: var(--mono); font-size: .72rem; color: var(--brume); }
.tile-bar { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tile-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tile:not([aria-current]) .tile-bar::after { transform: scaleX(0); }
.info-idx { white-space: pre; }


/* ---------- fonctions en démonstration ---------- */
.feat { isolation: isolate; }
.feat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 30% 55%, color-mix(in srgb, var(--c2) 13%, transparent), transparent 70%); }
.feat-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat-list { display: grid; border-top: 1px solid var(--trait); }
.feat-item { position: relative; display: grid; gap: 0; text-align: left; padding: 18px 4px 18px 0; background: none; border: 0; border-bottom: 1px solid var(--trait); cursor: pointer; color: var(--brume); }
.feat-t { display: flex; align-items: baseline; gap: 14px; font-size: 1.1rem; font-weight: 700; color: var(--brume); transition: color .3s; }
.feat-n { font-style: normal; font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--brume); }
.feat-d { display: block; max-height: 0; overflow: hidden; opacity: 0; padding-left: 36px; transition: max-height .5s var(--ease), opacity .4s, margin .4s; font-size: .98rem; line-height: 1.6; }
.feat-item[aria-selected="true"] .feat-t { color: var(--texte); }
.feat-item[aria-selected="true"] .feat-n { color: var(--c1); }
.feat-item[aria-selected="true"] .feat-d { max-height: 220px; opacity: 1; margin-top: 8px; }
.feat-item:hover .feat-t { color: var(--texte); }
.feat-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: left; transform: scaleX(0); }
.feat-item[aria-selected="true"] .feat-bar { transform: scaleX(var(--p, 1)); }
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.brand { display: grid; gap: 6px; padding: 22px 24px; border-radius: 20px; }
.brand-n { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--c1); }
.brand-t { color: var(--brume); }
.homekit { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 20px; margin: 24px 0 28px; border-color: color-mix(in srgb, var(--c1) 40%, transparent); }
.homekit > span:last-child { color: var(--texte); }
.hk { flex: none; display: grid; justify-items: center; gap: 2px; width: 96px; text-align: center; }
.hk svg { width: 38px; height: 38px; fill: none; stroke: var(--c1); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--c1)); }
.hk b { font-size: .95rem; } .hk small { font-family: var(--mono); font-size: .68rem; color: var(--brume); }
.screen-cap { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(5, 6, 12, .7); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; border: 1px solid var(--trait-fort); }
.screen-cap.is-in { animation: info-in .5s var(--ease); }


/* offre mise en avant (portail CarPlay) */
.offre { position: relative; isolation: isolate; overflow: hidden; margin: 26px 0 28px; padding: 24px 26px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--c1) 55%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 16%, transparent), color-mix(in srgb, var(--c2) 10%, transparent)); }
.offre::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%; background: var(--c2); filter: blur(70px); opacity: .35; z-index: -1; }
.offre-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.offre-t { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.02em; }
.offre-prix { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; background: linear-gradient(100deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offre p { color: var(--texte) !important; margin-bottom: 12px; }
.offre ul { display: grid; gap: 6px; }
.offre li { position: relative; padding-left: 26px; color: var(--brume); }
.offre li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--c1); border-bottom: 2px solid var(--c1); transform: rotate(-45deg); }

/* ---------- vitrine des sites réalisés ---------- */
.vitrine-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.vitrine-head .h-lg { margin-bottom: 0; }
.vitrine-p { color: var(--brume); margin: 0 0 6px; }
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: 32px; }
.site-big { grid-column: span 2; grid-row: span 2; }
.site-link { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; text-decoration: none; height: 100%; }
.site-amb { position: absolute; inset: 4% 6% 22%; width: 88%; height: 74%; object-fit: cover; filter: blur(42px) saturate(1.7); opacity: .55; z-index: -1; transition: opacity .5s, transform .5s var(--ease); }
.site-link:hover .site-amb { opacity: .9; transform: scale(1.06); }
.site-frame { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #0d0f1c; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); transition: transform .5s var(--ease), border-color .4s; flex: 1; }
.site-link:hover .site-frame { transform: translateY(-6px); border-color: rgba(255, 255, 255, .3); }
.site-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #161827; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.site-bar span { margin-left: 10px; font-family: var(--mono); font-size: .72rem; color: var(--brume); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; flex: 1; }
.site-big .site-shot { aspect-ratio: 16 / 10; }
.site-shot img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.site-shot.is-live img { animation: defile calc(var(--n) * 4s) ease-in-out infinite alternate; }
.site-link:hover .site-shot img { animation-duration: calc(var(--n) * 2.4s); }
@keyframes defile { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc((100% / var(--n)) * (1 - var(--n)) * 1)); } }
.site-soon { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; font-family: var(--display); font-weight: 300; font-size: 1.5rem; color: var(--texte);
  background: radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--c1) 35%, transparent), transparent 60%), radial-gradient(ellipse at 80% 90%, color-mix(in srgb, var(--c2) 35%, transparent), transparent 60%), #0d0f1c; }
.site-soon small { font-family: var(--mono); font-size: .75rem; color: var(--brume); }
.site-meta { display: grid; gap: 2px; padding: 0 4px; }
.site-name { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.site-big .site-name { font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.site-act { color: var(--brume); font-size: .92rem; }

/* ---------- vitrine des logiciels ---------- */
.soft { margin-top: 12px; }
.soft-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.soft-tab { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; border: 1px solid var(--trait); background: rgba(255, 255, 255, .03); cursor: pointer; text-align: left; transition: border-color .3s, background .3s; }
.soft-tab img { width: 44px; height: 44px; border-radius: 12px; }
.soft-tab span { display: grid; } .soft-tab b { font-size: 1rem; } .soft-tab small { font-family: var(--mono); font-size: .72rem; color: var(--brume); }
.soft-tab:hover { border-color: var(--trait-fort); }
.soft-tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--app) 70%, transparent); background: color-mix(in srgb, var(--app) 12%, transparent); box-shadow: 0 10px 40px -16px var(--app); }
.soft-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.soft-panel:not([hidden]) { animation: info-in .6s var(--ease) both; }
.soft-media { position: relative; isolation: isolate; }
.soft-glow { position: absolute; inset: 8%; z-index: -1; background: var(--app); filter: blur(80px); opacity: .45; border-radius: 40%; }
.soft-screen { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); background: #0d0f1c; aspect-ratio: 16 / 10; }
.soft-screen video, .soft-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.soft-icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 16px; box-shadow: 0 14px 40px -12px var(--app); }
.soft-name { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; }
.soft-type { font-family: var(--mono); font-size: .82rem; color: var(--brume); margin: 8px 0 16px; }
.soft-text { font-size: 1.1rem; }
.soft-status { font-weight: 700; color: var(--app); }
.soft-more { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 40px 0 0; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--trait); background: var(--verre); }
.soft-more img { width: 36px; height: 36px; }
.soft-more span { flex: 1; min-width: 220px; color: var(--brume); }
.soft-more b { color: var(--texte); }


/* balayage avant / après en boucle (repris de tiptop-software.com) */
.balayage { position: absolute; inset: 0; }
.balayage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.balayage .apres { clip-path: inset(0 0 0 100%); animation: balaye 8s ease-in-out infinite; }
.balayage .trait { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .9); left: 100%; animation: trait 8s ease-in-out infinite; }
@keyframes balaye { 0%, 12% { clip-path: inset(0 0 0 100%); } 46%, 78% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@keyframes trait { 0%, 12% { left: 100%; opacity: 1; } 46% { left: 0%; opacity: 1; } 50%, 96% { left: 0%; opacity: 0; } 100% { left: 100%; opacity: 0; } }

/* curseur avant / après (repris de tiptop-software.com) */
.comparer { position: absolute; inset: 0; --pos: 55%; }
.comparer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparer-avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.comparer-bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 20px rgba(255, 255, 255, .6); pointer-events: none; }
.comparer-bar::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 700; font-size: 1rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.comparer input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.comparer-l { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; pointer-events: none; }
.comparer-l1 { left: 14px; } .comparer-l2 { right: 14px; }

/* sous-sections des pages (particuliers / pros, alarmes / caméras) */
.sub { padding: clamp(56px, 8vw, 100px) 0; }
.sub::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 60% at 25% 50%, color-mix(in srgb, var(--c2) 12%, transparent), transparent 70%); }
.sub.is-flip::before { background: radial-gradient(ellipse 45% 60% at 75% 50%, color-mix(in srgb, var(--c2) 12%, transparent), transparent 70%); }
.sub { isolation: isolate; }
.sub .chapter-copy .lead { color: var(--brume); margin-bottom: 26px; }
.glowpic { margin-top: clamp(48px, 6vw, 80px); max-width: 900px; }

/* ---------- record ---------- */
.record { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 11vw, 140px) 0; }
.record::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 80% 30%, color-mix(in srgb, var(--c1) 18%, transparent), transparent 70%), radial-gradient(ellipse 50% 50% at 10% 90%, color-mix(in srgb, var(--c2) 16%, transparent), transparent 70%); }
.record-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.record-head { grid-column: 1 / -1; }
.record-t { font-family: var(--display); font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--brume); letter-spacing: -0.02em; max-width: 26ch; }
.record-chute { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 10vw, 8rem); letter-spacing: -0.06em; line-height: 1; margin: 10px 0 0; }
.record-score { display: flex; flex-direction: column; gap: 6px; }
.record-num { font-family: var(--display); font-weight: 300; font-size: clamp(3.2rem, 8.5vw, 7rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(95deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.record-num .g { display: inline-block; width: .2em; }
.record-unit { font-family: var(--mono); color: var(--brume); }
.record-text { color: var(--brume); max-width: 30em; }
.record-text strong { color: var(--texte); font-size: 1.15rem; }
.record-chart { grid-column: 1 / -1; margin: 12px 0 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); }
.record-chart figcaption { font-size: .95rem; color: var(--brume); margin-bottom: 20px; }
.cmp { display: grid; gap: 12px; }
.cmp li { display: grid; grid-template-columns: 150px 1fr 90px; gap: 16px; align-items: center; font-size: .95rem; }
.cmp-n { color: var(--brume); }
.cmp-v { font-family: var(--mono); text-align: right; color: var(--brume); font-variant-numeric: tabular-nums; }
.cmp-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: rgba(255, 255, 255, .22); transform-origin: left; }
.cmp-me .cmp-n, .cmp-me .cmp-v { color: var(--texte); font-weight: 600; }
.cmp-me .cmp-bar i { background: linear-gradient(90deg, var(--c2), var(--c1)); box-shadow: 0 0 20px var(--c1); }
.js [data-bars] .cmp-bar i { transform: scaleX(0); }
.js [data-bars].is-in .cmp-bar i { transform: scaleX(1); transition: transform 1.4s var(--ease); }
.js [data-bars].is-in li:nth-child(2) i { transition-delay: .1s; } .js [data-bars].is-in li:nth-child(3) i { transition-delay: .2s; }
.js [data-bars].is-in li:nth-child(4) i { transition-delay: .3s; } .js [data-bars].is-in li:nth-child(5) i { transition-delay: .4s; }
.cmp-src { margin: 18px 0 0; font-size: .8rem; color: var(--brume); }

/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; padding: clamp(80px, 11vw, 140px) 0; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 15% 40%, color-mix(in srgb, var(--c1) 12%, transparent), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-side .h-xl { margin-bottom: 20px; }
.contact-side .lead { color: var(--brume); }
.contact-mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; text-decoration: none; font-family: var(--display); font-weight: 300; font-size: clamp(1.15rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }
.contact-mail svg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; fill: var(--encre); background: linear-gradient(120deg, var(--c1), var(--c2)); flex: none; }
.contact-mail:hover span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: .9rem; color: var(--brume); font-weight: 500; }
.opt { opacity: .7; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--texte); background: rgba(5, 6, 12, .6); border: 1px solid var(--trait-fort); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brume) 50%), linear-gradient(135deg, var(--brume) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 22%, transparent); }
.form-legal { font-size: .82rem; color: var(--brume); margin: 0; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.is-err { color: #ff8a9a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pages intérieures ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 8vw, 100px); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--noir)); }
.page-hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-copy { min-width: 0; container-type: inline-size; }
.page-hero-sm { padding-bottom: 32px; }
.page-hero-full { min-height: 100svh; display: flex; align-items: center; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: .82rem; color: var(--brume); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--texte); }
.page-t { font-family: var(--display); font-weight: 300; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.045em; margin-bottom: 22px; }
/* mot très long (ex. « vidéosurveillance ») : la taille s'adapte à la colonne pour ne jamais passer sous l'animation */
.page-t[style*="--mot"] { font-size: min(clamp(2.3rem, 5.4vw, 4.4rem), calc(100cqi / (var(--mot) * .58))); }
.page-hero-copy .lead { margin-bottom: 30px; color: var(--brume); }
.err-code { font-family: var(--mono); font-size: .9rem; color: var(--c1); }
.block { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.prose { max-width: 44em; }
.prose p { color: var(--brume); }
.prose-big { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.6; color: var(--texte) !important; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; }
.aside-t { font-family: var(--display); font-weight: 400; font-size: 1.1rem; margin: 0; }
.aside-mail { font-weight: 600; color: var(--c1); text-decoration: none; word-break: break-all; }
.page-aside .btn { justify-content: center; }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--trait); }
.qa { border-bottom: 1px solid var(--trait); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.1rem; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 22px; height: 22px; fill: var(--c1); flex: none; transition: transform .3s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa p { color: var(--brume); padding: 0 40px 22px 0; margin: 0; }
.more-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.more-list a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--trait); background: var(--verre); text-decoration: none; font-weight: 600; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.more-list a > span:not(.more-ic) { flex: 1; }
.more-ic { width: 26px; height: 26px; color: var(--c1); flex: none; }
.more-list a > svg { width: 18px; height: 18px; fill: var(--brume); transition: transform .25s var(--ease), fill .25s; }
.more-list a:hover { border-color: color-mix(in srgb, var(--c1) 60%, transparent); transform: translateY(-2px); background: color-mix(in srgb, var(--c1) 8%, transparent); }
.more-list a:hover > svg { transform: translateX(3px); fill: var(--c1); }
.legal { max-width: 46em; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.02em; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--brume); }
.legal a, .legal .link-btn { color: var(--texte); text-underline-offset: 3px; }
.a-completer { display: inline-block; font-family: var(--mono); font-size: .85rem; color: #1a1300; background: #ffc43d; padding: 3px 10px; border-radius: 6px; line-height: 1.5; }

/* ---------- pied de page ---------- */
.site-footer { border-top: 1px solid var(--trait); padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, var(--noir), #020308); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-who { color: var(--brume); margin: 18px 0 6px; }
.footer-mail { color: var(--texte); font-weight: 600; text-decoration: none; }
.footer-mail:hover { color: var(--c1); }
.footer-nav { display: grid; gap: 8px; align-content: start; justify-items: start; }
.footer-h { font-family: var(--mono); font-size: .8rem; color: var(--brume); margin: 0 0 6px; }
.footer-nav a, .footer-nav .link-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); opacity: .85; font-size: .95rem; }
.footer-nav a:hover, .footer-nav .link-btn:hover { opacity: 1; }
.fdot { width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--trait); font-size: .8rem; color: var(--brume); }
.footer-bottom p { margin: 0; }
.signature a { text-decoration: none; color: var(--texte); }
.signature a:hover { color: var(--c1); }

/* ---------- bandeau cookies ---------- */
.cookie { position: fixed; z-index: 80; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100% - 32px)); padding: 22px; border-radius: 22px; background: rgba(14, 16, 28, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--trait-fort); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); font-size: .9rem; color: var(--brume); }
.cookie[hidden] { display: none; }
.cookie.is-in { animation: info-in .5s var(--ease); }
.cookie-t { font-weight: 700; color: var(--texte); font-size: 1rem; margin-bottom: 6px; }
.cookie a { color: var(--texte); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { justify-content: center; min-height: 44px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav-svc { padding: 8px 9px; font-size: .86rem; gap: 6px; }
  .header-in { gap: 12px; }
}
@media (max-width: 1100px) {
  .nav-ic { display: none; }
  .stage-in { grid-template-columns: minmax(0, 1fr) 300px; }
  .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soft-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root { --strip-h: 50px; --header-h: 56px; }
  .logo-img { height: 40px; }
  .site-header { height: calc(var(--header-h) + var(--strip-h) + env(safe-area-inset-top, 0px)); background: rgba(5, 6, 12, .72); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border-color: var(--trait); }
  .header-in { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 8px; justify-content: space-between; }
  .main-nav { order: 3; flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .main-nav::-webkit-scrollbar { display: none; }
  .nav-svc { scroll-snap-align: start; padding: 8px 12px; border: 1px solid var(--trait); }
  .nav-ic { display: inline-block; width: 16px; height: 16px; }
  html { scroll-padding-top: calc(var(--header-h) + var(--strip-h) + 12px); }
  .stage, .page-hero { padding-top: calc(var(--header-h) + var(--strip-h) + env(safe-area-inset-top, 0px) + 12px); }
  .stage { min-height: auto; }
  .stage-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 18px; }
  .stage-top { grid-column: 1; flex-direction: column; gap: 8px; }
  .stage-screen { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 1 / 0.9; }
  .stage-screen { grid-row: 2; }
  .stage-info { grid-column: 1; grid-row: 3; flex-direction: column; align-items: stretch; gap: 18px; }
  .site-big { grid-column: auto; grid-row: auto; }
  .site-big .site-shot { aspect-ratio: 16 / 10; min-height: 0; }
  .feat-in, .chapter-in, .web-extra, .record-in, .contact-grid, .page-hero-in, .page-grid, .faq-in, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .is-flip .chapter-media { order: 0; }
  .page-aside { position: static; }
  .page-hero-in .page-screen { order: -1; }
}
@media (max-width: 640px) {
  .sites { grid-template-columns: 1fr; }
  .homekit { flex-direction: column; align-items: flex-start; }
  .tile { gap: 10px; padding: 12px; }
  .tile-ic { width: 24px; height: 24px; flex: none; }
  .tile-t { font-size: .9rem; }
  .ctrl-hint { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .cmp li { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .cmp-bar { grid-column: 1 / -1; grid-row: 2; }
  .work { flex-direction: column; align-items: flex-start; gap: 4px; }
  .screen { aspect-ratio: 1 / 0.92; }
}
/* ---------- animation d'arrivée (accueil, une fois par visite) ----------
   Voyage en zoom dessiné dans le canvas (main.js) : univers → Voie lactée → système solaire → Terre → France
   (Carcassonne, Narbonne), puis à --t0 le nom i-Spot se forme en lettres de lumière et l'écran s'ouvre en deux volets. */
.intro { display: none; --t0: 7.6s; }
.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; cursor: pointer; background: transparent; animation: intro-fin 0s calc(var(--t0) + 3.4s) forwards; }
.intro.is-skip { opacity: 0; transition: opacity .35s ease; }
@keyframes intro-fin { to { visibility: hidden; pointer-events: none; } }
.intro-pan { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--noir); animation: .85s cubic-bezier(.7, 0, .2, 1) calc(var(--t0) + 2.45s) forwards; }
.intro-pan-t { top: 0; animation-name: intro-pan-t; }
.intro-pan-b { bottom: 0; animation-name: intro-pan-b; }
@keyframes intro-pan-t { to { transform: translateY(-101%); } }
@keyframes intro-pan-b { to { transform: translateY(101%); } }
.intro-cv { position: absolute; inset: 0; width: 100%; height: 100%; animation: intro-off .5s ease calc(var(--t0) + 2.55s) forwards; }
.intro-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; animation: intro-core-out .6s cubic-bezier(.6, 0, .3, 1) calc(var(--t0) + 2.3s) forwards; }
@keyframes intro-core-out { to { opacity: 0; transform: scale(1.12); filter: blur(10px); } }
@keyframes intro-off { to { opacity: 0; } }
@keyframes intro-off-in { to { opacity: 1; } }
.intro-boot { margin: 0 0 clamp(14px, 2.4vw, 26px); font-family: var(--mono); font-size: clamp(.58rem, 1.5vw, .8rem); letter-spacing: .22em; text-transform: uppercase; color: rgba(242, 243, 250, .6); white-space: nowrap; max-width: 100%; overflow: hidden; clip-path: inset(0 100% 0 0); animation: intro-type .9s steps(40, end) calc(var(--t0) + .1s) forwards; }
@keyframes intro-type { to { clip-path: inset(0 0 0 0); } }
.intro-word { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(3.6rem, 15vw, 11rem); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; }
.intro-word span { display: inline-block; color: transparent; background: linear-gradient(100deg, #2de2e6, #3b82f6, #b06bff, #ff5fd2, #ff3b4e, #ffb020, #3ef08f, #2de2e6); background-size: 800% 100%; -webkit-background-clip: text; background-clip: text; opacity: 0; transform: translateY(.35em) scale(1.25); filter: blur(14px); animation: intro-letter .9s var(--ease) calc(var(--t0) + .45s + var(--i) * .075s) forwards, intro-flow 2.8s linear calc(var(--i) * -.22s) infinite; }
@keyframes intro-letter { 60% { filter: blur(0) drop-shadow(0 0 18px rgba(255, 255, 255, .55)); } to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 0 transparent); } }
@keyframes intro-flow { to { background-position: 100% 0; } }
.intro-word em { font-style: normal; font-weight: 300; font-size: .34em; letter-spacing: -0.02em; color: var(--brume); vertical-align: .12em; margin-left: .08em; opacity: 0; animation: intro-off-in .6s ease calc(var(--t0) + 1.15s) forwards; }
.intro-tag { margin: clamp(10px, 1.6vw, 18px) 0 0; font-family: var(--mono); font-size: clamp(.68rem, 1.6vw, .95rem); letter-spacing: .6em; text-transform: uppercase; white-space: nowrap; color: var(--texte); opacity: 0; animation: intro-tag .9s var(--ease) calc(var(--t0) + 1.2s) forwards; }
@keyframes intro-tag { from { letter-spacing: 1.4em; opacity: 0; } to { letter-spacing: .6em; opacity: .75; } }
@media (max-width: 900px) { .intro-boot { letter-spacing: .08em; font-size: clamp(.5rem, 1.35vw, .7rem); } }
@media (max-width: 600px) { @keyframes intro-tag { from { letter-spacing: .9em; opacity: 0; } to { letter-spacing: .35em; opacity: .75; } } }
.intro-scan { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, #2de2e6 20%, #b06bff 50%, #ffb020 80%, transparent); box-shadow: 0 0 24px 2px rgba(176, 107, 255, .65); transform: scaleX(0); opacity: 0; animation: intro-scan 3.3s cubic-bezier(.6, 0, .2, 1) calc(var(--t0) - .1s) both; }
@keyframes intro-scan { 0% { transform: scaleX(0); opacity: 1; } 16% { transform: scaleX(1); opacity: .9; } 30% { opacity: .18; } 70% { opacity: .18; transform: scaleX(1); } 76% { opacity: 1; transform: scaleX(1) scaleY(2.5); } 100% { opacity: 0; transform: scaleX(1) scaleY(1); } }
/* repères façon instrument : étape et échelle en haut, compteur et « Passer » en bas */
.intro-hud { position: absolute; left: var(--gutter); top: max(22px, env(safe-area-inset-top)); margin: 0; display: flex; align-items: baseline; gap: 14px; font-family: var(--mono); font-size: clamp(.7rem, 1.3vw, .82rem); letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 243, 250, .55); animation: intro-off .4s ease calc(var(--t0) - .2s) forwards; }
.intro-hud b { font-weight: 400; color: var(--texte); }
.intro-hud span { color: var(--texte); font-size: 1.25em; letter-spacing: .14em; }
.intro-hud.is-swap span, .intro-hud.is-swap i { animation: intro-swap .5s var(--ease); }
.intro-hud i { font-style: normal; }
@keyframes intro-swap { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
.intro-coord { position: absolute; right: var(--gutter); top: max(22px, env(safe-area-inset-top)); margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: rgba(242, 243, 250, .45); animation: intro-off .4s ease calc(var(--t0) + 2.3s) forwards; }
.intro-pct { position: absolute; right: var(--gutter); bottom: max(20px, env(safe-area-inset-bottom)); margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .18em; color: rgba(242, 243, 250, .5); animation: intro-off .4s ease calc(var(--t0) + 2.35s) forwards; }
.intro-pct b { font-weight: 400; color: var(--texte); }
.intro-skip { position: absolute; left: var(--gutter); bottom: max(14px, env(safe-area-inset-bottom)); padding: 8px 14px; border: 1px solid var(--trait-fort); border-radius: 99px; background: rgba(255, 255, 255, .04); color: var(--texte); font: 400 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; animation: intro-off .4s ease calc(var(--t0) + 2.3s) forwards; }
.intro-skip:hover { border-color: #2de2e6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .stage-top, .js .stage-info { opacity: 1; transform: none; }
  .js [data-bars] .cmp-bar i { transform: none; }
  .site-shot.is-live img { animation: none; }
  .balayage .apres { animation: none; clip-path: inset(0 0 0 50%); } .balayage .trait { display: none; }
  @view-transition { navigation: none; }
}
