:root {
  /* Palette « Émeraude nocturne » : confiance (menthe), profondeur (indigo), Premium (or). */
  --a1: 52, 226, 176;      /* accent principal (RGB) */
  --a2: 99, 102, 241;      /* accent secondaire indigo (RGB) */
  --a3: 8, 94, 76;         /* accent profond (RGB) */
  --bg: #060912;
  --bg-2: #0a0f1a;
  --panel: rgba(16, 22, 36, 0.62);
  --panel-solid: #0f1522;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef3f8;
  --muted: #95a3b8;
  --dim: #5a6780;
  --cyan: #34e2b0;
  --cyan-2: #8ff3d6;
  --blue: #12b886;
  --violet: #0b5d4a;
  --ink: #04110d;
  --danger: #ffb020;
  --gold: #f5c66b;
  --gold-2: #ffe3a3;
  --gold-grad: linear-gradient(135deg, #ffe3a3 0%, #f5c66b 45%, #d99a2b 100%);
  --glass: linear-gradient(160deg, rgba(20, 28, 46, 0.66), rgba(8, 12, 22, 0.66));
  --accent: linear-gradient(135deg, #7ff8d6 0%, #34e2b0 45%, #14b8a6 100%);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 760px at 82% -12%, rgba(var(--a1), 0.16), transparent 62%),
    radial-gradient(900px 680px at -10% 30%, rgba(var(--a2), 0.14), transparent 58%),
    radial-gradient(760px 620px at 55% 115%, rgba(var(--a1), 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

::selection { background: rgba(var(--a1), 0.26); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.hidden { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: 94px; }

/* ---------------------------------------------------------------- */
/* Typographie                                                       */
/* ---------------------------------------------------------------- */

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h1 .line { display: block; white-space: nowrap; }

h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(157, 176, 206, 0.55);
}

@supports not (-webkit-text-stroke: 1px rgba(255, 255, 255, 0.5)) {
  h1 .outline { color: rgba(157, 176, 206, 0.35); }
}

h1 em {
  font-style: normal;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(var(--a1), 0.25);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(29px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 22ch;
}

h3 {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(var(--a1), 0.14), 0 0 12px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}

.section-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.lede { color: var(--muted); font-size: 17px; line-height: 1.68; max-width: 35em; }
.lede strong { color: var(--text); font-weight: 500; }

.fine { color: var(--dim); font-size: 12.5px; line-height: 1.65; }
.fine strong { color: var(--muted); font-weight: 500; }
.center { text-align: center; }

/* ---------------------------------------------------------------- */
/* Boutons                                                           */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn.primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 40px -14px rgba(var(--a1), 0.55), 0 6px 20px -10px rgba(var(--a3), 0.5);
  animation: ctaPulse 3.2s ease-in-out infinite;
}

.btn.primary:hover { box-shadow: 0 16px 46px -12px rgba(var(--a1), 0.75); }

.btn.dark { background: var(--ink); color: var(--cyan); border-color: rgba(var(--a1), 0.3); }

.btn.danger { background: rgba(255, 92, 122, 0.12); color: var(--danger); border-color: rgba(255, 92, 122, 0.45); }
.btn.danger:hover { background: rgba(255, 92, 122, 0.2); border-color: var(--danger); }
.btn.dark:hover { border-color: var(--cyan); }

.btn.ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(140, 180, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn.ghost:hover { border-color: rgba(var(--a1), 0.5); background: rgba(var(--a1), 0.07); }

.btn.small { padding: 12px 18px; font-size: 10px; border-radius: 10px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(140, 180, 255, 0.04);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.icon-btn:hover { background: rgba(var(--a1), 0.09); border-color: rgba(var(--a1), 0.35); color: var(--cyan); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.subtle { border-color: transparent; color: var(--dim); background: transparent; }
.icon-btn.subtle:hover { color: var(--text); }

.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: inherit; }

/* ---------------------------------------------------------------- */
/* Navigation                                                        */
/* ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 34px;
  height: 76px;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.logo-mark { width: 24px; height: 24px; color: var(--cyan); filter: drop-shadow(0 0 6px rgba(var(--a1), 0.5)); }

.nav-links {
  display: flex;
  gap: 30px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover { color: var(--cyan); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; }

/* ---------------------------------------------------------------- */
/* Héros + téléphone futuriste                                       */
/* ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 72px) max(24px, calc((100% - 1200px) / 2)) 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.hero-copy .lede { margin-top: 26px; }
.hero-copy h1 { margin-top: 2px; }

.hero-scroll {
  align-self: center;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-scroll span::after { content: " ↓"; color: var(--cyan); animation: scrollHint 2s ease-in-out infinite; }

@keyframes scrollHint { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-actions .btn { min-height: 46px; }
.hero-actions + .trust-row { margin-top: 24px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* --- téléphone ---------------------------------------------------- */

.phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--a1), 0.22), rgba(var(--a2), 0.16) 45%, transparent 70%);
  filter: blur(40px);
  animation: glow 5s ease-in-out infinite;
}

.phone {
  position: relative;
  width: 292px;
  height: 600px;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, rgba(var(--a1), 0.5), rgba(var(--a2), 0.35) 50%, rgba(var(--a1), 0.4));
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(140, 180, 255, 0.16),
    0 0 80px -18px rgba(var(--a1), 0.45);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(var(--a1), 0.12), transparent 55%),
    #070b16;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(var(--a1), 0.035) 0 1px, transparent 1px 4px);
  animation: scan 9s linear infinite;
}

.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  border: 1px solid rgba(140, 180, 255, 0.18);
  z-index: 3;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.phone-sig { letter-spacing: -0.05em; color: var(--cyan); }

.phone-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 16px 8px;
  justify-content: flex-end;
}

.phone-msg {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.45;
}

.phone-msg.them {
  align-self: flex-start;
  background: rgba(140, 180, 255, 0.1);
  border: 1px solid rgba(140, 180, 255, 0.16);
  border-bottom-left-radius: 4px;
}

