/* ASL-Zen — site de l'éditeur et page produit ASL-DSI.
   Jetons de design : les sections .dark et .light redéfinissent les mêmes variables,
   les composants n'utilisent que ces variables. Contrastes vérifiés (voir README). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs de marque */
  --navy: #081427;
  --navy-panel: #0B1628;
  --navy-line: #1C2B44;
  --white: #FFFFFF;
  --mist: #F5F7FB;
  --slate: #94A3B8;
  --slate-dark: #475569;
  --turquoise: #2DD4BF;
  --turquoise-dark: #0F766E;
  --cyan: #38C8F4;
  --electric: #1677FF;
  --blue-link: #0F57D6;
  --btn-from: #1769EE;
  --btn-to: #0F57D6;

  /* Mise en page */
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --section: clamp(72px, 9vw, 120px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --title-weight: 650;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Ambiances : chaque section choisit la sienne. */
.dark {
  --bg: var(--navy);
  --panel: var(--navy-panel);
  --line: var(--navy-line);
  --fg: var(--white);
  --fg2: var(--slate);
  --accent: var(--turquoise);
  --link: var(--cyan);
  --chip: rgba(56, 200, 244, .1);
  background: var(--bg);
  color: var(--fg);
}
.light {
  --bg: var(--white);
  --panel: var(--mist);
  --line: #DCE3EE;
  --fg: #0B1628;
  --fg2: var(--slate-dark);
  --accent: var(--turquoise-dark);
  --link: var(--blue-link);
  --chip: #E8F0FE;
  background: var(--bg);
  color: var(--fg);
}
.light.mist { --bg: var(--mist); --panel: var(--white); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--title-weight); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--blue-link); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--white); color: #0B1628; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- Typographie de section ---------- */
.eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(30px, 4.2vw, 48px); }
.head p { margin-top: 18px; font-size: 19px; color: var(--fg2); }
.grad {
  background: linear-gradient(90deg, var(--electric), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.light .grad { background: none; color: var(--fg); }
.muted { color: var(--fg2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  box-shadow: 0 8px 24px -10px rgba(23, 105, 238, .8);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(23, 105, 238, .9); text-decoration: none; }
.btn-secondary { color: var(--fg); border-color: var(--line); background: transparent; }
.btn-secondary:hover { border-color: var(--fg2); text-decoration: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 20, 39, .92);
  border-bottom: 1px solid var(--navy-line);
}
@supports (backdrop-filter: blur(8px)) { .nav { background: rgba(8, 20, 39, .82); backdrop-filter: blur(8px); } }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
/* Les noms de la gamme sont à la même échelle : à hauteur égale, « ASL- » est identique. */
.brand-name { width: auto; height: 20px; }
.nav-inner > nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav-links a:not(.btn) {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--slate); font-size: 15px; font-weight: 500; text-decoration: none;
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--white); }
.nav-links .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; margin-left: 8px; }
/* Sous-menu « Nos produits » : survol à la souris, bouton pour le clavier et le tactile. */
.has-sub { position: relative; }
.sub-head { display: flex; align-items: center; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 36px; margin-left: -8px; border: 0; border-radius: 6px;
  background: none; color: var(--slate); cursor: pointer;
}
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
.submenu {
  display: none; position: absolute; top: calc(100% + 10px); left: -8px; width: 330px;
  list-style: none; padding: 8px; border-radius: 14px;
  border: 1px solid var(--navy-line); background: var(--navy-panel);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7);
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub.open .submenu { display: grid; gap: 4px; }
@media (hover: hover) and (min-width: 961px) { .has-sub:hover .submenu { display: grid; gap: 4px; } }
.nav-links .submenu a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px;
  padding: 12px; border-radius: 10px; border: 0; color: var(--slate); font-size: 14px;
}
.nav-links .submenu a:hover, .nav-links .submenu a[aria-current] { background: rgba(22, 119, 255, .12); color: var(--white); }
.submenu img { width: auto; height: 15px; }
.submenu span { grid-column: 1; }
.submenu .tag { grid-column: 2; grid-row: 1; font-style: normal; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--white); background: transparent; border: 1px solid var(--navy-line); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav.open .nav-toggle .i-open { display: none; }
.nav.open .nav-toggle .i-close { display: block; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--navy); border-bottom: 1px solid var(--navy-line);
  }
  .js .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--navy-line); border-radius: 0; }
  .nav-links .btn { margin: 16px 0 0; }
  .sub-toggle { display: none; }
  .sub-head > a { flex: 1; }
  .submenu, .has-sub.open .submenu { display: grid; gap: 0; position: static; width: auto; padding: 4px 0 8px 12px; border: 0; background: none; box-shadow: none; }
  .submenu::before { display: none; }
  .nav-links .submenu a { padding: 10px 4px; border-bottom: 1px solid var(--navy-line); border-radius: 0; }
  html:not(.js) .nav-inner { flex-wrap: wrap; padding: 12px 0; }
  html:not(.js) .nav-links { flex-wrap: wrap; margin-left: 0; }
}

