/* Présentation sWeet Retail (règle 96) : charte du produit (corail → orange,
   Poppins servie localement), propriétés CSS logiques pour l'arabe. */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #14162a;
  --bg-2: #1b1d33;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --ink: #f3f4fa;
  --ink-2: #c3c6d8;
  --muted: #8d92ad;
  --accent: #ff5a7f;
  --accent-2: #ff9e4f;
  --ok: #3ddc97;
  --grad: linear-gradient(135deg, #ff4f7e 0%, #ff9e4f 100%);
  --radius: 18px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar: "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, "Poppins", sans-serif;
  --top: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; scroll-padding-top: var(--top); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.75; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* --- Barre du haut --- */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 30; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.15s linear; }
.topbar {
  position: fixed; inset-inline: 0; top: 0; height: var(--top); z-index: 20;
  display: flex; align-items: center; gap: 16px; padding-inline: 20px;
  background: rgba(20, 22, 42, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.wordmark { font-family: var(--font); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; direction: ltr; }
.wordmark b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark em { font-style: normal; font-weight: 400; color: var(--ink-2); letter-spacing: 0.12em; font-size: 14px; text-transform: uppercase; }
.links { display: flex; gap: 2px; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.links::-webkit-scrollbar { display: none; }
.links a {
  text-decoration: none; color: var(--muted); font-size: 13.5px; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.links a:hover { color: var(--ink); }
.links a.on { color: var(--ink); background: var(--card-hover); }
.tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; cursor: pointer; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang button.on { background: var(--grad); color: #fff; }
.lang button[data-l="ar"] { font-family: var(--font-ar); }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); cursor: pointer;
}
.icon-btn:hover { background: var(--card-hover); }
.icon-btn svg { width: 18px; height: 18px; }

.dots { position: fixed; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); z-index: 15; display: flex; flex-direction: column; gap: 10px; }
.dots a { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: transform 0.2s, background 0.2s; }
.dots a.on { background: var(--accent); transform: scale(1.5); }

/* --- Diapositives --- */
.slide {
  position: relative; min-height: 100vh; min-height: 100dvh; scroll-snap-align: start;
  padding: calc(var(--top) + 48px) 24px 72px; display: flex; flex-direction: column; justify-content: center;
}
.slide:nth-child(even) { background: var(--bg-2); }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px; }
html[lang="ar"] .kicker { text-transform: none; letter-spacing: 0; font-size: 15px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); max-width: 760px; margin: 14px 0 36px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.card:hover { background: var(--card-hover); border-color: var(--line-strong); transform: translateY(-3px); }
.card p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255, 79, 126, 0.18), rgba(255, 158, 79, 0.18)); color: var(--accent-2);
}
.ico svg { width: 22px; height: 22px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: 0.07s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.35s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.49s; }
.stagger.in > *:nth-child(n + 9) { transition-delay: 0.55s; }