.phone-msg.me {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  box-shadow: 0 8px 24px -12px rgba(var(--a1), 0.6);
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 16px 18px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  background: rgba(140, 180, 255, 0.08);
  border: 1px solid rgba(140, 180, 255, 0.16);
  font-size: 12px;
  color: var(--dim);
}

.phone-send {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.hud-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.75);
  border: 1px solid rgba(var(--a1), 0.3);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-2);
  box-shadow: 0 10px 30px -12px rgba(var(--a1), 0.5);
}

.hud-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hud-1 { top: 8%; left: -4%; animation: float 7s ease-in-out infinite; }
.hud-2 { top: 34%; right: -6%; animation: float 6s ease-in-out 1s infinite; }
.hud-3 { bottom: 10%; left: 2%; animation: float 8s ease-in-out 0.5s infinite; }

/* --- logo et illustration cyber ---------------------------------- */

.hero-brand { display: flex; align-items: center; gap: 16px; }

.hero-logo {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 0 18px rgba(var(--a1), 0.5)) drop-shadow(0 0 40px rgba(var(--a3), 0.3));
  animation: float 7s ease-in-out infinite;
}

.hero-wordmark {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cyber-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.cyber-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--a1), 0.22), rgba(var(--a3), 0.14) 45%, transparent 70%);
  filter: blur(36px);
  animation: glow 5s ease-in-out infinite;
}

.cyber-art {
  position: relative;
  width: min(100%, 560px);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.9);
}

.cyber-hero .hud-1 { top: 10%; left: 0; }
.cyber-hero .hud-2 { top: 42%; right: 0; }
.cyber-hero .hud-3 { bottom: 12%; left: 4%; }

/* --- bandeau défilant --------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(var(--a1), 0.18);
  border-bottom: 1px solid rgba(var(--a1), 0.18);
  background: rgba(8, 12, 24, 0.7);
  margin-top: clamp(48px, 7vw, 88px);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-2);
  animation: ticker 42s linear infinite;
}

.tick-sep { color: var(--violet); opacity: 0.7; }

/* ---------------------------------------------------------------- */
/* Sections                                                          */
/* ---------------------------------------------------------------- */

.steps, .security, .pricing, .faq {
  padding: 100px max(24px, calc((100% - 1200px) / 2));
  border-top: 1px solid var(--line);
}

.section-head { max-width: 740px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin: 20px auto 0; }
.section-head.center h2 { margin-inline: auto; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.step-grid li {
  position: relative;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.step-grid li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 46px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--a1), 0.6);
}

.step-grid li::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(var(--a1), 0.5);
  border-right: 1px solid rgba(var(--a1), 0.5);
}

.step-index {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 34px;
}

.step-grid h3 { margin-bottom: 10px; }
.step-grid p { color: var(--muted); font-size: 14px; line-height: 1.62; }

/* --- sécurité ----------------------------------------------------- */

.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.security-copy .lede { margin-top: 20px; }
.security-copy .fine { margin-top: 22px; max-width: 40em; }

.security-cards { display: grid; gap: 14px; }

.sec-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 24px;
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.sec-card::before, .sec-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(var(--a1), 0.6);
  border-style: solid;
}

.sec-card::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.sec-card::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

.sec-card.forbid { border-color: rgba(255, 92, 122, 0.28); background: rgba(255, 92, 122, 0.05); }
.sec-card.forbid::before, .sec-card.forbid::after { border-color: rgba(255, 92, 122, 0.55); }

.sec-tag {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.sec-code {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan-2);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 18px;
  overflow-x: auto;
  white-space: nowrap;
}

.sec-card ul { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sec-card li::before { content: "/"; color: var(--cyan); margin-right: 9px; font-family: var(--mono); }
.sec-card.forbid li::before { content: "✕"; color: var(--danger); font-size: 10px; }

/* --- tarifs ------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.price-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1160px; }

.tarifs-note { margin-top: 18px; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.price-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.price { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.price span { font-family: var(--display); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.price small { color: var(--dim); font-size: 12.5px; }

.feature-list { display: grid; gap: 11px; font-size: 14px; color: var(--muted); }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: "✓"; color: var(--cyan); font-size: 12px; line-height: 1.7; flex: none; }
.feature-list.compact { gap: 8px; font-size: 13.5px; margin: 18px 0; }

.price-card .btn { margin-top: auto; }

.price-card.featured {
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(var(--a2), 0.35), transparent 55%),
    var(--glass);
  border-color: rgba(var(--a1), 0.5);
  box-shadow: 0 40px 90px -50px rgba(var(--a1), 0.55), inset 0 1px 0 rgba(140, 180, 255, 0.12);
}

.price-card.featured .price span {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -10px rgba(var(--a1), 0.7);
}

/* --- section d'appel à l'action ---------------------------------- */

.cta-section {
  padding: 110px max(24px, calc((100% - 1200px) / 2));
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 460px at 50% 0%, rgba(var(--a1), 0.1), transparent 70%),
    radial-gradient(600px 420px at 50% 100%, rgba(var(--a3), 0.1), transparent 70%);
}

.cta-section .eyebrow { justify-content: center; }
.cta-section h2 { margin: 0 auto 22px; max-width: 14ch; }
.cta-section h2 em {
  font-style: normal;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-section .lede { margin: 0 auto 34px; max-width: 44ch; }
.cta-section .cta-row { justify-content: center; }
.cta-section .fine { margin-top: 20px; }

/* --- sélecteur de formule ---------------------------------------- */

.plan-list { display: grid; gap: 8px; margin: 18px 0 6px; }

.plan-tier {
  margin: 12px 0 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.plan-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(140, 180, 255, 0.05);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.plan-option:hover { border-color: rgba(var(--a1), 0.5); background: rgba(var(--a1), 0.08); }
.plan-option:active { transform: translateY(1px); }

.plan-period { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.plan-option strong { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.02em; }
.plan-monthly { font-size: 12px; color: var(--dim); }

.plan-best {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -8px rgba(var(--a1), 0.7);
}

.paywall-plans {
  margin: 16px 0 6px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--a1), 0.25);
  border-radius: 12px;
  background: rgba(var(--a1), 0.05);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cyan-2);
}

