/* ============================================================
   ASSISTIO — glassmorphism sombre, façon OS Tesla
   Monochrome strict + un seul rouge (#e8362b, élément actif).
   Règle d'or : jamais de verre sans lueur derrière.
   ============================================================ */

/* ---------- Polices auto-hébergées (RGPD) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg-0: #090b0f;
  --bg-1: #11151d;
  --bg-2: #0a0d11;
  --glass: rgba(22, 26, 33, 0.55);
  --glass-strong: rgba(26, 31, 40, 0.72);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);
  --txt-1: #f4f6f9;
  --txt-2: #aeb4bf;
  --txt-3: #727884;
  --red: #e8362b;
  --red-hover: #ff5a50;
  --red-halo: rgba(232, 54, 43, 0.45);
  --cold: rgba(120, 150, 205, 0.16);
  --r: 19px;
  --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  --font-d: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-b: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-m: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 700px at 85% -5%, rgba(120, 150, 205, 0.07), transparent 65%),
    linear-gradient(148deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-2) 100%);
  color: var(--txt-2);
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

/* grain très léger : casse l'aplat, invisible en tant que tel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  color: var(--txt-1);
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; }
a { color: inherit; }

::selection { background: rgba(232, 54, 43, 0.35); color: var(--txt-1); }

:focus-visible {
  outline: 2px solid rgba(244, 246, 249, 0.85);
  outline-offset: 3px;
  border-radius: 6px;
}

.mono { font-family: var(--font-m); font-size: 0.95em; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--txt-1);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Verre : la recette complète, jamais diluée ---------- */
.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-b);
  font-size: 14.5px;
  font-weight: 480;
  letter-spacing: 0.01em;
  color: var(--txt-1);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.btn-l { padding: 14px 28px; font-size: 15.5px; border-radius: 13px; }
.btn-s { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 32px -10px var(--red-halo), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-red:hover {
  background: var(--red-hover);
  box-shadow: 0 14px 40px -10px var(--red-halo), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
.btn-red:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav-solid {
  background: rgba(9, 11, 15, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 66px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0;
}
.brand-word {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: var(--txt-1);
}
.brand-dot {
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(232, 54, 43, 0.8);
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-right: auto;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--txt-2);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.22s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 1px;
  background: var(--txt-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s;
}
.nav-links a:hover { color: var(--txt-1); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* bouton espace client (bonhomme) — tout à droite, visible sans voler
   la vedette au bouton Télécharger */
.nav-user {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--txt-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.nav-user svg { width: 19px; height: 19px; }
.nav-user:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px -10px rgba(0, 0, 0, 0.8);
}
.nav-user:active { transform: translateY(0); }

/* sélecteur de langue */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--txt-2);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.05); color: var(--txt-1); }
.lang.is-open .lang-btn { background: rgba(255, 255, 255, 0.05); border-color: var(--line-soft); }
.flag {
  width: 21px;
  height: 14px;
  border-radius: 2.5px;
  outline: 1px solid rgba(255, 255, 255, 0.14);
}
.chev { width: 11px; height: 11px; transition: transform 0.25s; }
.lang.is-open .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  background: rgba(14, 17, 23, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.24s;
}
.lang.is-open .lang-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 9px;
  color: var(--txt-2);
  font-family: var(--font-b);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.lang-item:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); color: var(--txt-1); }
