/* =========================================================================
   Oyez Cab - Site vitrine (refonte style, repris du design kit)
   Geist Sans (display) + Inter (texte) + Geist Mono (labels)
   Ink navy #0a2540 · Primary blue #1a56ff · Accent blurple #635bff
   ========================================================================= */

@font-face { font-family: "Geist Sans"; font-weight: 400; font-display: swap; src: url("../fonts/geist-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-weight: 600; font-display: swap; src: url("../fonts/geist-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-weight: 700; font-display: swap; src: url("../fonts/geist-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url("../fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }

:root {
  /* Neutres (navy ink) */
  --ink-50:  #f6f9fc;
  --ink-100: #ebeef3;
  --ink-150: #dfe4ea;
  --ink-200: #d4dae3;
  --ink-300: #adb5bd;
  --ink-400: #6b7280;
  --ink-500: #425466;
  --ink-600: #2a3547;
  --ink-700: #1a2233;
  --ink-800: #0f1825;
  --ink-900: #0a2540;

  /* Primary (bleu signal) */
  --primary-50:  #eef4ff;
  --primary-100: #d9e6ff;
  --primary-200: #b3ccff;
  --primary-300: #7aa5ff;
  --primary-400: #4b7eff;
  --primary-500: #1a56ff;
  --primary-600: #134acc;

  /* Accent (blurple) */
  --accent-50:  #f0eeff;
  --accent-100: #e0dcff;
  --accent-200: #c2baff;
  --accent-300: #a39aff;
  --accent-400: #857aff;
  --accent-500: #635bff;
  --accent-600: #4f47cc;
  --accent-700: #3b3599;

  /* Statuts */
  --success: #1f9d63;
  --success-bg: #e7f6ee;
  --warning: #b7791f;
  --warning-bg: #fdf3e1;
  --danger: #d6453d;

  --font-display: "Geist Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", "Geist Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1180px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-card: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(10,37,64,0.06), 0 1px 3px rgba(10,37,64,0.05);
  --shadow-md: 0 10px 24px -10px rgba(10,37,64,0.18), 0 4px 10px -4px rgba(10,37,64,0.08);
  --shadow-lg: 0 30px 60px -22px rgba(10,37,64,0.32), 0 12px 26px -12px rgba(10,37,64,0.16);
  --shadow-accent: 0 12px 30px -10px rgba(99,91,255,0.45);
  --shadow-primary: 0 12px 30px -10px rgba(26,86,255,0.40);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --grad-brand: linear-gradient(120deg, var(--primary-500), var(--accent-500));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink-500);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.tnum { font-variant-numeric: tabular-nums; }
::selection { background: var(--accent-200); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-600);
}
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--accent-500); }
.eyebrow.on-dark { color: var(--accent-300); }

.section-head { max-width: 42rem; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 1rem 0 0.9rem; }
.section-head p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-500); }

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

/* ---------- Buttons ---------- */
.btn {
  --h: 2.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: var(--h); padding: 0 1.4rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease),
              border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 200ms var(--ease); }