/* --- FAQ ---------------------------------------------------------- */

.faq-list { max-width: 780px; counter-reset: faq; }

.faq details { border-top: 1px solid var(--line); counter-increment: faq; }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 2px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(faq, decimal-leading-zero); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--cyan); flex: none; width: 24px; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--cyan); font-family: var(--mono); font-size: 17px; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 14px; padding: 0 40px 24px 44px; max-width: 66ch; }

/* --- pied de page ------------------------------------------------- */

.footer {
  padding: 70px max(24px, calc((100% - 1200px) / 2)) 44px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.footer-top { overflow: hidden; }

.footer-wordmark {
  font-family: var(--display);
  font-size: clamp(70px, 17vw, 210px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(234, 242, 255, 0.1), rgba(var(--a1), 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  margin-bottom: 34px;
}

.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.footer-brand p { margin-top: 10px; max-width: 26em; }
.footer-links { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a:hover, .footer-links button:hover { color: var(--cyan); }
.footer-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; }

/* ---------------------------------------------------------------- */
/* Application                                                       */
/* ---------------------------------------------------------------- */

.app {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.7), rgba(5, 7, 15, 0.85));
  backdrop-filter: blur(14px);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 16px 20px;
  border-bottom: 1px solid var(--line);
}

.sidebar-head .brand { font-size: 16px; }

.me-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px 12px 8px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(140, 180, 255, 0.05);
}

.me-id { min-width: 0; }
.me-id strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-id span { display: block; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-card .icon-btn { margin-left: auto; }

.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 6px 18px -8px rgba(var(--a1), 0.6);
}

.avatar.small { width: 33px; height: 33px; font-size: 11px; border-radius: 11px; }

.conversation-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.conversation-item {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.conversation-item:hover { background: rgba(140, 180, 255, 0.05); }
.conversation-item.is-active { background: rgba(var(--a1), 0.08); border-color: rgba(var(--a1), 0.25); }

.conversation-main { min-width: 0; }
.conversation-name { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-preview { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.conversation-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.conversation-time { font-family: var(--mono); font-size: 9.5px; color: var(--dim); letter-spacing: 0.04em; }
.unread {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px -4px rgba(var(--a1), 0.6);
}

.sidebar-empty { padding: 26px 14px; text-align: center; color: var(--dim); font-size: 12.5px; line-height: 1.6; }
.sidebar-foot { padding: 12px; border-top: 1px solid var(--line); }

.sub-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: rgba(140, 180, 255, 0.05);
  font-size: 12.5px;
}

.sub-card .sub-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sub-card .sub-status { font-size: 12.5px; font-weight: 600; }
.sub-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sub-card.is-inactive .sub-dot { background: var(--danger); box-shadow: none; }
.sub-card .sub-detail { color: var(--dim); line-height: 1.5; font-size: 11.5px; }
.sub-card .btn { margin-top: 10px; width: 100%; }
.sub-card .linklike { margin-top: 9px; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-family: var(--mono); letter-spacing: 0.04em; }

/* --- volet de discussion ------------------------------------------ */

.chat-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(820px 520px at 78% -6%, rgba(var(--a1), 0.06), transparent 62%),
    var(--bg);
}

.chat-empty { margin: auto; max-width: 440px; padding: 32px; text-align: center; }

.empty-mark {
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  border-radius: 22px;
  border: 1px solid rgba(var(--a1), 0.3);
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: radial-gradient(circle at 50% 20%, rgba(var(--a1), 0.16), transparent 70%);
  box-shadow: 0 20px 50px -24px rgba(var(--a1), 0.5);
}

.empty-mark svg { width: 36px; height: 36px; }

.empty-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--cyan); margin-bottom: 14px; }
.chat-empty h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 auto 14px; max-width: 15ch; }
.chat-empty p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.chat-empty .hint { margin: 18px 0 0; font-size: 11.5px; color: var(--dim); }

.chat-inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-btn { display: none; }
.peer-id { min-width: 0; }
.peer-id strong { display: block; font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.secure-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  cursor: pointer;
  opacity: 0.85;
  text-align: left;
  text-transform: uppercase;
}

.secure-line:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.secure-line .lock { width: 10px; height: 10px; }

.messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px max(20px, calc((100% - 800px) / 2)) 14px;
  display: flex;
  flex-direction: column;
}

.day-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.day-sep::before, .day-sep::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.msg { display: flex; margin: 2px 0; }
.msg.mine { justify-content: flex-end; }
.msg-body { display: flex; flex-direction: column; align-items: flex-start; max-width: min(74%, 560px); }
.msg.mine .msg-body { align-items: flex-end; }