.lang-item.is-active { color: var(--txt-1); }
.lang-item .tick { width: 12px; height: 12px; margin-left: auto; }
.lang-item .tick[hidden] { display: block; visibility: hidden; }
.lang-item:disabled { cursor: default; color: var(--txt-3); }
.lang-item em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--txt-3);
  border: 1px solid var(--line-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

/* burger + menu mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--txt-1);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 16px 14px;
  padding: 14px;
  background: rgba(11, 14, 19, 0.94);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.btn) {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--txt-1);
  font-size: 15px;
  text-decoration: none;
}
.mobile-menu > a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); }
.mobile-menu .btn { margin-top: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  padding: 140px 24px 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: clip;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-cold {
  left: 50%;
  bottom: -160px;
  width: min(1040px, 140vw);
  height: 660px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--cold), rgba(120, 150, 205, 0.05) 55%, transparent 74%);
}
/* la seule lueur rouge de la page, sous la ligne active du panneau */
.hero-glow-red {
  left: 50%;
  bottom: 320px;
  width: 380px;
  height: 280px;
  transform: translateX(-105%);
  background: radial-gradient(closest-side, rgba(232, 54, 43, 0.17), transparent 70%);
}

.hero-copy { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 420;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(2.7rem, 6.4vw, 4.7rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-sub {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--txt-2);
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-note { margin-top: 18px; font-size: 13px; color: var(--txt-3); }

/* --- le panneau produit : l'unique moment d'audace --- */
.hero-stage {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  margin-top: 74px;
}
.app-panel {
  background: var(--glass-strong);
  text-align: left;
  border-radius: 20px;
}

.ap-titlebar {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.ap-dots { display: flex; gap: 6px; }
.ap-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.ap-title {
  margin: 0 auto;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.ap-kbd { display: flex; gap: 4px; }
kbd {
  font-family: var(--font-m);
  font-size: 10.5px;
  color: var(--txt-3);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 2px 7px;
}

.ap-search {
  display: flex;
  align-items: center;
  margin: 16px 18px 10px;
  padding: 12px 16px;
  background: rgba(9, 11, 15, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-family: var(--font-m);
  font-size: 15px;
}
.ap-slash { color: var(--txt-3); }
.ap-query { color: var(--txt-1); }
.ap-caret {
  width: 1.5px;
  height: 18px;
  margin-left: 3px;
  background: var(--txt-1);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.ap-list {
  list-style: none;
  margin: 0 10px;
  padding: 0;
}
.ap-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--txt-2);
}
.ap-chip {
  font-family: var(--font-m);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  color: var(--txt-2);
  white-space: nowrap;
}
.ap-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ap-enter { color: var(--txt-3); font-size: 13px; }

.ap-row.is-active {
  background: linear-gradient(90deg, rgba(232, 54, 43, 0.13), rgba(232, 54, 43, 0.03) 55%, transparent);
  color: var(--txt-1);
}
.ap-row.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(232, 54, 43, 0.75);
}
.ap-row.is-active .ap-chip {
  color: var(--txt-1);
  border-color: rgba(232, 54, 43, 0.45);
  background: rgba(232, 54, 43, 0.1);
}

.ap-preview {
  margin: 12px 18px;
  padding: 14px 16px;
  background: rgba(9, 11, 15, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.ap-preview p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--txt-2);
}
.ap-preview b { color: var(--txt-1); font-weight: 500; font-family: var(--font-m); font-size: 0.95em; }
.ap-meta {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--txt-3);
}

.ap-footer {
  display: flex;
  gap: 18px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--txt-3);
}

.ap-toast {
  position: absolute;
  top: -20px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--txt-1);
  background: rgba(16, 20, 26, 0.82);
}
.ap-toast svg { width: 13px; height: 13px; color: var(--txt-1); }
.ap-toast em { font-style: normal; color: var(--txt-3); }
.ap-toast.is-fire { animation: toast-pop 0.7s cubic-bezier(0.34, 1.4, 0.5, 1); }
@keyframes toast-pop {
  0% { transform: scale(0.92); }
  55% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 88px 24px;
}
.section-glow {
  position: absolute;
  top: 60px;
  left: -180px;
  width: 720px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(120, 150, 205, 0.11), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.section-glow-right { left: auto; right: -200px; top: 140px; }
/* :not(.section-glow) : sinon cette règle écraserait le position:absolute
   des lueurs (même spécificité, déclarée après) et les mettrait dans le flux */
.section > :not(.section-glow) { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.eyebrow {
  font-size: 11.5px;
  font-weight: 450;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.lead {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--txt-2);
}

.disclaimer {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--txt-3);
}
.disclaimer-s { margin-top: 12px; font-size: 11.5px; }

/* ---------- Bento fonctionnalités ---------- */
.bento {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.card {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%);
}
.card .eyebrow { margin-bottom: 10px; }
.card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.card-body p:not(.eyebrow) {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--txt-2);
}

.card-ocr { grid-column: span 7; }
.card-snippets { grid-column: span 5; }
.card-ia { grid-column: span 5; }
.card-notes { grid-column: span 4; }
.card-import { grid-column: span 3; }

/* --- démo OCR animée ---
   L'image (photo de box, 16:9) et le conteneur partagent le même ratio :
   les % des overlays correspondent donc exactement aux pixels de l'image.
   Coordonnées de la ligne MAC mesurées sur assets/img/box-mac.jpg. */
.ocr-stage {
  --rl: 42.4%;
  --rt: 48.3%;
  --rw: 13.9%;
  --rh: 5.6%;
  position: relative;
  margin: 22px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 9;
}
.ocr-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.88);
}
.ocr-veil {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.22);
}
.ocr-rect {
  position: absolute;
  left: var(--rl);
  top: var(--rt);
  width: var(--rw);
  height: var(--rh);
  border: 1.5px dashed rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  animation: ocr-rect 7.5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.ocr-rect i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 1.5px;
}
.ocr-rect i:nth-child(1) { left: -3.5px; top: -3.5px; }
.ocr-rect i:nth-child(2) { right: -3.5px; top: -3.5px; }
.ocr-rect i:nth-child(3) { left: -3.5px; bottom: -3.5px; }
.ocr-rect i:nth-child(4) { right: -3.5px; bottom: -3.5px; }
@keyframes ocr-rect {
  0%, 9% { opacity: 0; width: 0%; height: 0%; background: rgba(255, 255, 255, 0.07); }
  11% { opacity: 1; }
  34% { width: var(--rw); height: var(--rh); background: rgba(255, 255, 255, 0.07); }
  41% { background: rgba(255, 255, 255, 0.22); }
  48%, 88% { opacity: 1; width: var(--rw); height: var(--rh); background: rgba(255, 255, 255, 0.07); }
  95%, 100% { opacity: 0; width: var(--rw); height: var(--rh); }
}

