/* =========================================================
   Temple Sécurité — feuille de style unique
   Couleurs officielles : rouge #BD3430, gris #555A5F (logo).
   Bleu électrique réservé aux actions importantes.
   ========================================================= */
:root {
  --bg: #07152b;
  --bg-2: #0b1b36;
  --surface: #10223f;
  --surface-2: #12223d;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e9edf3;
  --muted: #9ba5b4;
  --brand: #bd3430;
  --brand-2: #d9453f;
  --grey: #555a5f;
  --blue: #2f7bff;
  --blue-2: #5c97ff;
  --blue-glow: rgba(47, 123, 255, 0.35);
  --ok: #3ccf8e;
  --err: #ff6b6b;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Segoe UI Variable Display", "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; padding-bottom: 72px; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 28px; }
.preview-flag { background: #ffb020; color: #1a1300; text-align: center; font-weight: 700; font-size: 0.85rem; padding: 6px; }

/* ---------- Icônes ---------- */
.ico { width: 30px; height: 30px; color: var(--blue-2); flex: none; }
.ico--sm { width: 18px; height: 18px; }
.ico--xl { width: 54px; height: 54px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer; transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s; white-space: nowrap; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 26px var(--blue-glow); }
.btn--primary:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 12px 32px var(--blue-glow); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: var(--line-2); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--light { background: #fff; color: var(--bg); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1.02rem; }
.btn--xs { min-height: 34px; padding: 4px 14px; font-size: 0.8rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn__spin { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn__spin[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 21, 43, 0.72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.nav.is-scrolled { border-color: var(--line); background: rgba(7, 21, 43, 0.9); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.nav__logo img { height: 40px; width: auto; }
.nav__toggle { background: none; border: 0; padding: 10px; min-width: 44px; min-height: 44px; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__menu { display: none; }
.nav__menu ul { list-style: none; margin: 0; padding: 0; }
.nav__top { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #d6dce6; font: inherit; font-size: 0.94rem; font-weight: 550; text-decoration: none; cursor: pointer; padding: 10px 2px; min-height: 44px; }
.nav__top:hover, .nav__top[aria-current="page"] { color: #fff; }
.nav__top svg { width: 12px; height: 12px; transition: transform 0.2s; }
.has-sub.is-open > .nav__top svg { transform: rotate(180deg); }
.nav__sub a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; color: #d6dce6; text-decoration: none; border-radius: 8px; font-size: 0.94rem; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.nav__menu.is-open { display: block; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; overflow-y: auto; background: var(--bg); padding: 12px 20px 120px; }
.nav__menu.is-open > ul > li { border-bottom: 1px solid var(--line); }
.nav__menu.is-open .nav__top { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 0; }
.nav__menu.is-open .nav__sub { display: none; padding: 0 0 12px; }
.nav__menu.is-open .has-sub.is-open .nav__sub { display: block; }
.nav__menu.is-open .nav__cta { flex-direction: column; align-items: stretch; margin-top: 22px; }
.nav__menu.is-open .nav__cta .btn { width: 100%; }
@media (min-width: 1080px) and (max-width: 1260px) { .nav__phone { font-size: 0; gap: 0; } .nav__phone .ico { width: 22px; height: 22px; } }
@media (min-width: 1080px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; align-items: center; gap: 28px; }
  .nav__menu > ul { display: flex; gap: 20px; }
  .has-sub { position: relative; }
  .nav__sub { position: absolute; top: calc(100% + 6px); left: -14px; min-width: 260px; background: rgba(13, 26, 49, 0.98); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; isolation: isolate; background: var(--bg); }
.hero--lg { min-height: min(92vh, 860px); }
.hero--md { min-height: min(80vh, 720px); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 21, 43, 0.94) 0%, rgba(7, 21, 43, 0.78) 45%, rgba(7, 21, 43, 0.35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(7, 21, 43, 0) 30%); }
.hero__in { padding-top: 64px; padding-bottom: 90px; }
.hero__title { max-width: 17ch; }
.hero__sub { max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #cfd6e1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 750; color: var(--brand-2); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.eyebrow--light { color: #fff; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #c7cfdb; font-size: 0.93rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--ok); }

.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 500px at 85% -10%, rgba(47, 123, 255, 0.16), transparent 60%), radial-gradient(900px 400px at -10% 120%, rgba(189, 52, 48, 0.14), transparent 60%), var(--bg-2); }
.page-hero--tight { padding-bottom: 36px; }
.page-hero h1 { max-width: 22ch; }
.page-hero__intro { max-width: 64ch; color: #c9d1dc; font-size: 1.12rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: #cfd6e1; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: linear-gradient(180deg, #0a1a33, #0b1a33); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 48px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { color: var(--muted); font-size: 1.1rem; }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--rev { grid-template-columns: 1.2fr 0.8fr; } }
.two-col { display: grid; gap: 32px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- Tuiles solutions ---------- */
.tiles { display: grid; gap: 18px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; padding: 30px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; overflow: hidden; }
.tile:hover { transform: translateY(-4px); border-color: rgba(92, 151, 255, 0.55); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.tile .ico { margin-bottom: 18px; }
.tile p { color: var(--muted); margin-bottom: 18px; }
.tile--hot { background: radial-gradient(400px 220px at 100% 0%, rgba(189, 52, 48, 0.35), transparent 70%), linear-gradient(180deg, #1a1416, var(--bg-2)); border-color: rgba(189, 52, 48, 0.5); }
.tile--hot .ico { color: #ff7a74; }
.tile__more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-2); font-weight: 700; font-size: 0.95rem; }
.big { font-size: 1.4rem; font-weight: 800; color: #fff !important; margin: 0; }
.big--s { font-size: 1.02rem; word-break: break-all; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .section:not(#fonctionnement) .steps, #fonctionnement .wrap:not(.split) .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.steps__item { position: relative; padding: 22px 22px 20px; border-radius: var(--r); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.steps__n { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--blue-2); background: rgba(47, 123, 255, 0.12); border: 1px solid rgba(47, 123, 255, 0.3); border-radius: 8px; padding: 2px 9px; margin-bottom: 12px; }
.steps__item h3 { margin-bottom: 0.3em; }
.steps__item p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Animation pédagogique du brouillard */
.fog-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; height: 90px; margin: 0 0 28px; border-radius: var(--r); overflow: hidden; background: linear-gradient(90deg, #0b1a33, #121a25); border: 1px solid var(--line); }
.fog-flow__step { position: relative; display: grid; place-items: center; }
.fog-flow__step span { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-2); border: 1px solid var(--line-2); }
.fog-flow__step::after { content: ""; position: absolute; inset: 10px 0; border-radius: 40px; background: radial-gradient(closest-side, rgba(235, 240, 248, 0.85), rgba(235, 240, 248, 0)); opacity: 0; transform: scale(0.4); animation: fog 6s ease-in-out infinite; animation-delay: calc(var(--i) * 0.6s + 1s); }
.fog-flow__step:first-child::after { background: radial-gradient(closest-side, rgba(189, 52, 48, 0.8), rgba(189, 52, 48, 0)); animation-delay: 0.3s; }
@keyframes fog { 0%, 8% { opacity: 0; transform: scale(0.4); } 30%, 80% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0; transform: scale(1.8); } }

/* ---------- Vidéos ---------- */
.vgrid { display: grid; gap: 18px; }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vgrid:not(.vgrid--2) { grid-template-columns: repeat(3, 1fr); } .vcard--wide { grid-column: span 2; grid-row: span 2; } }
.vcard { margin: 0; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.vcard__media { position: relative; flex: 1; background: #000; min-height: 0; }
.vcard video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vcard--wide video { aspect-ratio: auto; }
.vcard figcaption { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 2px; }
.vcard figcaption span { color: var(--muted); font-size: 0.92rem; }
.split__media .vcard { box-shadow: var(--shadow); }

/* ---------- Secteurs ---------- */
.sectors { display: grid; gap: 18px; }
@media (min-width: 640px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sector { display: block; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s, border-color 0.3s; }
.sector:hover { transform: translateY(-4px); border-color: var(--line-2); }
.sector img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.9); }
.sector__body { padding: 18px 20px 22px; }
.sector__body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Modèles Density ---------- */
.models { display: grid; gap: 18px; }
@media (min-width: 640px) { .models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model { padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.model__img { display: grid; place-items: center; height: 190px; margin-bottom: 14px; border-radius: 12px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), transparent); }
.model__img img { max-height: 180px; width: auto; }
.model__range { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 4px; }
.model__vol { color: #fff; }
.model__vol strong { color: var(--blue-2); font-size: 1.15rem; }
.model__specs { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: 0.93rem; }
.model__specs li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.model__specs span { color: var(--muted); }
.model__use { color: var(--muted); font-size: 0.93rem; margin: 0; }
.models--compact { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .models--compact { grid-template-columns: repeat(6, 1fr); } }
.mini-model { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.25s, transform 0.25s; }
.mini-model:hover { border-color: rgba(92, 151, 255, 0.55); transform: translateY(-3px); }
.mini-model img { height: 90px; width: auto; }
.mini-model b { font-size: 1.15rem; }
.mini-model span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table-wrap table, table.specs { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; vertical-align: top; }
.table-wrap thead th { background: rgba(47, 123, 255, 0.12); color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.table-wrap tbody th { color: var(--muted); font-weight: 600; }
.table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: #cfd6e1; }
.checklist .ico { color: var(--ok); margin-top: 4px; }

/* ---------- Contenu éditorial ---------- */
.content-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .content-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #d3d9e3; }
.prose a { color: var(--blue-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose strong, .prose b { color: #fff; }
.prose .table-wrap { margin: 1.4em 0; }
.prose__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r); margin-bottom: 32px; border: 1px solid var(--line); }
.draft-note { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--r-sm); background: rgba(255, 176, 32, 0.12); border: 1px solid rgba(255, 176, 32, 0.45); color: #ffd58a; }
.side { display: grid; gap: 18px; }
@media (min-width: 1000px) { .side { position: sticky; top: 96px; } }
.side__card { padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.side__card--muted { background: var(--bg-2); }
.side__t { font-weight: 700; color: #fff; }
.side__phone { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; }
.side__video img { border-radius: 10px; }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.related__grid { display: grid; gap: 10px; }
@media (min-width: 700px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }
.related__card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 650; min-height: 44px; }
.related__card:hover { border-color: rgba(92, 151, 255, 0.55); }

/* ---------- Conseils ---------- */
.articles { display: grid; gap: 18px; }
@media (min-width: 760px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s, border-color 0.3s; }
.article-card:hover { transform: translateY(-4px); border-color: rgba(92, 151, 255, 0.55); }
.article-card h2 { font-size: 1.3rem; }
.article-card p:not(.eyebrow) { color: var(--muted); flex: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 22px; }
.faq__item summary { cursor: pointer; list-style: none; position: relative; padding: 18px 34px 18px 0; font-weight: 700; color: #fff; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue-2); transition: transform 0.2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); }

/* ---------- Bandeau d'appel ---------- */
.cta-band { padding: 64px 0; background: radial-gradient(700px 300px at 80% 50%, rgba(47, 123, 255, 0.25), transparent 70%), linear-gradient(90deg, #121a26, #0b1a33); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band__in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: var(--muted); margin: 0; max-width: 60ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.stat-card { padding: 32px; border-radius: var(--r); background: radial-gradient(300px 200px at 0% 0%, rgba(189, 52, 48, 0.3), transparent 70%), var(--surface); border: 1px solid var(--line); }
.stat-card p { margin: 18px 0 0; color: var(--muted); }
.stat-card b { color: #fff; font-size: 1.15rem; }

/* ---------- Simulateur ---------- */
.sim { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .sim { grid-template-columns: 1fr 1fr; } }
.sim__form, .sim__result { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.sim__result { min-height: 260px; background: radial-gradient(400px 250px at 100% 0%, rgba(47, 123, 255, 0.18), transparent 70%), var(--surface); }
.sim__empty { color: var(--muted); }
.sim__hint { color: var(--muted); font-size: 0.88rem; margin: 14px 0 0; }
.sim__badge { display: inline-block; background: rgba(60, 207, 142, 0.14); color: var(--ok); border: 1px solid rgba(60, 207, 142, 0.4); border-radius: 999px; padding: 3px 12px; font-size: 0.82rem; font-weight: 750; }
.sim__img { float: right; margin: 0 0 10px 14px; }
.sim__title { font-size: 1.6rem; }
.sim__calc { color: var(--muted); font-size: 0.95rem; }
.sim__specs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; clear: both; }
.sim__specs li { background: rgba(255, 255, 255, 0.04); border-radius: 10px; padding: 10px 12px; }
.sim__specs span { display: block; font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sim__specs b { color: #fff; }
.sim__note { color: var(--muted); font-size: 0.85rem; margin: 14px 0 0; }

/* ---------- Formulaires ---------- */
.section--devis { background: radial-gradient(900px 500px at 100% 0%, rgba(47, 123, 255, 0.14), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(189, 52, 48, 0.12), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.devis { display: grid; gap: 40px; }
@media (min-width: 1000px) { .devis { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .devis__aside { position: sticky; top: 100px; } }
.devis__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.devis__list li { display: flex; gap: 10px; align-items: center; }
.devis__list .ico { color: var(--ok); }
.devis__contact { display: flex; flex-wrap: wrap; gap: 12px; }
.devis__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; }
.lead-form { padding: 28px; border-radius: 20px; background: rgba(13, 26, 49, 0.92); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.lead-form__title { font-size: 1.4rem; margin-bottom: 0.2em; }
.lead-form__sub { color: var(--muted); }
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.lead-form legend { font-weight: 750; color: #fff; margin-bottom: 12px; font-size: 1.02rem; }
.grid { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.field label { display: block; font-size: 0.88rem; font-weight: 650; color: #d6dce6; margin-bottom: 6px; }
.field__hint { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { display: block; width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--text); background: #081936; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
input[readonly] { color: var(--blue-2); font-weight: 700; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%239ba5b4' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
textarea { resize: vertical; }
.field { margin-bottom: 0; }
fieldset > .field { margin-bottom: 14px; }
.is-invalid { border-color: var(--err) !important; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 18px; font-size: 0.9rem; color: #c7cfdb; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.check a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__estimate { padding: 12px 14px; border-radius: var(--r-sm); background: rgba(47, 123, 255, 0.1); border: 1px solid rgba(47, 123, 255, 0.35); color: #cfe0ff; font-size: 0.93rem; }
.form__msg { margin: 14px 0 0; font-weight: 650; min-height: 1.2em; }
.form__msg.is-ok { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(60, 207, 142, 0.12); border: 1px solid rgba(60, 207, 142, 0.45); color: #a7f0cd; }
.form__msg.is-error { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.45); color: #ffc2c2; }
.form__after { margin: 12px 0 0; color: var(--muted); font-size: 0.88rem; }
.form__after a { color: #fff; font-weight: 700; }

/* ---------- Landing pages ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 40px 0 72px; background: radial-gradient(1000px 500px at 90% 0%, rgba(47, 123, 255, 0.18), transparent 60%), var(--bg-2); }
.lp { display: grid; gap: 36px; }
@media (min-width: 1000px) { .lp { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.lp__logo { height: 38px; width: auto; margin-bottom: 30px; }
.lp__pitch .trust { flex-direction: column; margin: 22px 0 26px; }
.tpl-landing .nav, .tpl-landing .footer__top { display: none; }

/* ---------- Pied de page ---------- */
.footer { background: #061226; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; padding: 64px 0 24px; }
.footer__top { display: grid; gap: 34px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { margin-bottom: 16px; }
.footer__contact a { color: #fff; text-decoration: none; font-weight: 700; }
.footer nav { display: flex; flex-direction: column; }
.footer nav a { color: #c7cfdb; text-decoration: none; min-height: 36px; display: flex; align-items: center; }
.footer nav a:hover { color: #fff; }
.footer__h { color: #fff; font-weight: 750; margin-bottom: 8px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.83rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #c7cfdb; }

/* ---------- Barre mobile, WhatsApp, cookies ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(7, 21, 43, 0.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; font-weight: 750; font-size: 0.92rem; text-decoration: none; color: #fff; border: 1px solid var(--line-2); }
.bar .ico { color: #fff; }
.bar__wa { background: #25d366; border-color: #25d366 !important; color: #052e14 !important; }
.bar__cta { background: var(--blue); border-color: var(--blue) !important; }
.float-wa { display: none; position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); z-index: 40; }
.float-wa svg { width: 28px; height: 28px; fill: #fff; }
@media (min-width: 1080px) { .bar { display: none; } body { padding-bottom: 0; } .float-wa { display: grid; } }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 80px; z-index: 60; max-width: 440px; padding: 16px 18px; border-radius: 16px; background: rgba(10, 21, 40, 0.97); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 0.85rem; backdrop-filter: blur(12px); animation: cookie-in 0.35s ease-out; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 12px; color: #d6dce6; line-height: 1.5; }
.cookie a { color: var(--blue-2); }
.cookie__t { font-family: var(--font-display); font-weight: 750; color: #fff !important; font-size: 0.98rem; margin-bottom: 6px !important; }
.cookie__act, .cprefs__act { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__act .btn, .cprefs__act .btn { flex: 1 1 auto; }
.cookie__act .btn { flex: 1 1 0; }
.cookie__custom { display: block; margin: 10px auto 0; font-size: 0.82rem; color: #c7cfdb; min-height: 32px; }
@keyframes cookie-in { from { opacity: 0; translate: 0 14px; } }
@media (min-width: 1080px) { .cookie { left: 18px; right: auto; bottom: 18px; } }
.cprefs { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #0c1b37; color: var(--text); box-shadow: var(--shadow); }
.cprefs::backdrop { background: rgba(3, 9, 20, 0.72); backdrop-filter: blur(4px); }
.cprefs__in { padding: 22px; }
.cprefs__t { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 0 0 6px; color: #fff; }
.cprefs__lead { margin: 0 0 14px; color: var(--muted); font-size: 0.88rem; }
.cprefs__row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cprefs__row p { margin: 0; font-size: 0.85rem; color: #c3cbd7; line-height: 1.5; }
.cprefs__h { color: #fff !important; font-weight: 700; font-size: 0.93rem !important; margin-bottom: 3px !important; }
.cprefs__always { flex: none; font-size: 0.75rem; font-weight: 700; color: var(--ok); padding: 4px 9px; border: 1px solid rgba(60, 207, 142, 0.4); border-radius: 999px; }
.cprefs__act { margin-top: 16px; }
.switch { appearance: none; flex: none; position: relative; width: 46px; height: 26px; margin-top: 2px; border-radius: 999px; background: #2a3340; border: 1px solid var(--line-2); cursor: pointer; transition: background 0.2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: translate 0.2s; }
.switch:checked { background: var(--blue); border-color: var(--blue); }
.switch:checked::after { translate: 20px 0; }
.chat-btn { position: fixed; right: 12px; bottom: 80px; z-index: 44; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 13px; border: 1px solid rgba(92, 151, 255, 0.55); border-radius: 999px; background: linear-gradient(135deg, #2f7bff, #1d5fd6); color: #fff; font: inherit; font-weight: 750; font-size: 0.9rem; cursor: pointer; box-shadow: 0 10px 28px var(--blue-glow); transition: transform 0.2s, box-shadow 0.2s; }
.chat-btn[hidden] { display: none; }
.chat-btn svg { width: 22px; height: 22px; fill: #fff; }
.chat-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--blue-glow); }
.chat-btn.is-loading { opacity: 0.75; cursor: progress; }
.chat-btn.is-loading svg { animation: chat-pulse 0.9s ease-in-out infinite alternate; }
@keyframes chat-pulse { to { opacity: 0.35; } }
.bar__chat { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; border: 1px solid rgba(92, 151, 255, 0.55); background: rgba(47, 123, 255, 0.16); cursor: pointer; padding: 0; }
.bar__chat[hidden] { display: none; }
.bar__chat svg { width: 22px; height: 22px; fill: #fff; }
.bar__chat.is-loading svg { animation: chat-pulse 0.9s ease-in-out infinite alternate; }
.has-chat .bar { grid-template-columns: 52px 52px 1fr 1.2fr; }
.has-chat .bar__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1079px) { .chat-btn { display: none !important; } }
@media (min-width: 1080px) { .chat-btn { right: 18px; bottom: 18px; } .has-chat .float-wa { bottom: 82px; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } .chat-btn.is-loading svg { animation: none; } }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   V2 — Direction artistique premium (17/11/2026)
   ========================================================= */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight.woff") format("woff"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk.woff") format("woff"); font-weight: 300 700; font-display: swap; }
:root {
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Grotesk", "Inter", system-ui, sans-serif;
  --bg: #061226;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body { background: var(--bg); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 750; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; }
h3 { letter-spacing: -0.02em; }
.eyebrow { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.18em; font-size: 0.74rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; }
::selection { background: rgba(47, 123, 255, 0.4); color: #fff; }
/* grain discret sur toute la page */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Boutons : reflet et flèche */
.btn { position: relative; overflow: hidden; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), border-color .25s; }
.btn--primary { background: linear-gradient(180deg, #3d86ff, #1f66f0); box-shadow: 0 10px 30px rgba(47, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(47, 123, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:active { transform: translateY(0) scale(.98); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 700; font-size: .95rem; }
.more .ico { transition: transform .3s var(--ease); }
a:hover .more .ico { transform: translateX(5px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 600 .74rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); }
.chip--red { color: #ffb4b0; background: rgba(189, 52, 48, .2); border-color: rgba(189, 52, 48, .55); }

/* Navigation : lien actif souligné */
.nav { background: rgba(6, 18, 38, .55); }
.nav__top { position: relative; }
@media (min-width: 1080px) { .nav__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); } .nav__top:hover::after, .nav__top[aria-current="page"]::after { transform: scaleX(1); } }

/* ---------- Héros cinématographique ---------- */
.hero { align-items: flex-end; }
.hero--lg { min-height: min(100svh, 980px); }
.hero__video { transform: scale(1.06); animation: heroZoom 22s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { background: linear-gradient(100deg, rgba(6, 18, 38, .96) 0%, rgba(6, 18, 38, .82) 38%, rgba(6, 18, 38, .25) 75%, rgba(6, 18, 38, .55) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 38, 0) 38%), radial-gradient(900px 500px at 85% 20%, rgba(47, 123, 255, .18), transparent 60%); }
.hero__in { padding-top: 120px; padding-bottom: 48px; width: 100%; }
.hero__title { max-width: 14ch; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, #fff 0%, #9fc2ff 60%, #5c97ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 50ch; }
.hero__title, .hero__sub, .hero .eyebrow, .hero__cta { animation: rise 1s var(--ease) both; }
.hero__sub { animation-delay: .12s; } .hero__cta { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.kpis { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpis li { padding: 22px 20px 6px 0; display: flex; flex-direction: column; gap: 2px; }
.kpis li + li { padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .kpis li:nth-child(3) { border-left: 0; padding-left: 0; } }
.kpis strong { font: 600 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--font-mono); color: #fff; letter-spacing: -0.02em; }
.kpis span { color: var(--muted); font-size: .88rem; }

/* En-têtes asymétriques */
.split-head { display: grid; gap: 18px 60px; align-items: end; margin-bottom: 56px; }
@media (min-width: 960px) { .split-head { grid-template-columns: 1.1fr .9fr; } .split-head .lead { margin-bottom: 8px; } }
.split-head h2 { margin: 0; }

/* Transitions entre sections : filet lumineux */
.bento-section, .ring-section, .rail-section, .tl-section, .ba-section, .fog-lab { position: relative; padding: 120px 0; }
.bento-section::before, .ring-section::before, .tl-section::before, .fog-lab::before, .rail-section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(92, 151, 255, .55), transparent); }

/* ---------- Grille asymétrique des solutions ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); } .bento__item--hero { grid-column: span 2; grid-row: span 2; } .bento__item--img { grid-column: span 2; } .bento__item--wide { grid-column: span 2; } }
.bento__item { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; min-height: 210px; border-radius: 22px; background: linear-gradient(160deg, #112644, #0a1a33); border: 1px solid var(--line); text-decoration: none; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; isolation: isolate; }
.bento__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(92, 151, 255, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.bento__item:hover { border-color: rgba(92, 151, 255, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.bento__item:hover::before { opacity: 1; }
.bento__item p { color: var(--muted); margin: 0; }
.bento__item .ico { margin-bottom: auto; width: 34px; height: 34px; }
.bento__item--hero { min-height: 460px; justify-content: flex-end; }
.bento__item--hero video, .bento__item--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.bento__item--hero:hover video, .bento__item--img:hover img { transform: scale(1.05); }
.bento__item--hero::after, .bento__item--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 18, 38, .95) 10%, rgba(6, 18, 38, .35) 60%, rgba(6, 18, 38, .15)); }
.bento__item--hero h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.bento__item--hero p { color: #d3d9e3; max-width: 40ch; }
.bento__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bento__item--img { min-height: 230px; }
.bento__item--img .ico { margin-bottom: 4px; }
.bento__item--blue { background: radial-gradient(300px 200px at 100% 0%, rgba(47, 123, 255, .35), transparent 70%), linear-gradient(160deg, #0c1d3d, #0a1a33); }
.bento__item--wide { flex-direction: row; align-items: center; gap: 22px; }
.bento__item--wide .ico { margin: 0; flex: none; width: 46px; height: 46px; color: #ff8a84; }

/* ---------- Laboratoire 3D ---------- */
.fog-lab { background: radial-gradient(900px 600px at 80% 50%, rgba(47, 123, 255, .1), transparent 60%), #061226; overflow: hidden; }
.fog-lab__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .fog-lab__in { grid-template-columns: .8fr 1.2fr; } }
.fog-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 10px; }
.fog-steps li { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 600; transition: color .4s; }
.fog-steps span { font: 600 .8rem var(--font-mono); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.fog-steps li.is-on { color: #fff; }
.fog-steps li.is-on span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 22px var(--blue-glow); }
.fog-lab__note { font-size: .8rem; color: #6f7a8a; margin-top: 18px; max-width: 48ch; }
.fog-lab__stage { position: relative; aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 50% 70%, #101826, #061226 70%); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 0 120px rgba(47, 123, 255, .08); }
.fog-lab__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fog-lab__fog { filter: blur(2px); }
.fog-lab__stage { isolation: isolate; clip-path: inset(0 round 26px); }
.fog-lab__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fog-lab.is-3d .fog-lab__fallback { display: none; }
.fog-hud { position: absolute; inset: 16px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; pointer-events: none; font-family: var(--font-mono); }
.fog-hud__alarm { grid-column: 1; display: inline-flex; align-items: center; gap: 8px; align-self: start; padding: 6px 12px; border-radius: 8px; font-size: .74rem; letter-spacing: .2em; color: #ffd0cd; background: rgba(189, 52, 48, .18); border: 1px solid rgba(189, 52, 48, .5); opacity: .35; transition: opacity .3s; }
.fog-hud__alarm i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d45; }
.fog-lab.is-firing .fog-hud__alarm { opacity: 1; animation: blink .4s steps(2) 3; }
@keyframes blink { 50% { opacity: .3; } }
.fog-hud__time { grid-column: 2; justify-self: end; text-align: right; }
.fog-hud span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb0c8; }
.fog-hud b { color: #fff; font-size: 1.3rem; font-weight: 600; }
.fog-hud__vis { grid-column: 1 / -1; grid-row: 3; padding: 12px 14px; border-radius: 12px; background: rgba(6, 18, 38, .55); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.fog-hud__vis b { font-size: 1rem; }
.fog-hud__bar { margin-top: 8px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fog-hud__bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff6b6b, #ffb020 40%, #3ccf8e); transform-origin: left; transition: transform .3s linear; }
.fog-lab:not(.is-3d) .fog-hud { display: none; }

/* ---------- Avant / après ---------- */
.ba-section { background: #061226; }
.ba-head { display: grid; gap: 12px 60px; align-items: end; margin-bottom: 36px; }
@media (min-width: 960px) { .ba-head { grid-template-columns: 1fr 1fr; } }
.ba-head h2 { margin: 0; }
.ba { --pos: 50%; position: relative; aspect-ratio: 21 / 10; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .55); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 18px rgba(255, 255, 255, .6); pointer-events: none; }
.ba__handle svg { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; padding: 11px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 8px 26px var(--blue-glow); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + * , .ba:focus-within { outline: 3px solid var(--blue-2); outline-offset: 4px; }
.ba__tag { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 8px; font: 600 .72rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; background: rgba(6, 18, 38, .7); backdrop-filter: blur(6px); pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
@media (max-width: 640px) { .ba { aspect-ratio: 4 / 3; } }

/* ---------- Carrousel 3D des modèles ---------- */
.ring-section { background: radial-gradient(1000px 600px at 70% 60%, rgba(47, 123, 255, .12), transparent 60%), #081730; overflow: hidden; }
.ring-layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .ring-layout { grid-template-columns: .85fr 1.15fr; } }
.ring-info { position: relative; min-height: 270px; margin: 26px 0; }
.ring-info__item { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.ring-info__item.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.ring-info__range { font: 600 .74rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 4px; }
.ring-info h3 { font-size: 1.8rem; }
.ring-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.ring-info dl div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ring-info dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ring-info dd { margin: 2px 0 0; font: 600 1.15rem var(--font-mono); color: #fff; }
.ring-info__use { color: var(--muted); font-size: .95rem; }
.ring-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ring-stage { position: relative; height: 560px; perspective: 1400px; }
.ring { --r: 330px; position: absolute; left: 50%; top: 42%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-6deg) rotateY(calc(var(--i) * -360deg / var(--n))); transition: transform 1.1s var(--ease); }
.ring__item { position: absolute; left: -95px; top: -150px; width: 190px; height: 300px; padding: 0; border: 0; background: none; cursor: pointer; transform: rotateY(calc(var(--k) * 360deg / var(--n))) translateZ(var(--r)); transition: filter .6s, opacity .6s; filter: brightness(.45) saturate(.6); opacity: .8; }
.ring__item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)); }
.ring__item span { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); font: 600 .9rem var(--font-mono); color: #fff; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6, 18, 38, .7); }
.ring__item.is-active { filter: none; opacity: 1; }
.ring__item.is-active span { background: var(--blue); border-color: var(--blue); }
.ring-floor { position: absolute; left: 50%; bottom: 40px; width: 560px; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(47, 123, 255, .3), transparent 65%); filter: blur(10px); }
.ring-nav { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: flex; gap: 12px; }
.ring-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.ring-nav button:hover { background: var(--blue); border-color: var(--blue); }
.ring-nav svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .ring-stage { height: 420px; } .ring { --r: 210px; } .ring__item { width: 130px; height: 210px; left: -65px; top: -105px; } .ring-floor { width: 340px; } }

/* ---------- Rail des secteurs ---------- */
.rail-section { background: #061226; }
.rail { --rail-pad: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); scroll-padding-inline: var(--rail-pad); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 30%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--rail-pad) 22px; scrollbar-width: thin; scrollbar-color: #2a3446 transparent; }
@media (max-width: 700px) { .rail { grid-auto-columns: 82%; } }
.rail__card { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); }
.rail__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.rail__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 18, 38, .95) 8%, rgba(6, 18, 38, .2) 55%, rgba(6, 18, 38, .05)); }
.rail__card:hover img { transform: scale(1.07); filter: saturate(1); }
.rail__card > div { padding: 26px; }
.rail__card h3 { font-size: 1.6rem; margin-bottom: .2em; }
.rail__card p { color: #c9d1dc; margin-bottom: 12px; }

/* ---------- Frise méthode ---------- */
.tl-section { background: linear-gradient(180deg, #061226, #0b1b36); }
.tl { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 900px) { .tl { grid-template-columns: repeat(4, 1fr); gap: 30px; } .tl::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(92, 151, 255, .1)); } }
.tl li { position: relative; }
.tl__n { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 600 1.05rem var(--font-mono); background: #0b1a33; border: 2px solid var(--blue); color: #fff; margin-bottom: 18px; box-shadow: 0 0 0 6px #061226, 0 0 24px var(--blue-glow); }
.tl p { color: var(--muted); }

/* ---------- Fermeture ---------- */
.closing { position: relative; padding: 130px 0; text-align: center; overflow: hidden; background: radial-gradient(700px 360px at 50% 100%, rgba(47, 123, 255, .3), transparent 70%), radial-gradient(600px 300px at 50% 0%, rgba(189, 52, 48, .18), transparent 70%), #061226; border-top: 1px solid var(--line); }
.closing h2 { max-width: 18ch; margin: 0 auto 32px; font-size: clamp(2.2rem, 5.5vw, 4.4rem); }
.closing__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing .eyebrow::before { display: none; }

/* Apparition : n'interfère pas avec les transformations 3D */
.reveal { transform: none; translate: 0 22px; transition: opacity .9s var(--ease), translate .9s var(--ease), transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.reveal.is-in { translate: 0 0; }

/* Mobile : rythme et lisibilité */
@media (max-width: 700px) {
  .bento-section, .ring-section, .rail-section, .tl-section, .ba-section, .fog-lab, .section { padding: 76px 0; }
  .hero__in { padding-top: 96px; }
  .kpis { margin-top: 36px; }
  .fog-lab__stage { aspect-ratio: 4 / 5; border-radius: 20px; }
  .bento__item--hero { min-height: 380px; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero__video { transform: none; } .ring { transition: none; } }
.ring__item { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
@media (max-width: 759px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bento__item--hero, .bento__item--img, .bento__item--wide { grid-column: span 2; }
  .bento__item:not(.bento__item--hero):not(.bento__item--img):not(.bento__item--wide) { min-height: 0; padding: 20px; }
  .bento__item:not(.bento__item--hero):not(.bento__item--img):not(.bento__item--wide) .ico { margin-bottom: 18px; }
  .bento__item--wide { flex-direction: column; align-items: flex-start; }
  .bento__item h3 { font-size: 1.08rem; }
  .bento__item p { font-size: .9rem; }
  .kpis strong { font-size: 1.25rem; }
}
/* En-têtes de pages intérieures : photo cinématographique asymétrique */
.page-hero { padding: 80px 0 88px; }
.page-hero__in { position: relative; z-index: 2; }
.page-hero--img .page-hero__bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; z-index: 0; opacity: .75; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); filter: saturate(.85) contrast(1.05); animation: heroZoom 18s ease-out forwards; transform: scale(1.06); }
.page-hero--img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--bg) 0%, transparent 35%), linear-gradient(90deg, var(--bg-2) 30%, rgba(10, 24, 46, .2) 100%); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 18ch; }
.page-hero h1, .page-hero__intro, .page-hero .hero__cta { animation: rise 1s var(--ease) both; }
.page-hero__intro { animation-delay: .1s !important; }
@media (max-width: 760px) { .page-hero--img .page-hero__bg { width: 100%; opacity: .35; -webkit-mask-image: linear-gradient(0deg, transparent, #000 60%); mask-image: linear-gradient(0deg, transparent, #000 60%); } .page-hero { padding: 56px 0 64px; } }
.page-hero--product .page-hero__bg { width: 30%; right: 4%; top: 8%; height: 84%; object-fit: contain; opacity: 1; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); animation: floaty 7s ease-in-out infinite; transform: none; }
.page-hero--product::after { background: radial-gradient(500px 300px at 78% 60%, rgba(47, 123, 255, .22), transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
@keyframes floaty { 50% { translate: 0 -12px; } }
@media (max-width: 760px) { .page-hero--product .page-hero__bg { width: 46%; right: -6%; opacity: .5; } }
main { overflow-x: clip; }
@media (max-width: 359px) { .bar a { font-size: 0.82rem; } }

/* ================= Phase 1 : sections claires (respiration) ================= */
.light { --bg: #f2f4f8; --bg-2: #ffffff; --surface: #ffffff; --surface-2: #f5f7fb; --line: rgba(9, 26, 56, 0.1); --line-2: rgba(9, 26, 56, 0.18); --text: #0c1b37; --muted: #4c5a72; --shadow: 0 24px 60px rgba(9, 26, 56, 0.12); background: var(--bg); color: var(--text); }
.light.section--alt, .light.section--devis { background: var(--bg); border-color: var(--line); }
.light h1, .light h2, .light h3, .light :is(strong, b, legend, summary, h4) { color: var(--text); }
.light .lead, .light p { color: var(--muted); }
.light .prose p, .light .prose li { color: #26344c; }
.light .prose a, .light a.more, .light .more { color: #1f5fe0; }
.light .btn--ghost { color: var(--text); background: #fff; border-color: var(--line-2); }
.light .btn--ghost:hover { border-color: var(--text); background: #fff; }
.light input[type="text"], .light input[type="email"], .light input[type="tel"], .light input[type="number"], .light select, .light textarea { background: #fff; color: var(--text); border-color: rgba(9, 26, 56, 0.2); }
.light input::placeholder, .light textarea::placeholder { color: #8692a6; }
.light .lead-form { background: #fff; border-color: var(--line); box-shadow: 0 40px 80px rgba(9, 26, 56, 0.14), 0 2px 6px rgba(9, 26, 56, 0.06); }
.light .lead-form__estimate { color: #1a4fbf; background: rgba(47, 123, 255, 0.07); }
.light .faq__item, .light .related__card, .light .article-card, .light .side__card, .light .tile, .light .model, .light .mini-model, .light .table-wrap, .light .sim__form, .light .vcard { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(9, 26, 56, 0.05); }
.light .tile:hover, .light .article-card:hover, .light .related__card:hover { box-shadow: 0 24px 50px rgba(9, 26, 56, 0.12); border-color: rgba(47, 123, 255, 0.45); }
.light th { color: var(--text); }
.light td { color: #26344c; }
.light .devis__contact a, .light .chip { color: var(--text); border-color: var(--line-2); }
.light .check li, .light li { color: #26344c; }
.light--white { --bg: #ffffff; }
.light .tl__n { background: #fff; color: var(--text); box-shadow: 0 0 0 6px var(--bg), 0 10px 24px rgba(47, 123, 255, 0.25); }
.tl-section.light { background: var(--bg); }
.light::before { background: linear-gradient(90deg, transparent, rgba(47, 123, 255, 0.35), transparent) !important; }

/* Trois métiers */
.trio-section { position: relative; padding: 130px 0 120px; overflow: hidden; }
.trio-section::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(47, 123, 255, 0.10), transparent); pointer-events: none; }
.trio-head { display: grid; gap: 8px 60px; margin-bottom: 56px; }
@media (min-width: 1000px) { .trio-head { grid-template-columns: 1.2fr 1fr; align-items: end; } .trio-head .eyebrow { grid-column: 1 / -1; } .trio-head h2 { margin: 0; } .trio-head .lead { margin: 0 0 8px; } }
.trio-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.98; }
.trio-head h2 span { color: #1f5fe0; }
.trio { display: grid; gap: 20px; }
@media (min-width: 1000px) { .trio { grid-template-columns: 1fr 1fr 1.25fr; grid-template-rows: auto; align-items: stretch; } }
.trio__card { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; text-decoration: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(9, 26, 56, 0.05); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; isolation: isolate; }
.trio__card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px rgba(9, 26, 56, 0.16); border-color: rgba(47, 123, 255, 0.4); }
.trio__visual { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 0%, #12305f, #0a1a33 70%); display: grid; place-items: center; padding: 22px; overflow: hidden; }
.trio__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 28px 30px; flex: 1; }
.trio__body h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 0 0 4px; }
.trio__body p { margin: 0 0 10px; font-size: 0.98rem; }
.trio__body .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.trio__body .more .ico { transition: translate 0.3s var(--ease); }
.trio__card:hover .more .ico { translate: 4px 0; }
.trio__n { font: 600 0.74rem/1 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: #1f5fe0; }
/* Visuel alarme : tableau de bord */
.panel { width: min(100%, 300px); padding: 16px; border-radius: 16px; background: rgba(8, 20, 40, 0.86); border: 1px solid rgba(92, 151, 255, 0.28); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); font-size: 0.8rem; transform: perspective(800px) rotateY(-8deg) rotateX(4deg); transition: transform 0.6s var(--ease); }
.trio__card:hover .panel { transform: none; }
.panel__top { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #fff !important; font-weight: 700; }
.panel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(60, 207, 142, 0.2); }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.panel li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); color: #c9d3e2 !important; }
.panel li b { color: var(--ok) !important; font-weight: 700; }
.panel li.is-alert { background: rgba(217, 69, 63, 0.16); border: 1px solid rgba(217, 69, 63, 0.5); color: #fff !important; animation: alert-blink 2.4s ease-in-out infinite; }
.panel li.is-alert b { color: #ff8a84 !important; }
@keyframes alert-blink { 50% { background: rgba(217, 69, 63, 0.32); } }
/* Visuel vidéo : mur d’écrans */
.camwall { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 14px; background: #02060d; border: 1px solid rgba(92, 151, 255, 0.25); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.camwall figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.camwall img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.1) brightness(0.9); transition: filter 0.5s, transform 1.2s var(--ease); }
.trio__card:hover .camwall img { filter: none; transform: scale(1.06); }
.camwall figcaption { position: absolute; left: 6px; bottom: 5px; font: 600 0.58rem/1 ui-monospace, monospace; color: #fff; text-shadow: 0 1px 2px #000; letter-spacing: 0.04em; }
.camwall__rec { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; font: 700 0.6rem/1 ui-monospace, monospace; color: #fff; padding: 4px 7px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); }
.camwall__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: alert-blink 1.2s steps(2) infinite; }
/* Carte brouillard (vedette, sombre) */
.trio__card--fog { min-height: 520px; justify-content: flex-end; background: #0a1a33; border-color: rgba(92, 151, 255, 0.35); }
.trio__card--fog video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.trio__card--fog:hover video { transform: scale(1.05); }
.trio__card--fog::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 18, 38, 0.96) 18%, rgba(6, 18, 38, 0.45) 62%, rgba(6, 18, 38, 0.1)); }
.trio__card--fog .trio__body { flex: 0; padding: 34px; }
.trio__card--fog h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.trio__card--fog p { color: #d3dbe8; }
.trio__card--fog .trio__n, .trio__card--fog .more { color: #8cb4ff; }
.trio__card--fog .chip { margin-bottom: 6px; }
@media (min-width: 1000px) { .trio__card--fog { margin-top: -40px; } }
.trio-more { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trio-more a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 650; color: var(--text); transition: border-color 0.25s, transform 0.25s; }
.trio-more a:hover { border-color: rgba(47, 123, 255, 0.5); transform: translateY(-2px); }
.trio-more .ico { color: #1f5fe0; }
@media (max-width: 760px) { .trio-section { padding: 84px 0; } .trio-head { margin-bottom: 36px; } .trio__card--fog { min-height: 460px; order: -1; } .trio-more { grid-template-columns: 1fr 1fr; } .trio-more a { font-size: 0.88rem; padding: 10px 12px; } }
@media (prefers-reduced-motion: reduce) { .panel li.is-alert, .camwall__rec::before { animation: none; } }
/* Hero asymétrique : carte scénario */
.scenario { display: none; }
@media (min-width: 1080px) {
  .tpl-home .hero__grid { display: grid; grid-template-columns: 1fr 410px; gap: 56px; align-items: center; }
  .scenario { display: block; padding: 20px 22px; border-radius: 20px; background: rgba(7, 21, 43, 0.62); border: 1px solid rgba(140, 180, 255, 0.22); backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); animation: rise 1.2s 0.35s var(--ease) both; margin-bottom: 10px; }
}
.scenario__t { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font: 600 0.72rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: #9fbfff; }
.scenario__live { width: 8px; height: 8px; border-radius: 50%; background: #ff4d45; box-shadow: 0 0 0 0 rgba(255, 77, 69, 0.6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255, 77, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 69, 0); } }
.scenario ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.scenario ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #ff4d45, var(--blue) 50%, #e8eefb); border-radius: 2px; }
.scenario li { position: relative; padding-left: 28px; display: grid; gap: 2px; }
.scenario li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #0a1a33; border: 2px solid var(--blue-2); }
.scenario li:first-child::before { border-color: #ff4d45; }
.scenario li:last-child::before { background: #e8eefb; border-color: #e8eefb; box-shadow: 0 0 16px rgba(232, 238, 251, 0.7); }
.scenario b { color: #fff; font-size: 0.95rem; }
.scenario li span { color: #b5c1d4; font-size: 0.84rem; }
.scenario__note { margin: 14px 0 0; font-size: 0.7rem; color: #7f8ca3; }
@media (prefers-reduced-motion: reduce) { .scenario__live { animation: none; } }
.light .table-wrap thead th { color: var(--text); background: rgba(47, 123, 255, 0.08); }
.light .checklist li, .light .check { color: #33415a; }
.light .side__t, .light .side__phone, .light .faq__item summary, .light .lead-form legend, .light .check a, .light .form__after a, .light .stat-card b { color: var(--text); }
.light .field label { color: #23314a; }
.light .faq__item[open] { border-color: rgba(47, 123, 255, 0.4); box-shadow: 0 16px 40px rgba(9, 26, 56, 0.08); }
.light input:focus, .light select:focus, .light textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.15); }
.light .lead-form__title, .light .lead-form h3 { color: var(--text); }
.light .big { color: var(--text) !important; }
/* Mobile : vidéos en carrousel horizontal (moins de défilement vertical) */
@media (max-width: 639px) {
  .vgrid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 8px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .vgrid::-webkit-scrollbar { display: none; }
  .vgrid > * { scroll-snap-align: start; }
}

/* ===== Cycle 2 : pages Brouillard, Gamme, Zones ===== */
/* Simulateur : formulaire clair + résultat « instrument » bleu nuit */
#simulateur .sim__result { background: radial-gradient(420px 260px at 100% 0%, rgba(47, 123, 255, 0.35), transparent 70%), linear-gradient(160deg, #0f2547, #081730); border: 1px solid rgba(92, 151, 255, 0.35); color: #e9edf3; box-shadow: 0 40px 80px rgba(9, 26, 56, 0.22); }
#simulateur .sim__result :is(p, span, .sim__empty, .sim__calc, .sim__note) { color: #b9c6da; }
#simulateur .sim__result :is(h3, b, strong, .sim__title) { color: #fff; }
#simulateur .sim__specs li { background: rgba(255, 255, 255, 0.06); }
#simulateur .sim__form { box-shadow: 0 30px 60px rgba(9, 26, 56, 0.1); }
#simulateur .sim__empty { display: flex; min-height: 200px; align-items: center; justify-content: center; text-align: center; padding: 0 10%; border: 1px dashed rgba(140, 180, 255, 0.3); border-radius: 14px; }
/* Gamme : fond studio clair pour les appareils */
.models-studio .model { padding: 0 0 22px; overflow: hidden; border-radius: 22px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.models-studio .model:hover { transform: translateY(-5px); box-shadow: 0 34px 70px rgba(9, 26, 56, 0.16); }
.models-studio .model > :not(.model__img) { margin-left: 24px; margin-right: 24px; }
.models-studio .model__img { height: 250px; margin: 0 0 18px; border-radius: 0; background: radial-gradient(60% 70% at 50% 45%, #ffffff, #e6ebf3 75%), #e6ebf3; border-bottom: 1px solid var(--line); }
.models-studio .model__img img { max-height: 210px; filter: drop-shadow(0 18px 22px rgba(9, 26, 56, 0.22)); transition: transform 0.6s var(--ease); }
.models-studio .model:hover .model__img img { transform: translateY(-4px) scale(1.03); }
.light .model__vol { color: var(--text); }
.light .model__vol strong { color: #1f5fe0; }
.light .model__specs li { color: var(--text); }
/* Zones : bande des départements */
.zone-band { position: relative; padding: 110px 0; background: radial-gradient(700px 380px at 85% 10%, rgba(47, 123, 255, 0.22), transparent 70%), linear-gradient(180deg, #0a1a33, #07152b); overflow: hidden; }
.zone-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140, 180, 255, 0.16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.zone-band .wrap { position: relative; z-index: 1; }
.zone-band__head { max-width: 640px; margin-bottom: 40px; }
.zone-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .zone-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.zone-grid a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; min-height: 112px; border-radius: 18px; text-decoration: none; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(140, 180, 255, 0.18); transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.zone-grid a:hover { background: rgba(47, 123, 255, 0.14); border-color: rgba(92, 151, 255, 0.6); transform: translateY(-3px); }
.zone-grid b { font: 600 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--font-mono); color: #fff; letter-spacing: -0.03em; }
.zone-grid span { color: #b9c6da; font-size: 0.92rem; }
.zone-grid a[aria-current="page"] { background: var(--blue); border-color: var(--blue); box-shadow: 0 18px 40px var(--blue-glow); }
.zone-grid a[aria-current="page"] span { color: #e6efff; }
.zone-band__more { margin: 26px 0 0; }
.zone-band__more a { color: #8cb4ff; font-weight: 700; }
@media (max-width: 760px) { .zone-band { padding: 76px 0; } .models-studio .model__img { height: 220px; } }
.light .rail__card h3 { color: #fff; }
.light .rail__card p { color: #d3dbe8; }
.light .rail__card .more { color: #8cb4ff; }
.light .rail__card { box-shadow: 0 20px 44px rgba(9, 26, 56, 0.16); }

/* ===== Vitrine Alarme Ajax ===== */
.src-note { margin: 18px 0 0; font-size: 0.76rem; color: #8592a8; }
.ajax-sc { position: relative; padding: 110px 0; background: radial-gradient(800px 500px at 75% 50%, rgba(47, 123, 255, 0.18), transparent 70%), linear-gradient(180deg, #081936, #07152b); overflow: hidden; }
.ajax-sc__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 1000px) { .ajax-sc__grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; } }
.ajax-sc h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; }
.ajax-sc h2 span { color: #8cb4ff; }
.ajax-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 0; }
.ajax-specs div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(140, 180, 255, 0.16); }
.ajax-specs dt { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-display); color: #fff; letter-spacing: -0.02em; }
.ajax-specs dd { margin: 6px 0 0; font-size: 0.84rem; color: #b5c1d4; line-height: 1.4; }
.ajax-map { position: relative; aspect-ratio: 1 / 0.92; min-height: 420px; border-radius: 28px; background: radial-gradient(closest-side, rgba(47, 123, 255, 0.16), transparent), rgba(4, 12, 26, 0.5); border: 1px solid rgba(140, 180, 255, 0.14); background-image: radial-gradient(rgba(140, 180, 255, 0.12) 1px, transparent 1px); background-size: 20px 20px; }
.ajax-map__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.ajax-map__links line { stroke: rgba(140, 180, 255, 0.5); stroke-width: 0.35; stroke-dasharray: 1.2 1.4; vector-effect: non-scaling-stroke; stroke-width: 1.4px; animation: dash 3s linear infinite; }
.ajax-map__links line.is-fog { stroke: rgba(255, 255, 255, 0.7); }
@keyframes dash { to { stroke-dashoffset: -26; } }
.ajax-hub { position: absolute; left: 50%; top: 52%; translate: -50% -50%; display: grid; place-items: center; }
.ajax-hub__box { position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 22px; background: linear-gradient(145deg, #ffffff, #dfe6f1); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.06); display: grid; place-items: center; }
.ajax-hub__box i { width: 12px; height: 12px; border-radius: 50%; background: #3ccf8e; box-shadow: 0 0 12px #3ccf8e; }
.ajax-hub__ring { position: absolute; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(92, 151, 255, 0.6); animation: ring 3.2s ease-out infinite; }
.ajax-hub__ring + .ajax-hub__ring { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.ajax-hub__l { position: absolute; top: calc(100% + 10px); white-space: nowrap; text-align: center; font-weight: 700; font-size: 0.9rem; color: #fff; }
.ajax-hub__l small, .ajax-node__l small { display: block; font-weight: 500; font-size: 0.74rem; color: #9fb0c8; }
.ajax-node { position: absolute; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.ajax-node__l { font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap; }
.dev { position: relative; display: grid; place-items: center; background: linear-gradient(145deg, #fff, #dde4ef); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.dev--motion { width: 46px; height: 58px; border-radius: 14px 14px 18px 18px; }
.dev--motion i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a5a75, #0b1220); margin-top: 6px; }
.dev--motion b { position: absolute; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #1b2638; }
.dev--door { width: 46px; height: 30px; border-radius: 8px; background: none; box-shadow: none; display: flex; gap: 4px; }
.dev--door i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(145deg, #fff, #dde4ef); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4); }
.dev--door i + i { width: 12px; }
.dev--siren { width: 54px; height: 54px; border-radius: 14px; }
.dev--siren i { width: 12px; height: 12px; border-radius: 50%; background: #ff4d45; box-shadow: 0 0 14px #ff4d45; animation: alert-blink 1.6s infinite; }
.dev--fob { width: 30px; height: 50px; border-radius: 15px; flex-direction: column; gap: 6px; }
.dev--fob i { width: 12px; height: 6px; border-radius: 3px; background: #c8d1df; }
.dev--fog { width: 64px; height: 44px; border-radius: 10px; background: linear-gradient(145deg, #2a3b57, #12213b); border: 1px solid rgba(140, 180, 255, 0.4); }
.dev--fog i { width: 26px; height: 4px; border-radius: 2px; background: #e8eefb; box-shadow: 0 0 14px #e8eefb; }
.ajax-phone { position: absolute; right: -10px; top: 38%; width: 190px; padding: 12px; border-radius: 24px; background: #0b1730; border: 1px solid rgba(140, 180, 255, 0.3); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); font-size: 0.72rem; color: #c9d3e2; display: none; }
@media (min-width: 1240px) { .ajax-phone { display: block; right: -60px; top: 44%; } }
.ajax-phone__top { display: flex; align-items: center; gap: 6px; margin: 2px 4px 10px; font-weight: 700; color: #fff; }
.dotred { width: 7px; height: 7px; border-radius: 50%; background: #ff4d45; }
.ajax-phone__shots { display: grid; gap: 5px; }
.ajax-phone__shots img { width: 100%; height: 62px; object-fit: cover; border-radius: 8px; filter: grayscale(0.6) contrast(1.1); }
.ajax-phone__cap { margin: 8px 4px; }
.ajax-phone__btn { display: block; text-align: center; padding: 8px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700; }
@media (max-width: 640px) {
  .ajax-sc { padding: 76px 0; }
  .ajax-map { min-height: 380px; aspect-ratio: auto; }
  .ajax-node__l small { display: none; }
  .ajax-node__l { font-size: 0.7rem; }
  .ajax-specs dt { font-size: 1.5rem; }
}

/* ===== Vitrine Vidéo IA ===== */
.aiv { position: relative; padding: 110px 0; background: radial-gradient(900px 500px at 20% 0%, rgba(47, 123, 255, 0.2), transparent 70%), #07152b; overflow: hidden; }
.aiv__head h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.02; margin-bottom: 40px; }
.aiv__head h2 span { color: #8cb4ff; }
.aiv-feed { margin: 0; }
.aiv-feed__frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(140, 180, 255, 0.25); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5); background: #000; }
.aiv-feed__frame img { display: block; width: 100%; height: auto; filter: saturate(0.85) contrast(1.05); }
.aiv-feed__frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aiv-zone { fill: rgba(47, 123, 255, 0.22); stroke: #5c97ff; stroke-width: 3; stroke-dasharray: 10 8; }
.aiv-wire { stroke: #ff4d45; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 77, 69, 0.8)); }
.aiv-arrow { fill: #ff4d45; }
.aiv-box { fill: none; stroke: #ffd23f; stroke-width: 4; animation: box-pulse 1.6s ease-in-out infinite; }
@keyframes box-pulse { 50% { stroke-opacity: 0.45; } }
.aiv-tag { position: absolute; translate: 0 -100%; padding: 3px 8px; border-radius: 4px; background: #ffd23f; color: #111; font: 700 0.72rem/1.2 var(--font-mono); }
.aiv-hud { position: absolute; top: 14px; padding: 5px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); color: #fff; font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.04em; }
.aiv-hud--tl { left: 14px; }
.aiv-hud--tr { right: 14px; display: inline-flex; gap: 6px; align-items: center; }
.aiv-hud--tr i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: alert-blink 1.2s steps(2) infinite; }
.aiv-legend { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.aiv-legend b { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.72rem; font-weight: 600; }
.aiv-legend b::before { content: ""; width: 16px; height: 3px; border-radius: 2px; }
.l-wire::before { background: #ff4d45; }
.l-zone::before { background: #5c97ff; }
.aiv-alert { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: rgba(217, 40, 34, 0.92); color: #fff; font-weight: 700; font-size: 0.86rem; box-shadow: 0 12px 30px rgba(217, 40, 34, 0.45); animation: alert-in 4s ease-in-out infinite; }
.aiv-alert i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
@keyframes alert-in { 0%, 15% { opacity: 0; translate: 0 8px; } 25%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.aiv-feed figcaption { margin-top: 10px; font-size: 0.76rem; color: #8592a8; }
.aiv-funcs { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.aiv-funcs li { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(140, 180, 255, 0.15); transition: border-color 0.3s, background 0.3s; }
.aiv-funcs li:hover { border-color: rgba(92, 151, 255, 0.5); background: rgba(47, 123, 255, 0.08); }
.aiv-funcs h3 { font-size: 1.1rem; margin: 14px 0 6px; color: #fff; }
.aiv-funcs p { margin: 0; color: #b5c1d4; font-size: 0.92rem; }
.aiico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(47, 123, 255, 0.16); fill: none; stroke: #8cb4ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aiv-chain { margin-top: 70px; padding: 40px; border-radius: 26px; background: linear-gradient(135deg, rgba(47, 123, 255, 0.16), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(140, 180, 255, 0.25); }
.aiv-chain__t { margin: 0 0 28px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; }
.aiv-chain ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .aiv-chain ol { grid-template-columns: repeat(4, 1fr); gap: 0; } .aiv-step { padding-right: 28px; } .aiv-step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 52px; right: 10px; height: 2px; background: linear-gradient(90deg, #5c97ff, rgba(92, 151, 255, 0.15)); } }
.aiv-step { position: relative; display: grid; gap: 6px; align-content: start; }
.aiv-step__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 0.85rem/1 var(--font-mono); color: #fff; background: #12305f; border: 1px solid #5c97ff; }
.aiv-step--fog .aiv-step__n { background: #e8eefb; color: #07152b; box-shadow: 0 0 22px rgba(232, 238, 251, 0.6); }
.aiv-step--siren .aiv-step__n { border-color: #ff4d45; }
.aiv-step b { color: #fff; font-size: 1.02rem; margin-top: 6px; }
.aiv-step span:last-child { color: #b5c1d4; font-size: 0.9rem; }
.aiv-chain__cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin: 30px 0 0; }
.aiv-chain__cta .more { color: #8cb4ff; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 640px) { .aiv { padding: 76px 0; } .aiv-chain { padding: 26px 20px; } .aiv-legend { display: none; } .aiv-alert { font-size: 0.7rem; padding: 6px 9px; right: 8px; bottom: 8px; } .aiv-hud { font-size: 0.6rem; } .aiv-tag { font-size: 0.6rem; } }
@media (prefers-reduced-motion: reduce) { .ajax-hub__ring, .ajax-node, .ajax-map__links line, .aiv-box, .aiv-alert, .dev--siren i { animation: none; } }
@media (min-width: 900px) { .aiv-funcs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .aiv-funcs { grid-template-columns: repeat(4, 1fr); } }
.aiv-field { margin-top: 70px; display: grid; gap: 28px; }
@media (min-width: 1000px) { .aiv-field { grid-template-columns: 0.8fr 2.2fr; align-items: center; } }
.aiv-field__head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; margin: 6px 0 10px; }
.aiv-field__head p { color: #b5c1d4; }
.aiv-field__grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.aiv-field figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(140, 180, 255, 0.2); background: #050c18; }
.aiv-field img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 798; object-fit: cover; }
.aiv-field figcaption { padding: 10px 12px; font-size: 0.8rem; color: #b5c1d4; }
@media (max-width: 760px) { .aiv-field__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; } .aiv-field figure { scroll-snap-align: start; } }
.aiv-techs { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aiv-techs li { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(140, 180, 255, 0.18); background: rgba(255, 255, 255, 0.03); }
.aiv-techs b { color: #fff; font-size: 0.9rem; }
.aiv-techs span { color: #9fb0c8; font-size: 0.78rem; }
.keypoints { margin: 0 0 34px; padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(47, 123, 255, 0.3); border-left: 4px solid var(--blue); background: rgba(47, 123, 255, 0.07); }
.keypoints__t { margin: 0 0 8px !important; font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: #1f5fe0 !important; }
.keypoints ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.keypoints li { font-size: 1rem; }
.keypoints__d { margin: 10px 0 0 !important; font-size: 0.8rem; }
:not(.light) > * > .keypoints .keypoints__t { color: #8cb4ff !important; }
.sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.86rem; }
.sources__t { margin: 0 0 6px; font-weight: 700; color: var(--text); }
.sources ul { margin: 0; padding-left: 1.1em; }

/* Accueil : formulaire de rappel express dans le hero */
.hero__form { position: relative; z-index: 2; margin-top: 8px; animation: rise 1s 0.3s var(--ease) both; }
.lead-form--quick { --text: #0a1730; --muted: #4c5a72; background: #fff; color: var(--text); border-radius: 22px; padding: 24px 24px 18px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.6); }
.lead-form--quick label { color: #23314a; font-size: 0.82rem; }
.lead-form--quick input[type="text"], .lead-form--quick input[type="tel"], .lead-form--quick select { background: #f5f7fb; color: var(--text); border: 1px solid rgba(9, 26, 56, 0.16); min-height: 46px; }
.lead-form--quick input:focus, .lead-form--quick select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.15); background: #fff; }
.lead-form--quick .check span, .lead-form--quick .form__msg { color: #4c5a72; font-size: 0.78rem; }
.lead-form--quick .check a, .quick__or a { color: #1f5fe0; }
.quick__badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 5px 10px; border-radius: 999px; background: rgba(60, 207, 142, 0.14); color: #127a4f; font-size: 0.75rem; font-weight: 700; }
.quick__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fae6c; box-shadow: 0 0 0 3px rgba(31, 174, 108, 0.25); }
.quick__t { margin: 0 0 4px; font-size: 1.55rem; color: var(--text); line-height: 1.1; }
.quick__sub { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.quick__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.quick__grid .field { margin: 0; }
.quick__grid .field:nth-child(5) { grid-column: 1 / -1; }
.lead-form--quick .check { margin: 14px 0 12px; }
.quick__trust { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: 0.76rem; color: #4c5a72; }
.quick__trust li::before { content: "✓ "; color: #1fae6c; font-weight: 800; }
.quick__or { margin: 8px 0 0; text-align: center; font-size: 0.82rem; color: #4c5a72; }
.quick__or a { font-weight: 800; }
@media (max-width: 1079px) { .hero__form { margin: 6px 0 28px; } .tpl-home .hero__cta .btn--ghost { display: none; } }
@media (max-width: 420px) { .lead-form--quick { padding: 20px 16px 14px; } .quick__grid { gap: 8px 10px; } .lead-form--quick input[type="text"], .lead-form--quick input[type="tel"], .lead-form--quick select { min-height: 44px; font-size: 16px; padding-left: 10px; padding-right: 10px; } }
@media (max-width: 339px) { .quick__grid { grid-template-columns: 1fr; } }
/* Confirmation après envoi */
.lead-form.is-done > :not(.form-done) { display: none !important; }
.form-done { text-align: center; padding: 18px 6px 6px; outline: none; animation: rise 0.6s var(--ease) both; }
.form-done__ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1fae6c; color: #fff; font-size: 1.7rem; font-weight: 800; box-shadow: 0 0 0 8px rgba(31, 174, 108, 0.18); }
.form-done__t { margin: 16px 0 4px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--text); }
.form-done__p { margin: 0 0 10px; color: var(--muted); }
.form-done__steps { text-align: left; margin: 0 auto 18px; max-width: 34ch; padding-left: 1.2em; display: grid; gap: 6px; color: var(--text); }
.form-done__act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }
.form-done .btn--ghost { color: #0a1730; background: #fff; border-color: rgba(9, 26, 56, 0.22); }
