/* ==========================================================================
   echeckin.ma — Site vitrine (marketing) — refonte « SaaS premium »
   --------------------------------------------------------------------------
   Feuille autonome (app.css n'est PAS chargé sur le vitrine) : les valeurs
   de marque reprennent les tokens de l'application — bleu marine #1a2e4a et
   doré #c9a84c (voir assets/css/tokens.css) — pour une identité cohérente.

   Mobile-first : styles de base pour téléphone, media queries en min-width.
   Direction : hiérarchie typographique franche, espacements généreux, motifs
   géométriques marocains (zellige) discrets EN ARRIÈRE-PLAN plutôt
   qu'illustratifs, mockups produit rendus en CSS/SVG (zéro image lourde).
   ========================================================================== */

:root {
  /* --- Marque : bleu marine + doré (affiné) ---------------------------- */
  --navy-950: #12213a;
  --navy-900: #1a2e4a;
  --navy-800: #1f3757;
  --navy-700: #243d61;
  --navy-500: #2e4f7c;
  --navy-300: #7d93b3;
  --navy-100: #d5e0ed;
  --navy-50:  #eef2f7;

  --gold-600: #b8963b;
  --gold-500: #c9a84c;
  --gold-400: #dbb96a;
  --gold-300: #e8cf95;
  --gold-100: #f7edcc;
  --gold-50:  #fdf8ee;

  --ink-900:   #111827;
  --ink-700:   #374151;
  --slate-600: #4b5563;
  --slate-500: #6b7280;
  --slate-400: #9ca3af;

  --success-500: #22c55e;
  --success-600: #16a34a;

  --paper-50:  #f7f9fc;
  --paper-100: #eef2f8;
  --surface:   #ffffff;
  --hairline:  #e5e9f0;
  --hairline-strong: #d5dbe6;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 0.4rem;
  --radius-md: 0.6rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-full: 9999px;

  /* Ombres douces, multi-couches (rendu « SaaS ») */
  --shadow-xs: 0 1px 2px rgb(16 33 58 / 0.06);
  --shadow-sm: 0 1px 3px rgb(16 33 58 / 0.08), 0 1px 2px -1px rgb(16 33 58 / 0.06);
  --shadow-md: 0 6px 16px -6px rgb(16 33 58 / 0.14), 0 2px 6px -2px rgb(16 33 58 / 0.08);
  --shadow-lg: 0 18px 40px -12px rgb(16 33 58 / 0.22), 0 6px 14px -8px rgb(16 33 58 / 0.14);
  --shadow-xl: 0 32px 64px -20px rgb(16 33 58 / 0.35);
  --shadow-gold: 0 12px 28px -10px rgb(201 168 76 / 0.45);

  --header-h: 4rem;
  --maxw: 75rem;

  /* Trame zellige dorée réutilisable (losanges croisés). */
  --zellige: repeating-linear-gradient(45deg,  currentColor 0 1px, transparent 1px 11px),
             repeating-linear-gradient(-45deg, currentColor 0 1px, transparent 1px 11px);
}

/* --- Reset minimal ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.site {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','ss01';
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: var(--navy-500); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 2px; }

.site-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-container--narrow { max-width: 46rem; }

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: linear-gradient(180deg, var(--gold-300), var(--gold-400)); transform: translateY(-2px); }

.btn-navy { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-outline { border-color: rgb(255 255 255 / 0.5); color: #fff; background: rgb(255 255 255 / 0.04); }
.btn-outline:hover { border-color: #fff; background: rgb(255 255 255 / 0.12); }

.btn-ghost { color: var(--navy-900); }
.btn-ghost:hover { background: var(--navy-50); }

.btn .btn-ico { width: 1.1em; height: 1.1em; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: rgb(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);

  --hdr-link: var(--ink-700);
  --hdr-ghost: #5b6b82;
  --hdr-ghost-strong: var(--navy-900);
  --hdr-toggle: var(--navy-900);
}
/* Fine bordure zellige dorée en bas du header. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  color: var(--gold-500);
  background-image: var(--zellige);
  opacity: 0.4;
  pointer-events: none;
}
body:not(:has(.hero)) main { padding-top: var(--header-h); }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo-img { display: block; height: 2.9rem; max-height: 54px; width: auto; }
.site-logo-text { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); }
.site-logo-dot { color: var(--gold-500); }

.site-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0.6rem;
  background: none; border: 0; cursor: pointer;
  z-index: 62;
}
.site-nav-toggle span {
  width: 22px; height: 2px;
  background: var(--hdr-toggle);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.site-nav-toggle.is-open span { background: var(--navy-900); }
.site-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav-backdrop {
  position: fixed; inset: 0;
  /* .site-header (parent) porte un backdrop-filter, qui en fait le bloc
     conteneur des descendants position:fixed. Sans hauteur explicite, inset:0
     se résout donc contre la hauteur du header (~header-h) et non du viewport.
     On force la pleine hauteur visible (100dvh, repli 100vh). */
  bottom: auto;
  height: 100vh;
  height: 100dvh;
  background: rgb(16 33 58 / 0.5);
  z-index: 55;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.site-nav-backdrop.is-open { opacity: 1; visibility: visible; }