/* ---------- Premier écran ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 var(--section); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 40%, rgba(22, 119, 255, .22), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero .product-title { font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -0.035em; line-height: 1.04; }
.hero .product-title span { display: block; }
.hero .lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 20px); color: var(--fg2); max-width: 580px; }
.hero .signature { margin-top: 18px; font-size: 15px; color: var(--fg2); }
.hero .signature b { color: var(--fg); font-weight: 600; }
.hero .btns { margin-top: 32px; }
.markers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 36px; list-style: none; max-width: 560px; }
.markers li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.markers .icon { color: var(--accent); }

/* ---------- Illustration du produit (maquette HTML) ---------- */
.shot { position: relative; }
.shot-frame {
  border: 1px solid var(--navy-line); border-radius: 16px; overflow: hidden;
  background: #0A1424; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
  font-size: 12px; line-height: 1.4; color: #CBD5E1;
}
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0D192D; border-bottom: 1px solid var(--navy-line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #23324B; }
.shot-bar span { margin-left: 10px; color: var(--slate); }
.shot-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 340px; }
.shot-side { padding: 14px 10px; border-right: 1px solid var(--navy-line); background: #0B1628; }
.shot-side .who { display: flex; align-items: center; gap: 8px; padding: 0 6px 12px; color: var(--white); font-weight: 600; }
.shot-side .who img { width: 18px; height: auto; }
.shot-side ul { list-style: none; display: grid; gap: 2px; }
.shot-side li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: var(--slate); }
.shot-side li .icon { width: 14px; height: 14px; }
.shot-side li.on { background: rgba(22, 119, 255, .16); color: var(--white); }
.shot-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.shot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.shot-top b { color: var(--white); font-size: 14px; font-weight: 600; }
.shot-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--navy-line); color: var(--slate); }
.shot-pill .icon { width: 12px; height: 12px; color: var(--turquoise); }
.shot-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpi { padding: 10px; border-radius: 8px; background: #0D192D; border: 1px solid var(--navy-line); }
.kpi small { display: block; color: var(--slate); font-size: 12px; }
.kpi b { display: block; margin-top: 2px; color: var(--white); font-size: 20px; font-weight: 650; }
.kpi.warn b { color: #FBBF24; }
.shot-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; }
.panel { padding: 10px 12px; border-radius: 8px; background: #0D192D; border: 1px solid var(--navy-line); }
.panel h4 { margin-bottom: 8px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.rows { list-style: none; display: grid; gap: 6px; }
.rows li { display: flex; justify-content: space-between; gap: 8px; }
.rows li span:last-child { color: var(--slate); white-space: nowrap; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--turquoise); vertical-align: 1px; }
.dot.amber { background: #FBBF24; }
.dot.blue { background: var(--electric); }
.bars { display: grid; gap: 7px; }
.bars div { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; }
.bars i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--electric), var(--cyan)); }
.bars .w90 { width: 90%; } .bars .w60 { width: 60%; } .bars .w35 { width: 35%; }
.caption { margin-top: 12px; font-size: 13px; color: var(--fg2); text-align: center; }
.light .caption { color: var(--fg2); }