.btn--primary { background: var(--primary-500); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent-500); color: #fff; box-shadow: var(--shadow-accent); }
.btn--accent:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn--accent:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-800); transform: translateY(-1px); }
.btn--outline { background: #fff; color: var(--ink-700); border-color: var(--ink-200); }
.btn--outline:hover { border-color: var(--accent-300); color: var(--accent-600); background: var(--accent-50); }
.btn--ghost { background: transparent; color: var(--ink-600); }
.btn--ghost:hover { color: var(--accent-600); }
/* En-tête transparent sur le héros sombre : le gris du kit y est illisible. */
.site-header .btn--ghost { color: rgba(255,255,255,0.85); }
.site-header .btn--ghost:hover { color: #fff; }
.site-header.scrolled .btn--ghost { color: var(--ink-600); }
.site-header.scrolled .btn--ghost:hover { color: var(--accent-600); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--light:hover svg { transform: translateX(3px); }
.btn--on-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.22); }
.btn--on-dark:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.btn--lg { --h: 3.3rem; padding: 0 1.8rem; font-size: 1.02rem; }
.btn--sm { --h: 2.4rem; padding: 0 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
  background: var(--ink-50); color: var(--ink-600); border: 1px solid var(--ink-200);
}
.pill--accent { background: var(--accent-50); color: var(--accent-700); border-color: var(--accent-100); }
.pill--success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.pill .dot { width: 0.45rem; height: 0.45rem; border-radius: 999px; background: currentColor; }
.pulse { position: relative; }
.pulse::after { content: ""; position: absolute; inset: -3px; border-radius: 999px; border: 2px solid currentColor; opacity: 0.5; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255,255,255,0.82); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--ink-100); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; transition: height 250ms var(--ease); }
.scrolled .header-inner { height: 3.9rem; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-mark { width: 2.1rem; height: 2.1rem; border-radius: 9px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: var(--shadow-accent); }
.brand-mark svg { width: 1.3rem; height: 1.3rem; fill: #fff; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; color: #fff; transition: color 200ms var(--ease); }
.brand-name b { color: var(--accent-400); font-weight: 700; }
.scrolled .brand-name { color: var(--ink-900); }
.scrolled .brand-name b { color: var(--accent-500); }

.nav-primary { display: flex; align-items: center; gap: 0.1rem; margin-left: 0.75rem; }
.nav-primary a { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.78); padding: 0.5rem 0.8rem; border-radius: var(--radius-pill); transition: color 160ms, background 160ms; }
.nav-primary a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.scrolled .nav-primary a { color: var(--ink-600); }
.scrolled .nav-primary a:hover { color: var(--ink-900); background: var(--ink-50); }
.header-actions { display: flex; align-items: center; gap: 0.65rem; margin-left: auto; }

.burger { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.scrolled .burger { border-color: var(--ink-200); background: #fff; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 220ms var(--ease), opacity 160ms, background 200ms; }
.scrolled .burger span { background: var(--ink-800); }
.mobile-menu { display: none; }

/* =========================================================================
   HERO (dark navy)
   ========================================================================= */
.hero { position: relative; background: var(--ink-900); color: #fff; padding-top: 8.5rem; padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50rem 36rem at 82% -10%, rgba(99,91,255,0.42), transparent 60%),
    radial-gradient(46rem 34rem at 8% 8%, rgba(26,86,255,0.30), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60rem 40rem at 70% 20%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-300); padding: 0.4rem 0.85rem 0.4rem 0.5rem; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-pill); background: rgba(255,255,255,0.04); }
.hero-eyebrow .tag { background: var(--accent-500); color: #fff; font-size: 0.64rem; font-weight: 600; padding: 0.12rem 0.45rem; border-radius: 999px; font-family: var(--font-body); letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); letter-spacing: -0.035em; line-height: 0.98; color: #fff; margin: 1.5rem 0 0; }
.hero h1 .grad-text { background: linear-gradient(110deg, var(--accent-300), var(--primary-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: rgba(255,255,255,0.74); margin-top: 1.5rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.1rem; }
.hero-meta { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.7rem; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.66); }
.hero-meta .item svg { width: 1.05rem; height: 1.05rem; color: var(--accent-300); flex: none; }

/* phone in hero */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { width: 17.5rem; border-radius: 2.6rem; background: #0b1626; padding: 0.5rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.1); position: relative; }
.phone::before { content: ""; position: absolute; top: 0.85rem; left: 50%; transform: translateX(-50%); width: 5rem; height: 1.15rem; background: #0b1626; border-radius: 999px; z-index: 3; }
.phone-screen { background: #fff; border-radius: 2.15rem; overflow: hidden; aspect-ratio: 390 / 844; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-visual .phone { transform: rotate(2deg); }

.hero-float { position: absolute; z-index: 4; background: #fff; color: var(--ink-700); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.7rem 0.9rem; display: flex; align-items: center; gap: 0.65rem; }
.hero-float .ic { width: 2.2rem; height: 2.2rem; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; }
.hero-float .t { font-size: 0.68rem; color: var(--ink-400); line-height: 1.2; }
.hero-float .v { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink-900); }
.hero-float--a { top: 3.5rem; left: -1rem; animation: floaty 6s ease-in-out infinite; }
.hero-float--b { bottom: 4rem; right: -1.2rem; animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* trust logos strip */
.logos { border-top: 1px solid rgba(255,255,255,0.1); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; position: relative; }
.logos p { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 1.3rem; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.2rem); flex-wrap: wrap; }
.logos-row span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,0.5); letter-spacing: -0.01em; }

/* =========================================================================
   STATS bar
   ========================================================================= */
.statbar { border-bottom: 1px solid var(--ink-100); }
.statbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: clamp(2.2rem, 4vw, 3rem) 0; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.85rem); letter-spacing: -0.03em; color: var(--ink-900); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .n b { color: var(--accent-500); }
.stat .l { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-400); }

/* =========================================================================
   ROLES (3 rôles)
   ========================================================================= */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.role { position: relative; padding: 1.8rem; border: 1px solid var(--ink-100); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink-200); }
.role::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); opacity: 0; transition: opacity 220ms; }
.role:hover::before { opacity: 1; }
.role .num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-300); }
.role .ic { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; margin: 0.7rem 0 1rem; color: #fff; }
.role .ic svg { width: 1.45rem; height: 1.45rem; }
.role h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.role p { font-size: 0.95rem; color: var(--ink-500); }
.role .flip { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--accent-600); }
.bg-primary { background: var(--primary-500); }
.bg-accent { background: var(--accent-500); }
.bg-ink { background: var(--ink-900); }

