@font-face {
    font-family: 'Inter';
    src: url('fonts/InterVariable-latin.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
}

:root {

    --bg-0: #0A1020;
    --bg-1: #0F172A;
    --bg-2: #111b30;
    --panel: #0B1222;
    --card: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.055);
    --line: rgba(148, 163, 184, 0.14);
    --line-2: rgba(148, 163, 184, 0.24);

    --text: #e8eef6;
    --text-2: #b6c2d3;
    --muted: #8a9bb3;

    --cyan: #1bb8ce;
    --cyan-hover: #4fd0e2;
    --navy: #0F172A;
    --warn: #fb923c;
    --ok: #4ade80;
    --mid: #fbbf24;

    --l-reseau: #1bb8ce;
    --l-wifi: #60a5fa;
    --l-son: #a78bfa;
    --l-video: #fb7185;
    --l-affichage: #4ade80;

    --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
    --sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-0); }
body { font-family: var(--sans); color: var(--text); background: var(--bg-0); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--navy); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }

h1, h2, h3, .accroche, .hero-text, .console-caption { text-wrap: balance; }
p, li, dd, small, .lead { text-wrap: pretty; }

.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

.spot { position: relative; isolation: isolate; }
.spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--cyan)) 16%, transparent), transparent 45%);
    opacity: 0; transition: opacity 300ms ease;
}
.spot:hover::before { opacity: 1; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font: 500 0.875rem/1 var(--sans); padding: 0.72rem 1.1rem; border-radius: 0.55rem; letter-spacing: 0.005em;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 200ms ease, transform 150ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-main { background: rgba(27, 184, 206, 0.14); color: #e2fafd; border-color: rgba(27, 184, 206, 0.7); }
.btn-main:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); box-shadow: 0 6px 22px -8px rgba(27, 184, 206, 0.7); }
.btn-line { background: transparent; color: #fff; border-color: var(--line-2); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn .arrow { transition: transform 150ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 16, 32, 0.78);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--l-wifi)); transform-origin: 0 50%; transform: scaleX(0); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.logo img { height: 1.9rem; width: auto; }
@media (min-width: 768px) { .logo img { height: 2.1rem; } }
.nav { display: none; gap: 1.6rem; font-size: 0.875rem; font-weight: 500; }
.nav a { position: relative; text-decoration: none; color: var(--text-2); padding: 0.4rem 0; transition: color 150ms ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cyan); transform: scaleX(0); transition: transform 200ms var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: none; padding: 0.55rem 0.9rem; font-size: 0.8125rem; }
@media (min-width: 1000px) { .nav, .header-cta { display: flex; } .nav-mobile { display: none; } }

.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; font-weight: 500; font-size: 0.875rem; border: 1px solid var(--line-2); border-radius: 0.55rem; padding: 0.5rem 0.85rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: rgba(27, 184, 206, 0.14); color: #e2fafd; border-color: rgba(27, 184, 206, 0.7); }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 15rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 0.75rem; display: grid; padding: 0.5rem; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6); }
.nav-mobile nav a { padding: 0.75rem; border-radius: 0.5rem; text-decoration: none; font-weight: 500; }
.nav-mobile nav a:hover { background: var(--card-hover); }

