/* ══════════════════════════════════════════════════════════════════════
   MOJA — feuille de style du site
   ══════════════════════════════════════════════════════════════════════

   La palette est celle de l'application, à l'identique (design/palette.dart).
   Un site qui n'a pas les couleurs de son produit fait douter que ce soit le
   même produit — et c'est exactement ce qu'un visiteur vérifie en ouvrant la
   démonstration juste après.

   Le relief vient de trois choses, jamais d'ombres portées génériques :
     · des DÉGRADÉS orientés, qui donnent une direction de lumière ;
     · des HALOS colorés diffus, qui font flotter les surfaces ;
     · de la PERSPECTIVE réelle (transform-style: preserve-3d) sur les objets
       qu'on peut manipuler du regard — cartes, téléphone, globe.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --ink:          #071320;
  --ink-deep:     #040B14;
  --surface:      #0F2134;
  --surface-high: #17304A;
  --hairline:     rgba(242, 237, 228, 0.10);

  --ecru:         #F2EDE4;
  --ecru-muted:   #9FB0C4;
  --ecru-faint:   #6B819A;

  --lagune:       #1FC48E;
  --lagune-brt:   #2FD9A0;
  --lagune-deep:  #11996E;
  --cauri:        #E3B23C;
  --cauri-deep:   #B8862A;
  --kola:         #F0714A;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Base ─────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ecru);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(31, 196, 142, .3); color: #fff; }

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

.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════════════
   FOND — nébuleuse et grain
   ══════════════════════════════════════════════════════════════════════
   Les halos bougent très lentement (60 s+). Une animation de fond qu'on
   remarque distrait de la lecture ; une qu'on ne remarque pas donne
   simplement l'impression que la page est vivante. */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}

.blob-1 {
  width: 62vw; height: 62vw;
  top: -22vw; left: -14vw;
  background: radial-gradient(circle, rgba(31,196,142,.42), transparent 66%);
  animation: drift1 68s var(--ease) infinite alternate;
}
.blob-2 {
  width: 52vw; height: 52vw;
  top: 34vh; right: -18vw;
  background: radial-gradient(circle, rgba(227,178,60,.28), transparent 66%);
  animation: drift2 84s var(--ease) infinite alternate;
}
.blob-3 {
  width: 46vw; height: 46vw;
  bottom: -14vw; left: 26vw;
  background: radial-gradient(circle, rgba(23,48,74,.85), transparent 68%);
  animation: drift3 76s var(--ease) infinite alternate;
}

@keyframes drift1 { to { transform: translate3d(9vw, 7vh, 0) scale(1.14); } }
@keyframes drift2 { to { transform: translate3d(-11vw, -9vh, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(7vw, -6vh, 0) scale(1.18); } }

/* Le grain casse les bandes de dégradé, très visibles sur un fond sombre
   en 8 bits. Sans lui, les halos se découpent en anneaux. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .foot, .nav { position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px max(22px, calc((100vw - var(--wrap)) / 2));
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease),
              border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.stuck {
  background: rgba(7, 19, 32, .82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--hairline);
  padding-block: 11px;
}

/* Le bandeau de marque porte sa propre marge blanche : on le sur-dimensionne
   puis on rogne ce vide, sinon le logo paraît deux fois plus petit que tout
   ce qui l'entoure. */
.nav-brand img { height: 44px; width: auto; margin: -8px -14px; }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--ecru-muted);
}

.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--lagune);
  transition: right .3s var(--ease);
}
.nav-links a:hover { color: var(--ecru); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; gap: 10px; }

/* Le sélecteur de langue. Deux États côte à côte plutôt qu'un menu : à deux
   langues, un menu déroulant demande deux gestes là où un suffit. */
