/* =========================================================
   Riyata Studio — Premium showcase
   Design tokens, layout, components.
   ========================================================= */

:root {
  /* Palette — Dark (defaut) */
  --bg-0: #050506;
  --bg-1: #0a0a0b;
  --bg-2: #101013;
  --surface-1: #121216;
  --surface-2: #16161b;
  --surface-3: #1c1c22;
  --border-1: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --border-3: rgba(255, 255, 255, 0.22);

  --text-0: #fafafa;
  --text-1: #ededee;
  --text-2: #a9a9b2;
  --text-3: #6e6e78;
  --text-4: #4a4a52;

  --accent: #4f7cff;
  --accent-2: #6b8fff;
  --accent-soft: rgba(79, 124, 255, 0.14);
  --accent-glow: rgba(79, 124, 255, 0.28);

  --success: #4ade80;
  --warn: #f5b544;

  /* Type */
  --font-sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 480ms;

  /* Shadows */
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  --shadow-glow: 0 0 60px -20px var(--accent-glow);
}

/* Light theme overrides */
[data-theme="light"] {
  --bg-0: #fafaf8;
  --bg-1: #f4f4f0;
  --bg-2: #ecece6;
  --surface-1: #ffffff;
  --surface-2: #f7f7f3;
  --surface-3: #efeeea;
  --border-1: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.14);
  --border-3: rgba(0, 0, 0, 0.22);

  --text-0: #0a0a0b;
  --text-1: #1c1c1f;
  --text-2: #54545c;
  --text-3: #75757c;
  --text-4: #a1a1a8;

  --accent: #2d5cf0;
  --accent-2: #1a48d8;
  --accent-soft: rgba(45, 92, 240, 0.10);
  --accent-glow: rgba(45, 92, 240, 0.22);
  --shadow-2: 0 30px 80px -20px rgba(20, 20, 30, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: -0.02em; color: var(--text-0); text-wrap: balance; }
ul { list-style: none; padding: 0; margin: 0; }

/* Focus visible */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible, [role="button"]:focus-visible {
  outline-offset: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 500;
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: 16px; }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   Utilities
   ========================================================= */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section-head {
  display: grid;
  gap: var(--s-4);
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-0);
}
/* .ai-em garde son dégradé : on lui rajoute juste la police display */
.section-title .ai-em,
.cta-card h2 .ai-em,
.contact-left h2 .ai-em {
  font-family: var(--font-display);
}
.section-lead {
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  max-width: 60ch;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 20px;
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr {
  width: 14px; height: 14px;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--text-0);
  color: var(--bg-1);
  border: 1px solid var(--text-0);
}
.btn-primary:hover { background: var(--text-1); }
[data-theme="light"] .btn-primary { background: var(--text-0); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover {
  background: var(--surface-1);
  border-color: var(--border-3);
}

/* Bouton premium "matte black" : remplace l'ancien bleu plein.
   Fond charcoal degrade tres leger, bordure lumineuse, ombre soft. */
.btn-accent {
  background:
    linear-gradient(180deg, #1c1c22 0%, #0d0d10 100%);
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 8px 22px -10px rgba(0, 0, 0, 0.55),
    0 2px 6px -2px rgba(0, 0, 0, 0.35);
}
.btn-accent:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 14px 36px -12px rgba(0, 0, 0, 0.7),
    0 0 28px -10px var(--accent-glow);
}
[data-theme="light"] .btn-accent {
  background:
    linear-gradient(180deg, #18181c 0%, #0a0a0b 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 10px 24px -10px rgba(0, 0, 0, 0.28),
    0 2px 6px -2px rgba(0, 0, 0, 0.16);
}
[data-theme="light"] .btn-accent:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 16px 36px -12px rgba(0, 0, 0, 0.35),
    0 0 28px -10px var(--accent-glow);
}

.btn-ghost {
  padding: 10px 14px;
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--text-0); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: var(--s-4) 0;
  transition: backdrop-filter var(--dur-2), background var(--dur-2), border-color var(--dur-2);
}
.site-header.is-scrolled {
  background: color-mix(in oklab, var(--bg-1) 70%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border-1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-0);
  font-size: 15.5px;
  white-space: nowrap;
}
.brand .mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border-1);
  background: color-mix(in oklab, var(--surface-1) 60%, transparent);
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color var(--dur-1), background var(--dur-2);
}
.nav-links a:hover { color: var(--text-0); }
.nav-links a.active { color: var(--text-0); background: var(--surface-3); }

