/* Nabady Whisper — site public */
:root {
  --teal: #00a89c; --teal-2: #00c2b3; --teal-3: #6ee7dc; --teal-soft: #e6f7f5;
  --navy: #0b1b2b; --navy-2: #102a40; --ink: #0f172a; --muted: #5b6b7f; --line: #e5eaf0;
  --bg: #ffffff; --bg-2: #f6f9fb; --card: #ffffff; --gold: #f5b544; --danger: #e5484d;
  --radius: 18px; --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 80px rgba(2, 30, 50, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: #00897f; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section.dark { background: radial-gradient(1200px 600px at 80% -10%, #0f3d4f 0%, transparent 60%),
  linear-gradient(180deg, var(--navy) 0%, #071421 100%); color: #e8f1f7; }
.section.dark p, .section.dark .sub { color: #a9bccb; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.sub { color: var(--muted); font-size: 1.12rem; max-width: 720px; }
.center { text-align: center; } .center .sub { margin-inline: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 0;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
  font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 168, 156, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 40px rgba(0, 168, 156, .45); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { color: var(--ink); border-color: var(--teal); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* En-tête */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 1.1rem; }
.brand img { height: 30px; width: auto; }
.logo-white { filter: brightness(0) invert(1); }
.brand .logo-dark { display: none; }
.nav.scrolled .brand { color: var(--ink); }
.nav.scrolled .brand .logo-light { display: none; }
.nav.scrolled .brand .logo-dark { display: block; }
.brand span { font-weight: 300; color: var(--teal-3); letter-spacing: .04em; }
.nav.scrolled .brand span { color: var(--teal); }
.nav-links { display: flex; gap: 24px; margin-inline-start: auto; }
.nav-links a { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .95rem; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--teal-3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; color: rgba(255, 255, 255, .9); font-weight: 600;
  padding: 8px 12px; border-radius: 10px; font-size: .92rem; }
.nav.scrolled .lang-switch summary { color: var(--ink); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; inset-inline-end: 0; top: 44px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 160px; }
.lang-menu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.lang-menu a:hover, .lang-menu a.on { background: var(--teal-soft); color: var(--teal); }
.nav .btn { padding: 10px 20px; font-size: .92rem; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
.nav.scrolled .burger { color: var(--ink); }

/* Héros */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff;
  padding: 130px 0 90px; overflow: hidden;
  background: radial-gradient(900px 600px at 15% 10%, rgba(0, 194, 179, .28), transparent 60%),
    radial-gradient(800px 600px at 95% 30%, rgba(46, 115, 255, .22), transparent 60%),
    linear-gradient(160deg, #06121e 0%, #0b2235 55%, #0a2a36 100%); }
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .88rem; color: #d7e7f1; margin-bottom: 22px; }
.badge b { background: var(--teal); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.hero h1 .grad { background: linear-gradient(90deg, var(--teal-3), #8ab4ff); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #b9cad8; max-width: 600px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; color: #8fa6b8; font-size: .92rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #cfe0ec; font-size: .92rem; }
.trust span::before { content: "✓"; color: var(--teal-3); font-weight: 800; margin-inline-end: 8px; }
.price-chip { color: #fff; font-weight: 700; }
.price-chip s { color: #8fa6b8; font-weight: 500; margin-inline-start: 6px; }

/* Maquette animée de l'application */
.mock { position: relative; border-radius: 22px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg); padding: 14px;
  backdrop-filter: blur(10px); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
html[dir="rtl"] .mock { transform: perspective(1400px) rotateY(6deg) rotateX(3deg); }
.mock-win { background: #fff; border-radius: 14px; overflow: hidden; color: var(--ink); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f3f6f9;
  border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; display: inline-block; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-doc { padding: 22px 24px; min-height: 270px; font-size: .95rem; line-height: 1.7; white-space: pre-wrap; }
.mock-doc .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--teal);
  vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.widget { position: absolute; inset-inline-start: -26px; bottom: -26px; display: flex; align-items: center;
  gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; max-width: 330px; }
.mic { position: relative; width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-2)); display: grid; place-items: center; }
.mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--teal);
  animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.mic svg { width: 20px; height: 20px; fill: #fff; }
.wave { display: flex; gap: 3px; align-items: center; height: 20px; }
.wave b { width: 3px; border-radius: 3px; background: var(--teal); animation: wave 1s ease-in-out infinite; }
.wave b:nth-child(2) { animation-delay: .15s } .wave b:nth-child(3) { animation-delay: .3s }
.wave b:nth-child(4) { animation-delay: .45s } .wave b:nth-child(5) { animation-delay: .6s }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 20px; } }
.float-card { position: absolute; inset-inline-end: -18px; top: -22px; background: #fff; color: var(--ink);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 600;
  display: flex; gap: 10px; align-items: center; animation: floaty 5s ease-in-out infinite; }
.float-card em { font-style: normal; color: var(--teal); font-size: 1.2rem; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 3; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-size: 2.4rem; font-weight: 800; background: linear-gradient(135deg, var(--teal), #2e73ff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Cartes */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--teal-soft); margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.section.dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); color: #e8f1f7; }
.section.dark .card .ico { background: rgba(0, 194, 179, .14); }

/* Démo : vidéos et comparaison */
.demo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.demo-pane { border-radius: var(--radius); padding: 26px; min-height: 260px; font-size: 1rem; }
.demo-pane h4 { margin: 0 0 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-3); }
.demo-pane.in { background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .2); color: #a9bccb; font-style: italic; }
.demo-pane.out { background: #fff; color: var(--ink); white-space: pre-wrap; box-shadow: var(--shadow-lg); }
.demo-pane.out h4 { color: var(--teal); }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 46px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer;
  box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video video, .video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.video .play i { width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .95);
  display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: transform .2s; }
.video:hover .play i { transform: scale(1.08); }
.video .play i::after { content: ""; border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--teal); margin-inline-start: 6px; }
.video .cap { position: absolute; inset: auto 0 0 0; padding: 16px 20px; color: #fff; font-weight: 700; }
.video .cap small { display: block; font-weight: 400; opacity: .8; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(3, 10, 18, .88); display: none;
  align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal video { width: min(1100px, 100%); max-height: 86vh; border-radius: 14px; background: #000; }
.modal button { position: absolute; top: 18px; inset-inline-end: 22px; background: none; border: 0; color: #fff;
  font-size: 2.2rem; cursor: pointer; }

/* Spécialités */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 30px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 600; color: var(--ink); font-family: inherit; font-size: .95rem; transition: all .2s; }
.tab.on, .tab:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.uc { display: none; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; background: #fff;
  border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.uc.on { display: grid; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.uc .sample { background: var(--bg-2); border-radius: 16px; padding: 24px; border-inline-start: 4px solid var(--teal);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95rem; line-height: 1.7; }
html[lang="ar"] .uc .sample { font-family: inherit; }

/* Étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; inset-inline-start: 26px;
  width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 168, 156, .35); }
.step p { color: var(--muted); margin: 0; }

/* Confidentialité */
.privacy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks li::before { content: "✓"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 194, 179, .18); color: var(--teal-3); flex: none; }
.shield { aspect-ratio: 1; max-width: 360px; margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 179, .35), transparent 65%); display: grid; place-items: center; font-size: 8rem; }

/* Tarifs */
.cur-switch { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px;
  gap: 4px; margin: 28px 0 8px; }
.cur-switch button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700;
  cursor: pointer; font-family: inherit; color: var(--muted); }
.cur-switch button.on { background: var(--ink); color: #fff; }
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; max-width: 980px; margin: 30px auto 0; align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: 26px; padding: 38px; border: 1px solid var(--line);
  display: flex; flex-direction: column; }
.plan.main { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box,
  linear-gradient(135deg, var(--teal), #2e73ff) border-box; box-shadow: 0 30px 70px rgba(0, 168, 156, .18); }
.plan .tag { position: absolute; top: -14px; inset-inline-start: 30px; background: linear-gradient(135deg, var(--teal), #2e73ff);
  color: #fff; font-size: .78rem; font-weight: 800; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.plan .price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 12px 0 2px; }
.plan .price b { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; }
.plan .price s { color: var(--muted); font-size: 1.2rem; }
.plan .price .off { background: #fff4e0; color: #b26a00; font-weight: 800; border-radius: 999px; padding: 3px 10px; font-size: .85rem; }
.plan .period { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.guarantee { margin-top: 14px; text-align: center; color: var(--muted); font-size: .92rem; }
.rate-note { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.platforms { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-weight: 600; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { width: 20px; height: 20px; fill: currentColor; }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Appel final + contact */
.cta-final { text-align: center; border-radius: 30px; padding: clamp(40px, 7vw, 80px) 24px; color: #fff;
  background: radial-gradient(600px 300px at 20% 0%, rgba(110, 231, 220, .35), transparent 70%),
    linear-gradient(135deg, #0b2235, #0a3a44); box-shadow: var(--shadow-lg); }
.cta-final p { color: #b9cad8; font-size: 1.15rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 30px auto 0; }
.contact-form textarea, .contact-form .full { grid-column: 1 / -1; }

/* Formulaires */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 168, 156, .14); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.alert.error { background: #fdecec; color: #a4161a; }
.alert.ok { background: var(--teal-soft); color: #00665e; }

/* Pages internes (achat, compte) */
.page { padding: 120px 0 80px; background: var(--bg-2); min-height: 100vh; }
.page .nav { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--line); }
.page .nav .brand, .page .nav-links a, .page .lang-switch summary, .page .burger { color: var(--ink); }
.page .nav .logo-light { display: none; } .page .nav .logo-dark { display: block; }
.page .brand span { color: var(--teal); }
.panel { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.checkout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 26px; align-items: start; }
.summary { position: sticky; top: 100px; }
.summary .line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary .total { font-size: 1.4rem; font-weight: 800; border: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.licence-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; font-weight: 700;
  letter-spacing: .05em; background: var(--bg-2); border: 1px dashed var(--teal); border-radius: 12px; padding: 12px 16px;
  direction: ltr; unicode-bidi: embed; display: inline-block; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.pill.ok { background: var(--teal-soft); color: #00665e; } .pill.wait { background: #fff4e0; color: #b26a00; }
.pill.off { background: #f1f5f9; color: var(--muted); }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: start; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.list th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.acc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 26px; }
.acc-nav { display: grid; gap: 6px; align-content: start; position: sticky; top: 100px; }
.acc-nav a { padding: 11px 16px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.acc-nav a:hover { background: #fff; }
.acc-block { margin-bottom: 26px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dl .os { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.dl .os svg { width: 26px; height: 26px; fill: var(--ink); }

/* Pied de page */
footer { background: #06121e; color: #8fa6b8; padding: 70px 0 30px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
footer h5 { color: #fff; margin: 0 0 14px; font-size: .95rem; }
footer a { color: #8fa6b8; display: block; padding: 4px 0; }
footer a:hover { color: var(--teal-3); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

/* Mobile */
@media (max-width: 980px) {
  .hero-grid, .privacy, .pricing, .uc.on, .checkout, .acc-grid { grid-template-columns: 1fr; }
  .mock { transform: none; margin-top: 20px; } html[dir="rtl"] .mock { transform: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .demo-wrap { grid-template-columns: 1fr; } .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 76px; inset-inline: 0; background: #fff; flex-direction: column;
    padding: 18px 24px; gap: 14px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; } .nav-links a { color: var(--ink) !important; }
  .burger { display: block; } .nav .btn-primary { padding: 9px 14px; font-size: .85rem; }
  .summary, .acc-nav { position: static; }
  .widget { inset-inline-start: 10px; bottom: -20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; } .grid-4, .stats, .row2, .contact-form { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; } .hero { padding-top: 110px; } .float-card { display: none; }
  .plan { padding: 28px 22px; } .plan .price b { font-size: 2.6rem; }
}
.cur-switch a { padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.cur-switch a.on { background: var(--ink); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 46px; height: 48px; border: 0; background: var(--bg-2); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty input { width: 80px; text-align: center; border: 0; border-radius: 0; font-weight: 700; font-size: 1.1rem; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.spec-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 70px; max-width: 1000px; }
.spec-wall span { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600;
  font-size: .92rem; box-shadow: 0 2px 6px rgba(15, 23, 42, .04); transition: all .2s; }
.spec-wall span:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.tabs { max-width: 1050px; margin-inline: auto; }
.tab { font-size: .88rem; padding: 8px 14px; }
.pay-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 24px; }
.pay-box > div { background: var(--bg-2); border: 1px dashed var(--teal); border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.pay-box small { color: var(--muted); font-weight: 600; }
.pay-box b { font-size: 1.5rem; direction: ltr; unicode-bidi: embed; }
@media (max-width: 560px) { .pay-box { grid-template-columns: 1fr; } }
.geo { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; padding: 8px 14px;
  border-radius: 14px; background: rgba(110, 231, 220, .1); border: 1px solid rgba(110, 231, 220, .25); color: #e6f6f4; font-size: .92rem; }
.geo-flag { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.geo-lang { color: var(--teal-3); font-weight: 700; white-space: nowrap; }
.nav-login { color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav.scrolled .nav-login, .page .nav-login { color: var(--ink); }
.user-menu { position: relative; } .user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--teal), #2e73ff); box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.user-menu .lang-menu { min-width: 240px; }
.um-head { padding: 10px 14px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: grid; }
.um-head small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.um-logout { width: 100%; text-align: start; background: none; border: 0; padding: 9px 14px; border-radius: 10px; cursor: pointer;
  font: inherit; color: var(--danger); font-weight: 600; }
.um-logout:hover { background: #fdecec; }
.only-mobile { display: none; }
@media (max-width: 980px) { .only-mobile { display: block; } .nav-login { display: none; } }
.pay-brands { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 10px; }
.pay-other { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.pay-other summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.pay-done { text-align: center; padding: 20px 0; }
.pay-check { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2.6rem;
  color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-2)); box-shadow: 0 16px 40px rgba(0,168,156,.35); }
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; text-align: center; }
.os-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; display: flex;
  flex-direction: column; align-items: center; gap: 8px; }
.os-card.on { border-color: transparent; box-shadow: 0 20px 50px rgba(0, 168, 156, .14), 0 0 0 2px var(--teal); }
.os-card svg { width: 46px; height: 46px; fill: var(--ink); margin-bottom: 6px; }
.os-card p { margin: 0; color: var(--muted); font-size: .95rem; } .os-card .os-fmt { font-size: .85rem; margin-bottom: 8px; }
.os-card .btn { margin-top: 10px; }
.os-notify { display: flex; gap: 8px; margin-top: 12px; width: 100%; }
.os-notify input { padding: 10px 12px; min-width: 0; }
.os-notify .btn { padding: 10px 14px; flex: none; }
@media (max-width: 980px) { .os-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Adaptation aux écrans (mobile, tablette, petits portables) ---------- */
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero-grid > * { min-width: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
@media (max-width: 1180px) {
  .nav-links { gap: 16px; } .nav-links a { font-size: .9rem; }
}
@media (max-width: 1100px) {
  .nav-links { display: none; position: absolute; top: 76px; inset-inline: 0; background: #fff; flex-direction: column;
    padding: 18px 24px; gap: 14px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; } .nav-links a { color: var(--ink) !important; }
  .burger { display: block; } .only-mobile { display: block; }
}
@media (max-width: 980px) {
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 18px 12px; } .stat b { font-size: 2rem; }
  .uc.on { grid-template-columns: minmax(0, 1fr); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: -16px; padding-inline: 16px; }
  .tabs::-webkit-scrollbar { display: none; } .tab { flex: none; }
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .privacy { grid-template-columns: minmax(0, 1fr); } .shield { max-width: 220px; font-size: 5rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .btn-lg { white-space: normal; text-align: center; width: 100%; padding: 15px 20px; }
  .badge { font-size: .8rem; border-radius: 14px; align-items: flex-start; }
  .geo { font-size: .85rem; }
  .trust { gap: 8px 14px; font-size: .86rem; }
  .mock { padding: 8px; border-radius: 16px; } .mock-doc { min-height: 190px; padding: 16px; font-size: .88rem; }
  .widget { inset-inline-start: 8px; bottom: -18px; padding: 8px 14px 8px 8px; font-size: .8rem; max-width: calc(100% - 16px); }
  .mic { width: 34px; height: 34px; }
  .stats { margin-top: -30px; } .stat b { font-size: 1.7rem; } .stat span { font-size: .82rem; }
  .grid-4, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .demo-pane { padding: 20px; min-height: 0; font-size: .92rem; }
  .uc { padding: 20px; } .uc .sample { padding: 16px; font-size: .88rem; }
  .spec-wall { gap: 8px; margin-bottom: 50px; } .spec-wall span { font-size: .82rem; padding: 7px 12px; }
  .steps { gap: 30px; }
  .plan { padding: 26px 20px; } .plan .price b { font-size: 2.5rem; }
  .cur-switch button, .cur-switch a { padding: 8px 14px; }
  .faq details { padding: 0 16px; } .faq summary { padding: 16px 0; font-size: .95rem; }
  .cta-final { border-radius: 22px; padding: 36px 18px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .os-notify { flex-direction: column; } .os-notify .btn { width: 100%; }
  .page { padding: 100px 0 60px; } .panel { border-radius: 18px; }
  .checkout, .acc-grid, .row2 { grid-template-columns: minmax(0, 1fr); }
  .acc-nav { grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; }
  .pay-box b { font-size: 1.2rem; }
  .licence-code { font-size: .95rem; word-break: break-all; }
  table.list th, table.list td { padding: 10px 6px; font-size: .86rem; }
  footer { padding: 50px 0 24px; } .foot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .nav-inner { gap: 10px; height: 66px; } .brand img { height: 26px; } .brand span { font-size: .95rem; }
  .nav-links { top: 66px; }
  .lang-switch summary { padding: 6px 8px; font-size: .85rem; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1100px) { .float-card { inset-inline-end: 6px; top: -16px; } }
.cta-main { gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-main .price-chip { white-space: nowrap; direction: ltr; unicode-bidi: isolate; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); }

/* ---- Assistants IA + anonymisation (schéma) ---- */
.ai-sub { max-width: 760px; margin-inline: auto; }
.ai-providers { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ai-providers span { padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; box-shadow: var(--shadow); }
.ai-flow { display: grid; grid-template-columns: minmax(0, 1.25fr) 150px minmax(0, 1fr); gap: 0;
  align-items: center; margin-top: 48px; }
.ai-zone { position: relative; border-radius: 24px; padding: 46px 22px 22px; display: grid; gap: 16px; }
.ai-zone-h { position: absolute; top: -14px; inset-inline-start: 22px; padding: 4px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 800; color: #fff; }
.ai-pc { background: var(--teal-soft); border: 2px dashed var(--teal); }
.ai-pc .ai-zone-h { background: var(--teal); }
.ai-cloud { background: #eef2ff; border: 2px solid #c7d2fe; }
.ai-cloud .ai-zone-h { background: #4f46e5; }
.ai-step { display: flex; gap: 14px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  min-width: 0; }
.ai-step > div:last-child { min-width: 0; }
.ai-step h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.ai-step p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.ai-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; }
.ai-cloud .ai-n { background: #4f46e5; }
.ai-ex { font: 500 .84rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
html[lang="ar"] .ai-ex { font-family: var(--font); }
.ai-ex mark { unicode-bidi: isolate; background: #fde68a; color: #7c2d12; border-radius: 5px; padding: 0 4px; font-weight: 700; }
.ai-ex.ok { background: #ecfdf5; border-color: #a7f3d0; }
.ai-final { outline: 2px solid var(--teal); }
.ai-wire { display: grid; gap: 28px; padding: 0 10px; }
.ai-arrow { position: relative; height: 4px; border-radius: 4px; }
.ai-arrow span { position: absolute; bottom: 10px; inset-inline: -6px; text-align: center; font-size: .74rem;
  font-weight: 800; line-height: 1.25; }
.ai-arrow.back span { bottom: auto; top: 10px; }
.ai-arrow.out { background: var(--teal); }
.ai-arrow.out span { color: #00897f; }
.ai-arrow.back { background: #4f46e5; }
.ai-arrow.back span { color: #4f46e5; }
.ai-arrow::after { content: ""; position: absolute; top: -6px; border: 8px solid transparent; }
.ai-arrow.out::after { inset-inline-end: -10px; border-inline-start-color: var(--teal); }
.ai-arrow.back::after { inset-inline-start: -10px; border-inline-end-color: #4f46e5; }
.ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 44px auto 0; }
@media (max-width: 980px) {
  .ai-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ai-wire { grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 24px 30px; justify-items: start; }
  .ai-arrow { width: 4px; height: 64px; }
  .ai-arrow span { bottom: auto; top: 50%; transform: translateY(-50%); inset-inline: auto; width: min(130px, 30vw);
    inset-inline-start: 14px; text-align: start; }
  .ai-arrow.back span { top: 50%; }
  .ai-arrow::after { top: auto; inset-inline: -6px auto; }
  .ai-arrow.out::after { bottom: -12px; border: 8px solid transparent; border-top-color: var(--teal); inset-inline-end: auto; }
  .ai-arrow.back::after { top: -12px; border: 8px solid transparent; border-bottom-color: #4f46e5; }
  .ai-points { grid-template-columns: minmax(0, 1fr); }
}