body.site-nav-lock { overflow: hidden; }

.site-nav {
  position: fixed;
  /* Tiroir plein écran. bottom:0 se résoudrait contre le header (bloc conteneur
     à cause de son backdrop-filter) et n'occuperait que ~header-h de haut, d'où
     un menu tronqué qu'il fallait scroller. On fixe une hauteur viewport. */
  top: 0; right: 0; bottom: auto;
  height: 100vh;
  height: 100dvh;
  width: min(84vw, 340px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 4.5rem 1.5rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.24s ease;
}
.site-nav.is-open { transform: translateX(0); }

.site-nav > a {
  position: relative;
  padding: 0.6rem 0.25rem;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
}
.site-nav > a::after {
  content: '';
  position: absolute;
  left: 0.25rem; right: 0.25rem; bottom: 0.25rem;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav > a:hover::after,
.site-nav > a:focus-visible::after { transform: scaleX(1); }
.site-nav > a.is-active::after { transform: scaleX(1); opacity: 0.7; }

.site-nav-actions { display: flex; gap: 0.75rem; padding-top: 0.9rem; }
.site-nav-actions .btn { flex: 1; }
.site-nav-actions .btn-ghost { color: #5b6b82; background: none; font-weight: 500; }
.site-nav-actions .btn-ghost:hover { color: var(--navy-900); background: var(--navy-50); }

@media (min-width: 56rem) {
  .site-nav-toggle, .site-nav-backdrop { display: none; }
  .site-nav {
    position: static;
    transform: none;
    height: auto;
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .site-nav > a { color: var(--hdr-link); padding: 0.25rem 0; font-size: 0.95rem; }
  .site-nav > a::after { left: 0; right: 0; bottom: -0.2rem; }
  .site-nav-actions { padding: 0; margin-left: 1.25rem; gap: 1.5rem; align-items: center; }
  .site-nav-actions .btn { flex: none; }
  .site-nav-actions .btn-ghost { color: var(--hdr-ghost); padding-left: 0; padding-right: 0; }
  .site-nav-actions .btn-ghost:hover { color: var(--hdr-ghost-strong); background: none; }
}

/* ==========================================================================
   HERO — slider de fond (riad) + overlay + copy + mockup produit
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: calc(var(--header-h) + 2.25rem) 0 3.25rem;
  overflow: hidden;
  background: var(--navy-900); /* fallback avant chargement du slider */
}

/* --- Slider de fond : slides empilées en cross-fade -------------------- */
.hero-slider { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { opacity: 1; }
/* Léger zoom lent (Ken Burns) sur la slide active — coupé si reduced-motion. */
.hero-slide.is-active { animation: heroKenBurns 12s ease-out forwards; }
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Slides « zellige » générées en CSS (aucune image) — identité marocaine. */
.hero-slide--pattern-1 {
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(46,79,124,0.55), transparent 60%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero-slide--pattern-2 {
  background:
    radial-gradient(120% 90% at 85% 15%, rgba(201,168,76,0.22), transparent 55%),
    linear-gradient(200deg, var(--navy-900) 0%, var(--navy-950) 60%, #0f1c31 100%);
}
/* Motif géométrique en 8 branches (étoile marocaine) sur les slides pattern. */
.hero-slide--pattern-1::before,
.hero-slide--pattern-2::before {
  content: '';
  position: absolute;
  inset: -10%;
  color: var(--gold-500);
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(45deg,  currentColor 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, currentColor 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg,   currentColor 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg,  currentColor 0 1px, transparent 1px 22px);
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 40%, transparent 85%);
}

/* Voile marine dégradé au-dessus des slides : lisibilité du texte garantie. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(18,33,58,0.92) 0%, rgba(26,46,74,0.78) 42%, rgba(18,33,58,0.55) 100%),
    linear-gradient(0deg, rgba(18,33,58,0.55), rgba(18,33,58,0.05));
}

/* Puces de navigation du slider. */
.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.hero-dot {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: var(--radius-full);
  border: 0;
  background: rgb(255 255 255 / 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}
.hero-dot.is-active { background: var(--gold-400); width: 22px; }

.hero-grid { position: relative; z-index: 2; display: grid; gap: 2.5rem; align-items: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-300);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgb(219 185 106 / 0.35);
  border-radius: var(--radius-full);
  background: rgb(201 168 76 / 0.08);
}
.hero h1 {
  font-size: clamp(1.85rem, 6vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--gold-400); }
.hero-sub {
  color: var(--navy-100);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  margin: 1.1rem 0 1.75rem;
  max-width: 34rem;
}
.hero-actions { display: flex; flex-direction: column; gap: 0.8rem; }
.hero-actions .btn-lg { box-shadow: var(--shadow-lg); }
.hero-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--navy-300); }

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  padding: 0;
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: var(--navy-100);
}
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; }
.hero-trust .check-ico { color: var(--gold-400); }
.check-ico { width: 1em; height: 1em; flex: none; }

/* Badges de confiance sous le hero (conformité / hébergement). */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.18);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero-badge svg { width: 1.05rem; height: 1.05rem; color: var(--gold-400); flex: none; }