.nav-actions { display: flex; align-items: center; gap: var(--s-2); }
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  border: 1px solid var(--border-1);
  color: var(--text-2);
  background: color-mix(in oklab, var(--surface-1) 60%, transparent);
  transition: color var(--dur-2), border-color var(--dur-2);
}
.theme-toggle:hover { color: var(--text-0); border-color: var(--border-2); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.mobile-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .btn-accent { display: none; }
  .mobile-toggle {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-1);
    color: var(--text-1);
  }
  .mobile-toggle svg { width: 18px; height: 18px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in oklab, var(--bg-0) 92%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 80px var(--gutter) var(--gutter);
  display: none;
  flex-direction: column;
  gap: var(--s-2);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 24px;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-1);
  color: var(--text-0);
}
.mobile-menu .close {
  position: absolute;
  top: 16px; right: var(--gutter);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  border: 1px solid var(--border-1);
  color: var(--text-1);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 12vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
[data-theme="light"] .hero-canvas {
  mix-blend-mode: multiply;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-1) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
  opacity: 0.6;
}
.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-orb.o1 {
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  top: -250px; left: 50%; transform: translateX(-50%);
}
.hero-orb.o2 {
  background: radial-gradient(circle, #8b5cf6 0%, transparent 60%);
  top: 40%; right: -200px;
  opacity: 0.25;
}
[data-theme="light"] .hero-orb { opacity: 0.25; }
[data-theme="light"] .hero-orb.o2 { opacity: 0.15; }

.hero-inner {
  position: relative;
  display: grid;
  gap: var(--s-5);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-full);
  background: color-mix(in oklab, var(--surface-1) 60%, transparent);
  border: 1px solid var(--border-1);
  font-size: 13px;
  color: var(--text-2);
  backdrop-filter: blur(8px);
}
.hero-badge .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[data-theme="light"] .hero-badge .tag { color: var(--accent); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  padding-inline: 0.05em;
  background: linear-gradient(120deg, var(--accent) 0%, #8b5cf6 60%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-2);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}
.hero-cta {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s-3);
}
.hero-meta {
  margin-top: var(--s-7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-meta .dot {
  width: 4px; height: 4px;
  background: var(--text-4);
  border-radius: 50%;
}
.hero-meta strong {
  color: var(--text-1);
  font-weight: 500;
}

/* Floating bottom rail showing capabilities */
.hero-rail {
  margin-top: clamp(60px, 10vw, 100px);
  position: relative;
}
.hero-rail::before, .hero-rail::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-rail::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-1), transparent);
}
.hero-rail::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-1), transparent);
}
.hero-rail-track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.hero-rail-track > span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.hero-rail-track > span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-4);
  margin-left: 56px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  --mx: 50%;
  --my: 50%;
  background: var(--bg-1);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: var(--s-4);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background var(--dur-2) var(--ease-out);
  min-height: 280px;
}
/* Spotlight curseur — radial gradient piloté par les vars --mx/--my via JS */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    260px circle at var(--mx) var(--my),
    var(--accent-soft),
    transparent 70%
  );
  transition: opacity var(--dur-2) var(--ease-out);
  pointer-events: none;
}
/* Accent line en haut, déploiement au hover */
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  transition: width var(--dur-3) var(--ease-out);
}
.service-card:hover { background: var(--surface-1); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { width: 100%; }

.service-card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  transition: transform var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.service-card:hover .icon {
  transform: translateY(-2px) rotate(-2deg);
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border-color: color-mix(in oklab, var(--accent) 35%, transparent);
}
.service-card .icon svg {
  width: 22px; height: 22px;
  transition: transform var(--dur-2) var(--ease-out);
}
.service-card:hover .icon svg { transform: scale(1.08); }

.service-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color var(--dur-2) var(--ease-out);
}
.service-card p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}
.service-card .num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.04em;
  transition: color var(--dur-2) var(--ease-out);
}
.service-card:hover .num { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card *,
  .service-card::before,
  .service-card::after { transition: none !important; }
}

/* =========================================================
   Why us
   ========================================================= */
.why {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-soft) 0%, transparent 70%),
    var(--bg-1);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-3);
  background: var(--surface-1);
  position: relative;
  transition: border-color var(--dur-2), transform var(--dur-2);
}
.why-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.why-card .glyph {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--text-0);
  border: 1px solid var(--border-1);
}
.why-card .glyph svg { width: 18px; height: 18px; }
.why-card h3 {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.why-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   Showcase / réalisations
   ========================================================= */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 860px) { .showcase-grid { grid-template-columns: 1fr; } }