/* =========================================================================
   FEATURES (tabbed, with screenshots)
   ========================================================================= */
.features-shell { margin-top: 3rem; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center; }
.feature-tabs { display: flex; flex-direction: column; gap: 0.4rem; }
.feature-tab { text-align: left; cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: var(--radius); padding: 1.05rem 1.15rem; display: flex; gap: 0.9rem; align-items: flex-start; font-family: inherit; transition: background 180ms, border-color 180ms, box-shadow 180ms; }
.feature-tab:hover { background: var(--ink-50); }
.feature-tab.active { background: #fff; border-color: var(--ink-100); box-shadow: var(--shadow-md); }
.feature-tab .fic { width: 2.5rem; height: 2.5rem; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--ink-50); color: var(--ink-400); transition: background 180ms, color 180ms; }
.feature-tab.active .fic { background: var(--grad-brand); color: #fff; }
.feature-tab .fic svg { width: 1.25rem; height: 1.25rem; }
.feature-tab h3 { font-size: 1.1rem; margin-bottom: 0.18rem; }
.feature-tab p { font-size: 0.88rem; color: var(--ink-400); line-height: 1.45; }
.feature-tab.active p { color: var(--ink-500); }
.feature-tab .ftarrow { margin-left: auto; align-self: center; color: var(--ink-300); opacity: 0; transition: opacity 180ms, transform 180ms; }
.feature-tab.active .ftarrow { opacity: 1; transform: translateX(2px); color: var(--accent-500); }

.feature-stage { position: relative; }
.feature-frame { position: relative; background: linear-gradient(160deg, var(--ink-50), #fff); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 2rem; display: flex; justify-content: center; box-shadow: var(--shadow-md); overflow: hidden; }
.feature-frame::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(30rem 20rem at 50% -10%, var(--accent-50), transparent 60%); }
.feature-panel { display: none; position: relative; }
.feature-panel.active { display: block; animation: fadeUp 420ms var(--ease); }
.feature-phone { width: 15.5rem; border-radius: 2.3rem; background: var(--ink-900); padding: 0.45rem; box-shadow: var(--shadow-lg); }
.feature-phone .phone-screen { border-radius: 1.95rem; }

/* =========================================================================
   BIG SHOWCASE rows
   ========================================================================= */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.showcase + .showcase { margin-top: clamp(4rem, 7vw, 6rem); }
.showcase.rev .showcase-text { order: 2; }
.showcase-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.9rem 0 0.8rem; }
.showcase-text p { font-size: 1.05rem; color: var(--ink-500); }
.showcase-list { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.showcase-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink-700); list-style: none; }
.showcase-list svg { width: 1.25rem; height: 1.25rem; color: var(--success); flex: none; margin-top: 0.1rem; }
.showcase-visual { display: flex; justify-content: center; }

