/* ============================================================
   YIBO SUITE — Landing page v2
   Noir & Or champagne · dark-first · FR/EN · logo animé
   ============================================================ */

/* ---------- 0. Fonts (auto-hébergées) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 800; font-display: swap;
  src: url("assets/fonts/inter-latin-800-normal.woff2") format("woff2");
}

/* ---------- 1. Design tokens ---------- */
:root {
  /* Marque — noir & or champagne */
  --gold: #C9A227;
  --gold-2: #E7C868;
  --gold-deep: #9A7B14;
  --accent: #7C8FFF;
  --success: #2FBF8F;
  --ink: #14151C;            /* texte sur or */

  /* Thème sombre (défaut) */
  --bg: #0A0B10;
  --bg-alt: #0E1018;
  --card: #13151E;
  --text: #F4F1E8;
  --text-muted: #A5A093;
  --border: #23263394;
  --glass: rgba(19, 21, 30, 0.66);
  --glass-border: rgba(231, 200, 104, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(10, 11, 16, 0.78);
  --gold-glow: rgba(201, 162, 39, 0.28);

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 74px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #FBF9F3;
  --bg-alt: #F3F0E7;
  --card: #FFFFFF;
  --text: #191A21;
  --text-muted: #6F6B5E;
  --border: #E5E0D2;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(201, 162, 39, 0.18);
  --shadow-sm: 0 1px 2px rgba(25, 26, 33, 0.06);
  --shadow-md: 0 10px 28px rgba(25, 26, 33, 0.10);
  --shadow-lg: 0 26px 64px rgba(25, 26, 33, 0.16);
  --header-bg: rgba(251, 249, 243, 0.82);
  --gold-glow: rgba(201, 162, 39, 0.22);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

img, svg { display: inline-block; vertical-align: middle; }
[hidden] { display: none !important; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 300; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 65%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ---------- 3. Preloader — logo animé ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background: #0A0B10;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* --- Logo pinceau animé : le cercle se peint, puis le texte se tape --- */
.logo-anim { display: block; font-family: "Inter", system-ui, sans-serif; color: var(--app-accent, var(--gold-2)); }
.logo-anim--loader { width: 240px; height: 240px; }

.la-brush { fill: currentColor; }
.la-paint {
  stroke: #fff; stroke-width: 60; fill: none;
  stroke-dasharray: 790;
  stroke-dashoffset: 790;
  animation: laPaint 1.35s var(--ease) 0.2s forwards;
}
@keyframes laPaint { to { stroke-dashoffset: 0; } }

.la-name { font-size: 60px; font-weight: 800; letter-spacing: -1px; fill: #F4F1E8; }
.la-l { opacity: 0; animation: laType 0.01s linear forwards; }
.la-l1 { animation-delay: 1.50s; }
.la-l2 { animation-delay: 1.64s; }
.la-l3 { animation-delay: 1.78s; }
.la-l4 { animation-delay: 1.92s; }
@keyframes laType { to { opacity: 1; } }

.la-sub {
  font-size: 17px; font-weight: 700; letter-spacing: 9px; fill: currentColor;
  opacity: 0;
  animation: laSub 0.45s var(--ease) 2.15s forwards;
}
@keyframes laSub { from { opacity: 0; letter-spacing: 15px; } to { opacity: 1; letter-spacing: 9px; } }

/* Marque statique (header / footer) : cercle pinceau colorable */
.logo-mark { width: 44px; height: 44px; color: var(--app-accent, var(--gold-2)); flex-shrink: 0; transition: transform 0.5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-14deg) scale(1.06); }
.logo--footer .logo-mark { width: 56px; height: 56px; }

/* ---------- 4. Composants réutilisables ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid var(--glass-border);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px; padding: 12px 24px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 26px var(--gold-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px var(--gold-glow); }
/* reflet balayant */
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--outline { color: var(--text); background: transparent; border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
[data-theme="light"] .btn--outline:hover { color: var(--gold-deep); }

.btn--ghost { color: var(--text); background: transparent; padding: 10px 16px; }
.btn--ghost:hover { color: var(--gold-2); }
[data-theme="light"] .btn--ghost:hover { color: var(--gold-deep); }

.btn--sm { padding: 9px 18px; font-size: 0.92rem; }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--card {
  width: 100%; margin-top: auto;
  color: var(--gold-2);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}
[data-theme="light"] .btn--card { color: var(--gold-deep); }
.btn--card:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); transform: translateY(-2px); }
.btn--card-muted { color: var(--text-muted); background: color-mix(in srgb, var(--text-muted) 10%, transparent); }
.btn--card-muted:hover { background: var(--text-muted); color: var(--bg); }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
[data-theme="light"] .eyebrow { color: var(--gold-deep); }
.eyebrow--light { color: var(--gold-2); }

.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.section__lead { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

.text-gradient {
  background: linear-gradient(120deg, var(--gold-2) 20%, var(--gold) 50%, var(--gold-2) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.badge--live { color: var(--success); background: color-mix(in srgb, var(--success) 13%, transparent); }
.badge--soon { color: var(--gold-2); background: color-mix(in srgb, var(--gold) 16%, transparent); }
[data-theme="light"] .badge--soon { color: var(--gold-deep); }

/* Révélation au scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

/* Logo — image officielle + mot-symbole calligraphique */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__img {
  width: 46px; height: 46px; object-fit: contain;
  transition: transform 0.5s var(--ease), filter 0.4s;
}

.logo:hover .logo__img { transform: rotate(-14deg) scale(1.06); }
.logo__word { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.logo__script {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text);
}
.logo__caps {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold);
}
[data-theme="light"] .logo__caps { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-block; padding: 8px 13px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  white-space: nowrap;
  color: var(--text-muted); transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--gold-2); background: color-mix(in srgb, var(--gold) 12%, transparent); }
[data-theme="light"] .nav__link.is-active { color: var(--gold-deep); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  font: inherit; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
  color: var(--gold-2); background: transparent; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 999px;
  padding: 8px 13px;
  transition: border-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
[data-theme="light"] .lang-toggle { color: var(--gold-deep); }
.lang-toggle:hover { border-color: var(--gold); transform: translateY(-1px); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border); background: transparent; color: var(--text);
  cursor: pointer; transition: border-color 0.2s, transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(15deg); }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.burger span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 110px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero__logosvg {
  position: absolute; right: -60px; top: -30px;
  width: 560px; height: 560px;
  opacity: 0.11;
}
.hero__logosvg .la-name { fill: var(--text); }
[data-theme="light"] .hero__logosvg { opacity: 0.09; }

.orb { position: absolute; border-radius: 50%; filter: blur(76px); opacity: 0.5; animation: drift 14s ease-in-out infinite alternate; }
.orb--1 { width: 480px; height: 480px; top: -160px; right: -120px; background: radial-gradient(circle, var(--gold), transparent 65%); opacity: 0.32; }
.orb--2 { width: 380px; height: 380px; bottom: -140px; left: -120px; background: radial-gradient(circle, var(--accent), transparent 65%); opacity: 0.2; animation-delay: -5s; }
.orb--3 { width: 260px; height: 260px; top: 30%; left: 42%; background: radial-gradient(circle, var(--gold-2), transparent 65%); opacity: 0.14; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 26px) scale(1.08); }
}

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 900; letter-spacing: -0.03em; }
.hero__subtitle { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-muted); max-width: 34em; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 15px; margin-bottom: 22px; background: var(--card);
  box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 45%, transparent); }
  60% { box-shadow: 0 0 0 7px transparent; }
}

