/* ============================================================================
   SILEX MATERIEL : FEUILLE DU SITE VITRINE
   Le noir est le sujet, pas le fond : un studio photo, ou le materiel est la
   seule chose lumineuse de l'ecran. Un halo orange par section, jamais deux.

   Les jetons sont declares ICI et nulle part ailleurs : aucune couleur en dur
   dans les pages. L'en-tete partage (idmp_public_header.css) reste autonome,
   il est aussi charge par le catalogue qui ne lit pas cette feuille.

   Regles d'animation, non negociables :
   : transform, opacity, filter et clip-path seulement, jamais top/left/width ;
   : le contenu part VISIBLE, html.sx-anim (pose par silex_site.js) arme les
     etats caches, donc sans JavaScript tout reste lisible et indexable ;
   : prefers-reduced-motion neutralise tout, c'est une obligation.

   Paliers d'ecran : la grammaire du projet, aucune autre.
     telephone           (max-width: 768px)
     tablette debout     (min-width: 600px) and (max-width: 1024px) and (orientation: portrait)
     tablette couchee    (min-width: 769px) and (max-width: 1366px) and (orientation: landscape)
     bureau              (min-width: 1025px), (min-width: 769px) and (orientation: landscape)
   ========================================================================== */

:root {
  --sx-or:      #FF3019;
  --sx-or-h:    #D8280F;
  --sx-black:   #000000;
  --sx-deep:    #0B0B0D;
  --sx-surface: #0E1014;
  --sx-line:    rgba(255, 255, 255, .13);
  --sx-tx:      #FFFFFF;
  --sx-mu:      rgba(255, 255, 255, .62);
  --sx-mu2:     rgba(255, 255, 255, .55);
  --sx-halo:    rgba(255, 48, 25, .15);
  --sx-ease:    cubic-bezier(.16, 1, .3, 1);
  --iph-height: 80px;
}

/* ── Socle ───────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sx-black);
  color: var(--sx-tx);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sx-or); color: #fff; }
:focus-visible { outline: 2px solid var(--sx-or); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--sx-or);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Gabarit ─────────────────────────────────────────────────────────────── */
.sx-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.sx-sec {
  position: relative;
  padding: clamp(64px, 10vh, 140px) 0;
  overflow: clip;
}
.sx-sec-flush { padding: 0; }

/* ── Typographie ─────────────────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(38px, 6vw, 96px); letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.01em; }
p  { margin: 0; }

.sx-eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sx-or);
}
.sx-lead {
  max-width: 640px;
  margin-top: 22px;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--sx-mu);
}
.sx-head { position: relative; z-index: 1; max-width: 860px; }
.sx-head p { margin-top: 18px; color: var(--sx-mu); }

/* ── Halo orange : la signature ──────────────────────────────────────────
   Un seul par section. Il vit derriere le contenu, ne recoit aucun clic, et
   silex_site.js le translate a 12 pour cent de la vitesse du defilement. ── */
.sx-halo {
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 44% 56% at 50% 50%, var(--sx-halo), transparent 70%);
  will-change: transform;
}
.sx-halo-soft { --sx-halo: rgba(255, 48, 25, .09); }
.sx-halo-strong { --sx-halo: rgba(255, 48, 25, .18); }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .25s var(--sx-ease);
  will-change: transform;
}
.sx-btn i { font-size: 19px; }
.sx-btn-or { background: var(--sx-or); color: #fff; }
.sx-btn-or:hover { background: var(--sx-or-h); }
.sx-btn-ghost {
  background: transparent;
  color: var(--sx-tx);
  border: 1px solid rgba(255, 255, 255, .35);
}
.sx-btn-ghost:hover { border-color: #fff; }
.sx-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.sx-note {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--sx-mu2);
}

/* ── Badges de stores dans les pages ─────────────────────────────────────── */
.sx-stores {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.sx-stores .iph-store.is-primary { border-color: rgba(255, 255, 255, .7); }

/* ── Bandeau de reassurance : quatre piliers ─────────────────────────────── */
.sx-pillars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 2.4vh, 28px) 0;
  border-top: 1px solid var(--sx-line);
  border-bottom: 1px solid var(--sx-line);
}
.sx-pillar { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sx-pillar i { flex: 0 0 auto; font-size: 22px; color: var(--sx-or); }
.sx-pillar span { font-size: 13.5px; font-weight: 600; color: var(--sx-mu); }

/* ── Bandeau defilant ────────────────────────────────────────────────────── */
.sx-marquee {
  overflow: hidden;
  border-top: 1px solid var(--sx-line);
  border-bottom: 1px solid var(--sx-line);
  padding: 15px 0;
}
.sx-marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: sx-mq 30s linear infinite;
  will-change: transform;
}
.sx-marquee:hover .sx-marquee-track { animation-play-state: paused; }
.sx-marquee span {
  display: flex;
  align-items: center;
  gap: 52px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sx-mu2);
  white-space: nowrap;
}
.sx-marquee b {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sx-or);
  flex: 0 0 auto;
}
@keyframes sx-mq { to { transform: translateX(-50%); } }