.showcase {
  border: 1px solid var(--border-1);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: grid;
  background: var(--surface-1);
  transition: border-color var(--dur-2), transform var(--dur-2);
  position: relative;
}
.showcase:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.showcase-visual {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-1);
}
.showcase-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.showcase-body {
  padding: var(--s-5) var(--s-5) var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.showcase-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.showcase-meta .tag {
  padding: 3px 8px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent-2);
}
[data-theme="light"] .showcase-meta .tag { color: var(--accent); }
.showcase h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.showcase p { color: var(--text-2); font-size: 14.5px; }
.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: var(--s-2);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 500;
}
.showcase-link svg { width: 14px; height: 14px; transition: transform var(--dur-2); }
.showcase:hover .showcase-link svg { transform: translate(3px, -3px); }

/* =========================================================
   Process timeline
   ========================================================= */
.process {
  background: var(--bg-2);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-2) 8%, var(--border-2) 92%, transparent);
}
@media (max-width: 860px) {
  .process-track { grid-template-columns: 1fr; gap: var(--s-5); }
  .process-track::before { display: none; }
}

.process-step {
  position: relative;
  padding: 0 var(--s-3);
  display: grid;
  gap: var(--s-3);
}
.process-step .marker {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 13px;
  position: relative;
  z-index: 2;
  transition: border-color var(--dur-2), color var(--dur-2), background var(--dur-2);
}
.process-step:hover .marker {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.process-step h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

/* =========================================================
   Accessibility section
   ========================================================= */
.a11y {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .a11y { grid-template-columns: 1fr; } }

.a11y-points {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.a11y-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border-1);
  font-size: 15px;
}
.a11y-points li:last-child { border-bottom: 1px solid var(--border-1); }
.a11y-points .check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.a11y-points .check svg { width: 12px; height: 12px; }
.a11y-points strong { color: var(--text-0); font-weight: 500; }
.a11y-points span { color: var(--text-2); margin-left: 6px; }

.a11y-card {
  border: 1px solid var(--border-1);
  border-radius: var(--r-2xl);
  background:
    linear-gradient(180deg, var(--surface-1), var(--bg-2));
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}
.a11y-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.a11y-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.a11y-score {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-0);
}
.a11y-score sup {
  font-size: 0.35em;
  color: var(--accent);
  vertical-align: super;
  font-weight: 400;
}
.a11y-criteria {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-2);
}
.a11y-criteria-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border-1);
  font-size: 13.5px;
}
.a11y-criteria-row span { color: var(--text-2); }
.a11y-criteria-row strong { color: var(--text-0); font-weight: 500; font-family: var(--font-mono); font-size: 12.5px; }
.a11y-criteria-row .pass {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
}
.a11y-criteria-row .pass::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  border-top: 1px solid var(--border-1);
  max-width: 880px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--border-1); }
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  color: var(--text-0);
  letter-spacing: -0.015em;
  transition: color var(--dur-2);
}
.faq-q:hover { color: var(--accent-2); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-1);
  color: var(--text-2);
  transition: transform var(--dur-2), border-color var(--dur-2);
}
.faq-icon svg { width: 12px; height: 12px; transition: transform var(--dur-2); }
.faq-item[open] .faq-icon svg { transform: rotate(45deg); color: var(--accent); }
.faq-item[open] .faq-icon { border-color: var(--accent); color: var(--accent); }
.faq-a {
  padding: 0 0 var(--s-5);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 76ch;
}
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* =========================================================
   Contact CTA
   ========================================================= */
.cta-section {
  padding: clamp(60px, 8vw, 100px) 0;
}
.cta-card {
  border-radius: var(--r-2xl);
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--border-1);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--accent-soft) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface-1), var(--bg-2));
  text-align: center;
  display: grid;
  gap: var(--s-4);
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
}
.cta-card h2 em { font-style: italic; font-weight: 400; }
.cta-card p {
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 50ch;
  margin: 0 auto;
}
.cta-card .cta-row {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-1);
  padding: var(--s-8) 0 var(--s-5);
  color: var(--text-2);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--border-1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  margin-top: var(--s-3);
  color: var(--text-2);
  font-size: 14px;
  max-width: 36ch;
}
.footer-col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-1); transition: color var(--dur-2); }
.footer-col a:hover { color: var(--accent-2); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding-top: var(--s-5);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.footer-legal-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
}
.footer-legal-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-legal-info strong { color: var(--text-1); font-weight: 500; }