.msg .bubble {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: rgba(140, 180, 255, 0.1);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.msg.mine .bubble {
  background: var(--accent);
  color: var(--ink);
  border-color: transparent;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 10px 28px -14px rgba(var(--a1), 0.55);
}

.msg-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.msg.mine .msg-meta { justify-content: flex-end; }
.msg-meta .lock { width: 9px; height: 9px; opacity: 0.6; }

.msg-broken .bubble { background: transparent; border-style: dashed; color: var(--dim); font-style: italic; font-size: 13px; }

.chat-intro {
  align-self: center;
  max-width: 380px;
  text-align: center;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 6px 0 22px;
  padding: 11px 16px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
}

.paywall-bar {
  margin: 0 max(20px, calc((100% - 800px) / 2)) 8px;
  padding: 13px 15px;
  border: 1px solid rgba(var(--a1), 0.3);
  border-radius: 14px;
  background: rgba(var(--a1), 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  font-size: 13px;
}

.paywall-bar strong { display: block; font-weight: 600; }
.paywall-bar span { display: block; color: var(--dim); font-size: 12px; }

.composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px max(20px, calc((100% - 800px) / 2)) 22px;
}

.attach-btn { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.attach-btn:hover { color: var(--cyan); border-color: rgba(var(--a1), .4); }
.attach-btn svg { width: 19px; height: 19px; }

.file-bubble { display: grid; gap: 8px; align-items: center; }
.file-name { font-weight: 600; word-break: break-word; }
.file-size { font-size: 12px; color: var(--muted); }
.file-download { justify-self: start; }

.composer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(140, 180, 255, 0.06);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  max-height: 150px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.composer textarea::placeholder { color: var(--dim); }
.composer textarea:focus { border-color: rgba(var(--a1), 0.55); box-shadow: 0 0 0 3px rgba(var(--a1), 0.09); }
.composer textarea:disabled { opacity: 0.5; }

.send-btn {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(var(--a1), 0.6);
  transition: transform 150ms ease, opacity 150ms ease;
}

.send-btn:hover { filter: brightness(1.08); }
.send-btn:active { transform: scale(0.97); }
.send-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.send-btn svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- */
/* Fenêtres                                                          */
/* ---------------------------------------------------------------- */

#modal-root { position: relative; z-index: 60; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade 160ms ease;
  z-index: 60;
}

.modal {
  position: relative;
  width: min(470px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(24, 33, 55, 0.92), rgba(10, 14, 26, 0.94));
  box-shadow: 0 40px 110px -30px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(var(--a1), 0.35), inset 0 1px 0 rgba(140, 180, 255, 0.14);
  animation: rise 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal:focus { outline: none; }
.modal h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; }
.modal-eyebrow { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.modal-sub { color: var(--muted); font-size: 13.5px; line-height: 1.62; margin-top: 10px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}

.modal-close:hover { background: rgba(140, 180, 255, 0.08); color: var(--text); }
.modal-close svg { width: 16px; height: 16px; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 24px 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
}

.tab {
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.tab.is-active { background: rgba(var(--a1), 0.14); color: var(--cyan-2); }

.field { display: block; margin-bottom: 13px; }
.field > span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }

.field input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus { border-color: rgba(var(--a1), 0.55); box-shadow: 0 0 0 3px rgba(var(--a1), 0.09); }
.field input:disabled { color: var(--dim); }

.form-error { color: var(--danger); font-size: 12.5px; min-height: 18px; margin: 2px 0 10px; }
.legal { color: var(--dim); font-size: 11px; line-height: 1.55; margin-top: 12px; text-align: center; }
.modal .legal { text-align: left; }

.contact-list { display: grid; gap: 3px; margin: 18px 0 4px; max-height: 260px; overflow-y: auto; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.contact-item:hover { background: rgba(var(--a1), 0.07); border-color: rgba(var(--a1), 0.2); }
.contact-item strong { display: block; font-size: 13.5px; font-weight: 500; }
.contact-item span { display: block; font-size: 11.5px; color: var(--dim); }

.contact-check { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; cursor: pointer; }
.contact-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--cyan); }

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.inline-form { display: flex; gap: 8px; }
.inline-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.inline-form input:focus { border-color: rgba(var(--a1), 0.55); }
.inline-form .btn { padding-inline: 18px; }

.hint { color: var(--dim); font-size: 11.5px; line-height: 1.55; margin-top: 14px; }

.checkout-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.checkout-price strong { font-family: var(--display); font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.checkout-price span { color: var(--dim); font-size: 12.5px; }

.fake-card { margin: 8px 0 16px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 14px; background: rgba(0, 0, 0, 0.2); }
.fake-card-row { display: flex; gap: 10px; }
.fake-card .field { margin-bottom: 0; flex: 1; }
.fake-card .field.small { max-width: 74px; flex: none; }
.sim-note { color: var(--cyan); font-size: 11px; line-height: 1.5; margin-top: 12px; }

.ve-demo {
  margin: 14px 0 4px;
  padding: 11px 13px;
  border: 1px dashed rgba(var(--a1), 0.35);
  border-radius: 10px;
  background: rgba(var(--a1), 0.05);
  font-size: 12.5px;
  color: var(--muted);
}

.ve-demo strong { color: var(--cyan); font-family: var(--mono); letter-spacing: 0.22em; }

.safety-number {
  margin: 22px 0 16px;
  padding: 20px 14px;
  border: 1px solid rgba(var(--a1), 0.3);
  border-radius: 14px;
  background: rgba(var(--a1), 0.05);
  font-family: var(--mono);
  font-size: clamp(13px, 3.3vw, 16px);
  letter-spacing: 0.12em;
  line-height: 2;
  text-align: center;
  color: var(--cyan-2);
  word-spacing: 0.35em;
}

.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 20px 0; font-size: 13.5px; }
.detail-list dt { color: var(--dim); }
.detail-list dd { margin: 0; text-align: right; }

.demo-zone { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.danger-zone { border-top-color: rgba(255, 92, 122, 0.3); }

.device-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.device-row:last-child { border-bottom: 0; }
.device-row .linklike { margin-left: auto; }
.demo-zone .btn { margin-top: 10px; }

/* --- WhatsApp / admin -------------------------------------------- */

.wa-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.07);
}