/* ── Heros ───────────────────────────────────────────────────────────────── */
.sx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--iph-height) + 24px);
  overflow: clip;
}
.sx-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
}
.sx-hero-media { position: relative; }
.sx-hero-foot { position: relative; z-index: 1; margin-top: clamp(30px, 5vh, 56px); }

/* Heros interieurs de pages : plus courts, meme langage. */
.sx-hero-page {
  position: relative;
  padding: calc(var(--iph-height) + clamp(56px, 9vh, 110px)) 0 clamp(44px, 7vh, 90px);
  overflow: clip;
}

/* ── La gamme : section epinglee, defilement horizontal ──────────────────
   position sticky, jamais de confiscation du defilement : la hauteur du
   conteneur donne la course, silex_site.js traduit la progression en
   translateX. Sur telephone : defilement horizontal natif avec accroche. ── */
.sx-gamme { position: relative; }
.sx-gamme-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 4vh, 44px);
  overflow: hidden;
  padding: calc(var(--iph-height) + 10px) 0 24px;
}
.sx-gamme-track {
  display: flex;
  gap: clamp(18px, 2vw, 32px);
  padding: 0 clamp(20px, 4vw, 48px);
  will-change: transform;
}
.sx-mach {
  position: relative;
  flex: 0 0 clamp(300px, 34vw, 440px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid var(--sx-line);
  border-radius: 22px;
  background: var(--sx-surface);
  overflow: hidden;
  text-decoration: none;
}
.sx-mach-ton {
  position: absolute;
  top: 2px;
  right: 14px;
  z-index: 0;
  font-size: clamp(84px, 9vw, 140px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.sx-mach > * { position: relative; z-index: 1; }
.sx-mach .sx-ph { border-radius: 14px; }
.sx-mach h3 { display: flex; align-items: baseline; gap: 10px; }
.sx-mach h3 small { font-size: 13px; font-weight: 600; color: var(--sx-mu); letter-spacing: 0; }
.sx-mach ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.sx-mach li { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--sx-mu); }
.sx-mach li i { color: var(--sx-or); font-size: 15px; flex: 0 0 auto; }
.sx-mach-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sx-tx);
}
.sx-mach-link i { color: var(--sx-or); transition: transform .3s var(--sx-ease); }
.sx-mach:hover .sx-mach-link i { transform: translateX(5px); }

/* Le T18, produit d'appel : liseré et halo qui le distinguent du rang. */
.sx-mach.is-star { border-color: rgba(255, 48, 25, .55); }
.sx-mach.is-star::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 56% at 50% 8%, rgba(255, 48, 25, .12), transparent 70%);
}
.sx-mach-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sx-or);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Cartes a lisere anime (configuration, atouts) ───────────────────────
   Le trait orange parcourt le contour au survol : un degrade conique en
   rotation derriere un cache interieur, transform seulement. ─────────────── */
.sx-grid { position: relative; z-index: 1; display: grid; gap: clamp(14px, 1.6vw, 24px); }
.sx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sx-card {
  position: relative;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 20px;
  background: var(--sx-surface);
  border: 1px solid var(--sx-line);
  overflow: hidden;
}
.sx-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%; top: 50%;
  width: 320%;
  padding-top: 320%;
  margin-left: -160%;
  margin-top: -160%;
  border-radius: 50%;
  background: conic-gradient(transparent 0deg 300deg, var(--sx-or) 330deg, transparent 360deg);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity .3s ease;
  will-change: transform;
}
.sx-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: 19px;
  background: var(--sx-surface);
}
.sx-card:hover::before { opacity: 1; animation: sx-spin 1.6s linear infinite; }
@keyframes sx-spin { to { transform: rotate(360deg); } }
.sx-card > * { position: relative; z-index: 1; }
.sx-card i.sx-card-ic {
  display: inline-flex;
  font-size: 26px;
  color: var(--sx-or);
  margin-bottom: 14px;
}
.sx-card h3 { margin-bottom: 10px; }
.sx-card p { font-size: 14.5px; color: var(--sx-mu); }