/* ---------- Constat ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.col { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.col h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 20px; }
.col ul { list-style: none; display: grid; gap: 14px; }
.col li { display: flex; gap: 12px; align-items: flex-start; }
.col li .icon { margin-top: 3px; color: var(--fg2); }
.col.after { border-color: rgba(15, 87, 214, .35); background: linear-gradient(180deg, #F2F7FF, #FFFFFF); }
.col.after li .icon { color: var(--accent); }
.tag {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: var(--chip); color: var(--link);
}
.tag.ok { background: rgba(45, 212, 191, .12); color: var(--accent); }
.tag.later { background: transparent; border: 1px solid var(--line); color: var(--fg2); }

/* ---------- Modules ASL-DSI ---------- */
.product-id { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.product-id .product-name { width: auto; height: 22px; }
.hero-id { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.product-id.hero-id .product-tag { padding-left: 0; border-left: 0; font-size: 16px; }
.hero-id .product-name { height: clamp(28px, 2.6vw, 36px); }
.product-id .product-tag { font-size: 14px; color: var(--fg2); padding-left: 14px; border-left: 1px solid var(--line); }
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.domain { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.domain-ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--chip); color: var(--link); margin-bottom: 18px; }
.domain h3 { font-size: 20px; margin-bottom: 16px; }
.domain ul { list-style: none; display: grid; gap: 10px; }
.domain li { display: flex; gap: 10px; color: var(--fg2); font-size: 16px; }
.domain li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.domain li b { color: var(--fg); font-weight: 600; }
.after-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.inline-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; color: var(--fg2); font-size: 15px; }
.inline-facts li { display: flex; align-items: center; gap: 8px; }
.inline-facts .icon { color: var(--accent); width: 18px; height: 18px; }
.product-shot { margin-top: 56px; }

/* ---------- Plusieurs collectivités ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.features { list-style: none; display: grid; gap: 22px; }
.features li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.features h3 { font-size: 18px; margin-bottom: 4px; }
.features p { color: var(--fg2); font-size: 16px; }
.features .domain-ico { margin: 0; }
.tenants { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.tenants-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); font-weight: 600; font-size: 15px; }
.tenants-top .icon { color: var(--cyan); }
.tenants-top small { margin-left: auto; color: var(--slate); font-weight: 500; font-size: 13px; }
.tenants-link { width: 2px; height: 22px; margin: 0 auto; background: var(--line); }
.tenants-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tenant { padding: 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); text-align: center; }
.tenant b { display: block; font-size: 14px; font-weight: 600; }
.tenant span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--fg2); }
.tenant .icon { width: 15px; height: 15px; color: var(--accent); }

/* ---------- Sur mesure ---------- */
.foundation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 64px; }
.foundation .head { margin-bottom: 0; }
.foundation p + p { margin-top: 16px; }
.foundation .muted { font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; }
.why-fx { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.why-fx .wrap { position: relative; }
/* Logo ASL-Zen : A, S et L arrivent avec leur mot, puis Zen et sa promesse. Joué une fois au chargement. */
.logo-anim { margin-bottom: 26px; }
.la-logo { display: block; width: min(380px, 84vw); height: auto; margin: 0 auto; overflow: visible; }
.la-part { animation: la-in .8s var(--ease) backwards; }
.la-a { animation-delay: .2s; }
.la-s { animation-delay: .9s; }
.la-l { animation-delay: 1.6s; }
.la-h { animation: la-fade .4s ease 2.3s backwards; }
.la-z { animation: la-zen 1s var(--ease) 2.5s backwards; }
@keyframes la-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes la-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes la-zen {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: none; }
}
.la-line {
  display: block; width: min(380px, 84vw); height: 2px; margin: 12px auto 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--electric), var(--cyan), var(--turquoise));
  transform-origin: left; animation: la-draw 1s var(--ease) 2.9s backwards;
}
@keyframes la-draw { from { transform: scaleX(0); } to { transform: none; } }
.la-words { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.la-words b { font-weight: 700; color: var(--cyan); }
.la-w1, .la-w2, .la-w3 { animation: la-fade .6s ease backwards; }
.la-w1 { animation-delay: .35s; }
.la-w2 { animation-delay: 1.05s; }
.la-w3 { animation-delay: 1.75s; }
.la-zen { margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--white); animation: la-in .8s var(--ease) 3.2s backwards; }
.la-zen b { font-weight: 700; color: var(--cyan); }
@media (prefers-reduced-motion: reduce) {
  .logo-anim * { animation: none !important; }
}