.hero__proof { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--text-muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { color: var(--success); }

/* Mockup dashboard */
.hero__visual { position: relative; }
.dash { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.dash__topbar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.dash__dot { width: 10px; height: 10px; border-radius: 50%; }
.dash__dot:nth-child(1) { background: #FF5F57; } .dash__dot:nth-child(2) { background: #FEBC2E; } .dash__dot:nth-child(3) { background: #28C840; }
.dash__url { margin-left: 12px; font-size: 0.72rem; color: var(--text-muted); background: var(--bg-alt); border-radius: 6px; padding: 3px 12px; }
.dash__body { display: grid; grid-template-columns: 58px 1fr; }
.dash__side { display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; border-right: 1px solid var(--border); }
.dash__side-item { height: 9px; border-radius: 4px; background: var(--border); }
.dash__side-item.is-on { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.dash__content { padding: 18px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash__kpi { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 2px; }
.dash__kpi-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.dash__kpi-value { font-size: 1.06rem; font-weight: 800; }
.dash__kpi-trend { font-size: 0.7rem; font-weight: 700; }
.dash__kpi-trend.up { color: var(--success); }
.dash__chart { display: flex; align-items: flex-end; gap: 9px; height: 110px; padding: 8px 4px 0; }
.bar {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  opacity: 0.92; transform-origin: bottom;
  animation: grow 1.2s var(--ease) backwards;
}
.bar:nth-child(2n) { opacity: 0.5; }
.bar:nth-child(1) { animation-delay: 0.15s; } .bar:nth-child(2) { animation-delay: 0.25s; }
.bar:nth-child(3) { animation-delay: 0.35s; } .bar:nth-child(4) { animation-delay: 0.45s; }
.bar:nth-child(5) { animation-delay: 0.55s; } .bar:nth-child(6) { animation-delay: 0.65s; }
.bar:nth-child(7) { animation-delay: 0.75s; } .bar:nth-child(8) { animation-delay: 0.85s; }
@keyframes grow { from { transform: scaleY(0); } }
.dash__rows { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.dash__row { height: 11px; border-radius: 5px; background: var(--bg-alt); border: 1px solid var(--border); }
.dash__row.w-70 { width: 70%; }

/* Cartes flottantes */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  border-radius: 14px; padding: 11px 15px; box-shadow: var(--shadow-md);
  font-size: 0.8rem; line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--text-muted); font-size: 0.72rem; }
.float-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; color: #fff; flex-shrink: 0;
}
.float-card__icon.ok { background: var(--success); }
.float-card__icon.accent { background: var(--accent); }
.float-card__icon.brand { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); }
.float-card--1 { top: -22px; right: -14px; animation-delay: -2s; }
.float-card--2 { bottom: 34px; left: -30px; animation-delay: -4s; }
.float-card--3 { bottom: -20px; right: 40px; animation-delay: -1s; }

/* ---------- 7. Solutions ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.sol-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.sol-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--gold) 40%, var(--border));
}
.sol-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.sol-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 12%, transparent);
  transition: transform 0.35s var(--ease);
}
.sol-card:hover .sol-card__icon { transform: scale(1.08) rotate(-4deg); }
.sol-card[data-href] { cursor: pointer; }
.sol-card__title { font-size: 1.3rem; font-weight: 800; }
.sol-card__title a { text-decoration: none; color: inherit; transition: color 0.2s; }
.sol-card:hover .sol-card__title a { color: var(--gold-2); }
[data-theme="light"] .sol-card:hover .sol-card__title a { color: var(--gold-deep); }
.sol-card__desc { color: var(--text-muted); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.chips li {
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px;
}
.chips--muted li { opacity: 0.75; }
.sol-card--future { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 7%, var(--card)), var(--card)); }

/* ---------- 8. Fonctionnalités ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.feat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--gold) 35%, var(--border)); }
.feat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 13px;
  color: var(--gold-2); background: color-mix(in srgb, var(--gold) 11%, transparent);
}
[data-theme="light"] .feat__icon { color: var(--gold-deep); }
.feat h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feat p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ---------- 9. Pourquoi / stats ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.why .section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.why__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.why__list li { display: flex; gap: 15px; }
.why__list p { margin: 2px 0 0; color: var(--text-muted); font-size: 0.94rem; }
.why__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--gold-2); background: color-mix(in srgb, var(--gold) 11%, transparent);
}
[data-theme="light"] .why__icon { color: var(--gold-deep); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat {
  border-radius: var(--radius-lg); padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat__value { display: block; font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; color: var(--gold-2); }
[data-theme="light"] .stat__value { color: var(--gold-deep); }
.stat__label { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }

/* ---------- 10. Captures / appareils ---------- */
.section--dark {
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(201, 162, 39, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(124, 143, 255, 0.10), transparent 60%),
    #07080C;
  color: #F4F1E8;
}
.section--dark .section__lead { color: #A5A093; }

.devices { display: flex; align-items: flex-end; justify-content: center; gap: 40px; padding-top: 20px; }
.device { position: relative; }
.device__screen { overflow: hidden; background: #101219; }

.device--laptop { width: min(560px, 100%); }
.device--laptop .device__screen {
  border: 10px solid #1B1E2A; border-bottom-width: 14px;
  border-radius: 16px 16px 0 0; aspect-ratio: 16 / 9.6;
  box-shadow: var(--shadow-lg);
}
.device__base { height: 14px; margin: 0 -34px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #2A2E3E, #1B1E2A); }
.device--tablet { width: 200px; }
.device--tablet .device__screen { border: 9px solid #1B1E2A; border-radius: 20px; aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); }
.device--phone { width: 118px; }
.device--phone .device__screen { border: 7px solid #1B1E2A; border-radius: 22px; aspect-ratio: 9 / 18.6; box-shadow: var(--shadow-lg); }
.device__notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 7px; border-radius: 999px; background: #1B1E2A; z-index: 2;
}

/* UI factice dans les appareils */
.mini-dash { display: grid; grid-template-columns: 34px 1fr; height: 100%; }
.mini-dash__side { display: flex; flex-direction: column; gap: 8px; padding: 12px 8px; border-right: 1px solid #23263394; }
.mini-dash__side i { height: 6px; border-radius: 3px; background: #232633; }
.mini-dash__side i.on { background: linear-gradient(90deg, #E7C868, #C9A227); }
.mini-dash__main { padding: 12px; }
.mini-dash__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mini-dash__cards i { height: 30px; border-radius: 7px; background: #181B26; border: 1px solid #232633; }
.mini-dash__chart { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.mini-dash__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #E7C868, #C9A227); opacity: 0.85; }
.mini-dash__chart i:nth-child(2n) { opacity: 0.45; }

.mini-pos { display: grid; grid-template-rows: 1fr auto; height: 100%; padding: 10px; gap: 10px; }
.mini-pos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mini-pos__grid i { border-radius: 7px; background: #181B26; border: 1px solid #232633; }
.mini-pos__ticket { display: flex; flex-direction: column; gap: 6px; }
.mini-pos__ticket i { height: 7px; border-radius: 3px; background: #232633; }
.mini-pos__ticket i.total { background: linear-gradient(90deg, #E7C868, #C9A227); height: 10px; }

.mini-app { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 9px 9px; }
.mini-app__header { height: 22px; border-radius: 7px; background: linear-gradient(90deg, #E7C868, #C9A227); }
.mini-app__row { height: 14px; border-radius: 5px; background: #181B26; border: 1px solid #232633; }
.mini-app__row.w-60 { width: 60%; }
.mini-app__fab {
  position: absolute; right: 10px; bottom: 12px; width: 24px; height: 24px;
  border-radius: 50%; background: linear-gradient(135deg, #E7C868, #C9A227);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.55);
}

/* ---------- 11. Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.step {
  position: relative; text-align: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 26px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step__num {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-weight: 800; font-size: 0.95rem; color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 6px 16px var(--gold-glow);
}
.step__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 16px;
  color: var(--gold-2); background: color-mix(in srgb, var(--gold) 11%, transparent);
}
[data-theme="light"] .step__icon { color: var(--gold-deep); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- 12. Témoignages ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  margin: 0; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi__stars { color: var(--gold-2); letter-spacing: 3px; font-size: 0.95rem; }
[data-theme="light"] .testi__stars { color: var(--gold); }
.testi blockquote { margin: 0; font-size: 0.97rem; line-height: 1.65; }
.testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi small { display: block; color: var(--text-muted); }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  font-weight: 700; font-size: 0.85rem; color: var(--ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--a) 70%, #fff), var(--a));
}

/* ---------- 13. Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.2rem; }
.price-card__desc { color: var(--text-muted); font-size: 0.92rem; min-height: 44px; margin: 0 0 14px; }
.price-card__price { margin-bottom: 6px; }
.price-card__price .amount { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; }
.price-card__price .cur { font-size: 1.05rem; font-weight: 700; color: var(--text-muted); }
.price-card__price .per { color: var(--text-muted); }
.price-card__trial {
  display: inline-block; align-self: flex-start; margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent);
  border-radius: 999px; padding: 4px 12px;
}
.price-card__list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.93rem; }
.price-card__list li { position: relative; padding-left: 26px; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--success) 15%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FBF8F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}
.price-card .btn { margin-top: auto; }

/* ---------- 14. FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 13px; }
.faq__item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item[open] { border-color: color-mix(in srgb, var(--gold) 45%, var(--border)); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 24px; cursor: pointer; font-weight: 600; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2.2px solid var(--text-muted); border-bottom: 2.2px solid var(--text-muted);
  transform: rotate(45deg); transition: transform 0.3s var(--ease); margin-top: -4px;
}
.faq__item[open] .faq__chev { transform: rotate(225deg); margin-top: 4px; }
.faq__body { padding: 0 24px; overflow: hidden; }
.faq__body p { margin: 0 0 19px; color: var(--text-muted); }

/* ---------- 15. Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact__points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-weight: 500; }
.contact__points li { display: flex; align-items: center; gap: 13px; }

.form { border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form__group label { font-size: 0.86rem; font-weight: 600; }
.form__group input, .form__group textarea {
  font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 12px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__group input:focus, .form__group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent);
}
.form__group input[aria-invalid="true"], .form__group textarea[aria-invalid="true"] { border-color: #E5484D; }
.form__group textarea { resize: vertical; min-height: 110px; }
.form__status { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; font-size: 0.92rem; text-align: center; }
.form__status.ok { color: var(--success); }
.form__status.err { color: #E5484D; }

/* ---------- 16. Footer ---------- */
.footer { background: #07080C; color: #C9C5B8; padding: 72px 0 30px; border-top: 1px solid #1A1D28; }
.footer a { text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer__brand p { color: #8B8778; font-size: 0.93rem; max-width: 30em; margin: 16px 0 20px; }
.logo--footer { color: #fff; }
.logo--footer .logo__img { width: 64px; height: 64px; }
.logo--footer .logo__script { color: #F4F1E8; font-size: 1.5rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  color: #8B8778; background: rgba(165, 160, 147, 0.1);
  transition: color 0.2s, background 0.2s, transform 0.25s var(--ease);
}
.footer__social a:hover { color: var(--ink); background: var(--gold-2); transform: translateY(-3px); }
.footer__col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #F4F1E8; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: #8B8778; font-size: 0.94rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(165, 160, 147, 0.14);
  padding-top: 26px; font-size: 0.86rem; color: #6E6A5E;
}
.footer__bottom p { margin: 0; }
.credit { color: var(--gold-2); font-weight: 700; }

/* ---------- 16 bis. Pages légales ---------- */
.legal { padding: calc(var(--header-h) + 56px) 24px 90px; }
.legal h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 38px; }
.legal h2 { font-size: 1.12rem; font-weight: 700; margin: 36px 0 10px; color: var(--gold-2); }
[data-theme="light"] .legal h2 { color: var(--gold-deep); }
.legal p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.75; margin: 0 0 14px; }
.legal strong { color: var(--text); }
.legal a { color: var(--gold-2); }
[data-theme="light"] .legal a { color: var(--gold-deep); }
.footer--slim { padding: 26px 0; }
.footer--slim .footer__bottom { border-top: none; padding-top: 0; }
.footer--slim a { color: #8B8778; }
.footer--slim a:hover { color: var(--gold-2); }

/* ---------- 17. Retour en haut ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 26px var(--gold-glow);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__copy { text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta, .hero__proof { justify-content: center; }
  .hero__visual { max-width: 620px; margin-inline: auto; }
  .hero__watermark { right: -220px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr; gap: 48px; }
  .contact { grid-template-columns: 1fr; gap: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 78px 0; }

  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--card); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 18px 24px 26px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { display: block; padding: 12px 14px; font-size: 1rem; }
  .nav__actions { justify-content: flex-start; margin-top: 12px; flex-wrap: wrap; }

  .cards-grid, .pricing, .testis, .steps { grid-template-columns: 1fr; }
  .steps { gap: 38px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .devices { flex-wrap: wrap; align-items: center; }
  .device--tablet { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .float-card--2 { left: -8px; }
  .float-card--1 { right: -6px; }
  .hero__logosvg { display: none; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .feat-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero { padding-top: calc(var(--header-h) + 46px); }
  .hero__cta .btn { width: 100%; }
  .float-card--3 { display: none; }
  .form { padding: 26px 20px; }
  .logo__caps { display: none; }
}