.lang {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 14px;
}
.lang button {
  padding: 6px 12px;
  border: 0;
  background: none;
  color: var(--ecru-faint);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang button[aria-pressed="true"] {
  background: rgba(31,196,142,.14);
  color: var(--lagune);
}
.lang button:hover[aria-pressed="false"] { color: var(--ecru); }
.nav-burger { display: none; }

/* ── Boutons ──────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .25s, border-color .25s, color .2s;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--lagune-brt), var(--lagune-deep));
  color: #04140E;
  box-shadow: 0 10px 26px -10px rgba(31, 196, 142, .8),
              inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(31, 196, 142, .95),
              inset 0 1px 0 rgba(255,255,255,.34);
}

.btn-outline {
  border-color: var(--hairline);
  color: var(--ecru);
  background: rgba(242,237,228,.03);
}
.btn-outline:hover {
  border-color: rgba(31,196,142,.55);
  background: rgba(31,196,142,.08);
  transform: translateY(-2px);
}

.btn-ghost { color: var(--ecru-muted); }
.btn-ghost:hover { color: var(--ecru); }

.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ══════════════════════════════════════════════════════════════════════
   HÉROS
   ══════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 138px 0 84px;
  isolation: isolate;
}

/* Deux colonnes : le texte se lit, le globe se regarde. Superposés, ils se
   gênaient — le titre passait sur une masse sombre, et le globe n'était
   jamais visible en entier. */
.hero-inner {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero-copy { text-align: left; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(15, 33, 52, .55);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--ecru-muted);
}
.eyebrow em { font-style: normal; color: var(--ecru-faint); }

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lagune);
  box-shadow: 0 0 0 0 rgba(31,196,142,.7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(31,196,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,196,142,0); }
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -2.4px;
}

.hero-title .grad {
  display: block;
  background: linear-gradient(102deg, var(--lagune-brt) 4%, var(--cauri) 58%, var(--kola) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Le dégradé glisse très lentement : à cette vitesse on ne voit pas
     l'animation, on voit une matière. */
  background-size: 220% 100%;
  animation: slide 16s ease-in-out infinite alternate;
}
@keyframes slide { to { background-position: 100% 0; } }

.hero-sub {
  max-width: 54ch;
  margin: 0 0 38px;
  font-size: clamp(16.5px, 2vw, 19.5px);
  color: var(--ecru-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
}
.hero-stats div { text-align: left; }
.hero-stats dt {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  letter-spacing: -1.4px;
  background: linear-gradient(160deg, var(--ecru), var(--ecru-faint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--ecru-faint);
  letter-spacing: .2px;
  max-width: 12ch;
  line-height: 1.3;
}

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  translate: -50% 0;
  width: 24px; height: 38px;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  translate: -50% 0;
  width: 3px; height: 7px;
  border-radius: 2px;
  background: var(--lagune);
  animation: wheel 2s infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}

/* ══════════════════════════════════════════════════════════════════════
   SECTIONS — rythme commun
   ══════════════════════════════════════════════════════════════════════ */

.section { padding: clamp(76px, 11vw, 138px) 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(15,33,52,0), rgba(15,33,52,.5) 22%, rgba(15,33,52,.5) 78%, rgba(15,33,52,0));
}

.kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--lagune);
}

.h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.4px;
  max-width: 20ch;
}

.lead {
  max-width: 68ch;
  margin: 0 0 46px;
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--ecru-muted);
}

.note {
  max-width: 70ch;
  margin: 34px 0 0;
  font-size: 14.5px;
  color: var(--ecru-faint);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════
   LE PROBLÈME
   ══════════════════════════════════════════════════════════════════════ */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.problem {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(23,48,74,.5), rgba(7,19,32,.5));
  overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,113,74,.6), transparent);
}
.problem-n {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--kola);
}
.problem h3 {
  margin: 0 0 11px;
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -.3px;
}
.problem p { margin: 0; font-size: 15.5px; color: var(--ecru-muted); }

/* ══════════════════════════════════════════════════════════════════════
   LE FLUX
   ══════════════════════════════════════════════════════════════════════ */

.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0 0 46px;
  padding: 0;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1 1 240px;
  padding: 32px 26px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: rgba(15,33,52,.44);
  backdrop-filter: blur(8px);
}