.brand-head { max-width: 860px; margin: 0 auto; text-align: center; }
.brand-why { margin-top: 20px; }
.brand-head h1 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -0.035em; line-height: 1.05; }
.brand-head .lead { max-width: 640px; margin: 18px auto 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--fg2); }
.brand-head .btns { justify-content: center; margin-top: 26px; }
.why-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.why-row + .why-row { margin-top: clamp(56px, 7vw, 88px); }
.why-visual { width: 100%; height: auto; overflow: visible; }
.why-visual-zen { max-height: 340px; }
.why-row h2 { display: grid; gap: 4px; margin-bottom: 16px; }
.why-row h2 b { font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.why-row h2 b.zen { color: var(--cyan); }
.why-row h2 span { font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.why-row p { font-size: 18px; color: var(--fg2); }
.why-sign { margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--line); text-align: center; font-size: clamp(22px, 2.4vw, 30px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }

/* Visuel ASL : le socle, puis les composants, puis le sur-mesure viennent s'y poser. */
.fx-label { font-size: 20px; font-weight: 600; fill: #E2E8F0; }
.fx-line { fill: none; stroke: #33507D; stroke-width: 1.5; }
.fx-tile, .fx-top, .fx-mid-label, .fx-top-label { animation: fx-drop 9s var(--ease) infinite both; }
.fx-t2 { animation-delay: .15s; }
.fx-t3 { animation-delay: .3s; }
.fx-t4 { animation-delay: .45s; }
.fx-mid-label { animation-delay: .45s; }
.fx-top, .fx-top-label { animation-name: fx-drop-late; }
@keyframes fx-drop {
  0% { opacity: 0; transform: translateY(-26px); }
  12%, 90% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes fx-drop-late {
  0%, 18% { opacity: 0; transform: translateY(-30px); }
  32%, 90% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}

/* Visuel Zen : des outils dispersés rejoignent un cercle calme, des ondes s'éloignent. */
.fx-ripple { fill: none; stroke: #38C8F4; stroke-width: 1.5; transform-box: view-box; transform-origin: 120px 100px; animation: fx-ripple 6s ease-out infinite both; }
.fx-r2 { animation-delay: 2s; }
.fx-r3 { animation-delay: 4s; }
@keyframes fx-ripple {
  0% { opacity: 0; transform: scale(.3); }
  20% { opacity: .55; }
  100% { opacity: 0; transform: scale(1); }
}
.fx-orbit { fill: none; stroke: #1C3A63; stroke-width: 1.5; }
.fx-ring { transform-box: view-box; transform-origin: 120px 100px; animation: fx-turn 36s linear infinite; }
@keyframes fx-turn { to { transform: rotate(360deg); } }
.fx-dot { fill: #38C8F4; animation: fx-gather 9s var(--ease) infinite both; }
.fx-d1 { --x: -58px; --y: -27px; animation-delay: 0.00s; }
.fx-d2 { --x: 40px; --y: -46px; animation-delay: 0.08s; }
.fx-d3 { --x: 47px; --y: -18px; animation-delay: 0.16s; }
.fx-d4 { --x: 58px; --y: 44px; animation-delay: 0.24s; }
.fx-d5 { --x: -22px; --y: 27px; animation-delay: 0.32s; }
.fx-d6 { --x: -66px; --y: 30px; animation-delay: 0.40s; }
.fx-d7 { --x: -47px; --y: -14px; animation-delay: 0.48s; }
.fx-d8 { --x: 20px; --y: 8px; animation-delay: 0.56s; }
@keyframes fx-gather {
  0% { opacity: 0; fill: #94A3B8; transform: translate(var(--x), var(--y)); }
  8% { opacity: 1; fill: #94A3B8; transform: translate(var(--x), var(--y)); }
  34%, 90% { opacity: 1; fill: #38C8F4; transform: none; }
  98%, 100% { opacity: 0; fill: #38C8F4; transform: none; }
}
.fx-orb { transform-box: view-box; transform-origin: 120px 100px; animation: fx-breathe 6s ease-in-out infinite; }
@keyframes fx-breathe { 50% { transform: scale(1.1); } }
.fx-check { fill: none; stroke: #081427; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  .why-visual * { animation: none !important; }
  .fx-ripple { opacity: .25; }
  .fx-r1 { transform: scale(.75); }
  .fx-r2 { transform: scale(.88); }
}
@media (max-width: 860px) {
  .why-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .why-row-zen .why-visual { order: -1; }
  .why-visual { max-height: 240px; }
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--fg2); }
.callout {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start;
  margin-top: 40px; padding: 28px; border-radius: var(--radius);
  border: 1px solid rgba(45, 212, 191, .35); background: rgba(45, 212, 191, .06);
}
.callout .domain-ico { margin: 0; width: 52px; height: 52px; background: rgba(45, 212, 191, .12); color: var(--accent); }
.callout b { display: block; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.callout p { color: var(--fg2); }
.eco { margin-top: 64px; }
.eco h3 { font-size: 22px; margin-bottom: 8px; }
.eco > p { color: var(--fg2); margin-bottom: 28px; }
.eco-map { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; }
.eco-node { height: 100%; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.eco-node b { display: block; font-size: 17px; font-weight: 650; margin: 12px 0 6px; }
.eco-node p { font-size: 15px; color: var(--fg2); }
.eco-node.current { border-color: rgba(56, 200, 244, .45); }
.eco-node.future { border-style: dashed; }
.eco-arrow { justify-self: center; color: var(--fg2); }

/* ---------- Sécurité et hébergement ---------- */
.hosting { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin-bottom: 48px; }
.hosting li { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: 16px; }
.hosting .icon { color: var(--accent); }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.sec-grid li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.sec-grid .domain-ico { margin-bottom: 14px; }
.sec-grid h3 { font-size: 17px; margin-bottom: 6px; }
.sec-grid p { font-size: 15px; color: var(--fg2); }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); color: var(--fg2); font-size: 15px; }
.notice .icon { margin-top: 2px; color: var(--link); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-grid .head { margin-bottom: 0; }
.contact-points { list-style: none; display: grid; gap: 14px; margin-top: 32px; }
.contact-points li { display: flex; gap: 12px; color: var(--fg2); }
.contact-points .icon { color: var(--accent); margin-top: 3px; }
.form { padding: 32px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.form-hint { margin-bottom: 16px; font-size: 15px; color: var(--fg2); }
.form-off { display: flex; gap: 12px; margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .08); color: #FDE68A; font-size: 15px; }
.form-off .icon { color: #FBBF24; margin-top: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field label .req { color: var(--fg2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid #2A3B57; background: var(--navy); color: var(--white);
  font: inherit; font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.field [aria-invalid="true"] { border-color: #F87171; }
.field .error { min-height: 0; font-size: 14px; color: #FCA5A5; }
.field .error:empty { display: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-status { font-size: 15px; color: var(--fg2); }
.form-status.error { color: #FCA5A5; }
.form-status.success { color: var(--turquoise); }
.privacy { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg2); }
.privacy p + p { margin-top: 8px; }

/* Bandeau IA : la phrase, puis des ondes lumineuses qui glissent sans fin. */
.ai-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-panel), var(--navy)); }
.ai-inner { position: relative; z-index: 1; padding-top: clamp(32px, 4vw, 48px); text-align: center; }
.ai-claim { max-width: 860px; margin: 0 auto; font-size: clamp(21px, 2.3vw, 30px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.ai-note { margin-top: 10px; font-size: 15px; color: var(--fg2); }
.ai-waves {
  display: block; width: 100%; height: 72px; margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.ai-wave path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ai-wave .ai-glow { stroke-width: 7; opacity: .16; }
.ai-w1 { stroke: #1677FF; animation: ai-flow 14s linear infinite; }
.ai-w2 { stroke: #38C8F4; animation: ai-flow 10s linear infinite reverse; }
.ai-w3 { stroke: #2DD4BF; animation: ai-flow 7s linear infinite; }
@keyframes ai-flow { to { transform: translateX(-600px); } }
@media (prefers-reduced-motion: reduce) {
  .ai-band * { animation: none !important; }
}

/* ---------- Questions fréquentes ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-wrap .head { margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px;
  border-right: 2px solid var(--fg2); border-bottom: 2px solid var(--fg2); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq summary:focus-visible { border-radius: var(--radius-sm); }
.faq details p { padding: 0 20px 18px; color: var(--fg2); }

/* ---------- Pied de page ---------- */
.foot { padding: 64px 0 32px; border-top: 1px solid var(--navy-line); background: var(--navy); color: var(--white); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot .brand-name { height: 22px; }
.foot-sign { margin-top: 16px; color: var(--slate); font-size: 15px; max-width: 360px; }
.foot h2 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--white); text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-line); color: var(--slate); font-size: 14px; }

/* ---------- Pages secondaires (produit, légal, 404) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; }
.page-hero .lead { margin-top: 20px; font-size: 19px; color: var(--fg2); max-width: 720px; }
.page-hero .btns { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; list-style: none; margin-bottom: 24px; font-size: 14px; color: var(--fg2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--fg2); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fg2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 10px; }
.facts { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--fg2); }
.todo { padding: 1px 6px; border-radius: 4px; background: #FEF3C7; color: #78350F; font-weight: 600; font-size: .92em; }
.module-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.module-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); }
.module-list .domain-ico { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.module-list b { display: block; font-weight: 600; }
.module-list span { display: block; font-size: 15px; color: var(--fg2); }
.block + .block { margin-top: 56px; }
.block > h3 { font-size: 22px; margin-bottom: 20px; }
.cta-band { padding: 40px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin-top: 8px; color: var(--fg2); }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.center-page .btns { justify-content: center; margin-top: 28px; }
.center-page h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; }
.center-page .lead { margin-top: 16px; font-size: 19px; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.product-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 20px; border: 1px solid var(--line); }
.product-card.future { border-style: dashed; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-top img { width: auto; height: 25px; }
.product-sub { font-size: 18px; font-weight: 600; }
.product-card p:not(.product-sub) { color: var(--fg2); }
.product-card .btns { margin-top: auto; padding-top: 8px; }


/* ---------- Apparitions discrètes ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hosting { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .split, .foundation, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { gap: 32px; }
  .domains, .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .eco-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .eco-arrow { transform: rotate(90deg); margin: 8px 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .compare, .fields, .module-list, .products { grid-template-columns: minmax(0, 1fr); }
  .product-card { padding: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hosting { grid-template-columns: minmax(0, 1fr); }
  .markers { grid-template-columns: minmax(0, 1fr); }
  .col, .domain, .form, .tenants, .callout, .cta-band { padding: 22px; }
  .callout { grid-template-columns: minmax(0, 1fr); }
  .tenants-grid { grid-template-columns: minmax(0, 1fr); }
  .shot-body { grid-template-columns: minmax(0, 1fr); }
  .shot-side { display: none; }
  .shot-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-cols { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd { margin-bottom: 12px; }
  .btns .btn { width: 100%; }
  .product-id { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-id .product-tag { padding-left: 0; border-left: 0; }
  .head { margin-bottom: 40px; }
}