.ocr-chip {
  position: absolute;
  left: var(--rl);
  top: calc(var(--rt) - 46px);
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(9, 11, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--txt-1);
  animation: ocr-pop 7.5s ease infinite;
}
.ocr-toast {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(9, 11, 15, 0.88);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--txt-1);
  animation: ocr-pop 7.5s ease infinite;
  animation-delay: 0.35s;
}
.ocr-toast svg { width: 13px; height: 13px; }
@keyframes ocr-pop {
  0%, 44% { opacity: 0; transform: translateY(5px); }
  50%, 88% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(5px); }
}

/* --- démo réponses instantanées : on tape /retour, la réponse s'écrit --- */
.snip-demo {
  margin-top: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(9, 11, 15, 0.42);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.sd-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.sd-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.sd-body {
  position: relative;
  flex: 1;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
}
.sd-line {
  position: absolute;
  top: 15px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  animation: sd-line 10s linear infinite;
}
.sd-cmd {
  display: block;
  box-sizing: content-box;
  width: 7ch;
  padding: 2px 5px;
  margin: -2px -5px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 14px;
  color: var(--txt-1);
  animation: sd-type 10s infinite, sd-flash 10s infinite;
}
.sd-caret {
  width: 1.5px;
  height: 16px;
  margin-left: 3px;
  background: var(--txt-1);
  animation: blink 1.1s steps(2, start) infinite;
}
.sd-text {
  margin: 0;
  color: var(--txt-2);
  opacity: 1;
  animation: sd-text 10s infinite;
}
.sd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--txt-3);
}
.sd-count { animation: sd-count 10s infinite; }

@keyframes sd-line {
  0%, 43% { opacity: 1; }
  45%, 100% { opacity: 0; }
}
@keyframes sd-type {
  0%, 8% { width: 0ch; animation-timing-function: steps(7, end); }
  26%, 100% { width: 7ch; }
}
/* la reconnaissance du raccourci : le seul éclat rouge de la carte (élément actif) */
@keyframes sd-flash {
  0%, 30% { background: transparent; box-shadow: none; }
  34%, 42% { background: rgba(232, 54, 43, 0.18); box-shadow: 0 0 0 1px rgba(232, 54, 43, 0.45); }
  46%, 100% { background: transparent; box-shadow: none; }
}
@keyframes sd-text {
  0%, 44% { opacity: 0; clip-path: inset(0 0 100% 0); }
  45% { opacity: 1; clip-path: inset(0 0 100% 0); }
  60% { clip-path: inset(0); }
  93% { opacity: 1; clip-path: inset(0); }
  98%, 100% { opacity: 0; clip-path: inset(0); }
}
@keyframes sd-count {
  0%, 58% { opacity: 0; }
  63%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

.card-stat {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--txt-3);
}