@media (min-width: 56rem) {
  .hero { padding: calc(var(--header-h) + 3.5rem) 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ==========================================================================
   Mockups produit (téléphone) — rendus en pur CSS/HTML, zéro image lourde
   ========================================================================== */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19;
  background: #0b1524;
  border-radius: 2.4rem;
  padding: 0.55rem;
  box-shadow: var(--shadow-xl), 0 0 0 2px rgb(255 255 255 / 0.06) inset;
  border: 1px solid rgb(255 255 255 / 0.1);
}
.phone::before { /* encoche */
  content: '';
  position: absolute;
  top: 0.55rem; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 1.15rem;
  background: #0b1524;
  border-radius: 0 0 0.9rem 0.9rem;
  z-index: 3;
}
.phone-screen {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: #f4f6fb;
  color: var(--ink-900);
  display: flex;
  flex-direction: column;
}
.phone-appbar {
  background: var(--navy-900);
  color: #fff;
  padding: 1.4rem 1rem 0.7rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.phone-appbar small { display: block; color: var(--gold-300); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }
.phone-body { flex: 1; padding: 0.85rem; overflow: hidden; }

/* Barre de progression du check-in dans le mockup. */
.mk-progress { display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.85rem; }
.mk-progress i {
  flex: 1; height: 4px; border-radius: 2px; background: var(--navy-100);
}
.mk-progress i.done { background: var(--success-500); }
.mk-progress i.active { background: var(--gold-500); }

.mk-label { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); font-weight: 600; margin: 0 0 0.2rem; }
.mk-field {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 0.55rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mk-field .mk-ok { color: var(--success-600); font-size: 0.7rem; }
.mk-field.is-focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgb(46 79 124 / 0.15); }
.mk-btn {
  margin-top: 0.4rem;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.6rem;
  border-radius: 0.55rem;
  box-shadow: var(--shadow-gold);
}

/* Pastille flottante « conforme » à côté du téléphone. */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 0.6rem 0.85rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--hairline);
}
.hero-float--tl { top: 8%; left: -0.5rem; }
.hero-float--br { bottom: 10%; right: -0.5rem; }
.hero-float .dot { width: 1.8rem; height: 1.8rem; border-radius: var(--radius-full); display: grid; place-items: center; flex: none; }
.hero-float .dot--green { background: #dcfce7; color: var(--success-600); }
.hero-float .dot--gold { background: var(--gold-100); color: var(--gold-600); }
.hero-float small { display: block; color: var(--slate-500); font-weight: 500; font-size: 0.68rem; }
@media (max-width: 30rem) { .hero-float--tl { left: 0.25rem; } .hero-float--br { right: 0.25rem; } }

/* ==========================================================================
   Bandeau logos plateformes + preuve sociale
   ========================================================================== */
.logos {
  padding: 2rem 0 0.5rem;
  background: var(--surface);
}
.logos-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1.1rem;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem 1rem;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--hairline);
  background: var(--paper-50);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
  box-shadow: var(--shadow-xs);
}
.logo-chip svg { width: 1.15rem; height: 1.15rem; flex: none; }
.logo-chip .g-airbnb { color: #ff5a5f; }
.logo-chip .g-booking { color: #003b95; }
.logo-chip .g-abritel { color: #1668e3; }

/* Bande de chiffres clés (formulés comme des capacités produit vérifiables). */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.stat b {
  display: block;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}
.stat b .stat-unit { font-size: 0.62em; color: var(--gold-600); }
.stat span { font-size: 0.82rem; color: var(--slate-500); }
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { position: relative; padding: 3.5rem 0; }
.section--alt { background: var(--paper-50); }
/* Trame zellige TRÈS discrète en fond des sections alternées. */
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--navy-900);
  opacity: 0.025;
  background-image: var(--zellige);
  background-size: 22px 22px;
  pointer-events: none;
}
.section--alt > .site-container { position: relative; z-index: 1; }

.section-head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.5rem, 4.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  text-wrap: balance;
  margin: 0 0 0.6rem;
}
.section-sub {
  color: var(--slate-600);
  font-size: 1.05rem;
  max-width: 42rem;
  margin: 0 auto;
}
.section-head .section-title { text-align: center; }
@media (min-width: 56rem) { .section { padding: 5rem 0; } }