/* =========================================================
   Hero entrance — transform only (opacity transitions are
   unreliable in some embedded preview contexts)
   ========================================================= */
.hero-inner > * {
  animation: heroIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-inner > *:nth-child(2) { animation-delay: 60ms; }
.hero-inner > *:nth-child(3) { animation-delay: 120ms; }
.hero-inner > *:nth-child(4) { animation-delay: 180ms; }
.hero-inner > *:nth-child(5) { animation-delay: 240ms; }
.hero-rail { animation: heroIn 700ms cubic-bezier(0.22, 1, 0.36, 1) 320ms both; }
@keyframes heroIn {
  from { transform: translateY(10px); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .hero-rail { animation: none; }
}

/* =========================================================
   AI section
   ========================================================= */
.ai {
  position: relative;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.ai-em {
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  padding-inline: 0.08em;
  background: linear-gradient(120deg, var(--accent) 0%, #8b5cf6 60%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-trust {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .ai-trust { grid-template-columns: 1fr; } }
.ai-trust-item {
  background: var(--surface-1);
  padding: var(--s-5);
  display: grid;
  gap: 8px;
}
.ai-trust-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.ai-trust-label {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.55;
}

/* AI service cards get an accent left rule via ::before — subtle */
.ai-grid .service-card .icon {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--accent) 18%, transparent),
    color-mix(in oklab, #8b5cf6 14%, transparent));
  border-color: color-mix(in oklab, var(--accent) 28%, transparent);
}

/* =========================================================
   Legal / long-form pages (mentions, confidentialité)
   ========================================================= */
.legal {
  padding: clamp(100px, 14vw, 160px) 0 clamp(80px, 10vw, 120px);
  position: relative;
}
.legal-bg {
  position: absolute;
  inset: 0 0 50% 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-soft), transparent 70%);
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  margin-bottom: var(--s-3);
}
.legal h1 em { font-style: italic; font-weight: 400; }
.legal .lead {
  color: var(--text-2);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  margin-bottom: var(--s-7);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  font-variation-settings: "opsz" 48;
  margin: var(--s-7) 0 var(--s-3);
}
.legal h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: var(--s-5) 0 var(--s-2);
  color: var(--text-1);
}
.legal p,
.legal li {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal p { margin: 0 0 var(--s-4); }
.legal ul, .legal ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.25em;
}
.legal li { margin-bottom: var(--s-2); }
.legal a {
  color: var(--text-1);
  text-decoration: underline;
  text-decoration-color: var(--border-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.legal a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.legal strong { color: var(--text-1); font-weight: 500; }
.legal .placeholder {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: rgba(245, 181, 68, 0.12);
  border: 1px dashed rgba(245, 181, 68, 0.4);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: -0.01em;
}
.legal .meta-update {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.legal-toc {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  margin-bottom: var(--s-7);
}
.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s-2);
}
.legal-toc ol { margin: 0; padding-left: 1.25em; }
.legal-toc li { margin-bottom: var(--s-1); font-size: 14.5px; }

/* =========================================================
   Reveal on scroll — transform-only
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition-property: transform, opacity;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   Contact form
   ========================================================= */
.contact-section {
  padding: clamp(60px, 10vw, 120px) 0;
}
.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--border-1);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse 80% 60% at 0% 100%, var(--accent-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface-1), var(--bg-2));
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; padding: clamp(24px, 5vw, 40px); }
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.02;
  font-variation-settings: "opsz" 96;
  margin-top: var(--s-4);
}
.contact-lead {
  margin-top: var(--s-4);
  color: var(--text-1);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  max-width: 42ch;
}