/* --- reformulation IA --- */
.tone-demo {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tone-before, .tone-after {
  padding: 13px 15px;
  background: rgba(9, 11, 15, 0.42);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--txt-2);
}
.tone-after { color: var(--txt-1); }
.tone-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 450;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.tone-out {
  display: inline-block;
  transition: opacity 0.18s, transform 0.18s;
}
.tone-out.is-fading { opacity: 0; transform: translateY(3px); }
.tone-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tone-chip {
  padding: 6px 13px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-b);
  font-size: 12px;
  color: var(--txt-2);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tone-chip:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--txt-1);
}
.tone-chip.is-active {
  background: var(--red);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px -4px var(--red-halo);
}

/* --- notes d'appel --- */
.notes-demo {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.notes-demo p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(9, 11, 15, 0.42);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 13px;
  color: var(--txt-2);
}
.notes-demo time { font-family: var(--font-m); font-size: 11.5px; color: var(--txt-3); }
.notes-demo svg {
  width: 13px;
  height: 13px;
  flex: none;
  align-self: center;
  color: var(--txt-3);
}
.nd-chip {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 10.5px;
  color: var(--txt-2);
  white-space: nowrap;
}
.card-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--txt-3);
}
.card-lock svg { width: 14px; height: 14px; flex: none; }

/* --- import TextBlaze --- */
.drop-demo {
  margin-top: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 22px 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--txt-3);
  font-family: var(--font-m);
  font-size: 12px;
  text-align: center;
}
.drop-demo svg { width: 20px; height: 20px; }

/* ---------- Avis ---------- */
.trust {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 18px;
}
.trust-score {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 500;
  color: var(--txt-1);
}
.tp-star { width: 20px; height: 20px; border-radius: 3px; }
.tp-stars { display: flex; gap: 4px; margin: 18px 0 12px; }
.tp-stars svg { width: 27px; height: 27px; border-radius: 3px; }
.tp-stars svg rect { fill: #00b67a; }
.tp-stars svg.is-part {
  -webkit-mask-image: linear-gradient(90deg, #000 78%, rgba(0, 0, 0, 0.22) 78%);
  mask-image: linear-gradient(90deg, #000 78%, rgba(0, 0, 0, 0.22) 78%);
}
.trust-note { font-size: 14px; color: var(--txt-2); }
.trust-note b { color: var(--txt-1); font-size: 16px; font-weight: 550; }

/* carte Trustpilot seule (pré-lancement : aucun avis encore) */
.trust-solo {
  grid-template-columns: min(460px, 100%);
  justify-content: center;
}
.trust-solo .trust-score { text-align: center; align-items: center; }
.trust-solo .trust-brand { justify-content: center; }
.trust-solo .tp-stars { justify-content: center; }

/* introduction du carrousel bêta-testeurs */
.beta-note {
  max-width: 640px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--txt-2);
}

.quote {
  padding: 25px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
}
.quote p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--txt-1);
  font-weight: 350;
}
.quote footer { margin-top: 16px; font-size: 13px; color: var(--txt-3); }

/* ---------- Carrousel logos (fictifs) ---------- */
.marquee {
  max-width: 1140px;
  margin: 38px auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 76px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 38px)); }
}
.mk {
  font-family: var(--font-d);
  color: rgba(255, 255, 255, 0.32);
  white-space: nowrap;
}
.mk-1 { font-size: 15px; font-weight: 600; letter-spacing: 0.32em; }
.mk-2 { font-family: var(--font-b); font-size: 21px; font-weight: 300; letter-spacing: 0.02em; }
.mk-3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.mk-4 { font-size: 14.5px; font-weight: 700; letter-spacing: 0.24em; }
.mk-5 { font-family: var(--font-b); font-size: 19px; font-weight: 420; letter-spacing: 0.05em; }
.mk-6 { font-size: 22px; font-weight: 400; letter-spacing: -0.04em; }
.mk-7 { font-size: 13px; font-weight: 500; letter-spacing: 0.36em; }
.mk-8 { font-family: var(--font-b); font-size: 19px; font-weight: 350; letter-spacing: 0.12em; font-variant: small-caps; }