/* ==========================================================================
   Sections « split » (texte + visuel) : selfie & OCR
   ========================================================================== */
.split { display: grid; gap: 2.25rem; align-items: center; }
.split .split-visual { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split-copy { order: 2; }
  .split--reverse .split-visual { order: 1; }
}
.split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}
.split-eyebrow svg { width: 1.1rem; height: 1.1rem; }
.split h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.9rem;
  text-wrap: balance;
}
.split p.lead { font-size: 1.08rem; color: var(--slate-600); margin-bottom: 1.5rem; }
.split-points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.9rem; }
.split-points li { display: flex; gap: 0.7rem; align-items: flex-start; }
.split-points .pt-ico {
  flex: none;
  width: 1.6rem; height: 1.6rem;
  border-radius: var(--radius-full);
  background: var(--gold-100);
  color: var(--gold-600);
  display: grid; place-items: center;
  margin-top: 0.1rem;
}
.split-points .pt-ico svg { width: 0.95rem; height: 0.95rem; }
.split-points b { color: var(--navy-900); font-weight: 700; }
.split-points span { color: var(--slate-600); font-size: 0.95rem; }
.split-note { margin: 1rem 0 0; font-size: 0.85rem; color: var(--slate-500); max-width: 34rem; }

/* --- Mockup selfie (liveness) ----------------------------------------- */
.selfie-cam {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}
.selfie-frame {
  position: absolute;
  inset: 12% 18%;
  border-radius: 50% / 42%;
  box-shadow: 0 0 0 3px rgb(201 168 76 / 0.9), 0 0 0 9999px rgb(11 21 36 / 0.35);
}
/* Coins de détection du visage. */
.selfie-corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--gold-400); }
.selfie-corner.tl { top: 9%; left: 14%; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.selfie-corner.tr { top: 9%; right: 14%; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.selfie-corner.bl { bottom: 9%; left: 14%; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.selfie-corner.br { bottom: 9%; right: 14%; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
/* Ligne de scan « liveness » qui balaie le visage. */
.selfie-scan {
  position: absolute;
  left: 18%; right: 18%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  box-shadow: 0 0 12px 2px rgb(219 185 106 / 0.6);
  animation: selfieScan 2.6s ease-in-out infinite;
}
@keyframes selfieScan {
  0%   { top: 16%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 82%; opacity: 0; }
}
.selfie-status {
  position: absolute;
  left: 50%; bottom: 6%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgb(11 21 36 / 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.selfie-status .pulse {
  width: 0.55rem; height: 0.55rem;
  border-radius: var(--radius-full);
  background: var(--success-500);
  box-shadow: 0 0 0 0 rgb(34 197 94 / 0.7);
  animation: pulseDot 1.6s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgb(34 197 94 / 0.6); }
  70%  { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); }
}

/* ==========================================================================
   Carte CIN / passeport (SVG spécimen) + surbrillance des champs OCR
   ========================================================================== */
.ocr-card-wrap { position: relative; width: 100%; max-width: 26rem; }
.ocr-scanline {
  position: absolute;
  left: 4%; right: 4%;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(201,168,76,0), rgba(201,168,76,0.35));
  border-top: 2px solid var(--gold-400);
  box-shadow: 0 0 18px 2px rgb(201 168 76 / 0.35);
  animation: ocrScan 3.2s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
}
@keyframes ocrScan {
  0%   { top: 6%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 78%; opacity: 0; }
}
/* Étiquettes des champs extraits qui « sortent » de la carte. */
.ocr-tags { display: grid; gap: 0.6rem; margin-top: 0.25rem; width: 100%; max-width: 26rem; }
.ocr-tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  box-shadow: var(--shadow-xs);
}
.ocr-tag .k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500); font-weight: 600; min-width: 6.5rem; }
.ocr-tag .v { font-weight: 700; color: var(--navy-900); font-size: 0.9rem; }
.ocr-tag .chk { margin-left: auto; color: var(--success-600); }
@media (min-width: 30rem) { .ocr-tags { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Comment ça marche
   ========================================================================== */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hairline-strong); }