.flow-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #04140E;
  background: linear-gradient(140deg, var(--lagune-brt), var(--lagune-deep));
  box-shadow: 0 10px 24px -10px rgba(31,196,142,.9);
}
.flow-icon svg { width: 22px; height: 22px; }

.flow-step h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 700; }
.flow-step p { margin: 0; font-size: 15px; color: var(--ecru-muted); }

.flow-arrow {
  flex: 0 0 46px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  position: relative;
}
.flow-arrow::after {
  content: '';
  position: absolute;
  right: 8px; top: 50%;
  width: 6px; height: 6px;
  translate: 0 -50%;
  border-top: 1.5px solid var(--ecru-faint);
  border-right: 1.5px solid var(--ecru-faint);
  rotate: 45deg;
}

.pledge {
  padding: 32px 34px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(227,178,60,.28);
  background: linear-gradient(140deg, rgba(227,178,60,.10), rgba(227,178,60,.02));
}
.pledge h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--cauri);
}
.pledge p { margin: 0; color: var(--ecru-muted); max-width: 76ch; }
.pledge strong { color: var(--ecru); }

/* ══════════════════════════════════════════════════════════════════════
   CARTES PRODUIT — le relief 3D
   ══════════════════════════════════════════════════════════════════════
   L'inclinaison suit le pointeur. C'est le seul endroit du site où la 3D
   réagit à la souris : appliquée partout elle donnerait le mal de mer, et
   sur une seule grille elle attire justement l'œil sur les produits. */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 22px;
  perspective: 1300px;
}

.card {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(23,48,74,.62), rgba(7,19,32,.72));
  transform-style: preserve-3d;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .35s;
  overflow: hidden;
  will-change: transform;
}

.card:hover {
  border-color: rgba(31,196,142,.34);
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.95);
}

/* Le halo suit le pointeur — variables posées par app.js. */
.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%),
              rgba(31,196,142,.16), transparent 62%);
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }
.card[data-accent="cauri"] .card-glow {
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(227,178,60,.16), transparent 62%);
}
.card[data-accent="kola"] .card-glow {
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(240,113,74,.15), transparent 62%);
}

.card-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: var(--lagune);
  background: rgba(31,196,142,.12);
  border: 1px solid rgba(31,196,142,.22);
  transform: translateZ(34px);
}
.card[data-accent="cauri"] .card-icon {
  color: var(--cauri);
  background: rgba(227,178,60,.12);
  border-color: rgba(227,178,60,.22);
}
.card[data-accent="kola"] .card-icon {
  color: var(--kola);
  background: rgba(240,113,74,.12);
  border-color: rgba(240,113,74,.22);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 {
  margin: 0 0 10px;
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -.3px;
  transform: translateZ(22px);
}
.card p {
  margin: 0;
  font-size: 15.2px;
  color: var(--ecru-muted);
  transform: translateZ(12px);
}

/* ══════════════════════════════════════════════════════════════════════
   LA DÉMO — téléphone en perspective
   ══════════════════════════════════════════════════════════════════════ */

.demo-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.demo-copy .h2 { max-width: 16ch; }

.ticks { list-style: none; margin: 0 0 32px; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ecru-muted);
  font-size: 15.5px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 9px;
  border-left: 2px solid var(--lagune);
  border-bottom: 2px solid var(--lagune);
  rotate: -45deg;
}

.phone-stage {
  position: relative;
  perspective: 1500px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 19.2;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(155deg, #253C56, #0B1826 46%, #1B2E44);
  box-shadow:
    0 60px 110px -46px rgba(0,0,0,.95),
    0 0 0 1px rgba(242,237,228,.09),
    inset 0 2px 3px rgba(255,255,255,.14);
  transform: rotateY(-13deg) rotateX(5deg) rotateZ(.6deg);
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
}
.phone-stage:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }

.phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  translate: -50% 0;
  width: 96px; height: 22px;
  border-radius: 999px;
  background: #05101B;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #12283E, #050F1A);
  display: grid;
  place-items: center;
}
.phone-screen iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* La brillance oblique : c'est elle qui fait « verre » plutôt que « image
   de téléphone ». */
.phone-shine {
  position: absolute;
  inset: 11px;
  border-radius: 36px;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 26%, transparent 46%);
  z-index: 4;
}

.phone-shadow {
  position: absolute;
  bottom: -26px; left: 50%;
  translate: -50% 0;
  width: 62%; height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.72), transparent 72%);
  filter: blur(16px);
}

.demo-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 28px;
  background: none;
  border: 0;
  color: var(--ecru);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.demo-play {
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #04140E;
  background: linear-gradient(140deg, var(--lagune-brt), var(--lagune-deep));
  box-shadow: 0 14px 34px -12px rgba(31,196,142,.95);
  transition: transform .25s var(--ease);
}
.demo-launch:hover .demo-play { transform: scale(1.09); }
.demo-play svg { width: 26px; height: 26px; }
.demo-launch strong { font-size: 16px; font-weight: 700; }
.demo-launch small { font-size: 12.5px; color: var(--ecru-faint); max-width: 22ch; line-height: 1.45; }

/* ══════════════════════════════════════════════════════════════════════
   QUI NOUS SOMMES
   ══════════════════════════════════════════════════════════════════════ */

.about {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 40px;
}
.about-main p {
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--ecru-muted);
  line-height: 1.72;
}
.about-main strong { color: var(--ecru); font-weight: 700; }
.about-main em { color: var(--cauri); font-style: italic; }

.values { display: grid; gap: 14px; }
.value {
  padding: 22px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: rgba(15,33,52,.44);
  transition: border-color .3s, transform .3s var(--ease);
}
.value:hover { border-color: rgba(31,196,142,.32); transform: translateX(5px); }
.value h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--lagune);
}
.value p { margin: 0; font-size: 14.5px; color: var(--ecru-muted); }

/* ══════════════════════════════════════════════════════════════════════
   COUVERTURE
   ══════════════════════════════════════════════════════════════════════ */

.countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 10px;
}

.country {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: rgba(15,33,52,.42);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.country:hover {
  border-color: rgba(31,196,142,.4);
  background: rgba(31,196,142,.07);
  transform: translateY(-2px);
}

/* Le drapeau est un SVG dessiné — aucune image à charger, net à toutes les
   tailles, et surtout JUSTE : les bandes CSS de la première version rendaient
   faux tous les drapeaux qui ne sont pas un simple tricolore. */
.flag {
  width: 22px; height: 15px;
  border-radius: 3px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4);
  line-height: 0;
}
.flag svg { width: 100%; height: 100%; display: block; }

.country small {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--ecru-faint);
}

/* ══════════════════════════════════════════════════════════════════════
   SÉCURITÉ
   ══════════════════════════════════════════════════════════════════════ */

.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 46px;
}
.sec {
  padding: 28px 26px;
  border-left: 2px solid rgba(31,196,142,.42);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: linear-gradient(90deg, rgba(31,196,142,.06), transparent 70%);
}
.sec h3 { margin: 0 0 9px; font-size: 18px; font-weight: 700; }
.sec p { margin: 0; font-size: 15px; color: var(--ecru-muted); }

.disclosure {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px dashed rgba(227,178,60,.4);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ecru-muted);
  line-height: 1.65;
}
.disclosure strong { display: block; color: var(--cauri); margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════════════
   APEX IA
   ══════════════════════════════════════════════════════════════════════ */

.chat {
  max-width: 780px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(23,48,74,.62), rgba(7,19,32,.82));
  box-shadow: 0 40px 90px -46px rgba(0,0,0,.95);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(7,19,32,.5);
}
.chat-avatar {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #04140E;
  background: linear-gradient(140deg, var(--lagune-brt), var(--cauri));
  box-shadow: 0 8px 20px -8px rgba(31,196,142,.9);
}
.chat-avatar svg { width: 21px; height: 21px; }
.chat-head strong { display: block; font-size: 15.5px; }
.chat-head small { font-size: 12.5px; color: var(--ecru-faint); }

