/* ==========================================================================
   AURIS — Design system
   Charte graphique : voir /brand.html et /docs/CHARTE-GRAPHIQUE.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* --- Encre / nuit : le fond des salles, le casque, le soir --- */
  --ink-900: #070B20;
  --ink-800: #0A0F2C;
  --ink-700: #131A3F;
  --ink-600: #1E2856;
  --ink-500: #2C3872;

  /* --- Sable / pierre : le patrimoine, la lumière du jour --- */
  --sand-50:  #FBF8F3;
  --sand-100: #F5F0E7;
  --sand-200: #EBE3D6;
  --sand-300: #D9CDB9;

  /* --- Gris chauds --- */
  --stone-700: #4A4740;
  --stone-500: #7B776E;
  --stone-400: #A29D93;
  --stone-200: #D8D4CC;

  /* --- Spectre Auris : une voix, plusieurs langues --- */
  --solar:   #FFC247;  /* primaire — action, chaleur, soleil */
  --coral:   #FF7A66;  /* accent chaud — live, humain */
  --violet:  #A56BFF;  /* accent froid — traduction, IA */
  --cyan:    #2DD4CE;  /* accent froid — audio, clarté */

  --solar-deep: #E09B14; /* variante lisible sur fond clair */
  --coral-deep: #E0533C;
  --violet-deep:#7B3FE4;
  --cyan-deep:  #0E9E99;

  /* --- Sémantique --- */
  --success: #2FB673;
  --warning: #E0A22A;
  --danger:  #E24B4B;

  /* --- Dégradés --- */
  --grad-spectrum: linear-gradient(102deg, var(--solar) 0%, var(--coral) 34%, var(--violet) 68%, var(--cyan) 100%);
  --grad-spectrum-soft: linear-gradient(102deg, rgba(255,194,71,.16) 0%, rgba(255,122,102,.16) 34%, rgba(165,107,255,.16) 68%, rgba(45,212,206,.16) 100%);
  --grad-ink: linear-gradient(168deg, var(--ink-700) 0%, var(--ink-800) 52%, var(--ink-900) 100%);

  /* --- Typographie --- */
  --font-display: "Manrope", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system,
                  "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR",
                  "Noto Sans Arabic", "Noto Sans Devanagari",
                  "PingFang SC", "Hiragino Sans", "Yu Gothic", "Malgun Gothic",
                  "Microsoft YaHei", sans-serif;
  --font-text: "Inter", "Segoe UI", system-ui, -apple-system,
               "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR",
               "Noto Sans Arabic", "Noto Sans Devanagari",
               "PingFang SC", "Hiragino Sans", "Yu Gothic", "Malgun Gothic",
               "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Échelle fluide */
  --t-display: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --t-h1:      clamp(2.2rem, 1.3rem + 3.4vw, 3.8rem);
  --t-h2:      clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem);
  --t-h3:      clamp(1.15rem, 1rem + .7vw, 1.5rem);
  --t-lede:    clamp(1.05rem, .98rem + .5vw, 1.3rem);
  --t-body:    1.0625rem;
  --t-small:   .9375rem;
  --t-micro:   .8125rem;

  /* --- Rythme --- */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* --- Formes --- */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* --- Ombres --- */
  --sh-sm: 0 1px 2px rgba(10,15,44,.06), 0 2px 6px rgba(10,15,44,.05);
  --sh-md: 0 4px 12px rgba(10,15,44,.07), 0 12px 32px rgba(10,15,44,.07);
  --sh-lg: 0 12px 28px rgba(10,15,44,.10), 0 32px 72px rgba(10,15,44,.12);
  --sh-glow: 0 0 0 1px rgba(255,194,71,.28), 0 18px 60px rgba(255,194,71,.22);

  /* --- Layout --- */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --nav-h: 72px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Exactement la hauteur de la barre fixe : un pixel de plus et la section
     précédente laisse dépasser une bande claire sous le header à chaque ancre. */
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0 0 var(--sp-4); text-wrap: pretty; }
a  { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--ink-800); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { inset-inline-start: 0; }

/* Non-latin scripts : léger ajustement optique */
html[lang="ja"], html[lang="zh"], html[lang="ko"] { --t-body: 1rem; }
html[lang="ja"] h1, html[lang="zh"] h1, html[lang="ko"] h1,
html[lang="ja"] h2, html[lang="zh"] h2, html[lang="ko"] h2 {
  letter-spacing: 0; line-height: 1.25;
  line-break: strict; word-break: normal; overflow-wrap: normal;
}
/* Une phrase idéographique ne se coupe pas comme un mot latin : sans réduction,
   « ことばは、すべて。 » déborde de l'écran avant de trouver un point de césure. */