.shot-card { background: linear-gradient(160deg, var(--ink-50), #fff); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.shot-card.tint-primary { background: linear-gradient(160deg, var(--primary-50), #fff); }
.shot-card.tint-accent { background: linear-gradient(160deg, var(--accent-50), #fff); }

/* ---------- Carte de visite (mock PDF recto/verso) ---------- */
.bizcard-stack { position: relative; width: 100%; max-width: 26rem; margin: 0 auto; padding: 2rem 0; }
.bizcard { aspect-ratio: 1.71 / 1; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.bizcard--recto { position: relative; z-index: 2; background: linear-gradient(140deg, var(--ink-900) 0%, #12305a 100%); color: #fff; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; transform: rotate(2.5deg); }
.bizcard--recto::after { content: ""; position: absolute; right: -20%; top: -40%; width: 70%; height: 130%; background: radial-gradient(circle, rgba(99,91,255,0.5), transparent 70%); pointer-events: none; }
.bizcard--verso { position: absolute; inset: 0; z-index: 1; background: #fff; border: 1px solid var(--ink-200); transform: rotate(-6deg) translate(-12%, 14%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; }
.bizcard-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.bizcard-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.85); }
.bizcard-chip { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--accent-300); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 0.15rem 0.5rem; }
.bizcard-id { margin-top: auto; position: relative; z-index: 1; }
.bizcard-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: #fff; }
.bizcard-role { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
.bizcard-contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 1rem; position: relative; z-index: 1; }
.bizcard-contact span { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.8); }
.bizcard-contact svg { width: 0.9rem; height: 0.9rem; color: var(--accent-300); }
.bizcard-qr { width: 4.6rem; height: 4.6rem; background: #fff; border-radius: 10px; display: grid; place-items: center; }
.bizcard-versotext { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--ink-700); line-height: 1.4; }
.bizcard-versotext span { font-family: var(--font-mono); font-size: 0.66rem; color: var(--accent-600); letter-spacing: 0.04em; }

/* ---------- Capabilities grid (compact, hairline cells) ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-150); border: 1px solid var(--ink-150); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 3rem; }
.cap { background: #fff; padding: 1.6rem 1.4rem; transition: background 180ms var(--ease); }
.cap:hover { background: var(--ink-50); }
.cap .ci { width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--ink-100); color: var(--accent-600); display: grid; place-items: center; margin-bottom: 0.9rem; transition: background 180ms var(--ease), color 180ms var(--ease); }
.cap:hover .ci { background: var(--grad-brand); color: #fff; }
.cap .ci svg { width: 1.2rem; height: 1.2rem; }
.cap h4 { font-family: var(--font-display); font-size: 1rem; color: var(--ink-900); margin-bottom: 0.3rem; letter-spacing: -0.01em; font-weight: 700; }
.cap p { font-size: 0.85rem; color: var(--ink-500); line-height: 1.45; }
@media (max-width: 900px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .caps-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--ink-100); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-sm); position: relative; transition: transform 220ms var(--ease), box-shadow 220ms; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--highlight { border: 1.5px solid var(--accent-300); box-shadow: var(--shadow-lg); }
.plan--highlight::before { content: "Le plus choisi"; position: absolute; top: 0; right: 1.3rem; transform: translateY(-50%); background: var(--grad-brand); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.28rem 0.7rem; border-radius: 999px; box-shadow: var(--shadow-accent); }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); }
.plan-price { display: flex; align-items: baseline; gap: 0.3rem; margin-top: 0.9rem; }
.plan-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; letter-spacing: -0.03em; color: var(--ink-900); }
.plan-price .unit { font-size: 0.85rem; color: var(--ink-400); }
/* Hauteur de 2 lignes : la note de l'offre Équipe passe sur 2 lignes, sans quoi
   les 3 cartes n'alignent plus ni leur audience ni leur filet de séparation. */
.plan-note { font-size: 0.78rem; color: var(--accent-600); margin-top: 0.35rem; min-height: 2.3rem; }
.plan-aud { font-size: 0.85rem; color: var(--ink-500); margin-top: 0.9rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--ink-100); min-height: 4.6rem; }
/* Pas de `flex: 1` ici : la liste absorbait la hauteur restante de la carte et
   repartissait l'espace entre ses lignes, donc une carte a 4 puces cote a cote
   d'une carte a 8 affichait des trous enormes. La liste reste compacte en haut,
   c'est le bouton qui descend (`margin-top: auto` ci-dessous). */
.plan-feats { list-style: none; display: grid; gap: 0.6rem; align-content: start; margin: 1.1rem 0 1.4rem; }
.plan > .btn { margin-top: auto; }
.plan-feats li { display: flex; gap: 0.55rem; font-size: 0.86rem; color: var(--ink-600); align-items: flex-start; }
.plan-feats li svg { width: 1.05rem; height: 1.05rem; color: var(--accent-500); flex: none; margin-top: 0.1rem; }
.plan-feats li.lead { font-weight: 600; color: var(--ink-800); }
.pricing-foot { text-align: center; margin-top: 2rem; font-size: 0.92rem; color: var(--ink-400); }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.tmonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.tmonial { padding: 1.7rem; border: 1px solid var(--ink-100); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tmonial.feat { grid-row: span 1; }
.stars { display: flex; gap: 0.15rem; color: #f5a623; margin-bottom: 0.9rem; }
.stars svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.tmonial blockquote { font-size: 1rem; color: var(--ink-700); line-height: 1.6; flex: 1; }
.tmonial .who { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.3rem; }
.tmonial .av { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: #fff; flex: none; }
.tmonial .who .nm { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); font-size: 0.92rem; }
.tmonial .who .rl { font-size: 0.8rem; color: var(--ink-400); }

/* =========================================================================
   COMPARATIF teaser
   ========================================================================= */
.compare { background: var(--ink-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.compare::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40rem 22rem at 90% 10%, rgba(99,91,255,0.4), transparent 60%); }
.compare-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.compare h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.compare p { color: rgba(255,255,255,0.72); margin-top: 1rem; font-size: 1.08rem; }
.compare-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-card); padding: 1.6rem; backdrop-filter: blur(6px); }
.cmp-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cmp-row:last-child { border-bottom: none; }
.cmp-row .lab { font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.cmp-val { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; }
.cmp-val.yes { color: #6ee7a8; }
.cmp-val.no { color: rgba(255,255,255,0.4); }
.cmp-val svg { width: 1.1rem; height: 1.1rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(1.5rem, 3vw, 3.5rem); margin-top: 2.5rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--ink-100); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0.25rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1px solid var(--ink-200); display: grid; place-items: center; color: var(--ink-500); transition: transform 240ms var(--ease), background 200ms, color 200ms, border-color 200ms; }
.faq-item[open] .chev { transform: rotate(45deg); background: var(--accent-500); color: #fff; border-color: var(--accent-500); }
.faq-item .ans { padding: 0 0.25rem 1.4rem; color: var(--ink-500); font-size: 0.98rem; max-width: 44rem; }
.faq-item[open] .ans { animation: fadeUp 320ms var(--ease); }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.cta-card { background: linear-gradient(135deg, var(--ink-900) 0%, #102a4d 55%, #1a2f6e 100%); border-radius: var(--radius-lg); padding: clamp(2.8rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(34rem 20rem at 50% -20%, rgba(99,91,255,0.5), transparent 60%); }
.cta-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(40rem 24rem at 50% 120%, #000, transparent 70%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.cta-card p { color: rgba(255,255,255,0.74); font-size: 1.15rem; max-width: 36rem; margin: 1.1rem auto 0; }
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.cta-note { margin-top: 1.4rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.cta-note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-note a:hover { color: var(--accent-300); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.5); max-width: 22rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer-social a { width: 2.2rem; height: 2.2rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: rgba(255,255,255,0.7); transition: background 160ms, color 160ms, border-color 160ms; }
.footer-social a:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.3); }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); margin-bottom: 1rem; font-weight: 400; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.68); padding: 0.3rem 0; transition: color 160ms; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.42); }
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom .legal a { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-bottom .legal a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 70ms; } .reveal.d2 { transition-delay: 140ms; } .reveal.d3 { transition-delay: 210ms; } .reveal.d4 { transition-delay: 280ms; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   LEGAL PAGES (mentions, CGU, confidentialité)
   ========================================================================= */
.legal-page { padding: 8.5rem 0 clamp(3.5rem, 7vw, 5.5rem); }
.legal-page .container { max-width: 52rem; }
.legal-back { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; font-weight: 600; color: var(--accent-600); margin-bottom: 2rem; }
.legal-back:hover { color: var(--accent-700); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.6rem; }
.legal-updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-400); margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.3rem; margin: 2.4rem 0 0.8rem; }
.legal-page h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.legal-page p { color: var(--ink-500); margin-bottom: 1rem; font-size: 0.98rem; }
.legal-page ul, .legal-page ol { margin: 0 0 1rem 1.3rem; color: var(--ink-500); font-size: 0.98rem; }
.legal-page li { margin-bottom: 0.5rem; }
.legal-page a { color: var(--accent-600); font-weight: 500; }
.legal-page a:hover { color: var(--accent-700); }
.legal-page strong { color: var(--ink-700); }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.legal-page th, .legal-page td { text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--ink-100); }
.legal-page th { background: var(--ink-50); color: var(--ink-700); font-family: var(--font-display); font-weight: 600; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; }
  .features-shell { grid-template-columns: 1fr; }
  .showcase, .showcase.rev .showcase-text { grid-template-columns: 1fr; order: 0; }
  .showcase-visual { order: -1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 40rem; }
  /* 3 cards in a 2-col grid: center the lone last card instead of leaving an
     empty column. */
  .pricing-grid .plan:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 0.625rem); margin-inline: auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .tmonials { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-primary { display: none; }
  .burger { display: flex; }
  .header-actions .btn--primary span { display: none; }
  .statbar-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .roles-grid { grid-template-columns: 1fr; }
  .tmonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { display: none; }

  .mobile-menu.open { display: flex; flex-direction: column; position: fixed; inset: 4.5rem 0 0; background: #fff; z-index: 55; padding: 1.5rem; animation: fadeUp 240ms var(--ease); }
  .mobile-menu.open a.m-link { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink-900); padding: 0.9rem 0; border-bottom: 1px solid var(--ink-100); }
  .mobile-menu.open .btn { width: 100%; margin-top: 0.75rem; }
  .mobile-menu.open .btn:first-of-type { margin-top: 1.5rem; }
  body.menu-open { overflow: hidden; }
  .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 2.5rem; }
}

/* ---------- Telechargement de l'app (pied de page) ---------- */
.footer-download { margin-top: 1.6rem; }
.footer-download__label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.store-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
.store-badges .btn { --h: 2.7rem; padding: 0 1.1rem; font-size: .92rem; }
.store-badges .btn:hover svg { transform: none; }
.hero-cta .btn[href*="apps.apple.com"] svg,
.hero-cta .btn[href*="play.google.com"] svg { width: 1.15em; height: 1.15em; }
.hero-cta .btn[href*="apps.apple.com"]:hover svg,
.hero-cta .btn[href*="play.google.com"]:hover svg { transform: none; }
/* Les icones de store ne sont pas des fleches : pas de glissement au survol. */
.cta-actions .btn[href*="apps.apple.com"] svg,
.cta-actions .btn[href*="play.google.com"] svg { width: 1.15em; height: 1.15em; }
.cta-actions .btn[href*="apps.apple.com"]:hover svg,
.cta-actions .btn[href*="play.google.com"]:hover svg { transform: none; }