/* ── Comparateur de flocage ──────────────────────────────────────────────── */
.sx-cmp {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--sx-line);
}
.sx-cmp .sx-ph { border: 0; border-radius: 0; }
.sx-cmp-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--sx-x, 50%)) 0 0);
}
.sx-cmp-bar {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--sx-x, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--sx-or);
  pointer-events: none;
}
.sx-cmp-bar::after {
  content: "\2194";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sx-or);
  color: #fff;
  font-size: 19px;
}
.sx-cmp-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.sx-cmp-tag {
  position: absolute;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  border: 1px solid var(--sx-line);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sx-mu);
  pointer-events: none;
}
.sx-cmp-tag.is-left { left: 14px; }
.sx-cmp-tag.is-right { right: 14px; color: var(--sx-or); border-color: rgba(255, 48, 25, .5); }

/* ── Section application : la maquette de telephone ──────────────────────── */
.sx-app-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.sx-phone-col { position: sticky; top: calc(var(--iph-height) + 30px); display: flex; justify-content: center; }
.sx-phone {
  position: relative;
  width: min(300px, 76vw);
  aspect-ratio: 1290 / 2796;   /* le ratio exact des captures fournies : zero rognage */
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--sx-deep);
  padding: 12px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.sx-phone::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 24px;
  border-radius: 0 0 16px 16px;
  background: #000;
  z-index: 3;
}
.sx-phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}
.sx-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.sx-shot.is-on { opacity: 1; }
/* aspect-ratio:auto INDISPENSABLE : le data-ratio de l'emplacement imposait
   encore sa forme a l'interieur du chassis, et cover rognait la capture de
   22 pour cent en hauteur (mesure). C'est l'ecran du telephone qui donne la
   forme ici, pas la figure. */
.sx-shot .sx-ph { position: absolute; inset: 0; border: 0; border-radius: 0; aspect-ratio: auto; }
.sx-steps { display: grid; gap: clamp(16px, 2.4vh, 26px); }
.sx-step {
  padding: 20px 22px;
  border-left: 2px solid var(--sx-line);
  transition: border-color .3s ease;
}
.sx-step.is-on { border-left-color: var(--sx-or); }
.sx-step h3 { margin-bottom: 8px; font-size: 18px; }
.sx-step p { font-size: 14.5px; color: var(--sx-mu); }

/* ── Chiffres ────────────────────────────────────────────────────────────── */
.sx-counts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.sx-count { border-top: 1px solid var(--sx-line); padding-top: 18px; }
.sx-count strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.sx-count strong b { color: var(--sx-or); font-weight: 800; }
.sx-count span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--sx-mu); }

/* ── Questions frequentes ────────────────────────────────────────────────── */
.sx-faq { position: relative; z-index: 1; display: grid; gap: 10px; max-width: 860px; }
.sx-faq-item { border: 1px solid var(--sx-line); border-radius: 16px; background: var(--sx-surface); }
.sx-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--sx-tx);
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.sx-faq-q i { color: var(--sx-or); font-size: 19px; transition: transform .3s var(--sx-ease); flex: 0 0 auto; }
.sx-faq-item.is-open .sx-faq-q i { transform: rotate(180deg); }
.sx-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--sx-ease);
}
.sx-faq-item.is-open .sx-faq-a { grid-template-rows: 1fr; }
.sx-faq-a > div {
  overflow: hidden;
  padding: 0 22px;
  font-size: 14.5px;
  color: var(--sx-mu);
}
.sx-faq-item.is-open .sx-faq-a > div { padding-bottom: 20px; }

/* ── Section vehicules : revelation par volet ────────────────────────────── */
.sx-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
}
.sx-split.is-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.sx-veh-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.sx-veh-type {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--sx-line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sx-mu);
}
.sx-veh-type i { color: var(--sx-or); font-size: 18px; }

/* ── Pied de page ────────────────────────────────────────────────────────── */
.sx-footer {
  border-top: 1px solid var(--sx-line);
  padding: clamp(44px, 7vh, 80px) 0 34px;
  background: var(--sx-deep);
}
.sx-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 48px);
}
.sx-footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sx-footer-brand img { width: 44px; height: 44px; }
.sx-footer-brand span { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.sx-footer-brand b { font-weight: 700; }
.sx-footer-slogan { margin-top: 16px; font-size: 13.5px; color: var(--sx-mu); max-width: 260px; }
.sx-footer h3 {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sx-mu2);
}
.sx-footer nav { display: grid; gap: 9px; }
.sx-footer nav a { font-size: 14px; color: var(--sx-mu); text-decoration: none; }
.sx-footer nav a:hover { color: var(--sx-tx); }
.sx-footer address { font-style: normal; font-size: 14px; color: var(--sx-mu); display: grid; gap: 9px; }
.sx-footer address a { text-decoration: none; }
.sx-footer .iph-store { min-height: 46px; padding: 6px 14px; }
.sx-footer-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-footer-bottom {
  margin-top: clamp(30px, 5vh, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--sx-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--sx-mu2);
}
.sx-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.sx-footer-bottom a { color: inherit; text-decoration: none; }
.sx-footer-bottom a:hover { color: var(--sx-tx); }
.sx-footer-entity { width: 100%; font-size: 11.5px; color: rgba(255, 255, 255, .38); }