html[lang="ja"] .hero h1, html[lang="zh"] .hero h1, html[lang="ko"] .hero h1 {
  font-size: clamp(2.05rem, 1.05rem + 3.6vw, 4rem);
}
html[lang="ar"] { --t-body: 1.1rem; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
html[lang="hi"] h1, html[lang="hi"] h2 { line-height: 1.3; }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--sand { background: var(--sand-100); }
.section--dark { background: var(--grad-ink); color: var(--sand-50); }
.section--dark h2, .section--dark h3 { color: #fff; }

.sec-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: var(--t-micro); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: var(--sp-3);
}
.kicker::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-spectrum);
}
.section--dark .kicker { color: var(--solar); }
.sec-head--center .kicker { justify-content: center; }

.lede { font-size: var(--t-lede); color: var(--stone-700); line-height: 1.6; }
.section--dark .lede { color: rgba(251,248,243,.78); }
/* Le chapô du hero passe au-dessus des halos colorés : il lui faut plus d'opacité
   que sur une section sombre unie pour rester au-dessus de 4,5:1. */
.hero .lede { color: rgba(251,248,243,.88); }

.grad-text {
  background: var(--grad-spectrum);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Révélation au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  padding: .82rem 1.45rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--solar); color: var(--ink-800); box-shadow: 0 8px 24px rgba(255,194,71,.32); }
.btn--primary:hover { background: #FFD070; box-shadow: 0 12px 34px rgba(255,194,71,.42); }

.btn--dark { background: var(--ink-800); color: var(--sand-50); }
.btn--dark:hover { background: var(--ink-700); box-shadow: var(--sh-md); }

.btn--ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .92; }
.btn--ghost:hover { opacity: 1; background: rgba(255,255,255,.08); }
.section--sand .btn--ghost:hover, body > .section:not(.section--dark) .btn--ghost:hover { background: rgba(10,15,44,.05); }

.btn--sm { padding: .55rem 1.05rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(10,15,44,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

/* L'écart de 16 px ne se voit jamais : « margin-inline-start: auto » sur les liens
   écarte le logo tout seul. Il ne sert que dans les langues longues, où ces 16 px
   décident du passage à la ligne. */
.nav__inner { display: flex; align-items: center; gap: var(--sp-4); width: 100%; }

.logo { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo svg { width: 32px; height: 32px; }
.logo__word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  letter-spacing: -.03em; color: var(--sand-50);
}

.nav__links { display: flex; align-items: center; gap: var(--sp-4); margin-inline-start: auto; }
.nav__link {
  font-size: var(--t-small); font-weight: 500; color: rgba(251,248,243,.76);
  transition: color .2s var(--ease); position: relative;
}
.nav__link:hover { color: #fff; }
.nav__link::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-spectrum); border-radius: 2px; transition: width .25s var(--ease);
}
.nav__link:hover::after { width: 100%; }

/* Le lien vers la console guide existe en deux exemplaires : un dans la barre,
   un dans le menu déroulant. Aucun emplacement ne convient aux deux largeurs,
   et un seul des deux est visible à la fois. */
.nav__actions .nav__link { white-space: nowrap; }
.nav__link--menu { display: none; }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--sand-50);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* 1160 px et non 1000 : mesuré au navigateur, la barre réclame 1045 px de contenu
   en français — la plus large des douze langues — depuis que « Espace guide » s'y
   ajoute. Le seuil de 1000 px héritait d'une mesure faite en anglais seulement, et
   laissait déjà les liens français passer à la ligne entre 1000 et 1064 px. */
@media (max-width: 1160px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-800); padding: var(--sp-4) clamp(1.25rem,4vw,2.5rem) var(--sp-6);
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav-toggle { display: inline-flex; margin-inline-start: auto; order: 3; }
  .nav__actions { order: 2; margin-inline-start: auto; }
  .nav__actions .nav__link { display: none; }
  .nav__link--menu { display: block; }
}

/* Le bouton principal tient encore à côté du sélecteur de langue et du menu
   jusqu'à 1000 px ; en dessous, la barre n'a plus la place que du sélecteur. */
@media (max-width: 1000px) {
  .nav__actions .btn--primary { display: none; }
}