/* ---------- Tarifs ---------- */
.period-toggle {
  display: flex;
  width: max-content;
  margin: 0 auto 46px;
  padding: 5px;
  background: rgba(9, 11, 15, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.period-toggle button {
  padding: 9px 22px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--txt-3);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 450;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.period-toggle button.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--txt-1);
}
.period-toggle em { font-style: normal; font-size: 12px; color: inherit; opacity: 0.75; }

.plans {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%);
}
.plan h3 { font-size: 20px; font-weight: 550; letter-spacing: 0.01em; }
.plan-tag { margin-top: 5px; font-size: 13px; color: var(--txt-3); }
.plan-price { margin: 24px 0 2px; display: flex; align-items: baseline; gap: 9px; }
.plan-price b {
  font-family: var(--font-d);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--txt-1);
}
.plan-price > span { font-size: 13px; color: var(--txt-3); }
.plan-bill { font-size: 12px; color: var(--txt-3); height: 19px; visibility: hidden; }
/* ligne de palier du plan Team (toujours visible, contrairement à .plan-bill) */
.plan-tier { margin-top: 2px; font-size: 12px; color: var(--txt-3); }

/* ---------- Calculateur de postes (plan Team) ---------- */
.seats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 2px;
}
.seats-label {
  font-size: 11.5px;
  font-weight: 450;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.seats-ctrl { display: flex; align-items: center; gap: 6px; }
.seats-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--txt-1);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.seats-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.seats-input {
  width: 64px;
  padding: 6px 4px;
  text-align: center;
  background: rgba(9, 11, 15, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--txt-1);
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}
.seats-input::-webkit-outer-spin-button,
.seats-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seats-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(120, 150, 205, 0.12);
}
.team-calc { margin: 12px 0 0; border-top: 1px solid var(--line-soft); }
.team-calc > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.team-calc dt { color: var(--txt-3); font-weight: 400; }
.team-calc dt em { font-style: normal; font-size: 11px; }
.team-calc dd {
  margin: 0;
  color: var(--txt-1);
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}

/* bascule mensuel / annuel */
.period .pa { display: none; }
.period[data-period="annual"] .pa { display: inline; }
.period[data-period="annual"] .plan-bill.pa { display: block; visibility: visible; }
.period[data-period="annual"] .pm { display: none; }

.plan ul {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
}
.plan li {
  position: relative;
  padding: 8.5px 0 8.5px 26px;
  font-size: 14px;
  color: var(--txt-2);
  border-bottom: 1px solid var(--line-soft);
}
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 12px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5 5.5 11 12 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5 5.5 11 12 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .btn { margin-top: auto; width: 100%; }

.plan-pro {
  background: var(--glass-strong);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: rgba(28, 33, 42, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 480;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-1);
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.section-narrow .section-head { margin-bottom: 38px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item h3 { margin: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 6px;
  background: none;
  border: 0;
  color: var(--txt-1);
  font-family: var(--font-b);
  font-size: 16.5px;
  font-weight: 430;
  text-align: left;
  cursor: pointer;
  transition: color 0.22s;
}
.faq-q:hover { color: #fff; }
.faq-q svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--txt-3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }

.faq-a { display: grid; grid-template-rows: 1fr; }
.js .faq-a {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; min-height: 0; }
.js .faq-a-in {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.35s 0.04s, transform 0.35s 0.04s;
}
.js .faq-item.is-open .faq-a-in { opacity: 1; transform: none; }
.faq-a p {
  padding: 0 6px 24px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--txt-2);
}
.faq-a b { color: var(--txt-1); font-weight: 500; }
.faq-a a { color: var(--txt-1); }

/* ---------- Téléchargement ---------- */
.dl {
  max-width: 980px;
  margin: 0 auto;
  padding: 62px 52px 54px;
  overflow: hidden;
  text-align: center;
}
.dl-glow {
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: 130%;
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(120, 150, 205, 0.13), transparent 70%);
  pointer-events: none;
}
.dl .section-head { margin-bottom: 42px; position: relative; }
.dl-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dl-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 24px 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--txt-2);
  font-family: var(--font-b);
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.dl-tile:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.dl-tile svg { width: 30px; height: 30px; margin-bottom: 10px; color: var(--txt-2); transition: color 0.22s; }
.dl-tile:hover svg { color: var(--txt-1); }
.dl-tile b {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 500;
  color: var(--txt-1);
}
.dl-tile span { font-size: 12px; color: var(--txt-3); }
.dl-note { position: relative; margin-top: 28px; font-size: 12.5px; color: var(--txt-3); }