.wa-badge { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #25d366; }
.wa-number strong { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }

.admin-body { background: var(--bg); min-height: 100dvh; }
.admin-wrap { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 80px; }
.admin-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.admin-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.admin-head .btn { margin-left: auto; }
.admin-login { max-width: 430px; margin: 56px auto 0; }
.admin-login h1 { font-size: 34px; margin-bottom: 12px; }
.admin-login .lede { font-size: 15px; margin-bottom: 26px; }
.admin-summary { margin: 26px 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.admin-table { display: grid; gap: 10px; }
.admin-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
}
.admin-row .who strong { display: block; font-size: 14px; font-weight: 600; }
.admin-row .who span { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.status-pill {
  display: inline-flex;
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.status-pill.active { color: var(--ink); background: var(--accent); border-color: transparent; }
.status-pill.pending { color: var(--cyan); border-color: rgba(var(--a1), 0.4); }
.status-pill.expired, .status-pill.inactive { color: var(--danger); border-color: rgba(255, 92, 122, 0.35); }
.admin-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

.admin-select {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
  min-width: 220px;
}

.admin-select:focus { border-color: rgba(var(--a1), 0.55); }
.admin-select optgroup { background: var(--panel-solid, #101726); color: var(--muted); font-style: normal; }
.admin-select option { background: #0e1422; color: var(--text); }
.admin-empty { color: var(--dim); padding: 20px; }

.privacy { max-width: 760px; margin-top: 32px; }
.privacy h1 { font-size: 40px; margin-bottom: 8px; }
.privacy h2 { font-size: 22px; margin: 34px 0 12px; }
.privacy p, .privacy li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.privacy ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.privacy code { font-family: var(--mono); color: var(--cyan-2); }
.privacy strong { color: var(--text); }

/* ---------------------------------------------------------------- */
/* Notifications                                                     */
/* ---------------------------------------------------------------- */

.toasts {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 90;
  width: min(430px, calc(100% - 32px));
  pointer-events: none;
  transition: bottom 200ms ease, top 200ms ease;
}

.in-app .toasts { top: 88px; right: 20px; left: auto; bottom: auto; transform: none; width: min(370px, calc(100% - 40px)); }

.toast {
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--cyan);
  border-radius: 14px;
  background: rgba(15, 21, 36, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.85);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  animation: rise 180ms ease;
}

.toast.error { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--cyan); }
.toast.leaving { opacity: 0; transform: translateY(6px); transition: opacity 220ms ease, transform 220ms ease; }

/* ---------------------------------------------------------------- */
/* Défilement                                                        */
/* ---------------------------------------------------------------- */

.conversation-list::-webkit-scrollbar,
.messages::-webkit-scrollbar,
.modal::-webkit-scrollbar { width: 8px; }
.conversation-list::-webkit-scrollbar-thumb,
.messages::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb { background: rgba(var(--a1), 0.16); border-radius: 99px; }

/* ---------------------------------------------------------------- */
/* Animations                                                        */
/* ---------------------------------------------------------------- */

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 40px -14px rgba(var(--a1), 0.55), 0 6px 20px -10px rgba(var(--a3), 0.5); }
  50% { box-shadow: 0 16px 52px -12px rgba(var(--a1), 0.8), 0 8px 28px -8px rgba(var(--a1), 0.65); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------- */
/* Adaptation                                                        */
/* ---------------------------------------------------------------- */

@media (max-width: 1080px) {
  .price-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .cyber-hero { order: 1; min-height: 0; }
  .hero-copy { order: 2; }
  .phone-wrap { min-height: 540px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .security { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .app.chat-open .sidebar { display: none; }
  .app:not(.chat-open) .chat-pane { display: none; }
  .chat-pane { height: calc(100dvh - var(--pending-h, 0px)); }
  .app:has(> .device-pending:not([hidden])) { --pending-h: 76px; }
  .back-btn { display: grid; }
  .price-grid { grid-template-columns: 1fr; max-width: 470px; }
  .nav { gap: 12px; height: 66px; }
  .nav-actions .nav-login { display: none; }
  .messages { padding: 20px 16px 10px; }
  .composer { padding: 10px 14px 16px; }
  .paywall-bar { margin: 0 14px 8px; flex-direction: column; align-items: flex-start; }
  .chat-head { padding: 11px 14px; }
  .footer-cols { flex-direction: column; }
  .footer-links { margin-left: 0; }
  .in-app .toasts { top: 76px; left: 12px; right: 12px; width: auto; }
  .hud-1 { left: 2%; } .hud-2 { right: 2%; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding-top: 46px; }
  .hero-copy .lede { font-size: 15.5px; }
  .cta-row .btn { flex: 1 1 100%; }
  .steps, .security, .pricing, .faq { padding-top: 72px; padding-bottom: 72px; }
  .step-grid { grid-template-columns: 1fr; }
  .price-card { padding: 24px; }
  .modal { padding: 24px 20px; border-radius: 16px; }
  .nav { padding-inline: 16px; }
  .sidebar-head { padding-inline: 14px; }
  .msg .bubble { max-width: 86%; }
  .footer { padding-inline: 20px; }
  .footer-wordmark { font-size: 22vw; }
  .phone { width: 258px; height: 532px; }
  .phone-wrap { min-height: 480px; }
}

/* --- Ajouts récents (actions d'en-tête, indicateurs, appels) --- */
.peer-actions { display: flex; gap: 12px; margin-top: 3px; }
.peer-actions .linklike { font-size: 11px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.peer-actions .linklike:hover { color: var(--danger); }
.msg-read { color: var(--cyan); }
.contact-check { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; cursor: pointer; }
.contact-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--cyan); }

.call-overlay { position: fixed; inset: 0; background: #000; z-index: 200; display: grid; place-items: center; }
.call-overlay #call-remote { width: 100%; height: 100%; object-fit: cover; }
.call-overlay #call-local { position: absolute; right: 16px; bottom: 90px; width: 28%; max-width: 220px; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.call-overlay .call-controls { position: absolute; bottom: 24px; display: flex; gap: 12px; }

/* Pagination des messages */
.load-older { align-self: center; margin: 10px 0 6px; }


/* Tableau de bord : activité 14 jours */
.activity-box { margin: 18px 0 8px; }
.activity-chart { display: flex; align-items: flex-end; gap: 4px; height: 80px; padding: 6px 0; }
.activity-bar {
  flex: 1;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  opacity: 0.85;
}
.activity-bar:hover { opacity: 1; }


/* Installation PWA : bandeau très visible */
.install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 20, 34, 0.98), rgba(14, 20, 34, 0.98));
  border: 1px solid rgba(var(--a1), 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--a1), 0.15) inset;
  backdrop-filter: blur(14px);
  animation: install-rise 0.45s ease both;
  max-width: 640px;
  margin: 0 auto;
}
@keyframes install-rise {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.install-banner-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(var(--a1), 0.12);
  border: 1px solid rgba(var(--a1), 0.35);
}
.install-banner-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.install-banner-text strong { font-size: 15px; letter-spacing: 0.2px; }
.install-banner-text span { font-size: 12px; color: var(--muted); }
.install-banner-cta { margin-left: auto; flex: 0 0 auto; padding: 10px 18px; font-size: 14px; }
.install-banner-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.install-banner-close:hover { color: var(--ink); border-color: rgba(var(--a1), 0.5); }
.btn.install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--a1), 0.1);
  border: 1px solid rgba(var(--a1), 0.5);
  color: var(--ink);
}
.btn.install:hover { background: rgba(var(--a1), 0.2); }
@media (max-width: 520px) {
  .install-banner-text strong { font-size: 13px; }
  .install-banner-text span { display: none; }
  .install-banner-cta { padding: 9px 14px; }
}