/* Sélecteur de langue */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: var(--sand-50); border-radius: var(--r-pill);
  padding: .5rem .85rem; font-size: var(--t-small); font-weight: 600;
  font-family: var(--font-display); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lang__btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.lang__btn svg { width: 16px; height: 16px; opacity: .8; }
.lang__chev { transition: transform .2s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  background: #fff; color: var(--ink-800);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: var(--sp-2); min-width: 230px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 120; max-height: 60vh; overflow-y: auto;
}
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__item {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .6rem; border-radius: var(--r-sm);
  font-size: var(--t-small); font-weight: 500; cursor: pointer;
  background: none; border: 0; width: 100%; text-align: start; color: inherit;
  font-family: var(--font-text);
}
.lang__item:hover { background: var(--sand-100); }
.lang__item[aria-current="true"] { background: var(--sand-200); font-weight: 700; }
.lang__code { font-size: var(--t-micro); color: var(--stone-500); font-family: var(--font-mono); }

@media (max-width: 480px) {
  .lang__menu { position: fixed; inset-inline: 1rem; inset-inline-end: 1rem; top: calc(var(--nav-h) + 8px); }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-ink); color: var(--sand-50);
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -20%; height: 90%;
  background:
    radial-gradient(46% 52% at 22% 62%, rgba(255,194,71,.30) 0%, transparent 70%),
    radial-gradient(40% 46% at 62% 28%, rgba(165,107,255,.26) 0%, transparent 72%),
    radial-gradient(44% 44% at 88% 66%, rgba(45,212,206,.20) 0%, transparent 70%);
  filter: blur(12px);
  animation: drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(3%, 4%, 0) scale(1.08); }
}
.hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
}
.hero__grid {
  position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { font-size: var(--t-display); margin-bottom: var(--sp-5); }
.hero .lede { max-width: 34em; margin-bottom: var(--sp-6); }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill); padding: .42rem .95rem;
  font-size: var(--t-micro); font-weight: 600; letter-spacing: .01em;
  color: rgba(251,248,243,.9); margin-bottom: var(--sp-5);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(45,212,206,.7); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,212,206,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(45,212,206,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,206,0); }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  font-size: var(--t-small); color: rgba(251,248,243,.62);
}
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   7. Mockups téléphone
   -------------------------------------------------------------------------- */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 540px; }

.phone {
  position: relative; width: 268px; flex-shrink: 0;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #3A4270, #171D3E 40%, #0D1230);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.10) inset;
}
.phone__screen {
  position: relative; border-radius: 31px; overflow: hidden;
  background: var(--ink-900); aspect-ratio: 9 / 19;
  display: flex; flex-direction: column;
  font-size: 12px; line-height: 1.45;
}
.phone__notch {
  position: absolute; top: 8px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 82px; height: 20px; border-radius: var(--r-pill); background: #05081A; z-index: 5;
}
[dir="rtl"] .phone__notch { transform: translateX(50%); }

.phone--main { z-index: 3; }
.phone--side {
  width: 224px; margin-inline-start: -70px; margin-bottom: 42px; z-index: 2;
  transform: rotate(5deg) translateY(8px); opacity: .96;
}
.phone--side-l {
  width: 224px; margin-inline-end: -70px; margin-bottom: 42px; z-index: 1;
  transform: rotate(-5deg) translateY(8px); opacity: .96;
}
/* Dans le hero, le trio de téléphones doit tenir dans une demi-colonne :
   on resserre l'ensemble plutôt que de laisser le troisième écran sortir du cadre. */
.hero .phone--main   { width: 236px; }
.hero .phone--side,
.hero .phone--side-l { width: 194px; margin-bottom: 38px; }
.hero .phone--side   { margin-inline-start: -64px; }
.hero .phone--side-l { margin-inline-end: -64px; }

@media (max-width: 720px) {
  .phones { min-height: 0; }
  .phone--side, .phone--side-l { display: none; }
  .phone, .hero .phone--main { width: min(268px, 74vw); }
}

.scr {
  flex: 1; display: flex; flex-direction: column;
  padding: 30px 14px 14px; color: var(--sand-50);
  background:
    radial-gradient(120% 60% at 10% 0%, rgba(165,107,255,.16), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(45,212,206,.13), transparent 60%),
    var(--ink-900);
}
.scr__top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; color: rgba(251,248,243,.5); margin-bottom: 12px;
}
.scr__title { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.scr__live {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(45,212,206,.16); color: var(--cyan);
  border-radius: var(--r-pill); padding: 2px 8px; font-size: 9px; font-weight: 700; letter-spacing: .06em;
}
.scr__live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }

.qr-card {
  background: #fff; border-radius: 18px; padding: 14px; margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.qr-card svg { width: 100%; height: auto; }
.qr-card__cap { text-align: center; font-size: 9px; color: var(--stone-500); margin-top: 8px; font-weight: 600; letter-spacing: .04em; }

.scr__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.scr__stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px; padding: 7px 9px;
}
.scr__stat b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.scr__stat span { font-size: 9px; color: rgba(251,248,243,.55); }

.scr__langs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.mini-chip {
  font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  color: rgba(251,248,243,.85);
}

.wave { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-bottom: 10px; }
.wave i {
  flex: 1; background: var(--grad-spectrum); border-radius: 2px; height: 30%;
  animation: eq 1.1s ease-in-out infinite alternate;
}
.wave i:nth-child(2n)  { animation-duration: .75s; }
.wave i:nth-child(3n)  { animation-duration: 1.4s; }
.wave i:nth-child(4n)  { animation-duration: .95s; }
.wave i:nth-child(5n)  { animation-duration: 1.25s; }
@keyframes eq { from { height: 14%; } to { height: 100%; } }

.bubble {
  border-radius: 14px; padding: 8px 10px; margin-bottom: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.bubble--src { background: transparent; border: 0; padding: 0 2px 2px; }
.bubble__meta { font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; color: rgba(251,248,243,.42); margin-bottom: 3px; font-weight: 700; }
.bubble--src p { color: rgba(251,248,243,.42); font-size: 10.5px; margin: 0; font-style: italic; }
.bubble p { margin: 0; font-size: 12px; }
.bubble--hi { border-color: rgba(255,194,71,.4); background: rgba(255,194,71,.09); }

.scr__spacer { flex: 1; }

.scr__bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill); padding: 7px 10px; font-size: 10px; font-weight: 600;
}
.scr__bar .dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

.ad-slot {
  border: 1px dashed rgba(255,255,255,.22); border-radius: 12px;
  padding: 8px 10px; margin-top: 8px;
  background: rgba(255,255,255,.03);
}
.ad-slot__tag {
  font-size: 8px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(251,248,243,.4); font-weight: 700; margin-bottom: 2px;
}
.ad-slot p { margin: 0; font-size: 10px; color: rgba(251,248,243,.72); }

.pay-sheet {
  margin-top: auto; background: #fff; color: var(--ink-800);
  border-radius: 18px 18px 12px 12px; padding: 12px; text-align: center;
}
.pay-sheet__amt { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.pay-sheet__lbl { font-size: 9px; color: var(--stone-500); margin-bottom: 8px; }
.pay-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--ink-800); color: #fff; border-radius: 10px;
  padding: 8px; font-size: 11px; font-weight: 700; margin-bottom: 5px;
}
.pay-btn--alt { background: var(--sand-100); color: var(--ink-800); }
.pay-note { font-size: 8px; color: var(--stone-400); }

/* --------------------------------------------------------------------------
   8. Bandeau chiffres
   -------------------------------------------------------------------------- */
.stats {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid rgba(255,255,255,.1);
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem); letter-spacing: -.03em;
  line-height: 1; margin-bottom: .35rem;
  background: var(--grad-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: var(--t-small); color: rgba(251,248,243,.62); }

/* --------------------------------------------------------------------------
   9. Comparaison problème / solution
   -------------------------------------------------------------------------- */
.compare { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }

.compare__col {
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--sand-300); background: #fff;
}
.compare__col--old { background: transparent; border-style: dashed; }
.compare__col--new { border-color: transparent; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.compare__col--new::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-spectrum);
}
.compare__label {
  font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--stone-500); margin-bottom: var(--sp-4);
}
.compare__col--new .compare__label { color: var(--violet-deep); }
.compare__list li {
  display: flex; gap: .75rem; padding-block: .6rem;
  border-bottom: 1px solid var(--sand-200); font-size: var(--t-small);
}
.compare__list li:last-child { border-bottom: 0; }
.compare__list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.compare__col--old svg { color: var(--stone-400); }
.compare__col--new svg { color: var(--success); }