.chat-log {
  padding: 22px;
  max-height: 400px;
  min-height: 190px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-high) transparent;
}

.msg { max-width: 82%; }
.msg p {
  margin: 0;
  padding: 13px 17px;
  border-radius: 17px;
  font-size: 15.2px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg-bot { align-self: flex-start; }
.msg-bot p {
  background: rgba(23,48,74,.85);
  border: 1px solid var(--hairline);
  border-bottom-left-radius: 6px;
  color: var(--ecru);
}
.msg-me { align-self: flex-end; }
.msg-me p {
  background: linear-gradient(135deg, var(--lagune-deep), var(--lagune));
  color: #04140E;
  font-weight: 600;
  border-bottom-right-radius: 6px;
}
.msg-err p {
  background: rgba(240,113,74,.12);
  border: 1px solid rgba(240,113,74,.34);
  color: #FFC7B4;
}

/* Les trois points d'attente : ils disent « ça travaille » sans promettre un
   délai qu'on ne connaît pas. */
.typing p { display: flex; gap: 5px; align-items: center; }
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ecru-faint);
  animation: blink 1.35s infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }

.chat-chips {
  display: flex;
  gap: 8px;
  padding: 0 22px 14px;
  flex-wrap: wrap;
}
.chat-chips button {
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(15,33,52,.6);
  color: var(--ecru-muted);
  font-family: inherit;
  font-size: 13.2px;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chat-chips button:hover {
  border-color: rgba(31,196,142,.45);
  color: var(--ecru);
  background: rgba(31,196,142,.08);
}

.chat-form {
  display: flex;
  gap: 10px;
  padding: 15px 18px;
  border-top: 1px solid var(--hairline);
  background: rgba(7,19,32,.5);
}
.chat-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(7,19,32,.7);
  color: var(--ecru);
  font-family: inherit;
  font-size: 15px;
}
.chat-form input::placeholder { color: var(--ecru-faint); }
.chat-form input:focus { outline: none; border-color: rgba(31,196,142,.55); }
.chat-form button {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #04140E;
  background: linear-gradient(140deg, var(--lagune-brt), var(--lagune-deep));
  cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s;
}
.chat-form button:hover { transform: scale(1.07); }
.chat-form button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.chat-form button svg { width: 19px; height: 19px; }

/* ══════════════════════════════════════════════════════════════════════
   BOUTIQUES
   ══════════════════════════════════════════════════════════════════════ */

.stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.store {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: rgba(15,33,52,.55);
  transition: transform .28s var(--ease), border-color .28s, background .28s;
}
.store:hover {
  transform: translateY(-3px);
  border-color: rgba(31,196,142,.38);
  background: rgba(31,196,142,.06);
}
.store-ico {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  color: var(--ecru);
  flex: 0 0 auto;
}
.store-ico svg { width: 26px; height: 26px; }
.store-txt { display: flex; flex-direction: column; }
.store-txt small { font-size: 11.8px; color: var(--ecru-faint); letter-spacing: .3px; }
.store-txt strong { font-size: 17px; font-weight: 700; }

.store-badge {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--ecru-faint);
  border: 1px solid var(--hairline);
}
.store-badge.live {
  color: #04140E;
  background: var(--lagune);
  border-color: transparent;
}
.store-live { border-color: rgba(31,196,142,.34); }

/* ══════════════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════════════ */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.ci {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--lagune);
  background: rgba(31,196,142,.1);
  border: 1px solid rgba(31,196,142,.2);
}
.ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; color: var(--ecru-faint); letter-spacing: .3px; }
.contact-list a, .contact-list span { font-size: 16px; font-weight: 600; }
.contact-list a { color: var(--lagune); }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  padding: 30px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(23,48,74,.55), rgba(7,19,32,.72));
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ecru-muted);
  letter-spacing: .2px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: rgba(7,19,32,.65);
  color: var(--ecru);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(31,196,142,.5);
}
.field select option { background: var(--surface); }