.contact-points {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-4);
}
.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 14px;
}
.contact-points .dot {
  flex-shrink: 0;
  margin-top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.contact-points strong {
  display: block;
  color: var(--text-0);
  font-weight: 500;
  font-size: 14.5px;
  margin-bottom: 2px;
}
.contact-points span {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.55;
}

.contact-direct {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-1);
}
.contact-direct-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.contact-direct-mail {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-0);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 2px;
  transition: color var(--dur-2), border-color var(--dur-2);
}
.contact-direct-mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Form */
.contact-form {
  display: grid;
  gap: var(--s-4);
  align-self: start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: grid;
  gap: 8px;
}
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.005em;
}
.form-label .req {
  color: var(--accent);
  margin-left: 2px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text-0);
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: border-color var(--dur-2), background var(--dur-2), box-shadow var(--dur-2);
  -webkit-appearance: none;
  appearance: none;
}
[data-theme="light"] .form-input { background: #fff; }
.form-input::placeholder { color: var(--text-3); }
.form-input:hover { border-color: var(--border-3); }
.form-input:focus,
.form-input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-input.is-invalid {
  border-color: #d9484a;
  box-shadow: 0 0 0 4px rgba(217, 72, 74, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.select-wrap {
  position: relative;
}
.form-select {
  padding-right: 40px;
  cursor: pointer;
}
.form-select:invalid { color: var(--text-3); }
.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-2);
  pointer-events: none;
}

.form-consent {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
}

.form-submit {
  margin-top: 4px;
  padding: 14px 22px;
  justify-content: center;
  align-self: start;
  min-width: 220px;
}

.form-status {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 1em;
}
.form-status[data-kind="success"] { color: #16a34a; }
.form-status[data-kind="error"] { color: #d9484a; }
.form-status[data-kind="info"] { color: var(--text-2); }
[data-theme="dark"] .form-status[data-kind="success"] { color: #4ade80; }
[data-theme="dark"] .form-status[data-kind="error"] { color: #f87171; }

/* =========================================================
   Responsive consolide : tablette + mobile
   Vise a resserrer typographie, paddings, et grilles
   sans toucher au comportement desktop.
   ========================================================= */
@media (max-width: 760px) {
  :root {
    --gutter: 22px;
  }
  .section { padding: clamp(56px, 12vw, 96px) 0; }
  .section-head { margin-bottom: clamp(32px, 7vw, 56px); }
  .section-title { font-size: clamp(28px, 7vw, 40px); }
  .section-lead { font-size: 15px; line-height: 1.6; }

  .hero { padding: clamp(110px, 26vw, 150px) 0 clamp(56px, 14vw, 96px); }
  .hero h1 { font-size: clamp(38px, 11vw, 64px); line-height: 1.0; letter-spacing: -0.03em; }
  .hero-sub { font-size: 15.5px; }
  .hero-meta { gap: 14px 22px; font-size: 11px; }
  .hero-badge { font-size: 12px; padding: 5px 12px 5px 5px; }
  .hero-badge .tag { font-size: 10px; padding: 3px 8px; }
  .hero-rail-track { font-size: 12px; gap: 40px; }
  .hero-rail-track > span::after { margin-left: 40px; }

  .cta-card { padding: clamp(28px, 7vw, 56px); }
  .cta-card h2 { font-size: clamp(26px, 7vw, 40px); }

  .service-card { min-height: 0; padding: 22px; }
  .service-card .num { top: 16px; right: 18px; }

  .footer-legal { gap: var(--s-3); }
  .footer-legal-info { gap: var(--s-3); font-size: 12.5px; }

  .form-input { padding: 11px 13px; font-size: 14px; }
  .form-textarea { min-height: 110px; }
  .contact-direct { font-size: 13.5px; }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
  }
  .hero { padding: clamp(100px, 28vw, 140px) 0 56px; }
  .hero h1 { font-size: clamp(34px, 12vw, 48px); }
  .hero-cta { flex-direction: column; gap: var(--s-2); width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 10px 16px; }
  .hero-meta .dot { display: none; }

  .section-title { font-size: clamp(24px, 8vw, 32px); line-height: 1.05; }
  .cta-card h2 { font-size: clamp(24px, 8vw, 32px); }
  .contact-left h2 { font-size: clamp(24px, 8vw, 34px); }

  .site-header { padding: 12px 0; }
  .brand { font-size: 14.5px; gap: 8px; }
  .brand .mark { width: 28px; height: 28px; }
  .theme-toggle { width: 36px; height: 36px; }
  .mobile-toggle { width: 36px; height: 36px; }
  .nav { gap: 8px; }

  .mobile-menu { padding: 64px 18px 18px; }
  .mobile-menu a { font-size: 20px; padding: 12px 0; }

  .form-submit { width: 100%; justify-content: center; }
}

/* Fix overflow horizontal eventuel sur tres petits ecrans */
@media (max-width: 380px) {
  .hero-badge { white-space: normal; text-align: center; }
  .hero-meta { justify-content: flex-start; }
  .footer-legal-info { flex-direction: column; gap: 4px; }
}