/* --------------------------------------------------------------------------
   10. Étapes
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: clamp(1.5rem,3vw,2rem); border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: rgba(255,194,71,.35); background: rgba(255,255,255,.07); }
.step__num {
  counter-increment: step;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 14px; margin-bottom: var(--sp-4);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  background: var(--grad-spectrum-soft); border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: rgba(251,248,243,.68); font-size: var(--t-small); margin: 0; }

/* --------------------------------------------------------------------------
   11. Onglets Guide / Visiteur
   -------------------------------------------------------------------------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--sand-200); margin-bottom: var(--sp-6); }
.section--dark .tabs { background: rgba(255,255,255,.07); }
.tab {
  border: 0; cursor: pointer; border-radius: var(--r-pill);
  padding: .6rem 1.35rem; font-family: var(--font-display); font-weight: 700; font-size: var(--t-small);
  background: transparent; color: var(--stone-700); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.section--dark .tab { color: rgba(251,248,243,.62); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink-800); box-shadow: var(--sh-sm); }
.section--dark .tab[aria-selected="true"] { background: var(--solar); color: var(--ink-800); }

.panel[hidden] { display: none; }
.panel__grid { display: grid; gap: clamp(2rem,4vw,3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .panel__grid { grid-template-columns: 1.1fr .9fr; } }
.panel__grid--rev .panel__media { order: -1; }
@media (max-width: 899px) { .panel__grid--rev .panel__media { order: 0; } }

.featlist li { display: flex; gap: var(--sp-4); padding-block: var(--sp-4); border-bottom: 1px solid var(--sand-200); }
.section--dark .featlist li { border-color: rgba(255,255,255,.09); }
.featlist li:last-child { border-bottom: 0; }
.featlist__ico {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--sand-100); color: var(--violet-deep);
}
.section--dark .featlist__ico { background: rgba(255,255,255,.08); color: var(--solar); }
.featlist__ico svg { width: 20px; height: 20px; }
.featlist h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin: 0 0 .25rem; }
.featlist p { margin: 0; font-size: var(--t-small); color: var(--stone-500); }
.section--dark .featlist p { color: rgba(251,248,243,.62); }

/* --------------------------------------------------------------------------
   12. Cartes / grilles
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--sand-300); }
.card__ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: var(--sp-4); background: var(--grad-spectrum-soft); color: var(--violet-deep);
}
.card__ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card p { font-size: var(--t-small); color: var(--stone-500); margin: 0; }

/* --------------------------------------------------------------------------
   13. Langues
   -------------------------------------------------------------------------- */