/* Tableau de bord admin — cartes de statistiques */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--a1), 0.2);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25) inset;
}
.stat-card:hover { border-color: rgba(var(--a1), 0.45); }
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.stat-value {
  font-family: var(--font-display, inherit);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.stat-sub { font-size: 12px; color: var(--muted); }
.admin-summary { color: var(--muted); font-size: 13px; margin: 8px 0 18px; }
@media (max-width: 640px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 19px; }
}


/* Bandeau appareil non approuvé — occupe sa propre ligne, ne recouvre jamais le chat */
.device-pending {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  min-width: 0;
  padding: 9px clamp(14px, 3vw, 26px);
  background: linear-gradient(135deg, rgba(14, 20, 34, 0.97), rgba(14, 20, 34, 0.97));
  border-bottom: 1px solid rgba(255, 176, 32, 0.55);
  color: #ffe9c7;
  font-size: 13px;
}
.device-pending-icon { font-size: 20px; line-height: 1; }
.device-pending-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.device-pending-text strong { font-size: 13px; }
.device-pending-text span { color: #f0d3a8; font-size: 12px; }
.device-pending-text code {
  align-self: flex-start;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 176, 32, 0.4);
  color: #ffd166;
  font-size: 14px;
  letter-spacing: 0.18em;
}
@media (max-width: 620px) {
  .device-pending { flex-wrap: wrap; }
  .device-pending-text span { display: none; }
}

/* Thèmes de couleur (Paramètres → Apparence) */
[data-theme="rouge"] {
  --a1: 255, 45, 85; --a3: 143, 14, 42;
  --cyan: #ff1f3d; --cyan-2: #ff7a8a; --blue: #e0123c; --violet: #8f0e2a; --ink: #0a0a0d;
  --accent: linear-gradient(135deg, #ff1f3d 0%, #ff2d55 50%, #c5113b 100%);
}
[data-theme="cyan"] {
  --a1: 34, 211, 238; --a3: 22, 78, 99;
  --cyan: #22d3ee; --cyan-2: #67e8f9; --blue: #0891b2; --violet: #164e63;
  --accent: linear-gradient(135deg, #22d3ee, #38bdf8, #0284c7);
}
[data-theme="vert"] {
  --a1: 52, 211, 153; --a3: 6, 78, 59;
  --cyan: #34d399; --cyan-2: #6ee7b7; --blue: #059669; --violet: #064e3b;
  --accent: linear-gradient(135deg, #34d399, #10b981, #047857);
}
[data-theme="violet"] {
  --a1: 167, 139, 250; --a3: 76, 29, 149;
  --cyan: #a78bfa; --cyan-2: #c4b5fd; --blue: #7c3aed; --violet: #4c1d95;
  --accent: linear-gradient(135deg, #a78bfa, #8b5cf6, #6d28d9);
}
[data-theme="orange"] {
  --a1: 251, 146, 60; --a3: 124, 45, 18;
  --cyan: #fb923c; --cyan-2: #fdba74; --blue: #ea580c; --violet: #7c2d12;
  --accent: linear-gradient(135deg, #fb923c, #f97316, #c2410c);
}
[data-theme="bleu"] {
  --a1: 96, 165, 250; --a3: 30, 58, 138;
  --cyan: #60a5fa; --cyan-2: #93c5fd; --blue: #2563eb; --violet: #1e3a8a;
  --accent: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
}
[data-theme="rose"] {
  --a1: 244, 114, 182; --a3: 131, 24, 67;
  --cyan: #f472b6; --cyan-2: #f9a8d4; --blue: #db2777; --violet: #831843;
  --accent: linear-gradient(135deg, #f472b6, #ec4899, #be185d);
}

.theme-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.theme-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.theme-swatch:hover { transform: scale(1.08); }
.theme-swatch[aria-pressed="true"] {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 0 18px rgba(255, 255, 255, 0.15);
}

/* Admin : appareils en attente */
.admin-warn { color: #ffb020; font-size: 12px; }

/* Admin : recherche */
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; flex-wrap: wrap; }
.admin-search {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(var(--a1), 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 14px;
}
.admin-search:focus { outline: none; border-color: rgba(var(--a1), 0.6); }

/* Recherche de conversation */
.sidebar-search { padding: 8px 14px 4px; }
.sidebar-search input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--a1), 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 13px;
}
.sidebar-search input:focus { outline: none; border-color: rgba(var(--a1), 0.55); }

/* Indicateur « en train d'écrire » */
.peer-typing {
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.02em;
  min-height: 14px;
}

/* Suppression de message */
.msg-delete {
  margin-left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.msg:hover .msg-delete, .msg-delete:focus-visible { opacity: 1; }
.msg-delete:hover { color: var(--cyan); border-color: rgba(var(--a1), 0.6); }

/* Accusé de distribution */
.msg-delivered { color: var(--muted); }

/* Indicateur d'état dans la liste des conversations */
.list-ack { font-size: 11px; letter-spacing: -1px; color: var(--muted); }
.list-ack.is-delivered { color: var(--muted); opacity: 0.9; }
.list-ack.is-read { color: var(--cyan); }

/* Recherche dans la conversation */
.chat-search {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 12, 20, 0.85);
}
.chat-search input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--a1), 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 13px;
}
.chat-search-count { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* Admin — filtres rapides */
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}
.chip:hover { border-color: rgba(var(--a1), 0.5); }
.chip.is-active { background: rgba(var(--a1), 0.9); border-color: transparent; color: #fff; }

/* Author display rules must not override the native hidden attribute. */
.device-pending[hidden] { display: none !important; }

/* --- vitrine de l'application -------------------------------------- */

.app-showcase {
  position: relative;
  padding: 100px max(24px, calc((100% - 1200px) / 2));
  border-top: 1px solid var(--line);
}

.showcase-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 84px);
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 7px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(44, 42, 50, 0.95), rgba(10, 10, 14, 0.98));
  box-shadow:
    0 46px 100px -46px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 9px;
  border-radius: 999px;
  background: #07070b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 27px;
}

.phone figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.phone:nth-child(2) { transform: translateY(-20px); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 clamp(56px, 7vw, 84px);
  padding: 0;
  list-style: none;
}

.feature {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 200ms ease, border-color 200ms ease;
}

.feature:hover { transform: translateY(-2px); border-color: rgba(var(--a1), 0.45); }

.feature-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 11px;
  border: 1px solid rgba(var(--a1), 0.3);
  background: rgba(var(--a1), 0.12);
  color: var(--cyan-2);
}