/* ── Pages juridiques (servies par index.html sur leurs routes) ──────────── */
.sx-legal { max-width: 820px; margin: 0 auto; padding: calc(var(--iph-height) + 60px) 0 90px; }
.sx-legal h1 { font-size: clamp(30px, 4vw, 52px); }
.sx-legal-date { margin-top: 12px; color: var(--sx-mu2); font-size: 13.5px; }
.sx-legal article { margin-top: 40px; display: grid; gap: 28px; }
.sx-legal h2 { font-size: 20px; letter-spacing: -.01em; }
.sx-legal section p { margin-top: 10px; color: var(--sx-mu); font-size: 15px; }

/* ── Pages de paiement : autonomes, sans en-tete ni pied ─────────────────── */
.sx-pay {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: clip;
}
.sx-pay-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--sx-line);
  border-radius: 24px;
  background: var(--sx-surface);
  text-align: center;
}
.sx-pay-card img { height: 30px; width: auto; margin: 0 auto 22px; }
.sx-pay-ok {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 48, 25, .12);
  color: var(--sx-or);
  font-size: 30px;
}
.sx-pay-card h1 { font-size: clamp(24px, 3vw, 34px); }
.sx-pay-card > p { margin-top: 14px; color: var(--sx-mu); font-size: 14.5px; }
.sx-pay-actions { display: grid; gap: 12px; margin-top: 26px; }
.sx-pay-note { margin-top: 18px; font-size: 12px; color: var(--sx-mu2); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.sx-contact-meta { display: grid; gap: 12px; margin-top: 26px; }
.sx-contact-meta a, .sx-contact-meta span {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--sx-mu); text-decoration: none;
}
.sx-contact-meta i { color: var(--sx-or); font-size: 18px; }
.sx-agences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.sx-agence { padding: 20px 22px; border: 1px solid var(--sx-line); border-radius: 16px; background: var(--sx-surface); }
.sx-agence h3 { font-size: 17px; margin-bottom: 6px; }
.sx-agence p { font-size: 13.5px; color: var(--sx-mu); }

/* ── Fenetre de contact ──────────────────────────────────────────────────── */
.sx-modal { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sx-modal[hidden] { display: none; }
.sx-modal-back { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, .7); cursor: pointer; }
.sx-modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--sx-line);
  border-radius: 22px;
  background: var(--sx-surface);
}
.sx-modal-panel header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.sx-modal-panel h2 { font-size: 22px; }
.sx-modal-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--sx-line); border-radius: 50%;
  background: transparent; color: var(--sx-tx); font-size: 18px; cursor: pointer;
}
.sx-form { display: grid; gap: 14px; }
.sx-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sx-mu); }
.sx-form input, .sx-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sx-line);
  border-radius: 10px;
  background: var(--sx-deep);
  color: var(--sx-tx);
  font: inherit;
  font-size: 14.5px;
}
.sx-form input:focus, .sx-form textarea:focus { outline: 2px solid var(--sx-or); outline-offset: 0; border-color: transparent; }
.sx-form-err { color: var(--sx-or); font-size: 13px; }
.sx-form-status { font-size: 13px; color: var(--sx-mu); min-height: 18px; }

