/* ==========================================================================
   Isofluide — feuille de style (v2, site d'entreprise)
   Aucune règle inline dans le HTML : la politique CSP n'autorise que 'self'.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2-variations"), url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2-variations"), url("../fonts/sora.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

:root {
  --space: #050816;
  --navy: #0B1630;
  --navy-2: #13224A;
  --blue: #0E5AA7;
  --blue-dark: #0A4785;
  --blue-soft: #E8F1FB;
  --cyan: #22D3EE;
  --ink: #0F172A;
  --text: #334155;
  --muted: #5B6B82;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --red: #DC2626;
  --green: #16A34A;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p, ul, ol, dl { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Fond spatial (bandeaux) ---------- */
.space {
  position: relative; overflow: hidden; color: #E6EEF8;
  background-color: var(--space);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 37% 62%, #cfe3ff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 68% 27%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 83% 74%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 52% 9%, #bcd4ff 50%, transparent 52%),
    radial-gradient(0.8px 0.8px at 23% 83%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 91% 41%, #e8f0ff 50%, transparent 52%),
    radial-gradient(0.8px 0.8px at 5% 55%, #fff 50%, transparent 52%),
    radial-gradient(ellipse 55% 60% at 85% 0%, rgba(64, 104, 214, .38), transparent 70%),
    radial-gradient(ellipse 50% 55% at 0% 100%, rgba(110, 64, 184, .25), transparent 70%);
  background-size: 380px 380px, 380px 380px, 380px 380px, 380px 380px, 520px 520px, 520px 520px, 520px 520px, 520px 520px, 100% 100%, 100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
}
.space h1, .space h2, .space h3 { color: #fff; }
.space p { color: #C3CEDD; }
.space__horizon { position: absolute; left: -10%; right: -10%; bottom: -560px; height: 620px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #1b3a73 0%, #0b1838 40%, var(--space) 72%);
  box-shadow: 0 -2px 40px rgba(34, 211, 238, .4), inset 0 2px 0 rgba(125, 220, 255, .55); }
.space > .container { position: relative; z-index: 1; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--accent { background: var(--cyan); color: #04121F; }
.btn--accent:hover { background: #67E8F9; color: #04121F; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Barre haute ---------- */
.topbar { background: var(--navy); color: #AFC0D6; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { list-style: none; padding: 0; display: flex; gap: 22px; align-items: center; }
.topbar a { color: #E2E8F0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.topbar a:hover { color: #fff; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__name { display: block; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .06em; line-height: 1.1; color: var(--ink); }
.brand__tag { display: block; font-size: 12px; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }
.brand:hover .brand__name { color: var(--blue); }
.brand svg { flex: none; }
.nav__menu { display: flex; align-items: center; gap: 16px; }
.nav__links { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav__links a:hover { color: var(--blue); background: var(--blue-soft); }
.nav__links a[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav__extra { display: none; }

/* ---------- Hero accueil ---------- */
.hero { padding-block: 80px 150px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.space .eyebrow { color: var(--cyan); }
.hero h1 { margin-top: 16px; font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.12; }
.hero__lead { margin-top: 20px; font-size: 18px; max-width: 600px; }
.hero .btn-row { margin-top: 32px; }
.hero__visual { display: flex; justify-content: center; }
.hero__visual { position: relative; }

/* Points clés sous le hero */
.keypoints { position: relative; z-index: 2; margin-top: -72px; }
.keypoints__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.keypoint { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; }
.keypoint + .keypoint { border-left: 1px solid var(--line); }
.keypoint__icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; }
.keypoint__text strong { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); line-height: 1.3; }
.keypoint__text span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Bandeau de page ---------- */
.page-hero { padding-block: 56px 64px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #9FB0C8; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #6B7C96; }
.breadcrumb a { color: #DCE6F2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; max-width: 820px; }
.page-hero__lead { margin-top: 14px; font-size: 18px; max-width: 760px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.page-hero__visual { display: flex; justify-content: center; }
.page-hero__visual svg { width: 100%; max-width: 340px; height: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid rgba(34, 211, 238, .5); color: #CFF7FF; background: rgba(34, 211, 238, .08); }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: 64px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2, .h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
.section-head p, .lead { margin-top: 14px; font-size: 17px; color: var(--muted); }
.space .section-head p, .space .lead { color: #C3CEDD; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split--top { align-items: start; }
.prose-block p + p { margin-top: 14px; }
.prose-block p { font-size: 16.5px; }

/* ---------- Cartes ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section--alt .card { box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { font-size: 18.5px; font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.card .link-arrow { margin-top: 10px; }

/* Offres (accueil) */
.offer { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.offer__media { height: 220px; display: flex; align-items: center; justify-content: center; }
.offer__media svg { height: 170px; width: auto; }
.offer__body { padding: 30px; display: flex; flex-direction: column; }
.offer__body h3 { font-size: 22px; }
.offer__body p { margin-top: 10px; color: var(--muted); }
.offer__list { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; font-size: 15px; color: var(--text); }
.offer__list li { display: flex; gap: 8px; align-items: flex-start; }
.offer__list svg { flex: none; margin-top: 4px; }
.offer__body .btn-row { margin-top: auto; padding-top: 24px; }

/* Listes à coches */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; }
.checklist strong { color: var(--ink); }
.space .checklist li { color: #DCE6F2; }

/* Étapes */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #BFD3EA 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding-inline: 8px; }
.step__num { width: 50px; height: 50px; margin: 0 auto; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--bg-alt); }
.section:not(.section--alt) .step__num { box-shadow: 0 0 0 8px #fff; }
.step h3 { margin-top: 18px; font-size: 17px; }
.step p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Secteurs */
.tile { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tile__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; }
.tile h3 { font-size: 16.5px; }
.tile p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* Bandeau garantie */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--navy); color: #C3CEDD; }
.guarantee svg { width: 128px; height: auto; display: block; }
.guarantee h2 { color: #fff; font-size: clamp(22px, 2.2vw, 28px); }
.guarantee p { margin-top: 8px; color: #C3CEDD; }

/* Chiffres clés */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.figure { padding: 28px 24px; }
.figure + .figure { border-left: 1px solid var(--line); }
.figure strong { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.figure span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* CTA */
.cta { padding-block: 72px; }
.cta__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cta p { margin-top: 8px; font-size: 17px; }

/* ---------- Animation : parcours d'une alerte ---------- */
.flow { display: flex; align-items: flex-start; justify-content: center; }
.flow__step { flex: 0 1 220px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.flow__step--wide { flex-basis: 250px; }
.flow__box { position: relative; width: 196px; height: 144px; border-radius: 16px; background: rgba(15, 23, 42, .85); border: 1px solid rgba(148, 163, 184, .3); display: flex; align-items: center; justify-content: center; gap: 14px; }
.flow__step strong { font-family: var(--display); font-size: 17px; color: #fff; }
.flow__step > span { font-size: 14px; line-height: 1.5; color: #B8C6DA; max-width: 220px; }
.flow__link { position: relative; flex: 1 1 40px; min-width: 32px; max-width: 100px; height: 2px; margin-top: 71px; background: repeating-linear-gradient(90deg, rgba(34, 211, 238, .45) 0 6px, transparent 6px 12px); }
.flow__dot { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); opacity: 0; }
.gauge { position: relative; width: 14px; height: 88px; border-radius: 7px; background: rgba(148, 163, 184, .2); overflow: hidden; }
.gauge__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: var(--cyan); border-radius: 7px; }
.alarm-tag { position: absolute; top: -12px; right: -10px; padding: 4px 10px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 12px; font-weight: 700; opacity: 0; }
.module { position: relative; width: 74px; height: 94px; border-radius: 14px; background: #C9D3DE; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.module__antenna { position: absolute; top: -32px; left: 50%; width: 8px; height: 34px; margin-left: -4px; border-radius: 4px; background: #1E293B; }
.module__screen { padding: 4px 10px; border-radius: 6px; background: var(--ink); color: var(--cyan); font-family: var(--display); font-weight: 800; font-size: 16px; }
.leds { display: flex; gap: 5px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.led--red { background: #EF4444; }
.server { width: 90px; height: 90px; border-radius: 50%; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .5); display: flex; align-items: center; justify-content: center; }
.notifs { width: 236px; min-height: 144px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.notif { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--ink); text-align: left; font-size: 13px; line-height: 1.3; opacity: 0; }
.notif strong { display: block; font-family: var(--font); font-size: 13px; color: var(--ink); }

@keyframes isoFill { 0% { height: 12%; background: #22D3EE; } 22% { height: 94%; background: #EF4444; } 90% { height: 94%; background: #EF4444; } 100% { height: 12%; background: #22D3EE; } }
@keyframes isoAlarm { 0%, 20% { opacity: 0; } 24%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes isoTravel1 { 0%, 24% { left: 0; opacity: 0; } 26% { opacity: 1; } 38% { left: calc(100% - 12px); opacity: 1; } 40%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes isoTravel2 { 0%, 48% { left: 0; opacity: 0; } 50% { opacity: 1; } 62% { left: calc(100% - 12px); opacity: 1; } 64%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes isoTravel1V { 0%, 24% { top: 0; opacity: 0; } 26% { opacity: 1; } 38% { top: calc(100% - 12px); opacity: 1; } 40%, 100% { top: calc(100% - 12px); opacity: 0; } }
@keyframes isoTravel2V { 0%, 48% { top: 0; opacity: 0; } 50% { opacity: 1; } 62% { top: calc(100% - 12px); opacity: 1; } 64%, 100% { top: calc(100% - 12px); opacity: 0; } }
@keyframes isoPingMod { 0%, 24% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } 26% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .75); } 36%, 100% { box-shadow: 0 0 0 26px rgba(34, 211, 238, 0); } }
@keyframes isoPingSrv { 0%, 38% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } 40% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .75); } 50%, 100% { box-shadow: 0 0 0 26px rgba(34, 211, 238, 0); } }
@keyframes isoPop { 0%, 63% { opacity: 0; transform: translateY(10px); } 68%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.gauge__fill { animation: isoFill 7s ease-in-out infinite; }
.alarm-tag { animation: isoAlarm 7s ease-in-out infinite; }
.flow__dot--1 { animation: isoTravel1 7s linear infinite; }
.flow__dot--2 { animation: isoTravel2 7s linear infinite; }
.module { animation: isoPingMod 7s ease-out infinite; }
.server { animation: isoPingSrv 7s ease-out infinite; }
.notif { animation: isoPop 7s ease-out infinite; }
.notif:nth-child(2) { animation-delay: .25s; }
.notif:nth-child(3) { animation-delay: .5s; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th, .table td { padding: 15px 20px; text-align: left; vertical-align: top; }
.table tr + tr { border-top: 1px solid var(--line); }
.table th[scope="row"] { width: 36%; font-weight: 500; color: var(--muted); background: #FAFBFD; }
.table td { color: var(--ink); font-weight: 500; }
.table td.highlight { color: var(--blue); font-weight: 700; }
.table--data { min-width: 520px; }
.table--data thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14.5px; }
.table--data td { font-weight: 400; }
.table--data td:first-child { font-weight: 600; }
.table--data tbody tr:nth-child(even) { background: #FAFBFD; }
.note { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Maquette d'interface ---------- */
.mock { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
.mock__dots { display: flex; gap: 5px; margin-right: 6px; }
.mock__dots span { width: 9px; height: 9px; border-radius: 50%; background: #3B4A6B; }
.mock ul { list-style: none; padding: 6px 18px 14px; font-size: 14.5px; }
.mock li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 13px 0; }
.mock li + li { border-top: 1px solid var(--line); }
.mock li strong { color: var(--ink); }
.mock li span { color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.badge--blue { background: var(--blue-soft); color: var(--blue-dark); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { padding: 18px 22px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.panel h2 { font-size: 22px; }
.panel > p { margin-top: 6px; color: var(--muted); }
.aside { display: grid; gap: 20px; }
.info-list { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 18px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { flex: none; margin-top: 2px; }
.info-list strong { display: block; color: var(--ink); font-size: 15px; }
.info-list span, .info-list a { font-size: 15px; }
.info-list a { text-decoration: none; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #CBD5E1; border-radius: 8px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; }
.field textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(14, 90, 167, .25); outline-offset: 0; border-color: var(--blue); }
.req { color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { grid-column: 1 / -1; justify-self: start; min-width: 240px; }
.form__legal { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form__status { grid-column: 1 / -1; font-size: 15px; font-weight: 500; border-radius: 8px; }
.form__status:empty { display: none; }
.form__status--ok { padding: 12px 14px; background: #ECFDF5; color: #065F46; }
.form__status--err { padding: 12px 14px; background: #FEF2F2; color: #991B1B; }

/* ---------- Pied de page ---------- */
.footer { background: var(--space); color: #9FB0C8; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: #9FB0C8; }
.footer__about { margin-top: 16px; max-width: 320px; }
.footer h3 { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 4px; }
.footer a { color: #CBD5E1; text-decoration: none; display: inline-flex; align-items: center; min-height: 34px; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(148, 163, 184, .18); }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; min-height: 64px; font-size: 13.5px; }

/* ---------- Pages texte ---------- */
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 12px; color: var(--text); }
.notfound { padding-block: 96px 120px; }
.notfound h1 { font-size: clamp(34px, 5vw, 56px); }
.notfound p { margin-top: 14px; font-size: 18px; }
.notfound .btn-row { margin-top: 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(15, 23, 42, .12); }
  .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { display: flex; min-height: 52px; padding: 0 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links a:hover { background: transparent; }
  .nav__links a[aria-current="page"] { box-shadow: none; }
  .nav__menu .btn { width: 100%; }
  .nav__extra { display: grid; gap: 4px; padding-top: 4px; }
  .nav__extra a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .section { padding-block: 64px; }
  .hero { padding-block: 48px 120px; }
  .hero__grid, .page-hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual .scene { max-width: 420px; }
  .page-hero__visual { display: none; }
  .keypoints__grid, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keypoint:nth-child(3), .figure:nth-child(3) { border-left: 0; }
  .keypoint:nth-child(n+3), .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .guarantee { grid-template-columns: 1fr; text-align: left; gap: 20px; padding: 32px 24px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__hide-sm { display: none; }

  .flow { flex-direction: column; align-items: center; }
  .flow__step, .flow__step--wide { flex-basis: auto; }
  .flow__link { flex: none; width: 2px; height: 52px; min-width: 0; max-width: none; margin: 8px 0; background: repeating-linear-gradient(180deg, rgba(34, 211, 238, .45) 0 6px, transparent 6px 12px); }
  .flow__dot { top: 0; left: -5px; }
  .flow__dot--1 { animation-name: isoTravel1V; }
  .flow__dot--2 { animation-name: isoTravel2V; }
}

@media (max-width: 600px) {
  .brand__tag { display: none; }
  .keypoints__grid, .figures, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .keypoint + .keypoint, .figure + .figure { border-left: 0; border-top: 1px solid var(--line); }
  .btn-row .btn { width: 100%; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .panel { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .table th, .table td { padding: 13px 14px; }
  .topbar ul { gap: 14px; }
  .offer__body { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .notif, .alarm-tag { opacity: 1; }
  .gauge__fill { height: 94%; background: #EF4444; }
}

/* ---------- Utilitaires ---------- */
.spacer { height: 18px; }
.center-link { margin-top: 40px; text-align: center; }
.subhead { margin-top: 44px; font-size: 20px; }
.table-gap { margin-top: 16px; }

/* Chiffres clés en 2 × 2 (dans une colonne) */
.figures--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figures--2 .figure:nth-child(3) { border-left: 0; }
.figures--2 .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .figures--2 { grid-template-columns: 1fr; }
  .figures--2 .figure + .figure { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Scène animée : compacteur + alertes ---------- */
.scene { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
.scene > svg { display: block; width: 100%; height: auto; }
.scene-card { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4); font-size: 13px; line-height: 1.35; color: var(--muted); opacity: 0; white-space: nowrap; }
.scene-card strong { display: block; color: var(--ink); font-size: 13.5px; font-family: var(--font); }
.scene-card__icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; }
.scene-card__icon--red { background: #FEE2E2; }
.scene-card--1 { top: 4%; right: 0; animation: sceneCard1 8s ease-out infinite; }
.scene-card--2 { bottom: 8%; left: 0; animation: sceneCard2 8s ease-out infinite; }
@keyframes sceneCard1 { 0%, 22% { opacity: 0; transform: translateY(10px); } 28%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes sceneCard2 { 0%, 40% { opacity: 0; transform: translateY(10px); } 46%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* voyant « plein » de l'armoire, LED du transmetteur, ondes radio */
.iso-lamp { animation: isoLamp 8s linear infinite; }
@keyframes isoLamp { 0%, 18% { opacity: .2; } 20%, 26% { opacity: 1; } 30% { opacity: .3; } 34%, 40% { opacity: 1; } 44% { opacity: .3; } 48%, 54% { opacity: 1; } 58% { opacity: .3; } 62%, 92% { opacity: 1; } 96%, 100% { opacity: .2; } }
.iso-led { animation: isoLed 1.2s steps(1) infinite; }
@keyframes isoLed { 0% { opacity: 1; } 50% { opacity: .15; } }
.iso-wave { opacity: 0; animation: isoWave 1.8s ease-out infinite; }
.iso-wave--2 { animation-delay: .3s; }
.iso-wave--3 { animation-delay: .6s; }
@keyframes isoWave { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 600px) {
  .scene-card { padding: 8px 10px; font-size: 12px; }
  .scene-card strong { font-size: 12.5px; }
  .scene-card__icon { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-card, .iso-wave { opacity: 1; }
  .iso-lamp, .iso-led { opacity: 1; }
}

/* ---------- Rendu 3D (WebGL) ---------- */
.scene__canvas { display: block; width: 100%; height: auto; aspect-ratio: 1.2; }
.scene.is-3d > svg { display: none; }
.page-hero__visual .scene { max-width: 400px; }