.feature-ico svg { width: 19px; height: 19px; }

.feature h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.download-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(var(--a1), 0.3);
  border-radius: 22px;
  background:
    radial-gradient(620px 320px at 88% -10%, rgba(var(--a1), 0.18), transparent 64%),
    linear-gradient(160deg, rgba(14, 20, 34, 0.92), rgba(10, 10, 14, 0.94));
}

.download-copy h3 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-size: clamp(23px, 2.8vw, 33px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.download-copy > p:not(.section-index) { margin: 0; max-width: 46ch; color: var(--muted); font-size: 14px; }

.install-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.install-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.install-steps li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  grid-row: span 2;
  padding-top: 1px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.install-steps strong { font-size: 13px; font-weight: 600; }
.install-steps span { color: var(--muted); font-size: 12.5px; }

@media (max-width: 900px) {
  .showcase-phones {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .showcase-phones::-webkit-scrollbar { display: none; }
  .phone { flex: 0 0 min(74vw, 300px); scroll-snap-align: center; }
  .phone:nth-child(2) { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .app-showcase { padding-top: 72px; padding-bottom: 72px; }
}

/* ================================================================== */
/* Refonte 2026-11 : maquette héros, offre Premium, nouvelles fonctions */
/* ================================================================== */

/* --- bouton doré (Premium) --- */
.btn.gold {
  background: var(--gold-grad);
  color: #231703;
  box-shadow: 0 14px 40px -16px rgba(245, 198, 107, 0.65);
}
.btn.gold:hover { box-shadow: 0 18px 46px -14px rgba(245, 198, 107, 0.85); transform: translateY(-1px); }

.premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 198, 107, 0.12);
  border: 1px solid rgba(245, 198, 107, 0.4);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.premium-tag.inline { margin: 0 0 0 6px; padding: 2px 8px; font-size: 9px; vertical-align: middle; }

/* --- héros : téléphone --- */
.hero-phone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.phone-glow {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(var(--a1), 0.35), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(var(--a2), 0.35), transparent 70%);
  filter: blur(40px);
  animation: glow 7s ease-in-out infinite;
}
.phone {
  position: relative;
  width: min(320px, 82vw);
  height: 600px;
  border-radius: 46px;
  padding: 14px;
  background: linear-gradient(160deg, #1a2234, #0a0f1a 60%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 50px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 6px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotate(-2.5deg);
  animation: float 9s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 42px 14px 12px;
  border-bottom: 1px solid var(--line);
}
.phone-head strong { display: block; font-size: 14px; }
.phone-secure { font-size: 10.5px; color: var(--cyan); }
.phone-timer {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(var(--a1), 0.12);
  border: 1px solid rgba(var(--a1), 0.35);
  color: var(--cyan-2);
  font-size: 10.5px;
  white-space: nowrap;
}
.avatar.small { width: 34px; height: 34px; font-size: 12px; flex: none; }
.phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 0 0 32px 32px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(var(--a2), 0.12), transparent 70%),
    rgba(6, 9, 18, 0.65);
}
.phone-day { align-self: center; font-size: 10px; color: var(--dim); font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pb {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.4;
  animation: rise 600ms ease both;
}
.pb.in { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.pb.out { align-self: flex-end; background: var(--accent); color: var(--ink); border-bottom-right-radius: 6px; font-weight: 500; }
.pb.file { display: flex; align-items: center; gap: 9px; }
.pb.file small { display: block; font-size: 10.5px; opacity: 0.75; }
.file-ico { font-size: 20px; }
.pb:nth-of-type(2) { animation-delay: 150ms; }
.pb:nth-of-type(3) { animation-delay: 300ms; }
.pb:nth-of-type(4) { animation-delay: 450ms; }
.pb:nth-of-type(5) { animation-delay: 600ms; }
.phone-read { align-self: flex-end; font-size: 10px; color: var(--cyan); }
.phone-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 4px 4px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}
.phone-composer .send {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--ink); font-size: 12px;
}
.hero-phone .hud-chip { font-size: 9.5px; z-index: 3; }
.hero-phone .hud-1 { top: 0; left: -6%; }
.hero-phone .hud-2 { top: 84%; right: -8%; }
.hero-phone .hud-3 { bottom: -1%; left: -4%; }
.hud-chip::before { display: none; }