section { scroll-margin-top: 4.5rem; }
.sec { position: relative; padding: 3.5rem 0; }
@media (min-width: 768px) { .sec { padding: 4.5rem 0; } }
.bg-0 { background: var(--bg-0); }
.bg-2 { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font: 700 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.tag b { background: rgba(27, 184, 206, 0.14); padding: 0.3rem 0.45rem; border-radius: 4px; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.25rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 750; max-width: 34ch; margin-bottom: 0.75rem; text-wrap: balance; }
h2 em { font-style: normal; color: var(--cyan); }
.lead { font-size: 1.0625rem; color: var(--text-2); max-width: none; }

.hero { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; background: var(--bg-0); }
@media (min-width: 768px) { .hero { padding: 6rem 0 5rem; } }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}
.hero::after {
    content: ""; position: absolute; left: 50%; top: -12rem; width: 60rem; height: 36rem; transform: translateX(-50%); pointer-events: none;
    background: radial-gradient(closest-side, rgba(27, 184, 206, 0.22), transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-head { text-align: center; max-width: 60rem; margin: 0 auto; }
.kicker { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.9rem; margin-bottom: 1.5rem; font: 600 0.75rem/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.kicker span + span::before { content: "·"; margin-right: 0.9rem; color: var(--muted); }

.accroche { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.25rem); line-height: 1; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 1.25rem; }
.h1-kicker { display: block; margin: 0 0 1.25rem; font: 600 0.8125rem/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.accroche .grad { background: linear-gradient(90deg, var(--cyan), #7dd3fc 60%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem); font-weight: 400; color: var(--muted); letter-spacing: 0.005em; max-width: none; margin: 0 auto 2rem; }

.hero-text .l { display: block; }
@media (max-width: 899px) { .hero-text.une-ligne { font-size: min(1.0625rem, 3.6vw); } .hero-text.une-ligne .l { white-space: nowrap; } }
@media (max-width: 359px) { .hero-text.une-ligne { font-size: 0.9375rem; } .hero-text.une-ligne .l { white-space: normal; } }
@media (min-width: 900px) { .hero-text .l { display: inline; } .hero-text.une-ligne { white-space: nowrap; } }
.play { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--cyan); color: var(--navy); font-size: 0.5rem; padding-left: 2px; transition: background-color 150ms ease, color 150ms ease; }
.btn-main:hover .play, .demo-cta button:hover .play { background: var(--navy); color: var(--cyan); }

.state { display: inline-flex; align-items: center; gap: 1rem; }
.live[data-state="before"] { color: var(--warn); }
.live[data-state="before"] .led { background: var(--warn); animation: none; box-shadow: none; }
.live[data-state="progress"] { color: var(--cyan); }
.live[data-state="progress"] .led { background: var(--cyan); }
.replay { background: none; border: 1px solid var(--line-2); border-radius: 0.45rem; padding: 0.3rem 0.65rem; font: 500 0.6875rem/1 var(--mono); color: var(--text-2); cursor: pointer; }
.replay:hover { border-color: var(--cyan); color: #fff; }
.replay[hidden] { display: none; }
.plan .old { font-size: 8px; font-weight: 700; fill: #7b8aa3; letter-spacing: 0.08em; }
.before { transition: opacity 500ms ease; }
.before.off { opacity: 0; }
.demo-cta { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center; background: radial-gradient(closest-side, rgba(10, 16, 32, 0.78), rgba(10, 16, 32, 0.25)); transition: opacity 400ms ease; }
.demo-cta[hidden] { display: none; }
.demo-cta button {
    display: inline-flex; align-items: center; gap: 0.7rem; border: 0; cursor: pointer;
    padding: 0.65rem 1.05rem 0.65rem 0.75rem; border-radius: 0.55rem; background: rgba(11, 18, 34, 0.85); color: #e2fafd; font-weight: 500; font-size: 0.875rem; border: 1px solid rgba(27, 184, 206, 0.8);
    animation: ring 2.2s infinite;
}
.demo-cta button:hover { background: var(--cyan); color: var(--navy); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(27, 184, 206, 0.55); } 70% { box-shadow: 0 0 0 18px rgba(27, 184, 206, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 184, 206, 0); } }
.demo-cta small { display: block; margin-top: 0.7rem; font: 500 0.75rem/1 var(--mono); color: var(--text-2); letter-spacing: 0.06em; }
.demo-step {
    --c: var(--cyan);
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 4; overflow: hidden;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; padding: 0.7rem 0.95rem; border-radius: 0.8rem;
    background: rgba(11, 18, 34, 0.94); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-size: 0.875rem;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pop 250ms var(--ease);
}
.demo-step[hidden] { display: none; }
.demo-step .n { font: 700 0.6875rem/1 var(--mono); color: var(--c); letter-spacing: 0.1em; white-space: nowrap; }
.demo-step .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--p, 0%); background: var(--c); transition: width 700ms var(--ease), background-color 300ms ease; }
@media (min-width: 768px) { .demo-step { left: 2rem; right: 2rem; bottom: 1.5rem; } }
.st b { font-weight: 600; transition: color 300ms ease; }
.st:not(.ok) b { color: var(--warn); }
.st:not(.ok) .led { background: var(--warn); animation: none; box-shadow: none; }
.st.ok b { color: var(--ok); }
.st.flip { animation: flipIn 450ms var(--ease); }
@keyframes flipIn { from { opacity: 0.2; transform: translateY(4px); } }

.daily-grid { display: grid; gap: 1.25rem; margin-top: 2rem; align-items: center; }
@media (min-width: 1000px) { .daily-grid { grid-template-columns: 1fr 21.5rem 1fr; gap: 2.5rem; } }
.phone-wrap { order: -1; }
@media (min-width: 1000px) { .phone-wrap { order: 0; } }
.callouts { display: grid; gap: 1rem; }
@media (min-width: 640px) and (max-width: 999px) { .daily-grid { grid-template-columns: 1fr 1fr; } .phone-wrap { grid-column: 1 / -1; } }
.callout { position: relative; padding: 0.95rem 1.1rem; border-radius: 0.75rem; background: var(--card); border: 1px solid var(--line); transition: border-color 200ms ease, background-color 200ms ease, transform 250ms var(--ease); }
.callout .k { display: block; font: 700 0.6875rem/1 var(--mono); letter-spacing: 0.12em; color: var(--c); margin-bottom: 0.5rem; }
.callout b { display: block; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.callout p { color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.callout.hl { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent); }
@media (min-width: 1000px) {
    .callouts.left { text-align: right; }
    .callouts.left .callout.hl { transform: translateX(6px); }
    .callouts.right .callout.hl { transform: translateX(-6px); }
    .callout::after { content: ""; position: absolute; top: 50%; width: 2.5rem; height: 1px; opacity: 0.35; transition: opacity 200ms ease; }
    .callouts.left .callout::after { right: -2.5rem; background: linear-gradient(90deg, var(--c), transparent); }
    .callouts.right .callout::after { left: -2.5rem; background: linear-gradient(270deg, var(--c), transparent); }
    .callout.hl::after { opacity: 1; }
}
.phone {
    width: min(100%, 21.5rem); margin: 0 auto; border-radius: 2.8rem; padding: 0.65rem;
    background: linear-gradient(145deg, #243048, #0b1120 60%);
    border: 1px solid var(--line-2);
    box-shadow: 0 50px 90px -35px rgba(0, 0, 0, 0.9), 0 0 70px -25px rgba(27, 184, 206, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.screen { border-radius: 2.2rem; background: #060b16; overflow: hidden; padding: 0.7rem 0.75rem 0.9rem; }
.notch { width: 5.5rem; height: 1.3rem; border-radius: 999px; background: #000; margin: 0 auto 0.5rem; }
.ph-head { display: flex; justify-content: space-between; font: 600 0.6875rem/1 var(--mono); color: var(--text-2); padding: 0 0.5rem 0.7rem; }
.ph-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; padding: 0 0.4rem 0.7rem; display: flex; align-items: center; justify-content: space-between; }
.ph-title small { font: 600 0.625rem/1 var(--mono); color: var(--ok); letter-spacing: 0.08em; display: inline-flex; gap: 0.35rem; align-items: center; }
.w { --c: var(--cyan); border-radius: 1.1rem; background: #0f182b; border: 1px solid var(--line); padding: 0.75rem 0.85rem; margin-bottom: 0.5rem; transition: border-color 200ms ease, box-shadow 200ms ease; }
.w.hl { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 26px -10px var(--c); }
.w-h { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font: 700 0.625rem/1 var(--mono); letter-spacing: 0.12em; color: var(--c); margin-bottom: 0.55rem; }
.w-h span:last-child { color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.zones { display: flex; gap: 0.3rem; margin-bottom: 0.55rem; }
.z { flex: 1; font-size: 0.75rem; font-weight: 500; padding: 0.35rem 0; border-radius: 0.45rem; border: 1px solid var(--line-2); background: none; cursor: pointer; color: var(--text-2); transition: all 150ms ease; }
.z[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 75%, transparent); color: #fff; }
.vol { display: flex; align-items: center; gap: 0.6rem; font: 600 0.75rem/1 var(--mono); color: var(--text-2); }
.vol input { flex: 1; accent-color: var(--c); }
.vol output { min-width: 2.6rem; text-align: right; color: #fff; }
.cams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.3rem; margin-bottom: 0.45rem; }
.cam { position: relative; aspect-ratio: 4 / 3; border-radius: 0.35rem; overflow: hidden; background: linear-gradient(135deg, #1c2946, #0b1222); border: 1px solid rgba(255, 255, 255, 0.05); }
.cam::before { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.09), transparent); animation: scan 2.6s linear infinite; }
.cam:nth-child(2)::before { animation-delay: 0.5s; } .cam:nth-child(3)::before { animation-delay: 1s; } .cam:nth-child(4)::before { animation-delay: 1.5s; } .cam:nth-child(5)::before { animation-delay: 2s; }
.cam::after { content: ""; position: absolute; top: 3px; left: 3px; width: 4px; height: 4px; border-radius: 50%; background: #f43f5e; animation: blink 1.2s steps(1) infinite; }
@keyframes scan { from { top: -40%; } to { top: 100%; } }
.w-foot { font-size: 0.75rem; color: var(--text-2); display: flex; justify-content: space-between; gap: 0.5rem; }
.w-foot b { color: var(--ok); font-weight: 600; }
.mini-seg { display: flex; gap: 0.3rem; margin-bottom: 0.5rem; }
.mb { position: relative; border-radius: 0.5rem; background: #000; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); padding: 0.6rem 0.7rem; font: 600 0.75rem/1.45 var(--mono); min-height: 3.6rem; overflow: hidden; }
.mb .big { display: block; font-size: 0.875rem; color: var(--c); letter-spacing: 0.04em; }
.mb.swap { animation: swap 450ms var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.sent { margin-top: 0.45rem; font: 600 0.6875rem/1.3 var(--mono); color: var(--ok); opacity: 0; transition: opacity 300ms ease; }
.sent.show { opacity: 1; }
.net { display: grid; gap: 0.35rem; margin-bottom: 0.55rem; font-size: 0.8125rem; }
.net div { display: flex; justify-content: space-between; gap: 0.5rem; }
.net span:first-child { color: var(--text-2); }
.net b { font: 700 0.75rem/1.4 var(--mono); color: var(--ok); transition: color 300ms ease; }
.net b.warn { color: var(--mid); }
.w-btn { width: 100%; padding: 0.5rem; border-radius: 0.55rem; border: 1px dashed var(--line-2); background: none; color: var(--text-2); font: 500 0.75rem/1 var(--mono); cursor: pointer; transition: all 150ms ease; }
.w-btn:hover { border-color: var(--mid); color: #fff; }
.w-btn:disabled { opacity: 0.5; cursor: default; }
.foot-note { margin-top: 2rem; text-align: center; font: 500 0.75rem/1.5 var(--mono); color: var(--muted); max-width: 44rem; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.75rem; list-style: none; font: 500 0.8125rem/1.3 var(--mono); color: var(--text-2); }
.facts li::before { content: "✓"; color: var(--cyan); font-weight: 700; margin-right: 0.45rem; }

.console-stage { perspective: 1600px; margin-top: 2.5rem; }
.console {
    background: var(--panel); color: var(--text);
    border: 1px solid var(--line-2); border-radius: 0.75rem; overflow: hidden;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 80px -30px rgba(27, 184, 206, 0.35);
    transform: rotateX(var(--tilt, 0deg)) scale(var(--sc, 1)); transform-origin: 50% 0;
    will-change: transform;
}
.console-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); font: 600 0.75rem/1.3 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.console-top strong { color: #fff; letter-spacing: 0.12em; }
.console-top strong em { font-style: normal; color: var(--cyan); }
.live { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ok); }
.led { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.console-body { display: grid; }
@media (min-width: 1024px) { .console-body { grid-template-columns: 1fr 17.5rem; } }
.plan-box { position: relative; padding: 1rem; }
@media (min-width: 768px) { .plan-box { padding: 1.5rem 2rem; } }
.plan { width: 100%; height: auto; }
.plan text { font-family: var(--mono); }
.plan .room { font-size: 9px; letter-spacing: 0.12em; fill: #8393ab; font-weight: 600; }
.plan .t { font-size: 8.5px; font-weight: 700; fill: currentColor; pointer-events: none; }
.layer { transition: opacity 300ms ease; }
.js .layer { opacity: 0; }
.js .layer.on { opacity: 1; }
.js .layer:not(.on) { pointer-events: none; }
.plan[data-focus] .layer.on { opacity: 0.12; }
.plan[data-focus="reseau"] .layer.on[data-layer="reseau"],
.plan[data-focus="wifi"] .layer.on[data-layer="wifi"],
.plan[data-focus="son"] .layer.on[data-layer="son"],
.plan[data-focus="video"] .layer.on[data-layer="video"],
.plan[data-focus="affichage"] .layer.on[data-layer="affichage"] { opacity: 1; }

.dev { cursor: pointer; outline: none; }
.dev .hit { fill: transparent; stroke: transparent; stroke-width: 1.5; transition: fill 150ms ease, stroke 150ms ease; }
.dev:hover .hit, .dev:focus-visible .hit, .dev.sel .hit { fill: currentColor; fill-opacity: 0.18; stroke: currentColor; }
.dev.sel .hit { stroke-dasharray: 3 2; }

.inspect {
    --c: var(--cyan);
    position: absolute; z-index: 5; width: 15.5rem; pointer-events: none;
    background: rgba(11, 18, 34, 0.96); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: 0.75rem;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), 0 0 24px -8px color-mix(in srgb, var(--c) 60%, transparent);
    padding: 0.8rem 0.9rem; font-size: 0.8125rem; line-height: 1.45;
    animation: pop 180ms var(--ease);
}
.inspect[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(0.98); } }
.inspect-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.inspect-top i { width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.inspect-top b { font: 700 0.75rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.inspect .where { font: 500 0.6875rem/1.3 var(--mono); color: var(--c); margin-bottom: 0.35rem; }
.inspect p { color: var(--text-2); }

.rail { border-bottom: 1px solid var(--line); padding: 1rem; display: grid; gap: 1rem; align-content: start; order: -1; }
@media (min-width: 1024px) { .rail { order: 0; border-bottom: 0; border-left: 1px solid var(--line); padding: 1.25rem; } }
.rail-title { display: flex; justify-content: space-between; align-items: baseline; font: 700 0.6875rem/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.rail-title button { font: 500 0.75rem/1 var(--mono); letter-spacing: 0; background: none; border: 0; color: var(--cyan); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.layers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
.layers .lay { grid-column: span 2; }
.layers .lay:nth-child(n + 4) { grid-column: span 3; }
@media (max-width: 359px) {
    .layers { grid-template-columns: 1fr 1fr; }
    .layers .lay, .layers .lay:nth-child(n + 4) { grid-column: auto; }
    .layers .lay:last-child { grid-column: 1 / -1; }
}
@media (min-width: 700px) { .layers { grid-template-columns: repeat(5, 1fr); } .layers .lay, .layers .lay:nth-child(n + 4) { grid-column: auto; } }
@media (min-width: 1024px) { .layers { grid-template-columns: 1fr; } }
.lay {
    --c: #fff; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.65rem;
    text-align: left; cursor: pointer; color: #fff;
    background: var(--card); border: 1px solid var(--line); border-radius: 0.55rem; padding: 0.55rem 0.7rem;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.lay:hover { border-color: var(--line-2); transform: translateX(2px); }
.lay[aria-pressed="true"] { border-color: color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }
.lay i { width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.lay[aria-pressed="false"] i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.lay b { font-size: 0.875rem; font-weight: 600; display: block; line-height: 1.2; }
.lay small { display: none; font: 500 0.6875rem/1.3 var(--mono); color: var(--muted); }
.sw { width: 1.9rem; height: 1.05rem; border-radius: 999px; background: #334155; position: relative; transition: background-color 150ms ease; flex-shrink: 0; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.05rem - 4px); height: calc(1.05rem - 4px); border-radius: 50%; background: #fff; transition: transform 200ms var(--ease); }
.lay .sw { display: none; }
.lay[aria-pressed="true"] .sw { background: var(--c); }
.lay[aria-pressed="true"] .sw::after { transform: translateX(0.85rem); }
@media (min-width: 1024px) { .lay small, .lay .sw { display: block; } .lay small { margin-top: 0.15rem; } }
.hint { display: none; font: 500 0.75rem/1.5 var(--mono); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.hint b { color: var(--cyan); font-weight: 600; }
@media (min-width: 1024px) { .hint { display: block; } }

.console-status { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font: 600 0.6875rem/1.3 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.console-status span { display: inline-flex; align-items: center; gap: 0.45rem; }
.console-status em { font-style: normal; color: var(--ok); }
.console-status .led { width: 0.4rem; height: 0.4rem; }
.console-status span:nth-child(2) .led { animation-delay: 0.4s; }
.console-status span:nth-child(3) .led { animation-delay: 0.8s; }
.console-status span:nth-child(4) .led { animation-delay: 1.2s; }
.console-status span:nth-child(5) .led { animation-delay: 1.6s; }
.console-caption { text-align: center; margin-top: 1.1rem; font: 500 0.8125rem/1.5 var(--mono); color: var(--muted); }
.console-caption b { color: var(--text-2); font-weight: 600; }

.kpis { padding: 2.75rem 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
@media (min-width: 900px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi { text-align: center; }
@media (min-width: 900px) { .kpi + .kpi { border-left: 1px solid var(--line); } }
.num { display: block; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.5rem; font-variant-numeric: tabular-nums;
       background: linear-gradient(180deg, #fff, #9fdce6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi p { font-size: 0.9375rem; color: var(--text-2); max-width: 14rem; margin: 0 auto; }

.morph { margin-top: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: 0.75rem; overflow: hidden; }
.morph-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; padding: 0.25rem; border-radius: 0.7rem; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; cursor: pointer; padding: 0.5rem 0.85rem; border-radius: 0.45rem; font-weight: 500; font-size: 0.8125rem; color: var(--text-2); transition: background-color 200ms ease, color 200ms ease; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button[data-mode="hub"][aria-pressed="true"] { background: rgba(27, 184, 206, 0.16); color: #e2fafd; box-shadow: inset 0 0 0 1px rgba(27, 184, 206, 0.75); }
.counter { font: 600 0.8125rem/1.3 var(--mono); color: var(--muted); }
.counter b { display: inline-block; min-width: 1.5ch; font-size: 1.5rem; color: #fff; vertical-align: -0.2rem; margin-left: 0.35rem; font-variant-numeric: tabular-nums; }
.morph { position: relative; }
.morph::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px); background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 85%);
            mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 85%);
}
#morph { position: relative; width: 100%; height: auto; padding: 1rem 1.25rem; display: block; }
@media (min-width: 900px) { #morph { padding: 1.25rem 3rem; } }
#morph text { font-family: var(--mono); pointer-events: none; }
.ml { fill: none; stroke-width: 1; }
.ml.you { stroke: #3b4a63; }
.ml.sys { stroke-width: 1.2; stroke-dasharray: 4 3; stroke-opacity: 0.6; transition: stroke-width 150ms ease, stroke-opacity 150ms ease; }
.ml.sys.hl { stroke-width: 2; stroke-opacity: 1; stroke-dasharray: none; }
.ml.bus { stroke: var(--cyan); stroke-width: 1.2; stroke-dasharray: 4 3; stroke-opacity: 0.7; }
.ml.link { stroke: #e8eef6; stroke-width: 1.4; }
.ml.cross { stroke: var(--warn); stroke-dasharray: 3 4; stroke-opacity: 0.7; }
.mq circle { fill: var(--panel); stroke: var(--warn); stroke-width: 1; }
.mq text { fill: var(--warn); font: 700 9px var(--mono); }
.mn .ring { fill: #0B1222; stroke-width: 1.5; }
.mn .lbl { font: 700 9px var(--mono); letter-spacing: 0.1em; }
.mn .sub { font: 500 8px var(--mono); letter-spacing: 0.02em; fill: #8a9bb3; }
.narrow .mn .lbl { font-size: 11px; }
.narrow .mn .sub { font-size: 9.5px; }
.morph.hub .mn-actor { cursor: pointer; }
.mn-you .ring { fill: #e8eef6; stroke: #e8eef6; }
.mn-you .lbl { fill: #e8eef6; }
.rack { fill: #0e3a45; stroke: var(--cyan); stroke-width: 1.4; }
.rack-u { stroke: var(--cyan); stroke-width: 0.8; stroke-opacity: 0.6; }
.rack-led { fill: var(--ok); animation: blink 1.4s steps(1) infinite; }
.rack-led.b { animation-delay: 0.45s; } .rack-led.c { animation-delay: 0.9s; }
.mn-sys .lbl { fill: var(--cyan); letter-spacing: 0.18em; }
.mn-sys .sub { fill: #8a9bb3; }
.ann { font: 600 7.5px var(--mono); letter-spacing: 0.14em; fill: #6b7c96; }
.ann.hi { fill: var(--cyan); }
.port { transition: r 150ms ease; }
.morph-note { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); color: var(--text-2); min-height: 4.5rem; }
.morph-note::before { content: "›"; font: 700 1.25rem/1.1 var(--mono); color: var(--cyan); }
.morph.chaos .morph-note::before { color: var(--warn); }
.morph-note b { color: #fff; }

.chantier { margin-top: 2rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--card); overflow: hidden; }
.chantier .gantt-scroll { margin: 0; border: 0; border-radius: 0; background: none; }

.stages-mobile { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.75rem; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.stages-mobile::-webkit-scrollbar { display: none; }
.stages-mobile .stage { flex-shrink: 0; cursor: pointer; padding: 0.5rem 0.8rem; border-radius: 0.55rem; border: 1px solid var(--line-2); background: none; color: var(--text-2); font: 500 0.75rem/1 var(--mono); letter-spacing: 0.04em; }
.stages-mobile .stage[aria-pressed="true"] { background: rgba(27, 184, 206, 0.14); border-color: rgba(27, 184, 206, 0.75); color: #e2fafd; }
@media (min-width: 900px) { .stages-mobile { display: none; } }

button.g-h { width: 100%; text-align: left; cursor: pointer; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text-2); z-index: 1; }
button.g-h .num { display: block; font-size: 0.625rem; color: var(--muted); margin-bottom: 0.2rem; }
button.g-h:hover { color: #fff; background: rgba(255, 255, 255, 0.035); }
button.g-h:focus-visible { outline-offset: -2px; }
button.g-h[aria-pressed="true"] { color: var(--cyan); }
button.g-h[aria-pressed="true"] .num { color: var(--cyan); }
button.g-h[aria-pressed="true"]::after { content: "● VOUS ÊTES ICI"; display: block; margin-top: 0.4rem; font-size: 0.5625rem; letter-spacing: 0.1em; color: var(--cyan); }
.chantier .gantt-cols div[data-p] { pointer-events: auto; cursor: pointer; }
.chantier .gantt-cols div[data-p]:not(.cur):hover { background: rgba(255, 255, 255, 0.025); }

.chantier .g-l { padding: 0.55rem 0.9rem; z-index: 1; }
.chantier .g-l small { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 250ms var(--ease), opacity 200ms ease; }
.chantier .g-l:hover small { max-height: 2.5rem; opacity: 1; }
.chantier .g-b { z-index: 1; pointer-events: none; }

.stage-card .gauge { margin-bottom: 0.5rem; }
.stage-card .st-list { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; }
.stage-card .st-list li { font-size: 0.875rem; }

.stage-card { display: grid; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--panel); border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .stage-card { grid-template-columns: minmax(15rem, auto) 1fr auto; align-items: center; gap: 2rem; padding: 1.1rem 1.5rem; } }
.gauge { display: flex; gap: 0.3rem; margin-bottom: 0.75rem; }
.gauge i { width: 2.4rem; height: 0.45rem; border-radius: 999px; background: #243149; transition: background-color 300ms ease, box-shadow 300ms ease; }
.stage-card[data-lvl="4"] .gauge i.on { background: var(--ok); box-shadow: 0 0 10px rgba(74, 222, 128, 0.5); }
.stage-card[data-lvl="3"] .gauge i.on { background: var(--cyan); box-shadow: 0 0 10px rgba(27, 184, 206, 0.5); }
.stage-card[data-lvl="2"] .gauge i.on { background: var(--mid); box-shadow: 0 0 10px rgba(251, 191, 36, 0.4); }
.stage-card[data-lvl="1"] .gauge i.on { background: var(--warn); box-shadow: 0 0 10px rgba(251, 146, 60, 0.4); }
.stage-card h3 { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.2; }
.stage-card .sub { color: var(--text-2); font-size: 0.8125rem; margin-top: 0.15rem; }
.st-list { list-style: none; display: grid; gap: 0.5rem; }
.st-list li { display: grid; grid-template-columns: 1.4rem 1fr; font-size: 0.9375rem; color: var(--text-2); animation: slide 300ms var(--ease) both; }
.st-list li:nth-child(2) { animation-delay: 60ms; } .st-list li:nth-child(3) { animation-delay: 120ms; } .st-list li:nth-child(4) { animation-delay: 180ms; }
@keyframes slide { from { opacity: 0; transform: translateX(-6px); } }
.st-list li::before { font: 700 0.9375rem/1.5 var(--mono); }
.st-list .ok::before { content: "✓"; color: var(--ok); }
.st-list .mid::before { content: "~"; color: var(--mid); }
.st-list .ko::before { content: "✗"; color: var(--warn); }

.gantt-scroll { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--card); scrollbar-color: #2e3f5e transparent; scrollbar-width: thin; }
.gantt { position: relative; min-width: 880px; display: grid; grid-template-columns: 15rem repeat(7, minmax(0, 1fr)); font-size: 0.875rem; }
.gantt-cols { position: absolute; inset: 0; display: grid; grid-template-columns: inherit; pointer-events: none; }
.gantt-cols div { border-left: 1px dashed var(--line); transition: background-color 300ms ease; }
.gantt-cols div:first-child { border-left: 0; }
.gantt-cols .cur { background: linear-gradient(180deg, rgba(27, 184, 206, 0.16), rgba(27, 184, 206, 0.04)); border-left: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan); }
.g-h { position: relative; padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--line); font: 700 0.6875rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); transition: color 200ms ease; }
.g-h small { display: block; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; text-transform: none; margin-top: 0.15rem; }
.g-h.cur { color: var(--cyan); }
.g-h.ideal::before { content: "IDÉAL"; position: absolute; top: 0.35rem; right: 0.5rem; font-size: 0.5625rem; color: var(--ok); letter-spacing: 0.1em; }
.g-l { grid-column: 1; position: relative; padding: 0.7rem 0.9rem; border-top: 1px solid var(--line); font-weight: 600; line-height: 1.3; transition: opacity 300ms ease; }
.g-l small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.g-b { position: relative; align-self: center; margin: 0 0.35rem; height: 1.65rem; border-radius: 0.45rem; background: #e8eef6; color: var(--navy); font: 600 0.6875rem/1.65rem var(--mono); padding: 0 0.55rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 300ms ease, filter 300ms ease, box-shadow 300ms ease; }
.g-b.soft { background: var(--cyan); }
.g-b.open::after { content: "→"; position: absolute; right: 0.5rem; }
.g-b.now { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3.5px var(--cyan), 0 0 18px rgba(27, 184, 206, 0.5); }
.g-b.past { opacity: 0.28; filter: grayscale(1); text-decoration: line-through; }
.g-b.late { background: repeating-linear-gradient(-45deg, rgba(251, 146, 60, 0.08) 0 5px, rgba(251, 146, 60, 0.22) 5px 10px); color: var(--warn); box-shadow: inset 0 0 0 1.5px var(--warn); }
.g-l.late { color: var(--warn); }
.late:not(.show) { opacity: 0.25; }

.devis { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 900px) { .devis { grid-template-columns: 1fr 1fr; } }
.doc { border-radius: 0.75rem; padding: 1.2rem 1.25rem; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); }
.doc.good { --c: var(--cyan); background: linear-gradient(180deg, rgba(27, 184, 206, 0.09), rgba(27, 184, 206, 0.02)); border-color: rgba(27, 184, 206, 0.45); }
.doc.bad { --c: var(--warn); }
.doc-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; margin-bottom: 0.15rem; border-bottom: 1px solid var(--line); }
.doc-head b { font: 700 0.75rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.doc.good .doc-head b { color: var(--cyan); }
.doc.bad .doc-head b { color: var(--warn); }
.doc-head span { font: 500 0.75rem/1.3 var(--mono); color: var(--muted); }
.doc dl > div { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: 0.15rem 0.7rem; padding: 0.7rem 0.6rem; margin: 0 -0.6rem; border-bottom: 1px dashed var(--line); border-radius: 0.5rem; transition: background-color 200ms ease; }
.doc dl > div.pair { background: color-mix(in srgb, var(--c) 12%, transparent); }
.doc .ico { grid-row: span 2; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font: 700 0.75rem/1 var(--mono); }
.doc.bad .ico { background: rgba(251, 146, 60, 0.15); color: var(--warn); }
.doc.good .ico { background: rgba(27, 184, 206, 0.18); color: var(--cyan); }
.js .doc .ico { transform: scale(0); transition: transform 400ms cubic-bezier(.3, 1.6, .5, 1); }
.js .doc.in .ico { transform: scale(1); }
.doc.in dl > div:nth-child(2) .ico { transition-delay: 120ms; }
.doc.in dl > div:nth-child(3) .ico { transition-delay: 240ms; }
.doc.in dl > div:nth-child(4) .ico { transition-delay: 360ms; }
.doc dt { font-weight: 600; font-size: 0.9375rem; }
.doc dd { text-align: right; font: 600 0.75rem/1.5 var(--mono); }
.doc.bad dd { color: var(--warn); }
.doc.good dd { color: var(--cyan); }
.doc dl small { grid-column: 2 / -1; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.doc-foot { margin-top: 1.1rem; font-size: 0.9375rem; color: var(--text-2); }
.disclaimer { margin-top: 1rem; font: 500 0.75rem/1.4 var(--mono); color: var(--muted); }

.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2rem; }
.tab { cursor: pointer; font-weight: 500; font-size: 0.8125rem; padding: 0.55rem 0.9rem; border-radius: 0.55rem; background: transparent; border: 1px solid var(--line-2); color: var(--text-2); transition: all 150ms ease; }
.tab:hover { border-color: var(--muted); color: #fff; }
.tab[aria-selected="true"] { background: rgba(27, 184, 206, 0.14); border-color: rgba(27, 184, 206, 0.75); color: #e2fafd; }
.panel { display: grid; gap: 2rem; padding-top: 2.25rem; animation: fade 350ms var(--ease); }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
@media (min-width: 900px) { .panel { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; } }

.pack { display: grid; gap: 2rem; margin-top: 2rem; }

.pack .tabs { margin-top: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.pack .tab { grid-column: span 2; padding-left: 0.5rem; padding-right: 0.5rem; }
.pack .tab:nth-child(n + 4) { grid-column: span 3; }
@media (min-width: 521px) and (max-width: 899px), (min-width: 1200px) {
    .pack .tabs { display: flex; flex-wrap: nowrap; }
    .pack .tab { flex: 1 1 auto; padding-left: 0.9rem; padding-right: 0.9rem; }
}
.pack .panel { padding-top: 0; }
@media (min-width: 900px) {
    .pack { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: 3rem; row-gap: 1.75rem; }
    .pack .tabs { grid-column: 1; grid-row: 1; position: relative; z-index: 1; }
    .pack .panel { grid-column: 1 / -1; grid-row: 1 / -1; grid-template-columns: subgrid; grid-template-rows: subgrid; column-gap: 3rem; row-gap: 1.75rem; }
    .pack .panel > div:first-child { grid-column: 1; grid-row: 2; }
    .pack .panel .spec { grid-column: 2; grid-row: 1 / -1; }
}
.panel h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.panel p { color: var(--text-2); }
.panel .pick { margin-top: 1.25rem; font: 500 0.8125rem/1.5 var(--mono); color: var(--muted); }
.spec { border: 1px solid var(--line-2); border-radius: 0.75rem; overflow: hidden; background: var(--panel); }
.spec-row { --c: #fff; display: grid; grid-template-columns: 8.5rem 1fr auto; align-items: center; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color 150ms ease, opacity 200ms ease; }
.spec-row:last-child { border-bottom: 0; }
.spec-row:hover { background: rgba(255, 255, 255, 0.035); }
.spec-row input { position: absolute; opacity: 0; pointer-events: none; }
.spec-row b { display: flex; align-items: center; gap: 0.55rem; padding: 0.9rem 1rem; font: 700 0.75rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.spec-row b i { width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); flex-shrink: 0; transition: all 200ms ease; }
.spec-row .txt { padding: 0.9rem 0.5rem; font-size: 0.9375rem; color: var(--text); }
.spec-row .sw { margin-right: 1rem; }
.spec-row:has(input:checked) .sw { background: var(--c); }
.spec-row:has(input:checked) .sw::after { transform: translateX(0.85rem); }
.spec-row:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: -2px; }
.spec-row:not(:has(input:checked)) { opacity: 0.5; }
.spec-row:not(:has(input:checked)) b i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
@media (max-width: 520px) { .spec-row { grid-template-columns: 1fr auto; } .spec-row .txt { grid-column: 1 / -1; grid-row: 2; padding: 0 1rem 0.9rem; } }

.cfg-bar { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; border-radius: 0.75rem; background: rgba(27, 184, 206, 0.06); border: 1px solid rgba(27, 184, 206, 0.35); }
.cfg-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.cfg-sum span { font: 600 0.8125rem/1.3 var(--mono); color: var(--text-2); }
.cfg-sum b { color: #fff; }
.dots { display: inline-flex; gap: 0.3rem; }
.dots i { width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px var(--c); animation: pop 220ms var(--ease); }

.lots { display: grid; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .lots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lots { grid-template-columns: repeat(4, 1fr); } }

.lot {
    position: relative; color: var(--text); display: flex; flex-direction: column; gap: 0.55rem;
    padding: 1.15rem 1.15rem 1rem; border-radius: 0.75rem; text-decoration: none;
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); overflow: hidden;
    transition: border-color 250ms ease, background-color 250ms ease, transform 250ms var(--ease);
}

.lot::after {
    content: ""; position: absolute; left: 1.15rem; top: 0; width: 1.75rem; height: 2px; border-radius: 0 0 2px 2px;
    background: var(--c); box-shadow: 0 0 10px var(--c); transition: left 350ms var(--ease), width 350ms var(--ease);
}
.lot:hover::after, .lot:focus-visible::after { left: 0; width: 100%; }
.lot:hover, .lot:focus-visible { border-color: color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 4%, transparent); transform: translateY(-2px); }
.lot-top { display: flex; align-items: center; justify-content: space-between; }
.lot-ico { width: 2.6rem; height: 2rem; color: var(--c); display: grid; place-items: center; }
.lot-ico svg { width: 2.6rem; height: auto; overflow: visible; }
.lot-num { font: 600 0.6875rem/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.lot h3 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.25; }
.lot > p { color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.lot ul { list-style: none; display: grid; gap: 0.3rem; margin-top: 0.15rem; padding-top: 0.65rem; border-top: 1px dashed var(--line); font: 500 0.75rem/1.4 var(--mono); }
.lot li { display: flex; gap: 0.45rem; color: var(--text-2); transition: color 200ms ease, transform 250ms var(--ease); }
.lot li::before { content: "›"; color: var(--c); font-weight: 700; }
.lot:hover li { color: var(--text); }
.lot:hover li:nth-child(1) { transform: translateX(3px); }
.lot:hover li:nth-child(2) { transform: translateX(3px); transition-delay: 50ms; }
.lot:hover li:nth-child(3) { transform: translateX(3px); transition-delay: 100ms; }
.lot .go { margin-top: auto; padding-top: 0.5rem; font: 600 0.6875rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.lot .go .arrow { display: inline-block; transition: transform 200ms ease; }
.lot:hover .go .arrow { transform: translateX(5px); }

.anim, .anim * { animation-play-state: paused !important; }
.lot:hover .anim, .lot:hover .anim *, .lot:focus-visible .anim, .lot:focus-visible .anim * { animation-play-state: running !important; }
@media (hover: none) { .anim, .anim * { animation-play-state: running !important; } }
.pk { animation: pk 1.5s linear infinite; }
.pk.b { animation-name: pk2; animation-delay: 0.5s; }
.pk.c { animation-name: pk3; animation-delay: 1s; }
@keyframes pk { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(-22px, -13px); opacity: 0; } }
@keyframes pk2 { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(22px, -13px); opacity: 0; } }
@keyframes pk3 { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(0, 15px); opacity: 0; } }
.wf { animation: wf 1.5s ease-in-out infinite; opacity: 0.35; }
.wf.b { animation-delay: 0.2s; } .wf.c { animation-delay: 0.4s; }
@keyframes wf { 0%, 100% { opacity: 0.3; } 45% { opacity: 1; } }
.cone { transform-box: view-box; transform-origin: 22px 22px; animation: sweep 2.8s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.eq rect { transform-box: fill-box; transform-origin: 50% 100%; animation: eq 0.9s ease-in-out infinite; }
.eq rect:nth-child(2) { animation-delay: 0.15s; } .eq rect:nth-child(3) { animation-delay: 0.3s; }
.eq rect:nth-child(4) { animation-delay: 0.1s; } .eq rect:nth-child(5) { animation-delay: 0.25s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.tick { animation: tick 2.2s linear infinite; }
@keyframes tick { to { transform: translateY(-18px); } }

.faq-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 8fr 4fr; gap: 2rem; align-items: start; } }
.faq { display: grid; gap: 0.75rem; }
.qa { border-radius: 0.75rem; background: var(--card); border: 1px solid var(--line); transition: border-color 200ms ease, background-color 200ms ease; }
.qa:hover { border-color: var(--line-2); }
.qa.open { border-color: rgba(27, 184, 206, 0.45); background: rgba(27, 184, 206, 0.05); }
.qa > button { width: 100%; display: flex; gap: 1rem; justify-content: space-between; align-items: center; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.15rem 1.25rem; font-weight: 650; font-size: 1.0625rem; }
.pm { position: relative; flex-shrink: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(27, 184, 206, 0.14); transition: background-color 200ms ease, transform 300ms var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 2px; background: var(--cyan); transform: translate(-50%, -50%); transition: transform 300ms var(--ease), background-color 200ms ease; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.open .pm { background: rgba(27, 184, 206, 0.14); box-shadow: inset 0 0 0 1px rgba(27, 184, 206, 0.75); transform: rotate(180deg); }
.qa.open .pm::before, .qa.open .pm::after { background: var(--navy); }
.qa.open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease); }
html:not(.js) .ans, .qa.open .ans { grid-template-rows: 1fr; }
.ans > div { overflow: hidden; }
.ans p { padding: 0 1.25rem 1.25rem; color: var(--text-2); }
.ask { position: sticky; top: 6rem; padding: 1.25rem; border-radius: 0.75rem; background: var(--panel); border: 1px solid var(--line-2); }
.ask h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.ask p { color: var(--muted); margin-bottom: 1rem; font-size: 0.8125rem; }

.dossier-sec { overflow: hidden; }
.dossier-sec::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 70rem; height: 30rem; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(27, 184, 206, 0.12), transparent); }
.dossier-sec .wrap { position: relative; }
.contact-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 2rem; align-items: start; } }
.dossier { background: var(--panel); border: 1px solid var(--line-2); border-radius: 0.75rem; overflow: hidden; transition: box-shadow 400ms ease, border-color 400ms ease; }
.dossier.flash { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(27, 184, 206, 0.2), 0 0 60px -10px rgba(27, 184, 206, 0.5); }
.dossier-head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); font: 700 0.75rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.dossier-head span { color: var(--muted); font-weight: 500; }
.fields { display: grid; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 0.35rem; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--line); min-width: 0; transition: background-color 200ms ease; }
.field:focus-within { background: rgba(27, 184, 206, 0.05); }
.field.l { border-right: 1px solid var(--line); }
.field.full { grid-column: 1 / -1; border-right: 0; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } .field.l { border-right: 0; } }
.fields .group { grid-column: 1 / -1; padding: 0.8rem 1.2rem 0.55rem; font: 700 0.6875rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); background: rgba(27, 184, 206, 0.05); border-bottom: 1px solid var(--line); }
.req { font-style: normal; color: var(--cyan); }
fieldset.field > legend { float: left; width: 100%; padding: 0; margin-bottom: 0.35rem; }
fieldset.field .checks { clear: both; }
.field.invalide { background: rgba(251, 146, 60, 0.07); }
.field.invalide input { border-bottom-color: var(--warn); }
.field input::placeholder, .field textarea::placeholder { color: #5f6f88; }
.field label, .field legend { font: 700 0.6875rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: 500 1rem/1.4 var(--sans); color: #fff; background: transparent; border: 0; border-bottom: 1.5px solid #334155; padding: 0.35rem 0; border-radius: 0; width: 100%; transition: border-color 200ms ease; }
.field select option { color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cyan); }
.field textarea { resize: vertical; min-height: 4.5rem; }
fieldset.field { border: 0; border-bottom: 1px solid var(--line); }
.checks { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.checks label { --c: var(--cyan); display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; font: 500 0.8125rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text-2); border: 1px solid var(--line-2); padding: 0.55rem 0.75rem; border-radius: 0.55rem; transition: all 150ms ease; }
.checks label:hover { border-color: var(--muted); color: #fff; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks label i { width: 0.65rem; height: 0.65rem; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--c); transition: all 150ms ease; }
.checks label:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); color: #fff; }
.checks label:has(input:checked) i { background: var(--c); box-shadow: 0 0 8px var(--c); }
.checks label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

.checks { display: grid; grid-template-columns: repeat(4, 1fr); }
.checks .nsp { grid-column: 1 / -1; justify-content: center; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 690px) and (max-width: 999px), (min-width: 1200px) {
    .checks { display: flex; }
    .checks .nsp { margin-left: auto; justify-content: flex-start; }
}
.dossier-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem; }
.dossier-foot p { font: 500 0.75rem/1.5 var(--mono); color: var(--muted); max-width: 24rem; }
.dossier-foot p a { color: var(--text-2); }
.dossier-foot .turnstile:empty { display: none; }
.dossier-foot .turnstile { flex-basis: 100%; }
.envoyer .arrow { font-style: normal; }
.envoyer.envoi { opacity: 0.7; cursor: progress; }
.form-err { flex-basis: 100%; max-width: none !important; padding: 0.75rem 0.9rem; border-radius: 0.6rem; background: rgba(251, 146, 60, 0.1); border: 1px solid rgba(251, 146, 60, 0.4); color: #fed7aa !important; font: 500 0.875rem/1.5 var(--sans) !important; }
.form-err[hidden] { display: none; }
.form-err a { color: #fff; font-weight: 600; }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mois, .choix { position: relative; }
.natif { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mois-btn, .choix-btn { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; padding: 0.35rem 0; font: 500 1rem/1.4 var(--sans); color: #fff; text-align: left; background: transparent; border: 0; border-bottom: 1.5px solid #334155; border-radius: 0; cursor: pointer; transition: border-color 200ms ease; }
.mois-btn span, .choix-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mois-btn svg, .choix-btn svg { flex: none; color: var(--muted); transition: color 150ms ease, transform 200ms var(--ease); }
.mois-btn.vide span { color: #5f6f88; }
.mois-btn:hover svg, .mois-btn[aria-expanded="true"] svg, .choix-btn:hover svg, .choix-btn[aria-expanded="true"] svg { color: var(--cyan); }
.choix-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mois-btn:focus, .choix-btn:focus { outline: none; }
.mois-btn:focus-visible, .mois-btn[aria-expanded="true"], .choix-btn:focus-visible, .choix-btn[aria-expanded="true"] { border-bottom-color: var(--cyan); }
.mois-pop, .choix-liste { position: absolute; left: 1.2rem; top: calc(100% - 0.4rem); z-index: 20; padding: 0.35rem; border-radius: 0.75rem; background: #0e1830; border: 1px solid var(--line-2); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7); animation: pop 160ms var(--ease); }
.mois-pop { width: 16.5rem; max-width: calc(100% - 2.4rem); padding: 0.6rem; }
.mois-pop[hidden], .choix-liste[hidden] { display: none; }
.choix-liste { right: 1.2rem; list-style: none; display: grid; gap: 0.15rem; max-height: 19rem; overflow-y: auto; }
.choix-liste li { padding: 0.55rem 0.7rem; border-radius: 0.45rem; border: 1px solid transparent; font-size: 0.9375rem; color: var(--text-2); cursor: pointer; transition: background-color 120ms ease, color 120ms ease; }
.choix-liste li:hover, .choix-liste li:focus { outline: none; background: rgba(255, 255, 255, 0.05); color: #fff; }
.choix-liste li[aria-selected="true"] { background: rgba(27, 184, 206, 0.14); border-color: rgba(27, 184, 206, 0.75); color: #e2fafd; }
.choix-liste li:focus-visible { box-shadow: 0 0 0 2px var(--cyan); }
.mois-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 0 0.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.mois-an { font: 700 0.875rem/1 var(--mono); letter-spacing: 0.08em; color: #fff; }
.mois-pop button { cursor: pointer; font: 500 0.8125rem/1 var(--sans); color: var(--text-2); background: transparent; border: 1px solid transparent; border-radius: 0.45rem; transition: all 150ms ease; }
.mois-prev, .mois-next { width: 2rem; height: 2rem; font-size: 1.1rem !important; }
.mois-pop button:hover:not(:disabled) { border-color: var(--line-2); color: #fff; }
.mois-pop button:disabled { opacity: 0.3; cursor: default; }
.mois-pop button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.mois-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.25rem; }
.mois-grille button { padding: 0.6rem 0; }
.mois-grille button[aria-pressed="true"] { background: rgba(27, 184, 206, 0.14); border-color: rgba(27, 184, 206, 0.75); color: #e2fafd; }
.mois-pied { display: flex; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.mois-pied button { padding: 0.45rem 0.6rem; font: 600 0.75rem/1 var(--mono) !important; letter-spacing: 0.04em; color: var(--muted); }
.mois-auj { color: var(--cyan) !important; }

.adr { position: relative; }
.suggest { position: absolute; left: 1.2rem; right: 1.2rem; top: calc(100% - 0.4rem); z-index: 20; list-style: none; padding: 0.35rem; border-radius: 0.75rem; background: #0e1830; border: 1px solid var(--line-2); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7); animation: pop 160ms var(--ease); }
.suggest[hidden] { display: none; }
.suggest li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.7rem; border-radius: 0.5rem; cursor: pointer; font-size: 0.9375rem; }
.suggest li b { font-weight: 600; color: #fff; }
.suggest li span { font: 500 0.75rem/1.6 var(--mono); color: var(--muted); white-space: nowrap; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: rgba(27, 184, 206, 0.14); }

.dossier.envoye .fields, .dossier.envoye .dossier-foot { display: none; }
.envoye-ok { padding: 3rem 1.5rem; text-align: center; display: grid; justify-items: center; gap: 0.6rem; outline: none; animation: pop 350ms var(--ease); }
.envoye-ok[hidden] { display: none; }
.envoye-ok svg { color: var(--ok); margin-bottom: 0.5rem; filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.45)); }
.envoye-ok h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.envoye-ok p { color: var(--text-2); }
.envoye-ok .petit { font-size: 0.875rem; color: var(--muted); }

.side { display: grid; gap: 1rem; }
.mail { border-radius: 0.75rem; overflow: hidden; background: #0d1528; border: 1px solid var(--line-2); }
.mail-top { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); font: 700 0.6875rem/1.3 var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.mail-top .live { font-size: 0.6875rem; }
.mail dl { padding: 0.9rem 1.1rem 0; display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 0.9rem; font-size: 0.875rem; }
.mail dt { font: 600 0.75rem/1.6 var(--mono); color: var(--muted); }
.mail dd { color: #fff; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.mail pre { margin: 0.9rem 1.1rem 1.1rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); font: 500 0.8125rem/1.6 var(--mono); color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; min-height: 8rem; }
.mail pre::after { content: "▍"; color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.direct { padding: 1.1rem; border-radius: 0.75rem; background: var(--card); border: 1px solid var(--line); display: grid; gap: 1rem; }
.direct h3 { font: 700 0.6875rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.direct-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.direct p { color: var(--text-2); font-size: 0.9375rem; }

.site-footer { padding: 3.5rem 0 3rem; background: #070c18; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.5fr repeat(3, 1fr); align-items: start; } }
.foot img { height: 1.9rem; width: auto; margin-bottom: 0.9rem; }
.foot p { font-size: 0.875rem; color: var(--muted); max-width: 20rem; }
.foot .foot-titre { font: 700 0.6875rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.foot ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.875rem; color: var(--text-2); }
.foot a { text-decoration: none; color: var(--text-2); transition: color 150ms ease; }
.foot a:hover { color: var(--cyan); }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font: 500 0.75rem/1.5 var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.copyright a { color: var(--text-2); text-decoration: none; transition: color 150ms ease; }
.copyright a:hover { color: var(--cyan); }

@media (max-width: 599px) {
    .cfg-bar, .cfg-sum { justify-content: center; text-align: center; }
    .cfg-bar .btn, .dossier-foot .envoyer { width: 100%; }
    .dossier-foot { justify-content: center; text-align: center; }
    .dossier-foot p { max-width: none; }
    .dossier-foot .form-err { text-align: left; }
    .direct, .ask { text-align: center; }
    .direct-row { flex-direction: column; justify-content: center; }
    .copyright { flex-direction: column; align-items: center; text-align: center; }
}

.hero-lot::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 26%, transparent), transparent); }
.hero-lot .h1-kicker { color: var(--c); }
.hero-lot .accroche .grad { background: linear-gradient(90deg, var(--c), #e8eef6 75%); -webkit-background-clip: text; background-clip: text; }
.hero-lot .accroche { font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.5rem); }
.ariane { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ariane a { color: var(--text-2); text-decoration: none; }
.ariane a:hover { color: #fff; }
.ariane [aria-current] { color: var(--c); }

.freres { display: grid; grid-template-columns: minmax(0, 20rem); justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.freres a { justify-content: center; }
@media (min-width: 560px) { .freres { grid-template-columns: repeat(2, minmax(0, 15rem)); } }
@media (min-width: 1000px) { .freres { display: flex; } }
.freres a {
    --c: #fff; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; border-radius: 0.55rem;
    font-size: 0.8125rem; font-weight: 500; color: var(--text-2); text-decoration: none;
    border: 1px solid var(--line); background: var(--card); transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.freres a i { width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.freres a:hover { color: #fff; border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.freres a[aria-current] { color: #fff; border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.demo-ancre { scroll-margin-top: 5rem; }

.cartes { display: grid; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .cartes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cartes { grid-template-columns: repeat(4, 1fr); } }

.carte { padding: 1.5rem; border-radius: 0.75rem; background: var(--card); border: 1px solid var(--line); transition: border-color 250ms ease, transform 250ms var(--ease); }
.carte:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-3px); }
.carte-num { display: inline-block; font: 700 0.75rem/1 var(--mono); letter-spacing: 0.12em; color: var(--c); padding: 0.35rem 0.5rem; border-radius: 4px; background: color-mix(in srgb, var(--c) 14%, transparent); margin-bottom: 1rem; }
.carte h3 { font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.carte-sous { color: var(--text-2); margin-bottom: 1rem; }
.carte ul { list-style: none; display: grid; gap: 0.5rem; }
.carte li { display: flex; gap: 0.6rem; color: var(--text-2); font-size: 0.9375rem; transition: color 200ms ease; }
.carte li::before { content: "✓"; color: var(--c); font-weight: 700; }
.carte:hover li { color: var(--text); }

.cartes .carte {
    position: relative; display: flex; flex-direction: column; gap: 0.5rem;
    padding: 1.15rem 1.15rem 1.1rem; border-radius: 0.75rem; background: rgba(255, 255, 255, 0.02); overflow: hidden;
    transition: border-color 250ms ease, background-color 250ms ease, transform 250ms var(--ease);
}
.cartes .carte::after {
    content: ""; position: absolute; left: 1.15rem; top: 0; width: 1.75rem; height: 2px; border-radius: 0 0 2px 2px;
    background: var(--c); box-shadow: 0 0 10px var(--c); transition: left 350ms var(--ease), width 350ms var(--ease);
}
.cartes .carte:hover::after { left: 0; width: 100%; }
.cartes .carte:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 4%, transparent); transform: translateY(-2px); }
.cartes .carte-num { padding: 0; margin: 0.35rem 0 0.1rem; background: none; font: 600 0.6875rem/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.cartes .carte h3 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.cartes .carte-sous { color: var(--muted); font-size: 0.8125rem; line-height: 1.45; margin: 0; }
.cartes .carte ul { gap: 0.3rem; margin-top: 0.15rem; padding-top: 0.65rem; border-top: 1px dashed var(--line); font: 500 0.75rem/1.4 var(--mono); }
.cartes .carte li { font-size: inherit; gap: 0.45rem; transition: color 200ms ease, transform 250ms var(--ease); }
.cartes .carte li::before { content: "›"; }
.cartes .carte:hover li:nth-child(1) { transform: translateX(3px); }
.cartes .carte:hover li:nth-child(2) { transform: translateX(3px); transition-delay: 50ms; }
.cartes .carte:hover li:nth-child(3) { transform: translateX(3px); transition-delay: 100ms; }
.engagement { margin-top: 1rem; padding: 0.9rem 1.15rem; border-radius: 0.75rem; border: 1px solid var(--line); border-left: 2px solid var(--c); background: color-mix(in srgb, var(--c) 4%, transparent); color: var(--text-2); font-size: 0.875rem; }
.engagement b { color: #fff; font-weight: 600; }

@media (min-width: 1100px) { .lots-3 { grid-template-columns: repeat(3, 1fr); } }

.hero-court { padding-bottom: 3.5rem; }
.legal { display: grid; gap: 1rem; max-width: 56rem; }
.legal h2 { font-size: 1.35rem; max-width: none; margin-bottom: 0.75rem; }
.legal .carte li::before { content: "—"; }
.legal .carte li b { color: #fff; font-weight: 600; }
.legal .retour { margin-top: 1.5rem; }
.hero-404 { min-height: calc(100vh - 4rem); display: grid; align-items: center; }
.debranche { width: min(100%, 22rem); margin: 0 auto 2rem; overflow: visible; }
.etincelle { animation: blink 0.9s steps(1) infinite; }

.ctrl-title { font: 700 0.6875rem/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.rail.ctrl { gap: 0.75rem; }
.sim {
    --c: var(--cyan);
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; text-align: left; cursor: pointer;
    padding: 0.7rem 0.8rem; border-radius: 0.55rem; border: 1px solid var(--line); background: var(--card); color: #fff;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.sim:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateX(2px); }
.sim[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.sim b { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.25; }
.sim small { display: block; margin-top: 0.15rem; font: 500 0.6875rem/1.3 var(--mono); color: var(--muted); }
.sim .sw { display: block; }
.sim[aria-pressed="true"] .sw { background: var(--c); }
.sim[aria-pressed="true"] .sw::after { transform: translateX(0.85rem); }
.sim:disabled { cursor: progress; opacity: 0.75; }
.play-mini { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--c); color: var(--navy); font-size: 0.65rem; padding-left: 2px; flex-shrink: 0; }
.log { list-style: none; display: grid; gap: 0.35rem; max-height: 12.5rem; overflow-y: auto; font: 500 0.75rem/1.4 var(--mono); scrollbar-width: thin; scrollbar-color: #2e3f5e transparent; }
.log li { --c: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; padding: 0.45rem 0.6rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.03); border-left: 2px solid var(--c); color: var(--text-2); animation: slide 300ms var(--ease) both; }
.log li b { color: var(--muted); font-weight: 600; }
.log li.ok { --c: var(--ok); }
.log li.alerte { --c: var(--l-video); color: #fff; }
.log li.ignore { color: var(--muted); }
.log li.faux { --c: var(--mid); }
.log li.warn { --c: var(--warn); color: #fff; }
.kpi-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.kpi-mini div { padding: 0.6rem 0.7rem; border-radius: 0.6rem; background: var(--card); border: 1px solid var(--line); }
.kpi-mini b { display: block; font-size: 1.35rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-mini div:first-child b { color: var(--l-video); }
.kpi-mini div:last-child b { color: var(--mid); }
.kpi-mini span { font: 500 0.6875rem/1.3 var(--mono); color: var(--muted); }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
@media (min-width: 521px) and (max-width: 1023px) { .chips { grid-template-columns: repeat(4, 1fr); } }
.pill { cursor: pointer; padding: 0.42rem 0.75rem; border-radius: 0.55rem; border: 1px solid var(--line-2); background: none; color: var(--text-2); font-weight: 500; font-size: 0.75rem; transition: all 150ms ease; }
.pill:hover { color: #fff; border-color: var(--muted); }
.pill[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 75%, transparent); color: #fff; }
.zs { display: grid; gap: 0.6rem; }
.zs label { display: grid; grid-template-columns: 5.6rem 1fr 2.8rem; align-items: center; gap: 0.5rem; font: 600 0.75rem/1 var(--mono); color: var(--text-2); }
.zs input { width: 100%; accent-color: var(--l-son); }
.zs output { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.now { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.7rem; border-radius: 0.6rem; background: var(--card); border: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-2); }
.eqmini { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.9rem; }
.eqmini i { width: 3px; height: 100%; background: var(--l-son); border-radius: 2px; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eqmini i:nth-child(2) { animation-delay: 0.2s; } .eqmini i:nth-child(3) { animation-delay: 0.4s; }
.console[data-muet] .eqmini i { animation: none; transform: scaleY(0.2); }
.rail .mb { min-height: 4.2rem; }

.plan .x { display: none; }
.console[data-lot="reseau"] .x-reseau, .console[data-lot="video"] .x-video,
.console[data-lot="son"] .x-son, .console[data-lot="affichage"] .x-affichage { display: inline; }
.console[data-lot] .before { display: none; }

.plan .coupure, .plan .vlans, .plan .pk-secours { opacity: 0; transition: opacity 300ms ease; }
.console[data-mode~="coupure"] .coupure, .console[data-mode~="coupure"] .pk-secours { opacity: 1; }
.console[data-mode~="coupure"] .pk-fibre { opacity: 0; }
.console[data-mode~="vlan"] .vlans { opacity: 1; }
.onde5g { transform-box: fill-box; transform-origin: center; animation: onde 1.8s ease-out infinite; }
.onde5g.b { animation-delay: 0.6s; } .onde5g.c { animation-delay: 1.2s; }
@keyframes onde { from { transform: scale(1); opacity: 0.85; } to { transform: scale(3.2); opacity: 0; } }

.plan .nuit { fill: #01040c; opacity: 0; transition: opacity 700ms ease; }
.console[data-mode~="nuit"] .nuit { opacity: 0.6; }
.plan [data-cone] { transition: fill-opacity 250ms ease, stroke-opacity 250ms ease; }
.plan [data-cone].vu { fill-opacity: 0.4; stroke-opacity: 1; }
.plan [data-cone].faux { fill: var(--mid); stroke: var(--mid); fill-opacity: 0.3; stroke-opacity: 1; }
.plan .dev.alerte .hit { fill: currentColor; fill-opacity: 0.35; stroke: currentColor; animation: blink 0.5s steps(1) infinite; }

.plan .oz { opacity: var(--v, 0.4); transition: opacity 300ms ease; }
.plan .oz circle { transform-box: fill-box; transform-origin: center; animation: onde 1.7s ease-out infinite; }
.plan .oz circle.b { animation-delay: 0.85s; }

.plan .bulles rect { fill: #03170d; stroke: var(--l-affichage); stroke-width: 1; transition: fill 300ms ease; }
.plan .bulles .t { fill: var(--l-affichage); font-size: 7.5px; }
.plan .bulles .eb { font: 700 9px var(--mono); fill: #e8eef6; }
.plan .bulles g.maj rect { fill: #0d5a34; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .rv { opacity: 1; transform: none; }
}