.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ecru-faint);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════
   PIED DE PAGE
   ══════════════════════════════════════════════════════════════════════ */

.foot {
  border-top: 1px solid var(--hairline);
  background: rgba(4,11,20,.72);
  padding-top: 62px;
}
.foot-wrap {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 46px;
  padding-bottom: 46px;
}
.foot-brand img { height: 52px; width: auto; margin: -12px -16px 8px; }
.foot-brand p { margin: 0; font-size: 14.5px; color: var(--ecru-faint); line-height: 1.6; }

.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-cols h5 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ecru-faint);
}
.foot-cols a {
  display: block;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--ecru-muted);
  transition: color .2s;
}
.foot-cols a:hover { color: var(--lagune); }

.foot-legal {
  padding: 22px 0 34px;
  border-top: 1px solid var(--hairline);
}
.foot-legal p { margin: 0; font-size: 13px; color: var(--ecru-faint); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════
   RÉVÉLATION AU DÉFILEMENT
   ══════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════
   ADAPTATIF
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-stats div { text-align: center; }
  .hero-stats dd { margin-inline: auto; }
  /* Le globe passe AU-DESSUS du texte quand on empile : c'est lui qui dit en
     une seconde de quoi parle la page, et on ne fait pas défiler pour ça. */
  .hero-visual { order: -1; max-width: 340px; }
  .hero-title { font-size: clamp(34px, 8vw, 52px); }

  .demo-wrap, .about, .contact-wrap { grid-template-columns: 1fr; }
  .about { gap: 34px; }
  .phone-stage { order: -1; }
  .phone { transform: rotateY(-6deg) rotateX(3deg); max-width: 300px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .lang { margin-left: auto; }
  .nav-burger {
    display: grid;
    gap: 5px;
    margin-left: auto;
    padding: 9px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-burger span {
    width: 22px; height: 2px;
    border-radius: 2px;
    background: var(--ecru);
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav.open {
    flex-wrap: wrap;
    background: rgba(7,19,32,.97);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--hairline);
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 18px 0 8px;
    gap: 4px;
    font-size: 17px;
  }
  .nav.open .nav-links a { padding: 11px 0; }
  .nav.open .nav-cta {
    display: flex;
    width: 100%;
    padding-bottom: 16px;
  }
  .nav.open .nav-cta .btn { flex: 1; }

  .flow-arrow { display: none; }
  .foot-wrap { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 34px); }
  /* Sur un téléphone, le héros doit tenir dans l'écran JUSQU'AUX chiffres :
     ce sont eux qui donnent la mesure du produit, et un visiteur sur deux ne
     fait jamais défiler. On resserre plutôt que de les sacrifier. */
  .hero { padding: 92px 0 52px; min-height: auto; }
  /* Sur un téléphone, le globe doit laisser passer le titre ET le bouton
     principal au-dessus de la ligne de flottaison. Il reste le premier
     regard, il ne prend pas tout l'écran. */
  .hero-visual { max-width: 232px; }
  .hero-sub { margin-bottom: 22px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 26px; }
  .hero-actions { margin-bottom: 34px; gap: 10px; }
  .eyebrow { margin-bottom: 18px; }
  .hero-stats { gap: 16px; align-items: start; }
  .hero-stats dd { font-size: 12px; max-width: 9ch; }
  .hero-actions .btn { width: 100%; }
  .card, .problem, .flow-step { padding: 26px 22px; }
  .contact-form { padding: 24px 20px; }
  .msg { max-width: 92%; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* Quelqu'un qui a demandé moins d'animation à son système l'a demandé pour une
   raison — vertige, migraine, épilepsie photosensible. On la respecte
   entièrement, pas « un peu ». */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