/* --- fonctions : nouveautés --- */
.feature-new { position: relative; border-color: rgba(var(--a1), 0.35) !important; }
.feature-new::after {
  content: "Nouveau";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #231703;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- tarifs : arguments + offre --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto 34px;
}
.why-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.why-ico { font-size: 26px; display: block; margin-bottom: 12px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.why-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.offer {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.offer-card { gap: 22px; }
.offer-card .price span { font-size: 64px; }
.trial-pill {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--a1), 0.12);
  border: 1px solid rgba(var(--a1), 0.35);
  color: var(--cyan-2);
  font-size: 12.5px;
  font-weight: 600;
}
.feature-list.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.feature-list li.new { color: var(--text); }
.feature-list li.new em {
  font-style: normal;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(245, 198, 107, 0.14);
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.offer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.offer-actions .btn { flex: 1 1 200px; margin-top: 0; }
.guarantees {
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(245, 198, 107, 0.3);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 198, 107, 0.12), transparent 60%),
    var(--glass);
}
.guarantees h3 { font-size: 20px; margin-bottom: 18px; color: var(--gold-2); }
.guarantees ul { display: grid; gap: 16px; }
.guarantees li { color: var(--muted); font-size: 14px; line-height: 1.55; padding-left: 26px; position: relative; }
.guarantees li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.guarantees strong { color: var(--text); display: block; }

/* --- carte d'abonnement (barre latérale) --- */
.sub-card.is-premium {
  border-color: rgba(245, 198, 107, 0.45);
  background: radial-gradient(140% 120% at 100% 0%, rgba(245, 198, 107, 0.14), transparent 60%), rgba(140, 180, 255, 0.04);
}
.sub-card.is-premium .sub-status { color: var(--gold-2); }
.sub-card.is-premium .sub-dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.sub-card.is-trial { border-color: rgba(var(--a1), 0.35); }
.sub-card.is-free .sub-dot { background: var(--danger); box-shadow: none; }

/* --- fenêtre Premium --- */
.modal-premium {
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(245, 198, 107, 0.12), transparent 55%),
    radial-gradient(120% 70% at 0% 100%, rgba(var(--a1), 0.1), transparent 55%),
    var(--panel-solid);
}
.modal-premium h2 { font-size: clamp(20px, 3vw, 26px); line-height: 1.2; text-transform: none; letter-spacing: -0.02em; }
.perk-list { display: grid; gap: 12px; margin: 20px 0; }
.perk-list li { display: flex; gap: 12px; align-items: flex-start; }
.perk-ico {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 16px;
}
.perk-list strong { display: block; font-size: 14px; }
.perk-list small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.paywall-price { text-align: center; margin: 6px 0 14px; }
.paywall-price .big { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal-premium .btn { margin-top: 8px; }

/* --- messages éphémères --- */
.ephemeral-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.ephemeral-chip svg { width: 13px; height: 13px; }
.ephemeral-chip:hover { border-color: var(--cyan); color: var(--text); }
.ephemeral-chip.on { border-color: rgba(var(--a1), 0.5); background: rgba(var(--a1), 0.12); color: var(--cyan-2); }
.choice-list { display: grid; gap: 8px; margin: 18px 0 12px; }
.choice {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}
.choice:hover { border-color: var(--cyan); }
.choice.selected { border-color: var(--cyan); background: rgba(var(--a1), 0.12); color: var(--cyan-2); }
.choice.selected::after { content: " ✓"; }
.msg-ephemeral { color: var(--cyan-2); }

/* --- verrouillage par code --- */
.app-lock {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(var(--a1), 0.18), transparent 70%),
    radial-gradient(700px 500px at 50% 100%, rgba(var(--a2), 0.16), transparent 70%),
    rgba(4, 6, 12, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.app-lock[hidden] { display: none; }
body.is-locked { overflow: hidden; }
.app-lock-card {
  width: min(380px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: 34px 26px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--glass);
}
.app-lock-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(var(--a1), 0.7);
}
.app-lock-icon svg { width: 30px; height: 30px; }
.app-lock-card h2 { font-size: 22px; text-transform: none; }
.app-lock-form { display: grid; gap: 10px; width: 100%; }
.app-lock-form input {
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.5em;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.app-lock-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--a1), 0.2); }
.lock-form { flex-wrap: wrap; }
.lock-form input { flex: 1 1 140px; min-width: 0; }
.lock-on { color: var(--cyan); }
.lock-delay {
  margin: 8px 8px 8px 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel-solid);
  color: var(--text);
}
.premium-zone { border-color: rgba(245, 198, 107, 0.3) !important; }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .hero-phone { min-height: 520px; }
}
@media (max-width: 620px) {
  .feature-list.two-cols { grid-template-columns: 1fr; }
  .phone { height: 540px; transform: none; }
  .hero-phone .hud-chip { display: none; }
  .offer-card .price span { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .phone-glow, .pb { animation: none; }
}

/* Mobile : le texte d'abord, la maquette ensuite ; en-tête sans débordement. */
@media (max-width: 1080px) {
  .hero-copy { order: 1; }
  .hero-phone { order: 2; min-height: 0; padding: 20px 0 10px; }
}
@media (max-width: 620px) {
  .nav-actions { gap: 6px; }
  .nav-actions #btn-install { display: none; }
  .nav-actions .btn.small { padding: 11px 12px; }
  .phone { width: min(300px, 86vw); height: 520px; }
}

/* --- alerte de changement de clé + empreintes d'appareils --- */
.key-alert {
  display: grid;
  gap: 6px;
  margin: 10px 22px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 32, 0.55);
  background: rgba(255, 176, 32, 0.1);
  color: var(--text);
  font-size: 13.5px;
}
.key-alert strong { color: #ffd166; }
.key-alert-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.device-prints { display: grid; gap: 6px; margin: 6px 0 14px; }
.device-prints-owner { margin-top: 8px; color: var(--muted); }
.device-print {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--cyan-2);
}
@media (max-width: 820px) { .key-alert { margin: 8px 14px 0; } }
.msg.mine .file-bubble .file-size { color: rgba(4, 17, 13, 0.72); }
.msg.mine .file-bubble .file-download { color: var(--ink); border-color: rgba(4, 17, 13, 0.35); }