.langgrid { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.langgrid__item {
  display: inline-flex; align-items: baseline; gap: .5rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill); padding: .5rem 1rem;
  font-size: var(--t-small); font-weight: 600;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.langgrid__item:hover { border-color: rgba(255,194,71,.5); background: rgba(255,194,71,.08); transform: translateY(-2px); }
.langgrid__item small { font-family: var(--font-mono); font-size: .7rem; color: rgba(251,248,243,.45); text-transform: uppercase; }

.latency {
  display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: var(--sp-6); padding: var(--sp-5);
  border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.latency__step { text-align: center; }
.latency__step b { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--cyan); }
.latency__step span { font-size: var(--t-micro); color: rgba(251,248,243,.6); }

/* --------------------------------------------------------------------------
   14. Tarifs
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--featured {
  background: var(--grad-ink); color: var(--sand-50); border-color: transparent;
  box-shadow: var(--sh-lg); position: relative; overflow: hidden;
}
.plan--featured::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-spectrum); }
.plan__flag {
  position: absolute; inset-inline-end: 18px; top: 18px;
  background: var(--solar); color: var(--ink-800); border-radius: var(--r-pill);
  padding: .25rem .7rem; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: .35rem; }
.plan__for { font-size: var(--t-micro); color: var(--stone-500); margin-bottom: var(--sp-5); min-height: 2.4em; }
.plan--featured .plan__for { color: rgba(251,248,243,.6); }
.plan__price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: var(--sp-2); }
.plan__price b { font-family: var(--font-display); font-size: clamp(2.1rem,1.5rem+1.6vw,2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: var(--t-small); color: var(--stone-500); }
.plan--featured .plan__price span { color: rgba(251,248,243,.6); }
.plan__note { font-size: var(--t-micro); color: var(--stone-500); margin-bottom: var(--sp-5); }
.plan--featured .plan__note { color: rgba(251,248,243,.6); }
.plan__list { margin-bottom: var(--sp-5); flex: 1; }
.plan__list li { display: flex; gap: .6rem; padding-block: .42rem; font-size: var(--t-small); }
.plan__list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--success); }
.plan--featured .plan__list svg { color: var(--solar); }
.plan__list li.is-off { color: var(--stone-400); }
.plan__list li.is-off svg { color: var(--stone-300, #cfcac2); }

.pricing-note {
  margin-top: var(--sp-6); padding: var(--sp-5); border-radius: var(--r-lg);
  background: var(--grad-spectrum-soft); border: 1px solid var(--sand-300);
  font-size: var(--t-small); color: var(--stone-700);
}
.pricing-note strong { color: var(--ink-800); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--sand-300); box-shadow: var(--sh-sm); }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 20px; height: 20px;
  background: currentColor; opacity: .45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: var(--sp-3) 0 0; font-size: var(--t-small); color: var(--stone-700); max-width: 68ch; }

/* --------------------------------------------------------------------------
   16. Bandeau CTA & pied de page
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad-ink); color: var(--sand-50);
  border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: -50% -10% auto -10%; height: 160%;
  background: radial-gradient(40% 50% at 30% 30%, rgba(255,194,71,.22), transparent 70%),
              radial-gradient(40% 50% at 75% 60%, rgba(45,212,206,.18), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: var(--sp-4); }
.cta-band .lede { margin-inline: auto; max-width: 46ch; margin-bottom: var(--sp-6); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

.store-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: .6rem 1.1rem; color: var(--sand-50);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.store-badge:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: block; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; line-height: 1.2; }
.store-badge b { font-family: var(--font-display); font-size: .95rem; font-weight: 700; line-height: 1.2; }

.footer { background: var(--ink-900); color: rgba(251,248,243,.6); padding-block: var(--sp-8) var(--sp-6); }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: var(--sp-7); }
.footer__brand { max-width: 300px; }
.footer__brand p { font-size: var(--t-small); margin-top: var(--sp-4); }
.footer h4 {
  font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(251,248,243,.9); margin-bottom: var(--sp-4);
}
.footer li { margin-bottom: .55rem; }
.footer a { font-size: var(--t-small); transition: color .2s var(--ease); }
.footer a:hover { color: var(--solar); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1); font-size: var(--t-micro);
}
.footer__disclaimer { max-width: 62ch; }

/* --------------------------------------------------------------------------
   17. RTL
   -------------------------------------------------------------------------- */
[dir="rtl"] .phone--side  { transform: rotate(-5deg) translateY(8px); }
[dir="rtl"] .phone--side-l{ transform: rotate(5deg) translateY(8px); }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
[dir="rtl"] .faq details[open] summary::after { transform: rotate(-135deg); }

/* --------------------------------------------------------------------------
   18. Page charte graphique (brand.html)
   -------------------------------------------------------------------------- */
.swatches { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--sand-200); background: #fff; }
.swatch__chip { height: 96px; }
.swatch__meta { padding: .7rem .85rem; }
.swatch__meta b { display: block; font-family: var(--font-display); font-size: .95rem; }
.swatch__meta code { font-family: var(--font-mono); font-size: .78rem; color: var(--stone-500); }
.swatch__meta small { display: block; font-size: .72rem; color: var(--stone-400); margin-top: .2rem; }

.type-row { padding-block: var(--sp-4); border-bottom: 1px solid var(--sand-200); display: grid; gap: var(--sp-2); }
.type-row:last-child { border-bottom: 0; }
.type-row__meta { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--stone-400); }

.logo-tile {
  display: grid; place-items: center; min-height: 180px; border-radius: var(--r-md);
  border: 1px solid var(--sand-200); padding: var(--sp-5);
}
.logo-tile--dark { background: var(--ink-800); border-color: transparent; }
.logo-tile--sand { background: var(--sand-200); }
.logo-tile--spectrum { background: var(--grad-spectrum); }

.dos { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.do, .dont { border-radius: var(--r-md); padding: var(--sp-4); font-size: var(--t-small); border: 1px solid; }
.do   { border-color: rgba(47,182,115,.35); background: rgba(47,182,115,.07); }
.dont { border-color: rgba(226,75,75,.32);  background: rgba(226,75,75,.06); }
.do b, .dont b { display: block; margin-bottom: .3rem; font-family: var(--font-display); }

.brand-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.9);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--sand-200);
}
.brand-nav .wrap { display: flex; align-items: center; gap: var(--sp-5); height: 64px; }
.brand-nav .logo__word { color: var(--ink-800); }
.brand-nav a { font-size: var(--t-small); color: var(--stone-500); }
.brand-nav a:hover { color: var(--ink-800); }