/* --- Accueil --- */
.hero { overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none; animation: float 16s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; background: #ff4f7e; top: -120px; inset-inline-end: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #ff9e4f; bottom: -160px; inset-inline-start: -100px; animation-delay: -6s; opacity: 0.3; }
.blob.b3 { width: 300px; height: 300px; background: #6c5cff; top: 40%; inset-inline-start: 40%; animation-delay: -11s; opacity: 0.22; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(36px, 6vw, 74px); font-weight: 800; max-width: 980px; }
html[lang="ar"] .hero h1 { font-weight: 700; }
.hero .lead { font-size: clamp(17px, 1.8vw, 21px); max-width: 820px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.3); color: var(--ok); margin-bottom: 22px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-strong); background: var(--card); text-decoration: none; cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); background: var(--card-hover); }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 30px rgba(255, 79, 126, 0.3); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 900px; }
.stat strong { display: block; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.1; direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .stat strong { text-align: start; }
.stat span { color: var(--muted); font-size: 14px; }
.scroll-hint { position: absolute; bottom: 22px; inset-inline-start: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
html[dir="rtl"] .scroll-hint { transform: translateX(50%); }
.scroll-hint::after { content: ""; width: 2px; height: 26px; background: linear-gradient(var(--accent), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* --- Applications --- */
.app-card { position: relative; overflow: hidden; }
.app-card .who { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-2); background: rgba(255, 158, 79, 0.1); padding: 3px 10px; border-radius: 999px; margin-top: 6px; }
.app-card::after {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--grad); opacity: 0.08; transition: opacity 0.3s, transform 0.3s;
}
.app-card:hover::after { opacity: 0.18; transform: scale(1.3); }

/* --- Architecture --- */
.archi { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.archi-board { background: rgba(0, 0, 0, 0.18); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.archi-svg { width: 100%; height: auto; display: block; }
.archi-svg .node { cursor: pointer; outline: none; }
.archi-svg .node rect { fill: rgba(255, 255, 255, 0.05); stroke: var(--line-strong); stroke-width: 1.2; transition: fill 0.2s, stroke 0.2s; }
.archi-svg .node:hover rect, .archi-svg .node:focus-visible rect { fill: rgba(255, 255, 255, 0.1); stroke: var(--accent-2); }
.archi-svg .node.on rect { fill: rgba(255, 79, 126, 0.16); stroke: var(--accent); stroke-width: 2; }
.archi-svg .node .t1 { fill: var(--ink); font-size: 17px; font-weight: 600; font-family: var(--font); }
html[lang="ar"] .archi-svg .node .t1 { font-family: var(--font-ar); }
.archi-svg .node .t2 { fill: var(--muted); font-size: 12.5px; font-family: var(--font); }
.archi-svg .wire { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.archi-svg .flow { stroke: url(#flowgrad); stroke-width: 2.5; fill: none; stroke-dasharray: 6 10; animation: dash 1.2s linear infinite; }
.archi-svg .flow.up { animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.archi-svg .flowlabel { fill: var(--accent-2); font-size: 13px; font-weight: 600; font-family: var(--font); }
html[lang="ar"] .archi-svg .flowlabel { font-family: var(--font-ar); }
.archi-list { display: none; gap: 8px; }
.archi-list button { text-align: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.archi-list button.on { border-color: var(--accent); background: rgba(255, 79, 126, 0.14); }
.archi-list button small { display: block; color: var(--muted); font-size: 12px; }
.archi-detail { position: sticky; top: calc(var(--top) + 20px); }
.archi-detail .tech { display: inline-block; font-size: 12px; color: var(--accent-2); font-weight: 600; direction: ltr; margin-top: 6px; }
.archi-detail ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.archi-detail li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.archi-detail li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); margin-top: 9px; }
.modes { display: flex; gap: 6px; margin: 18px 0 10px; flex-wrap: wrap; }
.chip-btn { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 13.5px; font-weight: 500; }
.chip-btn.on { background: var(--grad); border-color: transparent; color: #fff; }
.mode-text { color: var(--ink-2); font-size: 14.5px; margin: 0; min-height: 3em; }
.flowkeys { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.flowkeys span::before { content: "● "; color: var(--accent-2); }

/* --- Fiabilité --- */
.trust .card { padding: 18px; }
.trust .card h3 { font-size: 16px; }
.trust .card p { font-size: 14px; }
.trust .ico { width: 38px; height: 38px; margin-bottom: 10px; }

/* --- Fonctions --- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); cursor: pointer; font-size: 14px; font-weight: 500; transition: background 0.2s, border-color 0.2s;
}
.tab svg { width: 18px; height: 18px; color: var(--accent-2); }
.tab:hover { background: var(--card-hover); }
.tab.on { background: rgba(255, 79, 126, 0.15); border-color: var(--accent); }
.panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.panel .item {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  animation: rise 0.45s ease both;
}
.panel .item svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- IA --- */
.ai-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.ai-main { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: start; }
.steps { display: grid; gap: 10px; margin: 14px 0 20px; }
.step {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  transition: border-color 0.3s, background 0.3s;
}
.step b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--card-hover); flex-shrink: 0; }
.step.on { border-color: var(--accent); background: rgba(255, 79, 126, 0.12); }
.step.on b { background: var(--grad); color: #fff; }
.guards { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guards li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.guards svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.demo { background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.demo-head .chip-btn { padding: 6px 12px; }
.demo-head .replay { margin-inline-start: auto; }
.chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 380px; max-height: 520px; overflow-y: auto; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; animation: rise 0.35s ease both; }
.bubble.user { align-self: flex-end; background: var(--grad); color: #fff; border-end-end-radius: 4px; }
.bubble.bot { align-self: flex-start; background: var(--card-hover); border-end-start-radius: 4px; }
.bubble.tool { align-self: flex-start; background: rgba(108, 92, 255, 0.14); border: 1px dashed rgba(108, 92, 255, 0.55); font-size: 13px; }
.bubble.tool code { direction: ltr; unicode-bidi: isolate; font-family: ui-monospace, Consolas, monospace; color: #c9c2ff; }
.bubble.facts { align-self: flex-start; background: rgba(61, 220, 151, 0.08); border: 1px solid rgba(61, 220, 151, 0.3); font-size: 13.5px; }
.bubble.facts ul { margin: 6px 0 0; padding-inline-start: 18px; }
.bubble .label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
html[lang="ar"] .bubble .label { text-transform: none; letter-spacing: 0; }
.chat.wa { background: #0b141a; }
.chat.wa .bubble.user { background: #005c4b; }
.chat.wa .bubble.bot { background: #202c33; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--card-hover); border-radius: 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.qs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.qs button { text-align: start; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 13px; }
.qs button:hover { border-color: var(--accent-2); }
.qs button:disabled { opacity: 0.5; cursor: default; }
.demo-note { padding: 0 14px 12px; margin: 0; font-size: 12px; color: var(--muted); }

/* --- Algérie --- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 15px; transition: transform 0.2s, border-color 0.2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--accent-2); }
.chip svg { width: 18px; height: 18px; color: var(--ok); }
.algeria .flag-band { height: 6px; border-radius: 6px; margin-top: 40px; background: linear-gradient(90deg, #006233 0 50%, #fff 50% 100%); position: relative; opacity: 0.85; }
.algeria .flag-band::after { content: ""; position: absolute; inset-inline-start: calc(50% - 12px); top: -9px; width: 24px; height: 24px; border-radius: 50%; border: 3px solid #d21034; border-inline-end-color: transparent; }

/* --- Déploiement --- */
.card ul.ticks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.card ul.ticks li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.card ul.ticks svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.quality { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255, 79, 126, 0.08), rgba(255, 158, 79, 0.06)); }

/* --- Nouveautés --- */
.timeline { position: relative; display: grid; gap: 16px; padding-inline-start: 28px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), transparent); }
.rel { position: relative; }
.rel::before { content: ""; position: absolute; inset-inline-start: -27px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.rel.latest::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 79, 126, 0.2); }
.rel summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.rel summary::-webkit-details-marker { display: none; }
.rel .ver { font-weight: 800; font-size: 20px; direction: ltr; unicode-bidi: isolate; }
.rel .new { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; text-transform: uppercase; }
.rel .date { color: var(--muted); font-size: 13px; }
.rel .chev { margin-inline-start: auto; transition: transform 0.2s; color: var(--muted); }
.rel[open] .chev { transform: rotate(180deg); }
.rel ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rel li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.rel li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent-2); margin-top: 3px; }

/* --- Contact --- */
.contact { text-align: center; overflow: hidden; }
.contact .lead { margin-inline: auto; }
.contact h2 { font-size: clamp(32px, 5vw, 58px); }
.road { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 10px 0 36px; }
.road span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.road b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-size: 12px; color: #fff; }
.contact-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; color: var(--ink-2); }
.contact-info a { text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.foot { margin-top: 46px; color: var(--muted); font-size: 13px; }

.noscript { padding: 120px 24px; text-align: center; }

/* --- Petits écrans --- */
@media (max-width: 1040px) {
  .links { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .archi { grid-template-columns: 1fr; }
  .archi-detail { position: static; }
  .ai-main { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --top: 58px; }
  html { scroll-snap-type: none; }
  .topbar { padding-inline: 14px; gap: 10px; }
  .wordmark em { display: none; }
  .slide { padding: calc(var(--top) + 32px) 16px 56px; min-height: auto; }
  .hero { min-height: 100vh; min-height: 100dvh; }
  .g2, .g3, .g4, .ai-top, .panel { grid-template-columns: 1fr; }
  .stats, .quality { grid-template-columns: repeat(2, 1fr); }
  .dots { display: none; }
  .archi-svg { display: none; }
  .archi-list { display: grid; }
  .archi-board { padding: 10px; }
  .lang button { padding: 5px 9px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --- Impression (PDF à envoyer) : une diapositive par page --- */
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  html { scroll-snap-type: none; }
  body { background: #fff; color: #23263a; }
  .topbar, .dots, .progress, .scroll-hint, .blob, .qs, .demo-head .replay, .cta-row { display: none !important; }
  .slide { min-height: auto; padding: 8mm 0; page-break-after: always; break-after: page; background: #fff !important; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .card, .chip, .step, .panel .item, .demo, .archi-board, .quality, .road span { background: #f6f6f9 !important; border-color: #ddd !important; }
  .lead, .card p, .muted, .stat span { color: #4a4f68 !important; }
  .archi-svg .node .t1 { fill: #23263a; }
}