/* ---------- Pied de page ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 24px 30px;
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr 1.3fr;
  gap: 32px;
}
.footer-brand .brand-word { font-size: 13px; letter-spacing: 0.32em; }
.footer-brand > p:last-child {
  margin-top: 14px;
  max-width: 250px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--txt-3);
}
.footer h4 {
  margin-bottom: 14px;
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.footer nav a, .footer nav button {
  display: block;
  margin: 9px 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--txt-2);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 380;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.footer nav a:hover, .footer nav button:hover { color: var(--txt-1); }
.footer-line {
  max-width: 1140px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 12px;
  color: var(--txt-3);
}

/* ---------- Toast global ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 150;
  max-width: min(420px, calc(100vw - 40px));
  padding: 13px 20px;
  font-size: 14px;
  color: var(--txt-1);
  text-align: center;
  background: rgba(16, 20, 26, 0.88);
  border-radius: 14px;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }

/* ---------- Reveals au scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.22, 0.6, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pages légales ---------- */
.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 24px 90px;
}
.legal-wrap h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.legal-date { margin-top: 10px; font-size: 13px; color: var(--txt-3); }
.legal-wrap h2 {
  margin: 44px 0 14px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.legal-wrap h3 { margin: 26px 0 10px; font-size: 15.5px; font-weight: 500; }
.legal-wrap p, .legal-wrap li {
  margin: 10px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--txt-2);
}
.legal-wrap ul { padding-left: 22px; margin: 10px 0; }
.legal-wrap a { color: var(--txt-1); }
.legal-wrap b, .legal-wrap strong { color: var(--txt-1); font-weight: 500; }

.notice {
  margin: 30px 0;
  padding: 16px 20px;
  background: rgba(229, 180, 91, 0.06);
  border: 1px solid rgba(229, 180, 91, 0.25);
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #e0c084;
}
.todo {
  padding: 1px 8px;
  border: 1px dashed rgba(229, 180, 91, 0.4);
  border-radius: 6px;
  background: rgba(229, 180, 91, 0.08);
  color: #e5b45b;
  font-size: 0.92em;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  font-size: 13.5px;
  color: var(--txt-3);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--txt-1); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-ocr { grid-column: span 12; }
  .card-snippets { grid-column: span 12; }
  .card-ia { grid-column: span 6; }
  .card-notes { grid-column: span 6; }
  .card-import { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .burger { display: flex; }
  .trust { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan-pro { transform: none; }
  .section { padding: 64px 20px; }
  .hero { padding: 118px 20px 64px; }
}

@media (max-width: 640px) {
  .card-ia, .card-notes { grid-column: span 12; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .dl { padding: 44px 22px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .nav-dl { display: none; }
  .ap-toast { top: -16px; right: 4px; }
  .hero-glow-red { transform: translateX(-70%); }
  .ap-footer { gap: 12px; flex-wrap: wrap; }
  .hero-cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  /* très petits écrans : l'en-tête garde logo + burger, langue et
     connexion vivent dans le menu mobile */
  .lang, .nav-user { display: none; }
  .nav-inner { gap: 16px; }
}

/* rappel de langue dans le menu mobile (le sélecteur est masqué ≤ 420px) */
.mm-lang {
  margin: 0;
  padding: 10px 14px 4px;
  font-size: 13px;
  color: var(--txt-3);
}
.mm-lang button {
  margin-left: 7px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--txt-3);
  font: inherit;
  cursor: pointer;
}
.mm-lang button.is-active {
  border-bottom-color: var(--red);
  color: var(--txt-1);
}

/* ---------- Reduced motion : tout reste lisible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ap-caret { animation: none; }
  .ap-toast.is-fire { animation: none; }
  .ocr-rect, .ocr-chip, .ocr-toast { animation: none; }
  .sd-line { animation: none; opacity: 0; }
  .sd-cmd, .sd-caret { animation: none; }
  .sd-text, .sd-count { animation: none; opacity: 1; clip-path: none; }
  .marquee-track { animation: none; }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .lang-menu { transition: none; }
  .tone-out { transition: none; }
  .js .faq-a, .js .faq-a-in { transition: none; }
  .btn, .dl-tile { transition-property: background, border-color, color; }
}
