/* =========================================================================
   LK7 Cloud — Vitrine v2
   Direction : sobriété « produit » (Apple / UniFi). Clair par défaut, sombre auto.
   CSS moderne : light-dark(), color-mix(), :has(), container queries,
   scroll-driven animations, @starting-style, popover, view transitions.
   ========================================================================= */

:root {
  color-scheme: light dark;

  --bg:        light-dark(#ffffff, #000000);
  --bg-alt:    light-dark(#f5f5f7, #0b0b0c);
  --tile:      light-dark(#f5f5f7, #161617);
  --tile-2:    light-dark(#ffffff, #1d1d1f);
  --text:      light-dark(#1d1d1f, #f5f5f7);
  --muted:     light-dark(#5f5f64, #a1a1a6);
  --faint:     light-dark(#6e6e73, #8e8e93);
  --line:      light-dark(#d2d2d7, #2c2c2e);
  --line-soft: light-dark(#e8e8ed, #1f1f21);
  --link:      light-dark(#0066cc, #2997ff);
  --blue:      #0071e3;
  --blue-h:    #0077ed;
  --green:     light-dark(#17773a, #30d158);
  --amber:     light-dark(#9a4500, #ff9f0a);
  --red:       light-dark(#c4251c, #ff453a);

  /* Métal du rendu matériel */
  --metal-a:   light-dark(#fafafa, #3a3a3c);
  --metal-b:   light-dark(#d9d9de, #1c1c1e);
  --metal-edge:light-dark(#bfc0c6, #4a4a4e);
  --bay:       light-dark(#2b2b2e, #0a0a0b);
  --vent:      light-dark(#c5c6cc, #111113);

  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 12px;

  /* Polices système uniquement : SF Pro (Apple), Segoe UI Variable (Windows 11), Roboto (Android).
     Aucune requête vers un service de polices tiers (RGPD + CSP font-src 'self'). */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.28, .11, .32, 1);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.47 var(--font); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--blue) 25%, transparent); }

.wrap   { width: min(100% - 32px, 980px); margin-inline: auto; }
.wrap-l { width: min(100% - 32px, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px; background: var(--blue); color: #fff; }

/* ---------- Typographie ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--amber); margin: 0 0 6px; letter-spacing: -.01em; }
.h-hero, .h-1, .h-2, .h-3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
.h-hero { font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -.035em; }
.h-1    { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.03em; }
.h-2    { font-size: clamp(28px, 4vw, 48px);  line-height: 1.08; letter-spacing: -.025em; }
.h-3    { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.14; letter-spacing: -.02em; }
.lead   { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--muted); margin: 14px 0 0; text-wrap: pretty; letter-spacing: -.015em; }
.lead strong, .lead b { color: var(--text); font-weight: 600; }
.small  { font-size: 14px; color: var(--muted); letter-spacing: -.01em; }
.mono   { font-family: var(--mono); letter-spacing: 0; }
.center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 400; letter-spacing: -.02em; text-decoration: none !important;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .12s;
}
.btn:active { transform: scale(.98); }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-h); }
.btn-line  { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn-line:hover { background: var(--link); color: var(--bg); }
.btn-dark  { background: var(--text); color: var(--bg); }
.btn-sm    { min-height: 30px; padding: 0 14px; font-size: 14px; }
.link-more { font-size: 17px; white-space: nowrap; }
.link-more::after { content: " ›"; font-size: 1.15em; line-height: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; margin-top: 28px; }

/* ---------- Navigation globale ---------- */
.gnav {
  position: sticky; top: 0; z-index: 50; height: 48px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.gnav > .wrap-l { height: 48px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -.02em; text-decoration: none !important; }
.brand-mark { width: 22px; height: 22px; }
.brand-glyph { stroke: var(--bg); }
.gnav { transition: background-color .3s var(--ease); }
.gnav.is-open { background: var(--bg); border-bottom-color: transparent; }
.gnav-links { margin: 0 auto; }
.gnav-links > ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.gnav-links a, .gnav-trigger {
  display: inline-flex; align-items: center; height: 32px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  color: color-mix(in srgb, var(--text) 78%, transparent); font-size: 12.5px; letter-spacing: -.005em; text-decoration: none !important;
  transition: color .2s, background-color .2s;
}
.gnav-links a:hover, .gnav-trigger:hover, .gnav-trigger[aria-expanded="true"] { color: var(--text); }
.gnav-trigger[aria-expanded="true"] { background: var(--tile); }
.gnav-right { display: flex; align-items: center; gap: 10px; }
.text-strong { color: var(--text) !important; }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: color-mix(in srgb, var(--text) 78%, transparent); }
.icon-btn:hover { background: var(--tile); color: var(--text); }
.icon-btn svg { width: 17px; height: 17px; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 10px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--tile); color: var(--muted); font-size: 12.5px; cursor: pointer; transition: border-color .2s; }
.search-btn:hover { border-color: var(--line); color: var(--text); }
.search-btn svg { width: 15px; height: 15px; }
kbd { font: 500 11px var(--mono); padding: 2px 5px; border-radius: 5px; border: 1px solid var(--line); color: var(--muted); background: var(--bg); }
.gnav-menu-btn { display: none; }

/* ---------- Méga-menu ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; height: 0; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line-soft); transition: height .38s var(--ease); }
.mega[inert] { border-bottom-color: transparent; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 200px 300px; gap: 48px; padding: 32px 0 44px; }
.m-label { margin: 0 0 6px; font-size: 12px; color: var(--faint); letter-spacing: 0; }
.m-title { margin: 0 0 18px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 560px; text-wrap: balance; }
.m-items { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 0 0 0 -12px; padding: 0; list-style: none; }
.m-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 12px; border-radius: 14px; color: var(--text); text-decoration: none !important; transition: background-color .2s; }
.m-item:hover, .m-item:focus-visible { background: var(--tile); }
.m-item:hover .m-ico, .m-item:focus-visible .m-ico { background: var(--tile-2); color: var(--link); }
.m-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--tile); color: var(--text); transition: background-color .2s, color .2s; }
.m-ico svg { width: 20px; height: 20px; }
.m-name { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.m-tag { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 99px; color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); letter-spacing: 0; }
.m-desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); letter-spacing: -.005em; }
.m-price { display: block; margin-top: 5px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.m-side { padding-top: 2px; }
.m-links { margin: 0; padding: 0; list-style: none; }
.m-links a { display: block; padding: 7px 0; font-size: 14px; color: var(--text); }
.m-card { align-self: start; background: var(--tile); border-radius: 18px; padding: 20px; font-size: 14px; }
.m-card-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.m-card-big { margin-top: 14px; font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.m-card-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }
.m-card-link { display: inline-block; margin-top: 16px; font-size: 14px; }
.m-meter { height: 6px; margin-top: 18px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.m-meter span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.m-meter-62 { width: 62%; }
.m-rank { margin: 12px 0 0; padding: 0; list-style: none; }
.m-rank li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.m-rank b { font-weight: 600; font-variant-numeric: tabular-nums; }
.m-domain { display: flex; gap: 8px; margin-top: 14px; }
.m-domain input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--tile-2); color: var(--text); font: inherit; font-size: 14px; }
.m-domain input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.m-domain-out { margin: 12px 0 0; font-size: 13px; min-height: 1.4em; }
.m-domain-out.ok { color: var(--green); } .m-domain-out.warn { color: var(--amber); }
.m-code { margin: 14px 0 0; padding: 14px; border-radius: 12px; background: #1d1d1f; color: #f5f5f7; font: 12.5px/1.7 var(--mono); overflow-x: auto; }
.m-anim { animation: megaIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms); }
@keyframes megaIn { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

.mega-scrim {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0;
  background: light-dark(rgba(232, 232, 237, .4), rgba(0, 0, 0, .45));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .38s var(--ease);
}
.mega-scrim.on { opacity: 1; pointer-events: auto; }

/* ---------- Menu mobile à niveaux (Popover API) ---------- */
.mnav[popover] {
  inset: 48px 0 0 0; width: 100%; height: calc(100dvh - 48px); max-width: none; max-height: none; margin: 0; border: 0; padding: 8px 24px 40px;
  background: var(--bg); color: var(--text); overflow-y: auto;
  opacity: 0; translate: 0 -8px; transition: opacity .3s var(--ease), translate .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete;
}
.mnav[popover]:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .mnav[popover]:popover-open { opacity: 0; translate: 0 -8px; } }
.mn-level { display: none; }
.mn-level.is-active { display: block; animation: megaIn .35s var(--ease) both; }
.mn-row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-soft); background: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--text); text-decoration: none !important; }
.mn-chev { width: 20px; height: 20px; color: var(--faint); }
.mn-back { display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 4px -6px; padding: 6px; border: 0; background: none; color: var(--link); font-size: 15px; cursor: pointer; }
.mn-back svg { width: 18px; height: 18px; }
.mn-title { margin: 6px 0 12px; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.025em; }
.mn-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 10px 0; color: var(--text); text-decoration: none !important; }

/* ---------- Recherche (<dialog> natif) ---------- */
.search[open] { width: min(100% - 32px, 620px); max-height: min(70dvh, 560px); margin: 12dvh auto auto; padding: 0; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 0 40px 100px -20px rgba(0,0,0,.45); overflow: hidden; display: flex; flex-direction: column; }
.search::backdrop { background: light-dark(rgba(232,232,237,.5), rgba(0,0,0,.55)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.search[open] { animation: megaIn .3s var(--ease) both; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line-soft); }
.search-field svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.search-field input { flex: 1; height: 58px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 19px; letter-spacing: -.02em; }
.search-field input:focus { outline: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
#search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.s-hit { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
#search-results [aria-selected="true"] .s-hit, .s-hit:hover { background: var(--tile); }
.s-name { display: block; font-size: 15px; font-weight: 500; }
.s-cat { display: block; font-size: 12px; color: var(--muted); }
.s-empty { padding: 28px; text-align: center; color: var(--muted); }
.search-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--faint); }

@media (max-width: 1200px) { .mega-inner { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; } .m-side { display: none; } }
@media (max-width: 860px) {
  .gnav-links, .gnav-right .hide-m, .mega, .mega-scrim { display: none; }
  .gnav-menu-btn { display: grid; }
  .gnav > .wrap-l { justify-content: space-between; }
}

/* ---------- Utilitaires (remplacent les attributs style : CSP stricte) ---------- */
.pb-0 { padding-bottom: 0 !important; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-14 { margin: 14px 0 0; } .mt-16 { margin-top: 16px; } .mt-22 { margin-top: 22px; } .mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px !important; } .mb-44 { margin-bottom: 44px !important; } .mt-24 { margin-top: 24px !important; }
.w-full { width: 100%; }
.justify-start { justify-content: flex-start !important; }
.status-ok { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.h-cta { font-size: clamp(40px, 6.4vw, 80px) !important; }
.led-sm { width: 6px; height: 6px; margin-right: 4px; box-shadow: none; }
.av-g { background: #30d158; } .av-b { background: #0a84ff; } .av-o { background: #ff9f0a; }
.stop-a { stop-color: var(--metal-a); } .stop-b { stop-color: var(--metal-b); }

/* ---------- Bandeau ruban ---------- */
.ribbon { background: var(--bg-alt); text-align: center; padding: 13px 16px; font-size: 14px; color: var(--muted); }
.ribbon a { margin-left: 4px; }
.ribbon .link-more { font-size: inherit; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero .lead { max-width: 640px; margin-inline: auto; }
.hero-stage { position: relative; margin: 64px auto 0; width: min(100% - 32px, 1100px); }
.hero-stage::after { /* ombre portée « studio » */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -18px; height: 40px;
  background: radial-gradient(50% 50% at 50% 50%, light-dark(rgba(0,0,0,.22), rgba(0,0,0,.9)), transparent 70%);
  filter: blur(8px); z-index: -1;
}
/* Rendu matériel (classes utilisées par le SVG généré dans site.js) */
.s-body   { fill: url(#metal); stroke: var(--metal-edge); stroke-width: 1; }
.s-shine  { fill: light-dark(rgba(255,255,255,.9), rgba(255,255,255,.12)); }
.s-ear    { fill: light-dark(rgba(0,0,0,.035), rgba(255,255,255,.03)); }
.s-screw  { fill: var(--metal-b); stroke: var(--metal-edge); }
.s-bay    { fill: var(--bay); }
.s-handle { fill: light-dark(#4a4a4f, #2c2c2e); }
.s-vent   { fill: var(--vent); }
.s-lcd    { fill: #0b0b0c; stroke: light-dark(#9a9aa0, #3a3a3c); }
.s-lcd-t  { fill: #f5f5f7; font: 500 11.5px var(--mono); }
.s-lcd-dim{ fill: #8e8e93; font-size: 10px; }
.s-btn    { fill: none; stroke: var(--metal-edge); stroke-width: 1.5; }
#rack { width: 100%; height: auto; }

.hero-caption { margin: 48px auto 0; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-caption span { display: inline-flex; align-items: center; gap: 8px; }

/* LED */
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); display: inline-block; }
.led.amber { background: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 18%, transparent); }
.led.off { background: var(--faint); box-shadow: none; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.svg-led { animation: blink 1.4s steps(2, jump-none) infinite; }
.svg-led.d1 { animation-duration: .9s; } .svg-led.d2 { animation-duration: 2.1s; } .svg-led.d3 { animation-duration: 1.1s; animation-delay: .3s; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #000; color: #f5f5f7; color-scheme: dark; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(44px, 6vw, 72px); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-n small { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: -.01em; margin-left: 2px; }
.stat-l { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Tuiles produits ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
  container-type: inline-size; position: relative; overflow: hidden;
  background: var(--tile); border-radius: var(--radius-l);
  min-height: 580px; padding: 52px 32px 0; text-align: center;
  display: flex; flex-direction: column;
}
.tile.wide { grid-column: 1 / -1; min-height: 520px; }
.tile.inverse { background: #000; color: #f5f5f7; color-scheme: dark; }
.tile h3 { margin: 0; }
.tile .lead { font-size: clamp(17px, 1.8vw, 21px); margin-top: 8px; }
.tile .ctas { margin-top: 18px; gap: 12px 24px; }
.tile .price { margin-top: 10px; font-size: 14px; color: var(--muted); }
.tile-art { margin-top: auto; padding-top: 36px; display: flex; justify-content: center; align-items: flex-end; }
@container (max-width: 420px) { .tile .ctas { flex-direction: column; } }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 520px; } }

/* Mini-visuels des tuiles */
.mock-window { width: min(100%, 440px); border-radius: 14px 14px 0 0; background: var(--tile-2); box-shadow: 0 -1px 0 var(--line-soft), 0 30px 60px -30px rgba(0,0,0,.35); text-align: left; overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-body { padding: 16px 18px 22px; font: 13px/1.75 var(--mono); color: var(--muted); letter-spacing: 0; }
.mock-body b { color: var(--text); font-weight: 500; }
.mock-body .ok { color: var(--green); }

.players { width: min(100%, 460px); display: grid; gap: 10px; padding-bottom: 36px; }
.player-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--tile-2); text-align: left; font-size: 14px; }
.player-row .avatar { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.player-row .grow { flex: 1; }
.player-row .ms { font: 12px var(--mono); color: var(--muted); }

.shield-chart { width: min(100%, 560px); height: 190px; display: flex; align-items: flex-end; gap: 4px; padding-bottom: 40px; }
.shield-chart { color: var(--muted); }
.shield-chart span { flex: 1; border-radius: 3px 3px 0 0; background: color-mix(in srgb, currentColor 22%, transparent); transition: height .6s var(--ease); }
.shield-chart span.hit { background: var(--amber); }

/* ---------- Inclus partout ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 32px; }
.feature svg { width: 30px; height: 30px; color: var(--text); }
.feature h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.feature p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }

/* ---------- Texte révélé au défilement ---------- */
.reveal-text { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; max-width: 980px; margin: 0 auto; }
.reveal-text .w { opacity: .18; transition: opacity .25s linear; }
.reveal-text .w.on { opacity: 1; }

/* ---------- Configurateur ---------- */
.config { display: grid; grid-template-columns: 1.25fr .9fr; gap: 24px; align-items: start; }
.panel { background: var(--tile-2); border-radius: var(--radius-l); padding: 32px; border: 1px solid var(--line-soft); }
.section-alt .panel { border-color: transparent; }
.cfg-row + .cfg-row { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.cfg-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cfg-label strong { font-size: 17px; font-weight: 600; }
.cfg-value { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cfg-value small { font-size: 15px; color: var(--muted); font-weight: 500; }
.range { --p: 25%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin-top: 12px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) var(--p), var(--line) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--blue); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.18), 0 1px 1px rgba(0,0,0,.12); transition: transform .15s; }
.range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.range:active::-webkit-slider-thumb { transform: scale(1.08); }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 4px; font-variant-numeric: tabular-nums; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; gap: 2px; min-width: 120px; padding: 12px 16px; border-radius: var(--radius-s);
  border: 1px solid var(--line); cursor: pointer; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.choice span small { font-size: 12px; color: var(--muted); }
.choice input:checked + span { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; }

.summary { position: sticky; top: 72px; }
.tnum { font-variant-numeric: tabular-nums; }
.price-big { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-big small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: -.01em; }
.sum-list { list-style: none; margin: 24px 0; padding: 0; font-size: 15px; }
.sum-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.sum-list li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .config { grid-template-columns: 1fr; } .summary { position: static; } }

/* Switch */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.switch input { -webkit-appearance: none; appearance: none; width: 51px; height: 31px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .25s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06); transition: translate .25s var(--ease); }
.switch input:checked { background: #34c759; }
.switch input:checked::after { translate: 20px 0; }

/* ---------- Comparatif ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--tile); gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 18px; border-radius: 8px; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--tile-2); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.04); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin-top: 44px; view-transition-name: plans; }
.plan { padding: 8px 24px 0; border-left: 1px solid var(--line); text-align: center; }
.plan:first-child { border-left: 0; }
.plan-tag { display: inline-block; height: 22px; font-size: 12px; font-weight: 600; color: var(--amber); }
.plan-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 0; }
.plan-price { margin: 10px 0 0; font-size: 17px; }
.plan-price b { font-family: var(--font-display); font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-hour { font-size: 12px; color: var(--faint); margin-top: 2px; font-variant-numeric: tabular-nums; }
.plan .btn { margin-top: 20px; }
.plan dl { margin: 28px 0 0; text-align: center; }
.plan dt { font-size: 12px; color: var(--muted); margin-top: 18px; }
.plan dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .plan { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; } .plan:first-child { border-top: 0; } }

/* ---------- Infrastructure / régions ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.regions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.region { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.region-code { font: 500 13px var(--mono); color: var(--muted); padding: 4px 8px; border-radius: 6px; background: var(--tile); }
.region-name { font-weight: 600; }
.region-name small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.region-state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 40px; }
.specs dt { font-size: 14px; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; }

/* ---------- Code ---------- */
.code-card { border-radius: var(--radius-m); background: #1d1d1f; color: #f5f5f7; overflow: hidden; }
.code-head { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid #2c2c2e; }
.code-tabs { display: flex; gap: 4px; }
.code-head .copy { margin-left: auto; border: 0; background: transparent; color: #a1a1a6; padding: 6px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.code-head .copy:hover { background: #2c2c2e; color: #fff; }
.code-tabs button { border: 0; background: transparent; color: #a1a1a6; padding: 6px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.code-tabs button[aria-selected="true"] { background: #2c2c2e; color: #fff; }
.code-card pre { margin: 0; padding: 22px 24px; font: 13.5px/1.75 var(--mono); overflow-x: auto; letter-spacing: 0; view-transition-name: code; }
.c-k { color: #ff7ab2; } .c-s { color: #ff8170; } .c-f { color: #67b7a4; } .c-c { color: #7f8c98; } .c-n { color: #d9c97c; } .c-p { color: #6bdfff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius-l); background: var(--tile-2); color: var(--text); text-decoration: none !important; text-align: left; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.contact-card svg { width: 28px; height: 28px; margin-bottom: 10px; }
.contact-card strong { font-size: 19px; letter-spacing: -.02em; }
.contact-card span { font-size: 14px; color: var(--muted); }
.contact-card em { margin-top: 10px; font-style: normal; color: var(--link); font-size: 15px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Statut ---------- */
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.status-row { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.status-row header { display: flex; justify-content: space-between; font-size: 15px; }
.status-row header span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.led.red { background: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.led.blue { background: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }

/* ---------- Page « État des services » (/statut) ---------- */
.st-hero { padding-bottom: 0; }
.st-section { padding-top: clamp(40px, 6vw, 72px); }
.st-group + .st-group { margin-top: 48px; }
.st-group-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 32px 0 0; }
.st-row header { align-items: center; gap: 16px; }
.st-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.st-state { font-size: 14px; white-space: nowrap; }
.status-row header .st-state.up { color: var(--green); }
.status-row header .st-state.down { color: var(--red); }
.status-row header .st-state.pending { color: var(--amber); }
.status-row header .st-state.maintenance { color: var(--blue); }
.st-bars { display: flex; gap: 3px; height: 34px; margin-top: 12px; }
.st-bars i { flex: 1; min-width: 0; border-radius: 2px; opacity: .85; transition: opacity .15s; }
.st-bars i:hover { opacity: 1; }
.st-bars i.up { background: var(--green); }
.st-bars i.down { background: var(--red); }
.st-bars i.pending { background: var(--amber); }
.st-bars i.maintenance { background: var(--blue); }
.st-bars i.unknown, .st-bars i.empty { background: var(--line-soft); opacity: 1; }
.st-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--faint); }
.st-meta { margin: 10px 0 0; line-height: 1.7; }
.st-meta > span { white-space: nowrap; }
.st-meta b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.st-sep { margin: 0 4px; color: var(--faint); }
.st-notice { border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; background: var(--tile); }
.st-notice.down { border-left-color: var(--red); }
.st-notice.maintenance { border-left-color: var(--blue); }
.st-notice p { margin: 6px 0 0; color: var(--muted); white-space: pre-line; }
.st-notice small { display: block; margin-top: 8px; color: var(--faint); }
.st-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; }
.st-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.st-legend .st-legend-note { flex-basis: 100%; color: var(--faint); }
.st-key { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.st-key.up { background: var(--green); } .st-key.down { background: var(--red); }
.st-key.pending { background: var(--amber); } .st-key.maintenance { background: var(--blue); }
@media (max-width: 640px) { .st-bars { gap: 2px; height: 30px; } .st-bars i:nth-child(-n+30) { display: none; } .st-axis span:first-child { visibility: hidden; } }


/* ---------- FAQ (accordéon exclusif natif <details name>) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--ease), translate .3s var(--ease); }
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq details p { margin: 0; padding: 0 0 26px; color: var(--muted); max-width: 760px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--bg-alt); font-size: 12px; color: var(--muted); padding: 40px 0 24px; letter-spacing: -.005em; }
.footer p { margin: 0; }
.footer-notes { padding-bottom: 18px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.footer-notes p + p { margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 22px 0; }
.footer-cols h2 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--text); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 0 0 9px; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--text); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 0; }
.footer-legal nav a { color: var(--muted); padding: 0 10px; border-left: 1px solid var(--line); }
.footer-legal nav a:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Apparition au défilement (scroll-driven, sans JS) ---------- */
@supports (animation-timeline: view()) {
  .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .hero-stage svg { animation: settle linear both; animation-timeline: view(); animation-range: entry 40% cover 50%; }
}
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes settle { from { scale: .94; } to { scale: 1; } }

/* ---------- Bascule de thème (View Transitions, révélation circulaire) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }
html.theme-vt::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
html.theme-vt::view-transition-new(root) { animation: reveal .55s var(--ease); mix-blend-mode: normal; }
@keyframes reveal { from { clip-path: circle(0 at var(--vt-x, 100%) var(--vt-y, 0)); } to { clip-path: circle(150% at var(--vt-x, 100%) var(--vt-y, 0)); } }
::view-transition-old(plans), ::view-transition-new(plans),
::view-transition-old(code),  ::view-transition-new(code) { animation-duration: .3s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-text .w { opacity: 1; }
}

/* ---------- Page légale ---------- */
.legal .wrap { max-width: 760px; }
.legal .lead { margin-bottom: 32px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-toc a { padding: 6px 14px; border-radius: 99px; background: var(--tile); color: var(--text); font-size: 14px; text-decoration: none; }
.legal-toc a:hover { background: var(--line-soft); }
.legal section { padding: 56px 0 8px; }
.legal section h2 { margin-bottom: 18px; }
.legal p, .legal li { color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal li { margin-bottom: 10px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal p a, .legal li a, .legal dd a { text-decoration: underline; text-underline-offset: .18em; }
.legal-dl { margin: 0; border-top: 1px solid var(--line); }
.legal-dl div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.legal-dl dt { color: var(--muted); font-size: 15px; }
.legal-dl dd { margin: 0; font-size: 15px; }
@media (max-width: 640px) { .legal-dl div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Révision : tuiles ---------- */
.mb-8 { margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 2px 20px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; color: var(--text); }
.kv dd.ok { color: var(--green); }
.shield-chart span.hit { background: light-dark(#ff9500, #ff9f0a); }
@media (max-width: 560px) { .mock-body { font-size: 11.5px; padding: 14px; } .mock-body div { overflow-wrap: anywhere; } }

/* Pods : répartition de la mémoire */
.alloc-wrap { width: min(100%, 460px); padding-bottom: 44px; text-align: left; }
.alloc-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.alloc { display: grid; grid-template-columns: 6fr 4fr 2fr 1fr 3fr; gap: 3px; height: 46px; }
.alloc span { border-radius: 8px; }
.alloc span:first-child { border-radius: 12px 8px 8px 12px; } .alloc span:last-child { border-radius: 8px 12px 12px 8px; }
.a1 { background: #30d158; } .a2 { background: #0a84ff; } .a3 { background: #ff9f0a; } .a4 { background: #bf5af2; }
.alloc .a5 { background: repeating-linear-gradient(-45deg, #2c2c2e 0 6px, #232325 6px 12px); }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.alloc-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; vertical-align: 0; }
.alloc-legend i.a5 { background: #3a3a3c; }

/* =========================================================================
   Pages produit
   ========================================================================= */
/* Sous-navigation locale (style « barre produit ») */
.subnav { position: sticky; top: 48px; z-index: 45; height: 52px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-soft); }
.subnav .wrap-l { display: flex; align-items: center; gap: 24px; height: 100%; }
.subnav-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--text); text-decoration: none !important; white-space: nowrap; }
.subnav-links { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { font-size: 12.5px; color: color-mix(in srgb, var(--text) 75%, transparent); white-space: nowrap; text-decoration: none !important; }
.subnav-links a:hover, .subnav-links a[aria-current="true"] { color: var(--text); }
.subnav .btn { flex: none; }
@media (max-width: 700px) { .subnav-links { display: none; } .subnav .btn { margin-left: auto; } }
.gnav-trigger.is-current { color: var(--text); font-weight: 500; }

/* En-tête de page produit */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 0; text-align: center; overflow: hidden; }
.page-hero .lead { max-width: 680px; margin-inline: auto; }
.page-hero-art { margin: 56px auto 0; width: min(100% - 32px, 1000px); display: flex; justify-content: center; }
.page-hero .price-line { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Points forts (cartes) */
.hl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hl.two { grid-template-columns: repeat(2, 1fr); }
.hl-card { padding: 36px 32px; border-radius: var(--radius-l); background: var(--tile); }
.section-alt .hl-card { background: var(--tile-2); }
.hl-card .big { font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.hl-card .big small { font-size: .42em; color: var(--muted); font-weight: 500; letter-spacing: -.01em; }
.hl-card h2, .hl-card h3 { margin: 18px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.hl-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.hl-card svg { width: 32px; height: 32px; }
@media (max-width: 900px) { .hl, .hl.two { grid-template-columns: 1fr; } }

/* Grille de vignettes (jeux, systèmes, extensions) */
.chips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.chip-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--tile-2); font-size: 15px; font-weight: 500; }
.section:not(.section-alt) .chip-card { background: var(--tile); }
.chip-card .chip-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #fff; flex: none; }
.chip-card small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.ci-1 { background: #30d158; } .ci-2 { background: #0a84ff; } .ci-3 { background: #ff9f0a; } .ci-4 { background: #bf5af2; } .ci-5 { background: #ff375f; } .ci-6 { background: #64d2ff; color: #000 !important; } .ci-7 { background: #1d1d1f; } .ci-8 { background: #8e8e93; }

/* Étapes numérotées */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; }
.step h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Couches de protection anti-DDoS */
.layers { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.layer { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: 20px; background: var(--tile-2); }
.layer-tag { font: 600 15px var(--mono); color: var(--link); }
.layer h3 { margin: 0; font-size: 17px; font-weight: 600; }
.layer p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.layer .badge-in { font-size: 13px; color: var(--green); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .layer { grid-template-columns: 1fr; gap: 6px; } }

/* Liste de caractéristiques à deux colonnes */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent) no-repeat center / 10px; background-image: linear-gradient(transparent, transparent); box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--green) 16%, transparent); position: relative; }
.checklist li span { color: var(--muted); }
.checklist li b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* Carte d'offre unique (transit, colocation) */
.offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: var(--radius-l); background: var(--tile); }
.section-alt .offer { background: var(--tile-2); }
.offer h3 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.025em; }
.offer p { margin: 10px 0 0; color: var(--muted); }
.offer-price { text-align: right; }
.offer-price b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.offer-price span { font-size: 14px; color: var(--muted); }
.offer-price .btn { margin-top: 16px; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; padding: 28px; } .offer-price { text-align: left; } }
.offers { display: grid; gap: 12px; }

/* Vérificateur de domaine (version page) */
.domain-box { max-width: 640px; margin: 0 auto; }
.domain-box form { display: flex; gap: 10px; }
.domain-box input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--tile-2); color: var(--text); font: inherit; font-size: 19px; letter-spacing: -.01em; }
.domain-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.domain-box .btn { min-height: 52px; }
.domain-out { min-height: 1.5em; margin: 14px 0 0; text-align: center; font-size: 16px; }
.domain-out.ok { color: var(--green); } .domain-out.warn { color: var(--amber); }
.tld-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.tld-list span { padding: 8px 14px; border-radius: 99px; background: var(--tile-2); font-size: 14px; }
.tld-list b { font-weight: 600; margin-right: 6px; }

/* Pages produit : compléments */
.checklist.one-col { grid-template-columns: 1fr; }
.checklist li::before { box-shadow: none; background: color-mix(in srgb, var(--green) 15%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330a14e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.page-hero.section-dark { padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero.section-dark .players { padding-bottom: 0; }
.page-hero .players { width: min(100%, 560px); }
.pod-demo { min-height: 0; width: min(100%, 640px); padding: 40px 32px 0; }
.shield-wrap { width: min(100%, 760px); padding: 28px 28px 0; border-radius: var(--radius-l); background: var(--tile); }
.shield-wrap .shield-chart { width: 100%; height: 200px; padding-bottom: 28px; }
.shield-legend { display: flex; gap: 18px; justify-content: center; font-size: 13px; color: var(--muted); }
.shield-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; }
.lg-clean { background: color-mix(in srgb, var(--muted) 35%, transparent); } .lg-hit { background: light-dark(#ff9500, #ff9f0a); }
.offer h3 .m-tag { vertical-align: middle; margin-left: 6px; }

/* Deux barres collantes (en-tête + sous-navigation) : les ancres ne doivent pas passer dessous */
html:has(.subnav) { scroll-padding-top: 112px; }
/* Accessibilité : texte blanc lisible sur les vignettes colorées, liens soulignés dans les phrases */
.ci-1 { background: #1f7a35; } .ci-2 { background: #0062cc; } .ci-3 { background: #b35500; } .ci-4 { background: #8944ab; }
.ci-5 { background: #c9002b; } .ci-6 { background: #00668f; color: #fff !important; } .ci-8 { background: #636366; }
p.small a, .lead a, .faq p a { text-decoration: underline; text-underline-offset: .18em; }
.section-tight { padding-top: clamp(40px, 5vw, 64px); }

/* =========================================================================
   Optimisations de fluidité
   ========================================================================= */
/* Transitions animées entre les pages (View Transitions inter-documents ; ignoré ailleurs) */
@view-transition { navigation: auto; }
.gnav { view-transition-name: gnav; }
.subnav { view-transition-name: subnav; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Les sections hors écran ne sont mises en page qu'à l'approche (gain CPU sur mobile) */
main > .section { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Aucun décalage de mise en page : place réservée avant le rendu des offres */
.plans:empty { min-height: 470px; }
@media (max-width: 760px) { .plans:empty { min-height: 1480px; } .plans[data-k="web"]:empty { min-height: 1110px; } }

.section:not(.section-alt) .tld-list span { background: var(--tile); }

/* =========================================================================
   Serveurs 2U du hero, état réel, listes factuelles
   ========================================================================= */
.s-bezel      { fill: light-dark(#e3e3e8, #18181a); stroke: light-dark(rgba(0,0,0,.08), rgba(255,255,255,.05)); }
.s-pull       { fill: light-dark(#cfcfd4, #2a2a2d); stroke: light-dark(rgba(0,0,0,.12), rgba(255,255,255,.06)); }
.s-caddy      { fill: light-dark(#2c2c2e, #0e0e10); }
.s-caddy-face { fill: light-dark(#3a3a3d, #1b1b1e); }
.s-latch      { fill: light-dark(#5a5a5f, #2f2f33); }
.s-plate      { fill: light-dark(#1d1d1f, #f5f5f7); }
.s-plate-t    { fill: light-dark(#f5f5f7, #1d1d1f); font: 700 13px var(--font-display); letter-spacing: .04em; }
.s-usb        { fill: #0b0b0c; stroke: light-dark(#9a9aa0, #3a3a3c); }
.s-tag        { fill: light-dark(#f5f5f7, #2c2c2e); stroke: light-dark(rgba(0,0,0,.1), rgba(255,255,255,.06)); }
.s-id         { fill: var(--metal-edge); font: 700 9px var(--font-display); }
.s-pwr-on     { fill: #30d158; filter: drop-shadow(0 0 3px rgba(48,209,88,.7)); }
.s-pwr-off    { fill: light-dark(#a1a1a6, #3a3a3c); }
.s-led-green  { fill: #30d158; }
.s-led-off    { fill: light-dark(#a1a1a6, #3a3a3c); }
.s-led-blue   { fill: #0a84ff; }

.game-list, .layer-list { list-style: none; margin: 0; padding: 0 0 36px; width: min(100%, 460px); display: grid; gap: 10px; }
.game-list li, .layer-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--tile-2); box-shadow: 0 0 0 1px var(--line-soft); }
.game-list b, .layer-list b { font-weight: 600; }
.game-list span, .layer-list span { color: var(--muted); font-size: 14px; }
.layer-list b { font: 600 13px var(--mono); padding: 3px 8px; border-radius: 6px; background: var(--tile); }
.page-hero-art .game-list, .page-hero-art .layer-list { padding-bottom: 0; }

.live-card { padding: 22px 24px; border-radius: 18px; background: var(--tile-2); box-shadow: 0 0 0 1px var(--line-soft); }
.live-head { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.live-card p { margin: 8px 0 0; }

.node-row { display: grid; grid-template-columns: minmax(120px, 1fr) 90px minmax(0, 1.2fr) minmax(0, 1.2fr) 150px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.node-name { display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--mono); }
.node-state { color: var(--muted); font-size: 14px; }
.node-meter { display: grid; grid-template-columns: 34px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.node-meter small { color: var(--faint); }
.node-meter b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.node-meter .meter { display: block; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.node-meter .meter i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.node-up { color: var(--muted); font-size: 13px; text-align: right; }
@media (max-width: 760px) { .node-row { grid-template-columns: 1fr auto; } .node-meter { grid-column: 1 / -1; } .node-up { text-align: left; } }

.m-facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.m-facts li { display: flex; gap: 8px; align-items: baseline; }
.m-facts li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ---------- Voyants des serveurs du hero ---------- */
#rack .ld-halo { opacity: .28; }
#rack .ld.dim { opacity: .18; }
#rack .ld.act { animation: led-act 2.4s linear infinite; }
#rack .ld.a1 { animation-duration: 1.7s; animation-delay: -.4s; } #rack .ld.a2 { animation-duration: 3.1s; animation-delay: -1.2s; }
#rack .ld.a3 { animation-duration: 1.3s; animation-delay: -.8s; } #rack .ld.a4 { animation-duration: 2.7s; animation-delay: -2s; }
#rack .ld.a5 { animation-duration: 1.9s; animation-delay: -.2s; } #rack .ld.a6 { animation-duration: 3.6s; animation-delay: -2.7s; }
#rack .ld.a7 { animation-duration: 1.1s; animation-delay: -.6s; }
@keyframes led-act { 0%, 100% { opacity: 1; } 7% { opacity: .2; } 12% { opacity: 1; } 38% { opacity: .9; } 41% { opacity: .15; } 46% { opacity: 1; } 70% { opacity: .25; } 74% { opacity: 1; } 88% { opacity: .35; } 91% { opacity: 1; } }
#rack .ld.loc { animation: led-loc 6s ease-in-out infinite; }
@keyframes led-loc { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
#rack .ld.pwr { animation: led-breathe 3.2s ease-in-out infinite; }
#rack .ld.uid { opacity: .55; }
#rack .ld.fault { animation: led-loc 1s steps(2, jump-none) infinite; }
@keyframes led-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
#rack .s-pwr-ring { fill: none; stroke: #30d158; stroke-width: 1.4; opacity: .5; animation: led-breathe 3.2s ease-in-out infinite; }
#rack .s-strip { opacity: .8; animation: strip 5s ease-in-out infinite; }
@keyframes strip { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
#rack .s-lcd-glow { fill: #0a84ff; opacity: .06; }
#rack .s-lcd-t { fill: #d8f3ff; }
#rack .s-lcd-dim { fill: #7fa7bd; }
#rack .s-lcd-warn { fill: #ff9f0a; }
#rack .s-lcd-cursor { fill: #64d2ff; animation: led-loc 1.1s steps(2, jump-none) infinite; }
#rack .s-tag-t { fill: var(--faint); font: 600 7.5px var(--mono); letter-spacing: .08em; }
#rack .srv-on .s-caddy-face { fill: light-dark(#3a3a3d, #1c1c20); }
#rack.paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { #rack * { animation: none !important; } }