/* ── Couches d'ambiance : grain, halo curseur, voile de transition ───────── */
.sx-grain {
  position: fixed;
  inset: -60px;
  z-index: 2000;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  will-change: transform;
}
.sx-cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 1;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 48, 25, .07), transparent 62%);
  will-change: transform;
  opacity: 0;
  transition: opacity .4s ease;
}
.sx-cursor.is-on { opacity: 1; }
.sx-veil {
  position: fixed;
  inset: 0;
  z-index: 2200;
  pointer-events: none;
  background: linear-gradient(100deg, #000 82%, var(--sx-or) 96%, transparent 100%);
  transform: translateX(-104%);
}
.sx-veil.is-in { transition: transform .4s var(--sx-ease); transform: translateX(0); }
.sx-veil.is-out { transform: translateX(0); transition: transform .4s var(--sx-ease); transform: translateX(104%); }

/* ── Animations d'entree ─────────────────────────────────────────────────
   Tout part visible. html.sx-anim, pose par le script quand le mouvement est
   permis, arme les etats initiaux ; .is-in les libere. Une seule fois. ───── */
/* LE RIDEAU EST SUR L'ENFANT, JAMAIS SUR L'ELEMENT OBSERVE.
   Piege mesure au rendu : IntersectionObserver tient compte du clip-path
   applique a la cible. Un element qui se masque lui-meme rapporte donc
   ratio 0, l'observateur ne le voit jamais, et le rideau ne se leve jamais.
   Mesure sur le heros, page en haut, element a y=324 dans 900px de haut :
   avec le masque intersecte=false ratio=0, sans le masque intersecte=true
   ratio=1. Le blocage etait circulaire.
   On observe donc le conteneur, qui reste nu, et on clippe .sx-zoom.
   Le comparateur de flocage n'utilise PAS ce mecanisme : il porte deja son
   propre clip-path fonctionnel, un second l'ecraserait. Il passe en fondu. */
html.sx-anim [data-reveal] > .sx-zoom {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.15);
  transition: clip-path .9s var(--sx-ease), transform 1.2s var(--sx-ease);
}
html.sx-anim [data-reveal].is-in > .sx-zoom {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}
html.sx-anim [data-reveal-fade] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .8s var(--sx-ease);
}
html.sx-anim [data-reveal-fade].is-in { opacity: 1; transform: none; }
html.sx-anim .sx-line { display: block; overflow: hidden; }
html.sx-anim .sx-line span {
  display: block;
  transform: translateY(110%);
  transition: transform .8s var(--sx-ease);
}
html.sx-anim .is-in .sx-line span,
html.sx-anim .sx-line.is-in span { transform: none; }

/* ── Paliers ─────────────────────────────────────────────────────────────── */

/* Tablette couchee : les grands gabarits respirent moins large. */
@media (min-width: 769px) and (max-width: 1366px) and (orientation: landscape) {
  h1 { font-size: clamp(36px, 5.2vw, 72px); }
  .sx-hero-grid { gap: clamp(22px, 3vw, 44px); }
  .sx-mach { flex-basis: clamp(290px, 36vw, 400px); }
}

/* Tablette debout : une colonne pour les duos, deux pour les grilles. */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  .sx-hero { min-height: 72vh; }
  .sx-hero-grid, .sx-split, .sx-split.is-flip, .sx-app-grid { grid-template-columns: 1fr; }
  .sx-phone-col { position: static; order: -1; }
  .sx-grid-4, .sx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Telephone. */
@media (max-width: 768px) {
  .sx-hero { min-height: 92svh; }
  .sx-hero-grid, .sx-split, .sx-split.is-flip, .sx-app-grid { grid-template-columns: 1fr; }
  .sx-phone-col { position: static; order: -1; }
  .sx-grid-4, .sx-grid-3, .sx-grid-2 { grid-template-columns: 1fr; }
  .sx-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-footer-grid { grid-template-columns: 1fr; }
  .sx-agences { grid-template-columns: 1fr; }
  .sx-veh-types { grid-template-columns: 1fr; }

  /* La gamme quitte l'epingle : defilement horizontal natif, accroche douce.
     Aucun script ne pilote, c'est le doigt. */
  .sx-gamme { height: auto !important; }
  .sx-gamme-pin { position: static; min-height: 0; height: auto; padding-top: 0; }
  .sx-gamme-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    transform: none !important;
  }
  .sx-mach { flex-basis: 82vw; scroll-snap-align: center; }
  .sx-cmp-bar::after { width: 38px; height: 38px; }
}

/* ── Mouvement reduit : tout est neutralise, rien n'est perdu ────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sx-marquee-track { animation: none; }
  .sx-card:hover::before { animation: none; opacity: 0; }
  .sx-card:hover { border-color: rgba(255, 48, 25, .55); }
  .sx-grain, .sx-cursor, .sx-veil { display: none; }
  html.sx-anim [data-reveal],
  html.sx-anim [data-reveal-fade],
  html.sx-anim [data-reveal] .sx-zoom,
  html.sx-anim .sx-line span {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sx-gamme { height: auto !important; }
  .sx-gamme-pin { position: static; min-height: 0; }
  .sx-gamme-track { overflow-x: auto; transform: none !important; }
}
