/* =========================================================
   Page d'accueil
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 82%, rgba(62, 240, 161, 0.13), transparent 70%),
    radial-gradient(40% 35% at 78% 70%, rgba(47, 183, 255, 0.12), transparent 70%),
    radial-gradient(90% 70% at 50% 0%, #0d1117 0%, var(--bg) 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero__stage { position: absolute; inset: 0; z-index: 1; }
.hero__stage canvas {
  width: 100% !important; height: 100% !important;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero--3d .hero__stage canvas { opacity: 1; }

.hero__content {
  position: relative; z-index: 3;
  padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 88px));
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  will-change: transform, opacity;
}
.hero__title {
  font-size: clamp(2.75rem, 7.4vw, 7.25rem);
  max-width: 14ch;
  margin: 0 auto;
}
.hero__title .line {
  display: block; overflow: hidden;
  padding-bottom: 0.1em; margin-bottom: -0.1em;
}
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__lead { max-width: 560px; margin: 22px auto 0; }
.hero__actions { justify-content: center; margin-top: 30px; }
html.home-intro .hero__title .line > span { transform: translateY(110%); }
html.home-intro .hero__eyebrow,
html.home-intro .hero__lead,
html.home-intro .hero__actions,
html.home-intro .hero__scroll > * { opacity: 0; }

.hero__outro {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px);
  text-align: center; padding: 0 var(--gutter);
  opacity: 0; pointer-events: none;
}
.reduced-motion .hero__outro, .no-js .hero__outro { display: none; }

.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
  white-space: nowrap;
}
.hero__scroll i {
  display: block; width: 1px; height: 44px; position: relative; overflow: hidden;
  background: var(--line-strong);
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--accent); animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint { to { top: 110%; } }

/* Callouts 3D */
.hero__callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero--fallback .hero__callouts, .no-js .hero__callouts { display: none; }
.callout { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.callout__inner {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center;
  transform: translate(-5px, -50%);
}
.callout[data-side="left"] .callout__inner { flex-direction: row-reverse; transform: translate(calc(-100% + 5px), -50%); }
.callout__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(62, 240, 161, 0.18), 0 0 18px rgba(62, 240, 161, 0.8);
}
.callout__line { flex: none; width: clamp(28px, 4vw, 64px); height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.25)); }
.callout[data-side="left"] .callout__line { background: linear-gradient(270deg, var(--accent), rgba(255,255,255,0.25)); }
.callout__label {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 16px; border-radius: 14px; white-space: nowrap;
  background: rgba(10, 12, 16, 0.62);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.callout__label strong { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.callout__label span { font-size: 0.75rem; color: var(--text-dim); }

@media (max-width: 759px) {
  .callout__inner, .callout[data-side="left"] .callout__inner {
    flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 5px));
  }
  .callout__line, .callout[data-side="left"] .callout__line {
    width: 1px; height: 22px; background: linear-gradient(0deg, var(--accent), rgba(255,255,255,0.25));
  }
  .callout__label { transform: translateX(var(--shift, 0px)); padding: 7px 12px; border-radius: 11px; text-align: center; }
  .callout__label strong { font-size: 0.8125rem; }
  .callout__label span { font-size: 0.6875rem; }
}

