  :root {
    --night: #070b1a;
    --night-2: #0d1430;
    --line: rgba(255,255,255,.09);
    --text: #f3f5fb;
    --muted: #9aa5c4;
    --red: #ff2a2a;
    --red-deep: #c90d16;
    --blue: #36b8ff;
    --radius: 22px;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--night);
    line-height: 1.5;
    overflow-x: hidden;
  }
  a { color: inherit; }
  .wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

  /* ---------- Navigation ---------- */
  .topnav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(7,11,26,.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
  .topnav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; }
  .topnav ul a {
    display: block; padding: 8px 12px; border-radius: 10px;
    color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  }
  .topnav ul a:hover { color: var(--text); background: rgba(255,255,255,.05); }
  .topnav ul a[aria-current="page"] { color: var(--text); background: rgba(255,42,42,.16); }
  @media (max-width: 560px) {
    .brand span { display: none; }
    .topnav ul a { padding: 8px 9px; font-size: 14px; }
  }

  /* ---------- Hero ---------- */
  .hero {
    overflow-x: clip;
    position: relative;
    padding: 56px 0 72px;
    isolation: isolate;
  }
  .hero::before { /* lueur */
    content: "";
    position: absolute; inset: -20% -10% auto;
    height: 640px;
    background:
      radial-gradient(40% 50% at 30% 40%, rgba(255,42,42,.28), transparent 70%),
      radial-gradient(35% 45% at 75% 35%, rgba(54,184,255,.22), transparent 70%);
    filter: blur(10px);
    z-index: -1;
  }
  .hero::after { /* crêtes de montagne */
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L120 70 L220 110 L360 40 L480 100 L600 60 L720 115 L860 30 L990 95 L1120 55 L1260 105 L1440 50 L1440 180 L0 180Z' fill='%230d1430'/%3E%3Cpath d='M0 150 L160 105 L300 140 L460 90 L620 145 L780 100 L940 150 L1100 110 L1280 145 L1440 105 L1440 180 L0 180Z' fill='%23070b1a'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    z-index: -1;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
  }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .brand span { font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
  .brand b { color: var(--red); font-weight: 900; }
  .tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(54,184,255,.1); border: 1px solid rgba(54,184,255,.3);
    color: #bfe6ff; font-size: 13px; font-weight: 600;
  }
  .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
  h1 {
    font-size: clamp(38px, 6.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 900;
    margin: 18px 0 18px;
  }
  h1 em { font-style: normal; color: var(--red); }
  .lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34ch; margin: 0 0 30px; }

  .stores { display: flex; flex-wrap: wrap; gap: 12px; }
  .store {
    display: inline-flex; align-items: center; gap: 12px;
    min-width: 200px; padding: 11px 20px 11px 16px;
    border-radius: 14px;
    background: #fff; color: #0b0f1f;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 10px 30px -12px rgba(255,255,255,.35);
  }
  .store svg { width: 30px; height: 30px; flex: none; }
  .store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1.1; }
  .store strong { display: block; font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
  a.store:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255,255,255,.45); }
  a.store:focus-visible, .social a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
  .store.soon {
    background: transparent; color: var(--text);
    border: 1px dashed rgba(255,255,255,.28);
    box-shadow: none; cursor: default;
  }
  .store.soon small { color: var(--blue); opacity: 1; }
  .store.primary:not(.soon) { box-shadow: 0 0 0 3px rgba(255,42,42,.55), 0 12px 34px -10px rgba(255,42,42,.6); }
  .hint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

  .phone-icon {
    justify-self: center;
    width: min(340px, 78vw);
    aspect-ratio: 1;
    border-radius: 23%;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -30px rgba(255,42,42,.65), 0 20px 70px -30px rgba(54,184,255,.6);
    animation: float 6s ease-in-out infinite;
  }
  @keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

  /* ---------- Fonctionnalités ---------- */
  section { padding: 72px 0; }
  .features { background: var(--night-2); border-block: 1px solid var(--line); }
  h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 12px; font-weight: 900; }
  .sub { color: var(--muted); margin: 0 0 40px; max-width: 56ch; }
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card {
    padding: 24px; border-radius: var(--radius);
    background: rgba(255,255,255,.035); border: 1px solid var(--line);
  }
  .card .ico {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 16px;
    background: rgba(255,42,42,.14); color: #ff7a7a;
  }
  .card.blue .ico { background: rgba(54,184,255,.14); color: var(--blue); }
  .card .ico svg { width: 22px; height: 22px; }
  .card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
  .card p { margin: 0; color: var(--muted); font-size: 15px; }
  .card.wide { grid-column: span 2; display: flex; gap: 20px; align-items: center; }
  .card.wide .ico { margin: 0; flex: none; width: 56px; height: 56px; }

  /* ---------- Contact ---------- */
  .contact { text-align: center; }
  .contact .sub { margin-inline: auto; }
  .social { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
  .social a {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 24px; border-radius: 16px;
    text-decoration: none; font-weight: 800; font-size: 17px;
    transition: transform .15s ease, filter .15s ease;
  }
  .social a:hover { transform: translateY(-2px); filter: brightness(1.08); }
  .social svg { width: 26px; height: 26px; }
  .social small { display: block; font-weight: 600; font-size: 13px; opacity: .85; }
  .wa { background: #25d366; color: #052e16; }
  .tg { background: #229ed9; color: #fff; }

  footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
  footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
  .foot-links a { color: var(--muted); text-decoration: none; }
  .foot-links a:hover { color: var(--text); }
  .disclaimer { color: #ffb4b4; }

  @media (max-width: 860px) {
    .hero { padding: 32px 0 120px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
    .lead { margin-inline: auto; }
    .stores { justify-content: center; }
    .phone-icon { order: -1; width: min(220px, 60vw); }
    .grid { grid-template-columns: 1fr; }
    .card.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  }
  @media (max-width: 460px) {
    .store { min-width: 0; width: 100%; justify-content: center; }
    .social a { width: 100%; justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .phone-icon { animation: none; }
    * { transition: none !important; }
  }

  /* ---------- Pages de contenu ---------- */
  .page-head { padding: 56px 0 24px; position: relative; isolation: isolate; overflow-x: clip; }
  .page-head::before {
    content: ""; position: absolute; inset: -40% 0 auto; height: 380px; z-index: -1;
    background: radial-gradient(40% 60% at 20% 40%, rgba(255,42,42,.2), transparent 70%),
                radial-gradient(35% 55% at 80% 30%, rgba(54,184,255,.16), transparent 70%);
  }
  .page-head h1 { font-size: clamp(34px, 5.5vw, 54px); margin: 14px 0 12px; }
  .page-head .lead { max-width: 60ch; margin: 0; }
  .prose { max-width: 760px; padding: 24px 0 72px; }
  .prose h2 { font-size: clamp(22px, 3vw, 28px); margin: 44px 0 12px; }
  .prose h3 { font-size: 18px; margin: 26px 0 8px; }
  .prose p, .prose li { color: #c9d1e6; font-size: 16.5px; }
  .prose ul { padding-left: 1.2em; }
  .prose li { margin: 6px 0; }
  .prose strong { color: var(--text); }
  .prose a { color: var(--blue); }
  .summary {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 8px 0 12px;
  }
  .summary div { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
  .summary b { display: block; font-size: 15px; margin-bottom: 2px; }
  .summary span { color: var(--muted); font-size: 14.5px; }
  .table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 16px; }
  table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
  th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { color: var(--text); background: rgba(255,255,255,.04); font-weight: 800; }
  td { color: #c9d1e6; }
  tr:last-child td { border-bottom: 0; }

  /* FAQ */
  .faq { display: grid; gap: 10px; margin: 8px 0; }
  .faq details {
    border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03);
  }
  .faq summary {
    cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 800; position: relative;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    font-size: 22px; color: var(--red); font-weight: 600;
  }
  .faq details[open] summary::after { content: "–"; }
  .faq details > div { padding: 0 18px 16px; }
  .faq details > div p, .faq details > div li { margin: 6px 0; }
  .faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 16px; }

  /* Étapes */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
  .step { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.035); border: 1px solid var(--line); }
  .step::before {
    counter-increment: step; content: counter(step);
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    background: var(--red); color: #fff; font-weight: 900; margin-bottom: 14px;
  }
  .step h3 { margin: 0 0 6px; font-size: 18px; }
  .step p { margin: 0; color: var(--muted); font-size: 15px; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
  .stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); border: 1px solid var(--line); }
  .stat b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 900; letter-spacing: -.03em; color: var(--red); }
  .stat span { color: var(--muted); font-size: 14px; }
  .cta { text-align: center; }
  .cta .stores { justify-content: center; margin-top: 8px; }
  .scenarios .card h3 { display: flex; gap: 10px; align-items: center; }
  .callout {
    margin: 22px 0; padding: 16px 18px; border-radius: 16px;
    background: rgba(255,42,42,.1); border: 1px solid rgba(255,42,42,.35); color: #ffd3d3;
  }
  @media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .summary { grid-template-columns: 1fr; }
  }

  /* ---------- Menu des langues ---------- */
  .nav-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
  .lang-menu { position: relative; flex: none; }
  .lang-menu summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px; border-radius: 10px;
    border: 1px solid var(--line); color: var(--text);
    font-weight: 800; font-size: 13px;
  }
  .lang-menu summary::-webkit-details-marker { display: none; }
  .lang-menu summary svg { width: 18px; height: 18px; }
  .lang-menu summary:hover, .lang-menu[open] summary { background: rgba(255,255,255,.07); }
  .lang-menu ul {
    position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
    display: grid; gap: 2px; min-width: 180px; margin: 0; padding: 6px; list-style: none;
    background: #111a3a; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,.6);
    max-height: 70vh; overflow-y: auto;
  }
  .lang-menu a {
    display: block; padding: 9px 12px; border-radius: 9px;
    color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px;
  }
  .lang-menu a:hover { background: rgba(255,255,255,.06); color: var(--text); }
  .lang-menu a[aria-current="true"] { color: var(--text); background: rgba(255,42,42,.16); }
  .sub.center { margin-inline: auto; }
  @media (max-width: 560px) {
    .topnav ul a { padding: 8px 7px; font-size: 13.5px; }
    .nav-right > ul li:first-child { display: none; } /* le logo ramène déjà à l'accueil */
    .lang-menu summary span { display: none; }
  }

  /* ---------- Arabe : lecture de droite à gauche ---------- */
  [dir="rtl"] body { font-family: "Archivo", "Segoe UI", Tahoma, "Geeza Pro", sans-serif; }
  [dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; }
  [dir="rtl"] th { text-align: right; }
  [dir="rtl"] .prose ul { padding-left: 0; padding-right: 1.2em; }
  [dir="rtl"] .faq summary { padding: 16px 18px 16px 48px; }
  [dir="rtl"] .faq summary::after { right: auto; left: 18px; }
  [dir="rtl"] .phone-icon { animation-name: float-rtl; }
  @keyframes float-rtl { 50% { transform: translateY(-10px) rotate(1.5deg); } }
  [dir="rtl"] .brand, [dir="rtl"] .social a span small { direction: ltr; }

  /* Chinois : un peu plus d'interligne */
  :lang(zh-Hans) body { line-height: 1.7; }