.step-num {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-gold);
}
.step-ico { color: var(--navy-500); margin-bottom: 0.5rem; }
.step-ico svg { width: 1.6rem; height: 1.6rem; }
.step h3 { font-size: 1.08rem; margin: 0 0 0.4rem; color: var(--navy-900); }
.step p { font-size: 0.93rem; color: var(--slate-600); margin: 0; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* ==========================================================================
   Fonctionnalités
   ========================================================================== */
.features-grid { display: grid; gap: 1.25rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hairline-strong); }
.feature-ico {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--navy-50), #fff);
  border: 1px solid var(--navy-100);
  color: var(--navy-500);
  margin-bottom: 1.1rem;
}
.feature-ico svg { width: 1.55rem; height: 1.55rem; }
.feature-card h3 { font-size: 1.08rem; color: var(--navy-900); margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.93rem; color: var(--slate-600); margin: 0; }
@media (min-width: 40rem) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Tarifs
   ========================================================================== */
.pricing-grid { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card--free {
  border: 2px solid var(--gold-500);
  background: linear-gradient(180deg, var(--gold-50), #fff);
  box-shadow: var(--shadow-lg);
}
.plan-card--popular { border-color: var(--navy-500); box-shadow: var(--shadow-lg); }
@media (min-width: 64rem) { .plan-card--free { transform: translateY(-0.6rem); } .plan-card--free:hover { transform: translateY(-1rem); } }
.plan-flag {
  position: absolute;
  top: -0.8rem; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}
.plan-flag--navy { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }
.plan-name { font-size: 1.2rem; font-weight: 800; text-transform: capitalize; color: var(--navy-900); margin-bottom: 0.15rem; }
.plan-tagline { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 1rem; }
.plan-price { margin: 0 0 1.1rem; }
.plan-price strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy-900); }
.plan-period { font-size: 0.85rem; color: var(--slate-500); margin-left: 0.35rem; }
.plan-points {
  list-style: none;
  padding: 0; margin: 0 0 1.4rem;
  font-size: 0.92rem;
  flex: 1;
  display: grid;
  gap: 0.55rem;
}
.plan-points li { display: flex; align-items: baseline; gap: 0.5rem; }
.plan-points .check-ico { color: var(--success-500); position: relative; top: 0.1em; }
@media (min-width: 40rem) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }

.pricing-empty { text-align: center; color: var(--slate-500); }
.pricing-note { text-align: center; font-size: 0.82rem; color: var(--slate-400); margin-top: 1.5rem; }