/* Visuel de secours (sans WebGL / sans JS) */
.hero__fallback {
  display: none; position: absolute; z-index: 1; left: 0; right: 0; bottom: 9vh;
  flex-direction: column; align-items: center;
  perspective: 1200px;
}
.hero--fallback .hero__fallback, .no-js .hero__fallback { display: flex; }
.fb-pack {
  position: relative;
  width: min(440px, 76vw); aspect-ratio: 2.4 / 1;
  transform: rotateX(16deg) rotateY(-14deg);
  transform-style: preserve-3d;
  animation: fbFloat 6s ease-in-out infinite;
}
.fb-pack__lid {
  position: absolute; inset: 0 0 auto 0; height: 30%;
  border-radius: 26px 26px 6px 6px;
  background: linear-gradient(180deg, #3a3f48 0%, #1c2026 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.fb-pack__strip {
  position: absolute; left: -1px; right: -1px; top: 30%; height: 5px; border-radius: 3px;
  background: var(--accent-grad);
  box-shadow: 0 0 24px rgba(62, 240, 161, 0.9), 0 0 70px rgba(47, 183, 255, 0.5);
}
.fb-pack__body {
  position: absolute; inset: calc(30% + 5px) 0 0 0;
  border-radius: 6px 6px 26px 26px;
  background: linear-gradient(180deg, #2a2f37 0%, #121418 60%, #0b0c0f 100%);
  box-shadow: inset 0 -20px 40px rgba(0,0,0,0.5);
  display: flex; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 18px 28px;
}
.fb-pack__body span { width: 20px; height: 5px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.fb-pack__body span.is-dim { opacity: 0.2; box-shadow: none; }
.fb-shadow {
  width: min(520px, 86vw); height: 60px; margin-top: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(62,240,161,0.25), transparent);
  filter: blur(8px);
}
@keyframes fbFloat { 50% { translate: 0 -12px; } }

@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero__actions .btn { justify-content: center; }
  .hero__scroll { display: none; }
}

/* ---------- MANIFESTE ---------- */
.statement { overflow: hidden; }
.statement__orb { left: -20vw; top: 10%; }
.statement .container { position: relative; z-index: 1; }
.statement__text {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.08;
  max-width: 23ch;
}
.statement__text .w { display: inline-block; }
.statement__text .w--hl, .statement__text .hl {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.statement__text.is-split .hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; }

/* ---------- DEUX UNIVERS ---------- */
.duo { padding-top: 0; }
.duo__head { margin-bottom: clamp(48px, 7vw, 96px); }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 760px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color .5s;
}
.tile:hover { border-color: var(--line-strong); }
.tile--custom { background: radial-gradient(90% 60% at 50% 100%, rgba(47,183,255,0.12), transparent 70%), var(--bg-card); }
.tile--range { background: radial-gradient(90% 60% at 50% 100%, rgba(62,240,161,0.12), transparent 70%), var(--bg-card); }
.tile__text { padding: clamp(32px, 4vw, 56px); position: relative; z-index: 1; }
.tile__text .t-h2 { margin-bottom: 18px; }
.tile__text p { max-width: 440px; margin: 0 0 28px; }
.tile__text .btn-row { align-items: center; gap: 22px; }
.tile__visual { position: relative; padding: 0 clamp(16px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.tile__visual svg { width: 100%; height: auto; overflow: visible; }

/* Plan technique */
.blueprint::before {
  content: ""; position: absolute; inset: -40px 0 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47,183,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,183,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 55%, #000 30%, transparent 75%);
}
.bp-svg { position: relative; }
.bp-txt { font: 600 13px var(--font); fill: var(--text-dim); letter-spacing: 0.02em; }
.bp-txt--strong { font-size: 14px; }
.bp-svg .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.bp-svg .bp-cells, .bp-svg .bp-tag { opacity: 0; transition: opacity 1.2s var(--ease) .7s; }
.bp-svg .bp-tag { transition-delay: 1.3s; }
.is-in .bp-svg .draw { stroke-dashoffset: 0; }
.is-in .bp-svg .bp-cells, .is-in .bp-svg .bp-tag { opacity: 1; }
.no-js .bp-svg .draw { stroke-dashoffset: 0; }
.no-js .bp-svg .bp-cells, .no-js .bp-svg .bp-tag { opacity: 1; }

.bp-svg .bp-signal { opacity: 0; transition: opacity 1s var(--ease) 1.1s; }
.is-in .bp-svg .bp-signal, .no-js .bp-svg .bp-signal { opacity: 1; }

/* Gamme compatible : photos produits de la boutique */
.range-visual { display: flex; align-items: flex-end; min-height: 300px; }
.rg-stack {
  width: 100%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  align-items: end;
}
.rg-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: border-color .4s, transform .6s var(--ease);
  min-width: 0;
}
.rg-card--1 { transform: translateY(-28px); }
.rg-card:hover { border-color: rgba(62, 240, 161, 0.4); transform: translateY(-6px); }
.rg-card--1:hover { transform: translateY(-34px); }
.rg-card__img {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 8px;
  border-radius: 14px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 40%, rgba(62,240,161,0.12), transparent 70%), #0b0d11;
}
.rg-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.rg-card:hover .rg-card__img img { transform: scale(1.05); }
.rg-card__img.is-missing img { display: none; }
.rg-card__img.is-missing::after {
  content: ""; position: absolute; inset: 30%; border-radius: 10px;
  border: 1px solid var(--line-strong); box-shadow: inset 0 -6px 0 rgba(62,240,161,0.5);
}
.rg-card__name {
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; padding: 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rg-card__price { font-size: 0.8125rem; color: var(--accent); padding: 0 4px; font-weight: 500; }
@media (max-width: 520px) {
  .range-visual { min-height: 0; }
  .rg-stack { grid-template-columns: 1fr; gap: 10px; }
  .rg-card {
    display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto;
    column-gap: 14px; row-gap: 2px; align-items: center;
    padding: 8px 14px 8px 8px; border-radius: 16px;
  }
  .rg-card__img { grid-row: span 2; margin: 0; border-radius: 10px; }
  .rg-card__name { align-self: end; padding: 0; }
  .rg-card__price { align-self: start; padding: 0; }
  .rg-card--1, .rg-card--1:hover, .rg-card:hover { transform: none; }
}

@media (max-width: 900px) {
  .duo__grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}

/* ---------- DEUX SÉRIES ---------- */
.lines { padding-top: 0; }
.lines__head { margin-bottom: clamp(48px, 6vw, 80px); }
.lines__lead { max-width: 620px; margin: 22px auto 0; }
.lines__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.line-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 3.5vw, 48px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: radial-gradient(80% 50% at 50% 0%, rgba(62,240,161,0.10), transparent 70%), var(--bg-card);
  transition: border-color .5s;
}
.line-card--performance { background: radial-gradient(80% 50% at 50% 0%, rgba(47,183,255,0.14), transparent 70%), var(--bg-card); }
.line-card:hover { border-color: var(--line-strong); }
.line-card__visual { width: clamp(120px, 14vw, 170px); aspect-ratio: 1; margin-bottom: 28px; }
.line-card__visual svg { width: 100%; height: 100%; overflow: visible; }
.cs-wrap { fill: #0c0f14; stroke: var(--line-strong); stroke-width: 1.2; }
.cs-rim { fill: #151a21; stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.cs-cap { fill: none; stroke: rgba(62,240,161,0.6); stroke-width: 1.4; }
.cs-tab { fill: rgba(62,240,161,0.18); stroke: var(--accent); stroke-width: 1.2; }
.cs-core { fill: var(--accent); }
.line-card--standard .cs-wrap { filter: drop-shadow(0 0 22px rgba(62,240,161,0.18)); }
.line-card--performance .cs-wrap { filter: drop-shadow(0 0 26px rgba(47,183,255,0.28)); }
.line-card--performance .cs-core { fill: var(--accent-2); }
.cs-spiral { fill: none; stroke: var(--accent-2); stroke-width: 1.3; stroke-linecap: round; opacity: 0.85; }
.cs-spin { transform-origin: 60px 60px; }
.line-card--performance:hover .cs-spin { animation: csSpin 14s linear infinite; }
@keyframes csSpin { to { transform: rotate(360deg); } }
.line-card__name { margin: 10px 0 22px; }
.line-card__specs {
  display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px; margin: 0 0 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.line-card__specs > div { padding: 16px 8px; }
.line-card__specs > div + div { border-left: 1px solid var(--line); }
.line-card__specs dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.line-card__specs dd { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
.line-card p { margin: 0; max-width: 380px; }
.lines__common {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.lines__common li {
  display: flex; flex-direction: column; gap: 4px; text-align: center;
  padding: 22px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.lines__common strong { font-weight: 600; letter-spacing: -0.01em; }
.lines__common span { font-size: var(--fs-small); color: var(--text-dim); }
.lines__note { text-align: center; max-width: 640px; margin: 28px auto 0; }
.lines__note:empty { display: none; }
@media (max-width: 760px) {
  .lines__grid, .lines__common { grid-template-columns: 1fr; }
  .lines__common { gap: 10px; }
}

/* ---------- MÉTHODES D'ASSEMBLAGE ---------- */
.process { padding-top: 0; }
.process__panel {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 0% 0%, rgba(62,240,161,0.08), transparent 70%), var(--bg-card);
}
.process__head h2 { margin: 10px 0 14px; }
.process__summary { margin: 0; max-width: 420px; }
.process__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.process__item {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  transition: border-color .4s;
}
.process__item:hover { border-color: var(--line-strong); }
.process__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  color: var(--accent); background: rgba(62,240,161,0.08); border: 1px solid rgba(62,240,161,0.25);
}
.process__item:nth-child(2) .process__icon { color: var(--accent-2); background: rgba(47,183,255,0.08); border-color: rgba(47,183,255,0.28); }
.process__icon svg { width: 28px; height: 28px; }
.process__label { font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
@media (max-width: 1000px) {
  .process__panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .process__grid { grid-template-columns: 1fr; gap: 10px; }
  .process__item { flex-direction: row; align-items: center; padding: 16px; }
  .process__icon { flex: none; }
}

/* ---------- SÉCURITÉ ---------- */
.safety { position: relative; overflow: clip; }
.safety__orb { right: -18vw; top: 18%; opacity: .7; }
.safety .container { position: relative; z-index: 1; }
.safety__head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 88px); }
.safety__title { margin: 14px 0 0; max-width: 16ch; }
.safety__intro { margin: 24px 0 0; max-width: 62ch; }
.safety__body {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.safety__visual { position: sticky; top: calc(var(--nav-h) + 32px); }
.safety__stage {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 50% 55%, rgba(62,240,161,0.09), transparent 70%), var(--bg-card);
}
.sf-svg { display: block; width: 100%; height: auto; }
.sf-grid path { stroke: rgba(47,183,255,0.06); stroke-width: 1; }
.sf-cells circle { stroke: rgba(255,255,255,0.18); stroke-width: 1; }
.sf-cells .sf-cap { fill: rgba(255,255,255,0.05); stroke: rgba(255,255,255,0.22); }

/* Couches */
.sf-l { opacity: 1; transition: opacity .7s var(--ease), transform .9s var(--ease), filter .4s; transform-box: view-box; transform-origin: 50% 52%; }
.safety.is-animated .sf-l { opacity: 0; transform: scale(1.06); }
.safety.is-animated .sf-l.is-on { opacity: 1; transform: none; }
.safety.is-animated .sf-l--isolation, .safety.is-animated .sf-l--structure { transform: scale(0.96); }
.safety.is-animated .sf-l--isolation.is-on, .safety.is-animated .sf-l--structure.is-on { transform: none; }
.sf-l.is-focus { filter: drop-shadow(0 0 10px rgba(62,240,161,0.65)); }

.sf-ring { fill: none; stroke: var(--accent); stroke-width: 3.2; opacity: .9; }
.sf-sep path { stroke: rgba(62,240,161,0.55); stroke-width: 2.4; stroke-linecap: round; }
.sf-frame { fill: rgba(47,183,255,0.05); stroke: var(--accent-2); stroke-width: 2; }
.sf-socket { fill: none; stroke: rgba(47,183,255,0.4); stroke-width: 1.2; }
.sf-rib { stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; }
.sf-wire { fill: none; stroke-width: 4; stroke-linecap: round; }
.sf-wire--a { stroke: #ff5a5f; }
.sf-wire--b { stroke: #9aa3ad; }
.sf-grommet { fill: #1d2229; stroke: var(--accent); stroke-width: 1.6; }
.sf-grommet-rib { stroke: rgba(62,240,161,0.5); stroke-width: 1.2; }
.sf-case { stroke: rgba(255,255,255,0.32); stroke-width: 1.6; }
.sf-gaine { fill: rgba(62,240,161,0.035); stroke: url(#sfGrad); stroke-width: 3; }
.sf-gaine-in { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.sf-strap { fill: none; stroke: #2a3038; stroke-width: 9; stroke-linecap: round; }
.sf-strap-in { fill: none; stroke: rgba(62,240,161,0.65); stroke-width: 1.4; stroke-dasharray: 3 4; stroke-linecap: round; }
.sf-halo { fill: none; stroke: rgba(47,183,255,0.4); stroke-width: 1.5; stroke-dasharray: 4 6; }

.sf-caption {
  position: absolute; left: 20px; bottom: 16px; right: 20px; margin: 0;
  display: flex; align-items: baseline; gap: 6px;
  font-size: .8125rem; color: var(--text-faint); letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.sf-caption__n { color: var(--accent); font-weight: 700; }
.sf-caption__name { margin-left: 10px; color: var(--text-dim); font-weight: 500; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safety.is-static .sf-caption { display: none; }

/* Cartes */
.safety__layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sf-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  transition: border-color .5s, background .5s, box-shadow .5s;
}
.sf-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  color: var(--text-faint); background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong);
  transition: color .5s, background .5s, border-color .5s;
}
.sf-card__icon svg { width: 28px; height: 28px; }
.sf-card__n { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--text-faint); margin-bottom: 4px; transition: color .5s; }
.sf-card__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.sf-card__text { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--text-dim); }
.sf-card.is-on .sf-card__icon,
.safety.is-static .sf-card__icon { color: var(--accent); background: rgba(62,240,161,0.08); border-color: rgba(62,240,161,0.28); }
.sf-card.is-on .sf-card__n, .safety.is-static .sf-card__n { color: var(--accent); }
.sf-card.is-current {
  border-color: rgba(62,240,161,0.38);
  background: linear-gradient(90deg, rgba(62,240,161,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 0 40px rgba(62,240,161,0.06);
}
.sf-card:hover { border-color: var(--line-strong); }

/* Intégration + CTA */
.safety__foot {
  display: flex; align-items: center; gap: 20px 24px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 22px clamp(20px, 3vw, 32px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 0% 50%, rgba(47,183,255,0.08), transparent 70%), var(--bg-card);
}
.safety__foot-icon {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  color: var(--accent-2); background: rgba(47,183,255,0.08); border: 1px solid rgba(47,183,255,0.28);
}
.safety__foot-icon svg { width: 30px; height: 30px; }
.safety__integration { flex: 1 1 320px; margin: 0; font-weight: 500; line-height: 1.5; }
.safety__cta { flex: none; }

@media (max-width: 900px) {
  .safety__body { grid-template-columns: 1fr; }
  .safety__visual { position: relative; top: 0; max-width: 560px; width: 100%; margin: 0 auto; }
  .safety__layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-card { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .safety__layers { grid-template-columns: 1fr; gap: 10px; }
  .sf-card { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
  .sf-card__icon { width: 42px; height: 42px; }
  .safety__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .safety__integration { flex: none; }
  .safety__cta { width: 100%; justify-content: center; }
}

/* ---------- CATÉGORIES ---------- */
.cats { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.cats__inner { display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 5vh, 64px); }
.cats.is-pinned { height: 100vh; padding: 0; }
.cats.is-pinned .cats__inner { height: 100%; padding-top: var(--nav-h); }
.cats__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cats__lead { max-width: 420px; margin: 0; }
.cats__title { font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.cats.is-pinned .cat { min-height: min(470px, 52vh); }
.cats.is-pinned .cat__visual { min-height: 0; }
@media (max-height: 760px) { .cats.is-pinned .cats__lead { display: none; } }
.cats__viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.cats__viewport::-webkit-scrollbar { display: none; }
.cats.is-pinned .cats__viewport { overflow: visible; scroll-snap-type: none; }
.cats__track {
  display: flex; gap: 20px; width: max-content;
  padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  will-change: transform;
}
.cat {
  position: relative; flex: none;
  width: clamp(280px, 27vw, 380px);
  min-height: clamp(400px, 52vh, 500px);
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #13171d 0%, var(--bg-card) 100%);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .4s, transform .6s var(--ease);
}
.cat:hover { border-color: rgba(62, 240, 161, 0.4); transform: translateY(-6px); }
.cat__visual {
  position: relative; height: 52%; min-height: 200px;
  display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 60%, rgba(62,240,161,0.12), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.cat:nth-child(even) .cat__visual { background: radial-gradient(60% 60% at 50% 60%, rgba(47,183,255,0.14), transparent 70%); }
.cat__num { position: absolute; top: 20px; left: 24px; font-size: 0.8125rem; font-weight: 600; color: var(--text-faint); letter-spacing: 0.1em; }
.cat__icon {
  width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%;
  color: var(--accent);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 40px rgba(62,240,161,0.08);
  transition: transform .8s var(--ease), box-shadow .5s;
}
.cat:nth-child(even) .cat__icon { color: var(--accent-2); box-shadow: inset 0 0 40px rgba(47,183,255,0.1); }
.cat__icon svg { width: 60px; height: 60px; }
.cat:hover .cat__icon { transform: scale(1.08); box-shadow: inset 0 0 40px rgba(62,240,161,0.18), 0 0 60px rgba(62,240,161,0.15); }
.cat__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat__body p { margin: 0; color: var(--text-dim); font-size: 0.9375rem; flex: 1; }
.cat__body .btn-link { margin-top: 8px; }
.cat--all { justify-content: flex-end; background: radial-gradient(80% 60% at 50% 20%, rgba(62,240,161,0.16), transparent 70%), var(--bg-card); }
.cat--all .cat__body { justify-content: flex-end; flex: 0; padding: 32px; }
.cat--all .cat__body p { flex: 0; margin-bottom: 16px; }
.cat--all .btn { align-self: flex-start; }
.cats__progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.cats__progress span { display: block; height: 100%; background: var(--accent-grad); transform-origin: left; transform: scaleX(0.04); }

@media (max-width: 760px) {
  .cat { width: 82vw; min-height: 420px; }
  .cats__head { align-items: flex-start; }
}

/* ---------- CHIFFRES ---------- */
.figures__head { margin-bottom: clamp(48px, 7vw, 96px); }
.figures__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fig {
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  display: flex; flex-direction: column; gap: 10px;
}
.fig__value {
  display: flex; align-items: baseline; gap: 6px;
  font-size: clamp(3rem, 4.8vw, 5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
}
.fig__num {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #8a8f98 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fig__unit { font-size: 0.42em; letter-spacing: -0.02em; color: var(--accent); font-weight: 700; }
.fig__sep {
  font-size: 0.6em; font-weight: 700; color: var(--text-faint); letter-spacing: 0; margin: 0 2px;
}
.figures__foot { margin: 28px 0 0; color: var(--text-faint); }
.fig__title { font-size: 1.125rem; letter-spacing: -0.01em; margin-top: 6px; }
.fig p { margin: 0; flex: 1; }
.fig__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 18px; }
.fig__bar span { display: block; height: 100%; background: var(--accent-grad); transform-origin: left; transform: scaleX(1); }
@media (max-width: 1024px) { .figures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .figures__grid { grid-template-columns: 1fr; } }

/* ---------- CTA FINAL ---------- */
.cta-final { padding-top: 0; }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(64px, 10vw, 140px) clamp(24px, 6vw, 96px);
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0f1318 0%, #07090b 100%);
}
.cta-band__glow {
  position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 120%; aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(62,240,161,0.35), rgba(47,183,255,0.15) 55%, transparent);
  filter: blur(40px);
}
.cta-band .t-lead { max-width: 640px; margin: 26px auto 36px; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 520px) {
  .cta-band .btn-row { flex-direction: column; align-items: stretch; }
  .cta-band .btn { justify-content: center; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .fb-pack, .hero__scroll i::after, .line-card--performance:hover .cs-spin { animation: none; }
  .rg-card, .rg-card__img img { transition: none; }
  .sf-l, .sf-card, .sf-card__icon, .sf-card__n { transition: none; }
  .hero__scroll { display: none; }
}