.compare-title { text-align: center; font-size: 1.25rem; font-weight: 800; color: var(--navy-900); margin-bottom: 1.25rem; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); }
.compare-table th, .compare-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--hairline); }
.compare-table thead th { background: var(--navy-900); color: #fff; text-align: center; font-size: 0.95rem; }
.compare-table thead th.compare-feature-col { text-align: left; }
.compare-price { display: block; font-size: 0.75rem; font-weight: 500; color: var(--navy-100); }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--ink-700); }
.compare-table td { text-align: center; color: var(--ink-700); }
.compare-table td.is-popular, .compare-table thead th.is-popular { background: var(--gold-50); }
.compare-table thead th.is-popular { background: var(--navy-700); box-shadow: inset 0 -3px 0 var(--gold-500); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-yes { color: var(--success-500); }
.compare-yes .check-ico { width: 1.1em; height: 1.1em; }
.compare-no { color: var(--slate-400); }
.compare-quota { display: block; font-size: .75rem; color: var(--slate-500, #64748b); margin-top: .15rem; }

/* ==========================================================================
   Témoignages (rendus uniquement si des données réelles sont fournies)
   ========================================================================== */
.testimonials-grid { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote { color: var(--ink-700); font-size: 0.98rem; margin: 0 0 1.1rem; }
.testimonial-quote::before { content: '\201C'; color: var(--gold-500); font-size: 2rem; font-weight: 800; line-height: 0; vertical-align: -0.35em; margin-right: 0.15rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.testimonial-avatar {
  width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-full);
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 700; color: var(--navy-900); font-size: 0.9rem; }
.testimonial-role { color: var(--slate-500); font-size: 0.8rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 0 1.15rem;
  box-shadow: var(--shadow-xs);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  padding: 1rem 1.75rem 1rem 0;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-500);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--slate-600); font-size: 0.95rem; padding-bottom: 1rem; margin: 0; }

/* ==========================================================================
   Formulaire de contact
   ========================================================================== */
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: grid; gap: 0.35rem; margin: 0; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgb(46 79 124 / 0.15);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.contact-form .btn { justify-self: start; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.form-alert { border-radius: var(--radius-md); padding: 0.85rem 1rem; font-weight: 500; margin-bottom: 1.25rem; }
.form-alert--ok  { background: #dcfce7; color: #15803d; }
.form-alert--err { background: #fee2e2; color: #b91c1c; }

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  color: var(--gold-500);
  opacity: 0.08;
  background-image: var(--zellige);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 75%);
}
.cta-final h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.cta-final p { color: var(--navy-100); max-width: 36rem; margin: 0 auto 1.75rem; font-size: 1.05rem; }
.cta-alt { font-size: 0.9rem; margin-top: 1.5rem; }
.cta-alt a { color: var(--gold-400); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--navy-100); padding: 3rem 0 1.5rem; }
.site-footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.site-logo-text--footer { color: #fff; font-size: 1.3rem; }
.site-footer-brand p { font-size: 0.9rem; margin: 0.75rem 0 1rem; max-width: 24rem; }
.site-footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badge {
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-400);
}
.site-footer-col { display: grid; gap: 0.5rem; align-content: start; }
.site-footer-col h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-400);
  margin-bottom: 0.35rem;
}
.site-footer-col a { color: var(--navy-100); text-decoration: none; font-size: 0.92rem; }
.site-footer-col a:hover { color: #fff; }
.site-footer-copy {
  border-top: 1px solid var(--navy-700);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--slate-400);
  margin: 0;
}
@media (min-width: 56rem) { .site-footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal .section-title { text-align: left; }
.legal h2 { font-size: 1.2rem; color: var(--navy-900); margin-top: 2rem; }
.legal ul { color: var(--ink-700); padding-left: 1.25rem; }
.legal li { margin-bottom: 0.5rem; }

/* ==========================================================================
   Animations au scroll (fade-in / slide-up)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ==========================================================================
   Badge « Nouveau » (nouveautés mises en avant sur le vitrine)
   ========================================================================== */
.badge-new {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

/* Badge posé dans le coin d'une carte de fonctionnalité. */
.feature-card--new { position: relative; border-color: var(--gold-300); }
.feature-card--new .feature-ico {
  background: linear-gradient(180deg, var(--gold-50), #fff);
  border-color: var(--gold-300);
  color: var(--gold-600);
}
.badge-new--card { position: absolute; top: 0.9rem; right: 0.9rem; }

/* Pastille cliquable du hero qui mène à la section Notifications. */
.hero-badge--link {
  text-decoration: none;
  gap: 0.5rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hero-badge--link:hover {
  border-color: var(--gold-400);
  background: rgb(255 255 255 / 0.14);
  transform: translateY(-1px);
}

/* ==========================================================================
   Section « spotlight » (fond marine) — mise en avant d'une nouveauté
   ========================================================================== */
.section--spotlight {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-950));
  color: var(--navy-100);
}
.section--spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--gold-400);
  opacity: 0.07;
  background-image: var(--zellige);
  background-size: 22px 22px;
  pointer-events: none;
}
.section--spotlight > .site-container { position: relative; z-index: 1; }
.section--spotlight .split-eyebrow {
  color: var(--gold-400);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
}
.section--spotlight h2 { color: #fff; }
.section--spotlight p.lead { color: var(--navy-100); }
.section--spotlight .split-points span { color: var(--navy-100); }
.section--spotlight .split-points b { color: #fff; }
.section--spotlight .split-note { color: var(--navy-300); }
.section--spotlight .split-note a { color: var(--gold-300); }
.section--spotlight .split-points .pt-ico {
  background: rgb(201 168 76 / 0.18);
  border-color: rgb(201 168 76 / 0.45);
  color: var(--gold-300);
}

/* ==========================================================================
   Mockup des notifications d'équipe (fil WhatsApp + carte email)
   ========================================================================== */
.wa-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.85rem;
  overflow: hidden;
  background: #e9eef4;
}
.wa-msg {
  position: relative;
  background: #fff;
  border-radius: 0.75rem 0.75rem 0.75rem 0.2rem;
  box-shadow: var(--shadow-xs);
  padding: 0.55rem 0.6rem 0.4rem;
  border-left: 3px solid var(--navy-500);
}
.wa-msg--owner { border-left-color: var(--success-500); background: #eafbef; }
.wa-msg--alert { border-left-color: var(--gold-500); background: var(--gold-50); }
.wa-to {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 0.15rem;
}
.wa-msg--owner .wa-to { color: var(--success-600); }
.wa-msg--alert .wa-to { color: var(--gold-600); }
.wa-msg p { font-size: 0.72rem; line-height: 1.45; color: var(--ink-900); margin: 0; }
.wa-msg b { font-weight: 700; }
.wa-cta {
  display: block;
  margin-top: 0.45rem;
  padding: 0.35rem 0.5rem;
  border-top: 1px solid var(--hairline);
  color: #0b7f63;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}
.wa-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.56rem;
  color: var(--slate-500);
  text-align: right;
}
.wa-ticks { color: #34b7f1; font-style: normal; }

.wa-mail {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(280px, 78vw);
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-lg);
  padding: 0.7rem 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.wa-mail-ico {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  flex: none;
  border-radius: var(--radius-md);
  background: rgb(201 168 76 / 0.18);
  color: var(--gold-300);
}
.wa-mail-ico svg { width: 1.1rem; height: 1.1rem; }
.wa-mail small { display: block; color: var(--navy-100); font-weight: 400; font-size: 0.68rem; }

/* ==========================================================================
   Trustpilot (TrustBox « Review Collector »)
   ========================================================================== */
.trust-band {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem 1rem;
}
/* Réserve la hauteur du widget : évite tout saut de mise en page pendant le
   chargement de l'iframe Trustpilot (Core Web Vitals / CLS). */
.trustpilot-widget { min-height: 52px; }
/* Lien de repli affiché tant que le script Trustpilot n'a pas remplacé le
   contenu du bloc par son iframe (ou s'il est bloqué). */
.trustpilot-widget > a {
  display: block;
  line-height: 52px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-500);
}

.tp-widget--band { width: 100%; }

/* ==========================================================================
   Pages FAQ (/faq et /faq/{slug})
   ========================================================================== */
.faq-crumb {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.faq-crumb a { color: var(--navy-700); text-decoration: none; }
.faq-crumb a:hover { text-decoration: underline; }
.faq-crumb span[aria-hidden] { color: var(--slate-400); }

/* La réponse porte la page : on la pose en plus gros que le corps courant. */
.faq-answer {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 2rem;
}
.faq-lede { color: var(--slate-600); margin-bottom: 1.75rem; }

.faq-index { list-style: none; padding-left: 0; display: grid; gap: 0.5rem; }
.faq-index li {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  margin-bottom: 0;
}
.faq-index a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.faq-index li:hover { border-color: var(--gold-400); }

.faq-cta {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: var(--paper-50);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.faq-cta p { margin: 0 0 0.25rem; flex: 1 1 16rem; color: var(--ink-700); font-size: 0.95rem; }

/* Renvois depuis la FAQ de la page d'accueil vers les pages dédiées. */
.faq-permalink {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
}
.faq-all { text-align: center; margin-top: 1.5rem; }
.faq-all a { font-weight: 600; color: var(--navy-700); }

/* ==========================================================================
   Accessibilité : mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slide.is-active { animation: none; }
}
