/* ==========================================================================
   NEXBORN · Landing page
   Échelle typographique et espacements alignés sur Tailwind (voir README).
   ========================================================================== */

:root {
  /* Marque */
  --red: #ef4347;            /* rouge logo, accents et grands éléments */
  --red-action: #dc3439;     /* rouge boutons : contraste AA avec le blanc */
  --red-action-hover: #c42c31;
  --red-soft: #fde8e8;
  --red-text: #c42c31;       /* rouge texte sur fond clair : contraste AA */
  --red-on-dark: #ff6b6e;    /* rouge petit texte sur fond sombre : contraste AA */

  /* Neutres clairs */
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --line: #e6e6e2;
  --ink: #181818;
  --charcoal: #414042;       /* gris logo */
  --gray: #58595b;           /* gris tagline */

  /* Neutres sombres */
  --dark: #181818;
  --dark-2: #1f1f1f;
  --dark-3: #272727;
  --dark-4: #313131;
  --dark-deep: #131209;
  --on-dark: #f1f2f2;
  --on-dark-muted: #a3a3a3;
  --line-dark: #313131;

  --ok: #3fb67b;

  /* Espacements */
  --s-25: 2px;  --s-50: 4px;  --s-75: 8px;  --s-100: 12px; --s-200: 16px;
  --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px;
  --s-800: 80px; --s-900: 96px;

  /* Rayons (Tailwind) */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px;
  --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* Mouvement */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast: 400ms;
  --t: 700ms;
  --t-slow: 900ms;

  --container: 1200px;
  --gutter: var(--s-300);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s-900);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--charcoal);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" 0;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
em, i, cite, address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--red-action);
  outline-offset: 3px;
  border-radius: var(--r-lg);
}

.skip-link {
  position: fixed;
  top: var(--s-200);
  left: var(--s-200);
  z-index: 100;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-900); }
.section--dark { background: var(--dark); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }

/* Typo utilitaires (échelle Tailwind) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--red);
}
.section--dark .eyebrow { color: var(--on-dark-muted); }

.h2 {
  font-size: 2.25rem;  /* text-4xl */
  line-height: 2.5rem;
  max-width: 680px;
}
.lead {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem;
  color: var(--gray);
  max-width: 680px;
}
.section--dark .lead { color: var(--on-dark-muted); }

.section-head { display: grid; gap: var(--s-200); margin-bottom: var(--s-700); }
.section-head .h2 { margin-top: var(--s-75); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  min-height: 48px;
  padding-inline: var(--s-300);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.btn i { font-size: 1.125rem; transition: transform var(--t-fast) var(--ease); }
.btn:hover i { transform: translateX(var(--s-50)); }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--red-action); color: #fff; }
.btn--primary:hover {
  background: var(--red-action-hover);
  box-shadow: 0 8px 24px -8px rgba(220, 52, 57, 0.55);
  transform: translateY(-1px);
}
.btn--primary:active { transform: scale(0.98); box-shadow: none; }

.btn--sm {
  min-height: 40px;
  padding: var(--s-75) var(--s-200);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.btn--ghost-dark {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.btn--ghost-dark:hover { background: var(--dark-3); }

.btn[disabled] { cursor: progress; }

/* --------------------------------------------------------------------------
   Navigation : îlot flottant
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: var(--s-300);
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: calc(100% - var(--s-400));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 8px 32px -16px rgba(24, 24, 24, 0.25);
  transition: box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.86); box-shadow: 0 12px 40px -16px rgba(24, 24, 24, 0.35); }

.nav__brand { display: flex; align-items: center; border-radius: var(--r-md); }
.nav__brand img { height: 18px; width: auto; }

.nav__links { display: flex; align-items: center; gap: var(--s-25); }
.nav__links a {
  position: relative;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(24, 24, 24, 0.05); }
.nav__links a[aria-current="true"] { color: var(--ink); background: rgba(24, 24, 24, 0.07); font-weight: 600; }

.nav__toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--ink);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__toggle:active { transform: scale(0.94); }
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 16px; height: 2px;
  border-radius: var(--r-full);
  background: #fff;
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav-open .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* Menu plein écran (mobile) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--s-900) + var(--s-600)) var(--s-300) var(--s-600);
  background: rgba(250, 250, 248, 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}
.nav-open .menu { opacity: 1; visibility: visible; transition: opacity var(--t) var(--ease), visibility 0s; }
.menu__links { display: grid; gap: var(--s-100); }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: inline-block;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  transform: translateY(48px);
  opacity: 0;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), color var(--t-fast) var(--ease);
}
.menu__links a[aria-current="true"] { color: var(--red-text); }
.nav-open .menu__links a { transform: translateY(0); opacity: 1; }
.menu__links li:nth-child(1) a { transition-delay: 100ms; }
.menu__links li:nth-child(2) a { transition-delay: 150ms; }
.menu__links li:nth-child(3) a { transition-delay: 200ms; }
.menu__links li:nth-child(4) a { transition-delay: 250ms; }
.menu__links li:nth-child(5) a { transition-delay: 300ms; }
.menu__foot {
  display: grid;
  gap: var(--s-200);
  transform: translateY(48px);
  opacity: 0;
  transition: transform var(--t) var(--ease) 350ms, opacity var(--t) var(--ease) 350ms;
}
.nav-open .menu__foot { transform: translateY(0); opacity: 1; }
.menu__foot p { font-size: 0.875rem; line-height: 1.25rem; color: var(--gray); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-top: calc(var(--s-900) + var(--s-800)); padding-bottom: var(--s-800); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  gap: var(--s-700);
  align-items: end;
}
.hero__copy { display: grid; gap: var(--s-300); justify-items: start; }

.hero__title {
  max-width: 680px;
  font-size: 3rem;   /* text-5xl */
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title .line { display: block; text-wrap: balance; }
.hero__title .line--muted { color: var(--gray); }
.hero__title .line + .line { margin-top: var(--s-75); }

.hero__sub {
  max-width: 680px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--gray);
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200) var(--s-300); margin-top: var(--s-75); }
.hero__reassure {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: 0.875rem; line-height: 1.25rem; color: var(--gray);
}
.hero__reassure i { color: var(--ok); font-size: 1.125rem; }

.hero__proof { display: grid; gap: var(--s-200); padding-bottom: var(--s-75); }
.hero__proof-label { font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__proof li {
  display: flex; align-items: center; gap: var(--s-100);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--charcoal);
}
.hero__proof li i {
  display: grid; place-items: center;
  width: 32px; height: 32px; flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  font-size: 1rem;
  color: var(--red-action);
}

/* Tableau de santé (visuel produit) */
.board {
  margin: var(--s-700) 0 0;
  padding: var(--s-300);
  border-radius: var(--r-3xl);
  background: var(--dark);
  color: var(--on-dark-muted);
  box-shadow: 0 40px 80px -40px rgba(24, 24, 24, 0.55), 0 0 0 1px rgba(24, 24, 24, 0.06);
}
.board__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding-bottom: var(--s-300);
  border-bottom: 1px solid var(--line-dark);
}
.board__title { display: flex; align-items: center; gap: var(--s-100); min-width: 0; }
.board__title strong { color: var(--on-dark); font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
.board__sub { font-size: 0.875rem; line-height: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__live {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  background: rgba(63, 182, 123, 0.12);
  color: #7fd6a8;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
  white-space: nowrap;
}
.board__live::before {
  content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--ok);
}
.board__month {
  padding: var(--s-50) var(--s-100);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-full);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--on-dark);
  white-space: nowrap;
}

.board__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-300);
  padding-top: var(--s-300);
}

.board__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-75); }
.kpi {
  display: grid; gap: var(--s-75); align-content: space-between;
  min-height: 112px;
  padding: var(--s-200);
  border-radius: var(--r-xl);
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
}
.kpi__label { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.kpi__value {
  font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; color: var(--on-dark);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.kpi__value small { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--on-dark-muted); margin-left: var(--s-25); }
.kpi__trend { display: inline-flex; align-items: center; gap: var(--s-50); font-size: 0.75rem; line-height: 1rem; color: #7fd6a8; }

.panel {
  display: flex; flex-direction: column; gap: var(--s-200);
  padding: var(--s-200);
  border-radius: var(--r-xl);
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  min-width: 0;
}
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-100); }
.panel__head .panel__title { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--on-dark); letter-spacing: 0; }
.panel__head span { font-size: 0.75rem; line-height: 1rem; }

.uptime { flex: 1; display: flex; align-items: flex-end; gap: var(--s-25); min-height: 120px; }
.uptime__bar {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: var(--r-sm);
  background: var(--dark-4);
  transform-origin: bottom;
  transform: scaleY(var(--h, 1));
  transition: transform var(--t-slow) var(--ease);
}
.uptime__bar.is-ok { background: #3a6b52; }
.uptime__bar.is-dip { background: var(--red); }
.uptime__bar.is-future { background: var(--dark-3); }
.js .board:not(.is-live) .uptime__bar { transform: scaleY(0.04); }
.uptime__legend { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-200); font-size: 0.75rem; line-height: 1rem; }
.uptime__legend span { display: inline-flex; align-items: center; gap: var(--s-75); }
.uptime__legend span::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-sm); background: #3a6b52; }
.uptime__legend span.dip::before { background: var(--red); }

.feed { display: grid; gap: var(--s-100); }
.feed li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-100); align-items: start;
  font-size: 0.875rem; line-height: 1.25rem;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.js .board:not(.is-live) .feed li { opacity: 0; transform: translateY(var(--s-75)); }
.feed time { font-variant-numeric: tabular-nums; color: var(--on-dark-muted); font-size: 0.75rem; line-height: 1.25rem; }
.feed p { color: var(--on-dark); }
.feed p span { display: block; color: var(--on-dark-muted); font-size: 0.75rem; line-height: 1rem; }
.feed .tag {
  display: inline-flex; align-items: center; gap: var(--s-50);
  margin-right: var(--s-50);
  color: var(--red-on-dark); font-weight: 600;
}

.board__note { margin-top: var(--s-200); font-size: 0.75rem; line-height: 1rem; color: var(--gray); text-align: center; }

/* --------------------------------------------------------------------------
   Bandeau standards
   -------------------------------------------------------------------------- */
.standards { padding-block: var(--s-600); border-block: 1px solid var(--line); background: var(--surface); }
.standards__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-300) var(--s-400); }
.standards__label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--ink); max-width: 192px; }
.standards__list { display: flex; flex-wrap: wrap; gap: var(--s-200) var(--s-300); }
.standards__list li {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--gray);
}
.standards__list i { font-size: 1.25rem; color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Constat : avant / après
   -------------------------------------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-300); }
.compare__card {
  display: grid; gap: var(--s-300); align-content: start;
  padding: var(--s-400);
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare__card h3 { display: flex; align-items: center; gap: var(--s-100); font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.compare__card ul { display: grid; gap: var(--s-200); }
.compare__card li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-100); font-size: 1rem; line-height: 1.5rem; }
.compare__card li i { font-size: 1.25rem; margin-top: var(--s-25); }
.compare__card--before { background: var(--surface-2); }
.compare__card--before li { color: var(--gray); }
.compare__card--before li i { color: #9a9a9c; }
.compare__card--after { background: var(--dark); border-color: var(--dark); }
.compare__card--after h3 { color: var(--on-dark); }
.compare__card--after li { color: var(--on-dark); }
.compare__card--after li i { color: var(--red); }
.compare__badge {
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-full);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
  background: var(--line); color: var(--gray);
}
.compare__card--after .compare__badge { background: var(--red-action); color: #fff; }

/* --------------------------------------------------------------------------
   Services : bento
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); }
.tile {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-200);
  padding: var(--s-400);
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: #d8d8d3; box-shadow: 0 24px 48px -32px rgba(24, 24, 24, 0.35); }
.tile--wide { grid-column: span 2; }
.tile__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-2xl);
  background: var(--red-soft);
  color: var(--red-action);
  font-size: 1.5rem;
  transition: transform var(--t) var(--ease);
}
.tile:hover .tile__icon { transform: rotate(-6deg) scale(1.06); }
.tile h3 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.tile p { color: var(--gray); }
.tile__chips { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: auto; padding-top: var(--s-75); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-50);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--charcoal);
}
.chip i { color: var(--gray); }

.tile--dark { background: var(--dark); border-color: var(--dark); }
.tile--dark h3 { color: var(--on-dark); }
.tile--dark p { color: var(--on-dark-muted); }
.tile--dark .chip { background: var(--dark-2); border-color: var(--dark-4); color: var(--on-dark); }
.tile--dark .chip i { color: var(--red); }
.tile--dark .tile__icon { background: var(--dark-3); color: var(--red); }

/* Mini visuel de livraison dans la tuile développement */
.ship {
  display: grid; gap: var(--s-75);
  margin-top: var(--s-75);
  padding: var(--s-200);
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--line);
}
.ship__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-100); font-size: 0.875rem; line-height: 1.25rem; }
.ship__row i { font-size: 1rem; color: var(--ok); }
.ship__row span:last-child { font-size: 0.75rem; line-height: 1rem; color: var(--gray); font-variant-numeric: tabular-nums; }
.ship__row.is-pending i { color: var(--red-action); }

/* --------------------------------------------------------------------------
   Révélation du slogan
   -------------------------------------------------------------------------- */
.tagline { padding-block: calc(var(--s-900) + var(--s-400)); background: var(--dark); }
.tagline__text {
  max-width: 680px;
  font-size: 3rem;  /* text-5xl */
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  text-wrap: balance;
}
.tagline__text .line { display: block; }
.tagline__text .line + .line { margin-top: var(--s-300); }
.js .tagline__text .w {
  color: rgba(241, 242, 242, 0.28);
  transition: color var(--t) var(--ease);
}
.js .tagline__text .w.is-on { color: var(--on-dark); }
.js .tagline__text .w.is-accent.is-on { color: var(--red); }
.tagline__sign { display: flex; align-items: center; gap: var(--s-200); margin-top: var(--s-600); }
.tagline__sign img { height: 16px; width: auto; opacity: 0.9; }
.tagline__sign span { font-size: 0.875rem; line-height: 1.25rem; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Méthode
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); counter-reset: step; position: relative; }
.step {
  position: relative;
  display: grid; gap: var(--s-200); align-content: start;
  padding: var(--s-400);
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  background: var(--surface);
}
.step__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-100); }
.step__num {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  background: var(--ink); color: #fff;
  font-size: 1rem; line-height: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.step:first-child .step__num { background: var(--red-action); }
.step h3 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.01em; margin-top: var(--s-75); }
.step p { color: var(--gray); }
.step .chip { background: var(--bg); }

/* --------------------------------------------------------------------------
   Engagements
   -------------------------------------------------------------------------- */
.commit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); align-items: center; }
.commit__list { display: grid; gap: var(--s-300); margin-top: var(--s-400); }
.commit__list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-200); }
.commit__list i {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: var(--r-full);
  border: 1px solid var(--line-dark); color: var(--red); font-size: 1.25rem;
}
.commit__list h3 { font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.commit__list p { font-size: 1rem; line-height: 1.5rem; }

.report {
  padding: var(--s-300);
  border-radius: var(--r-3xl);
  background: var(--surface);
  color: var(--charcoal);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.report__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding-bottom: var(--s-200); border-bottom: 1px solid var(--line); }
.report__head img { height: 14px; width: auto; }
.report__head span { font-size: 0.75rem; line-height: 1rem; color: var(--gray); }
.report__title { padding-block: var(--s-200); }
.report__title strong { display: block; font-size: 1.25rem; line-height: 1.75rem; color: var(--ink); font-weight: 600; }
.report__title span { font-size: 0.875rem; line-height: 1.25rem; color: var(--gray); }
.report__rows { display: grid; gap: var(--s-75); }
.report__row {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: var(--s-100);
  padding: var(--s-100);
  border-radius: var(--r-xl);
  background: var(--bg);
  font-size: 0.875rem; line-height: 1.25rem;
}
.report__row i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--charcoal); font-size: 1rem; }
.report__row b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.report__row .good { color: #1d7550; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-700); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--s-900) + var(--s-300)); display: grid; gap: var(--s-200); }
.faq__intro a { color: var(--red-text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq__intro a:hover { text-decoration-thickness: 2px; }
.faq__list { display: grid; gap: var(--s-75); }

.qa {
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.qa:hover { border-color: #d8d8d3; }
.qa[open] { box-shadow: 0 16px 40px -32px rgba(24, 24, 24, 0.4); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-300);
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-2xl);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--r-full);
  background: var(--surface-2);
  font-size: 1rem;
  transition: transform var(--t) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.qa[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.qa[open] .qa__a { animation: qa-in var(--t) var(--ease) both; }
@keyframes qa-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.qa__a { padding: 0 var(--s-300) var(--s-300); color: var(--gray); max-width: 640px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); align-items: start; }
.contact__copy { display: grid; gap: var(--s-300); }
.contact__copy .h2 { font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.contact__perks { display: grid; gap: var(--s-100); margin-top: var(--s-75); }
.contact__perks li { display: flex; align-items: center; gap: var(--s-100); color: var(--on-dark); }
.contact__perks i { color: var(--red); font-size: 1.25rem; }
.contact__direct {
  display: grid; gap: var(--s-100);
  margin-top: var(--s-300); padding-top: var(--s-300);
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem; line-height: 1.25rem;
}
.contact__direct a, .contact__direct span { display: inline-flex; align-items: center; gap: var(--s-75); width: fit-content; }
.contact__direct a { color: var(--on-dark); border-radius: var(--r); transition: color var(--t-fast) var(--ease); }
.contact__direct a:hover { color: var(--red); }
.contact__direct i { font-size: 1.125rem; }

.form-card {
  padding: var(--s-400);
  border-radius: var(--r-3xl);
  background: var(--surface);
  color: var(--charcoal);
}
.form { display: grid; gap: var(--s-300); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); }
.field { display: grid; gap: var(--s-75); }
.field label, .field legend {
  padding: 0;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--ink);
}
.field label .opt { font-weight: 400; color: var(--gray); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-100) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--bg);
  font-size: 1rem; line-height: 1.5rem; color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f72; }
.field input:hover, .field textarea:hover { border-color: #cfcfca; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(24, 24, 24, 0.08);
}
.field.has-error input, .field.has-error textarea { border-color: var(--red-action); background: #fff7f7; }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(220, 52, 57, 0.14); }
.field__error {
  display: none; align-items: center; gap: var(--s-50);
  font-size: 0.875rem; line-height: 1.25rem; color: var(--red-text); font-weight: 500;
}
.field.has-error .field__error { display: flex; }

fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-25); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--bg);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.choice:hover span { border-color: #cfcfca; }
.choice input:active + span { transform: scale(0.97); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--red-action); outline-offset: 3px; }

.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 0.75rem; line-height: 1rem; color: var(--gray); }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.form .btn { width: 100%; }

.form__alert {
  display: none;
  gap: var(--s-100);
  padding: var(--s-200);
  border-radius: var(--r-xl);
  background: #fff1f1;
  border: 1px solid #f6c9ca;
  color: #9e2226;
  font-size: 0.875rem; line-height: 1.25rem;
}
.form__alert.is-visible { display: flex; }
.form__alert i { font-size: 1.25rem; flex: none; }
.form__alert a { font-weight: 600; text-decoration: underline; }

/* État d'envoi : squelette dans le bouton */
.btn__skeleton {
  display: none;
  width: 144px; height: 12px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.25) 100%);
  background-size: 200% 100%;
  animation: shimmer 1200ms var(--ease) infinite;
}
.is-sending .btn__label, .is-sending .btn i { display: none; }
.is-sending .btn__skeleton { display: block; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.form-success { display: none; gap: var(--s-200); justify-items: start; padding-block: var(--s-400); }
.form-success.is-visible { display: grid; }
.form-success__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: var(--r-full);
  background: #e7f6ee; color: #23845a; font-size: 2rem;
}
.form-success h3 { font-size: 1.5rem; line-height: 2rem; color: var(--ink); }
.form-success p { color: var(--gray); }
.form-success button {
  margin-top: var(--s-75);
  padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 600; color: var(--red-text);
  text-decoration: underline; text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--dark-deep); color: var(--on-dark-muted); padding-block: var(--s-800) var(--s-400); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-600); }
.footer__brand { display: grid; gap: var(--s-300); align-content: start; }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { font-size: 0.875rem; line-height: 1.25rem; max-width: 320px; }
.footer h2 { font-size: 0.875rem; line-height: 1.25rem; color: var(--on-dark); letter-spacing: 0; margin-bottom: var(--s-200); }
.footer ul { display: grid; gap: var(--s-100); }
.footer li a { font-size: 0.875rem; line-height: 1.25rem; border-radius: var(--r); transition: color var(--t-fast) var(--ease); }
.footer li a:hover { color: var(--on-dark); }
.footer__mini {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200);
  font-size: 0.75rem; line-height: 1rem;
}
.footer__mini a:hover { color: var(--on-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200);
  margin-top: var(--s-700); padding-top: var(--s-300);
  border-top: 1px solid var(--dark-3);
  font-size: 0.75rem; line-height: 1rem;
}

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition:
    opacity var(--t-slow) var(--ease) var(--d, 0ms),
    transform var(--t-slow) var(--ease) var(--d, 0ms),
    filter var(--t-slow) var(--ease) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* --------------------------------------------------------------------------
   Pages secondaires (mentions, confidentialité, 404)
   -------------------------------------------------------------------------- */
.page { padding-top: calc(var(--s-900) + var(--s-800)); padding-bottom: var(--s-900); min-height: 70vh; }
.prose { max-width: 720px; display: grid; gap: var(--s-300); }
.prose h1 { font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.prose h2 { font-size: 1.5rem; line-height: 2rem; margin-top: var(--s-400); }
.prose p, .prose li { color: var(--gray); }
.prose ul { display: grid; gap: var(--s-75); padding-left: var(--s-300); list-style: disc; }
.prose a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.todo {
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r);
  background: #fff3c4;
  color: #6b5200;
  font-weight: 600;
}
.notfound { display: grid; gap: var(--s-300); justify-items: start; }
.notfound__code {
  font-size: 8rem; line-height: 1; font-weight: 700; letter-spacing: -0.05em;
  color: var(--red);
}
.notfound h1 { font-size: 2.25rem; line-height: 2.5rem; }
.notfound p { color: var(--gray); max-width: 520px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-400); align-items: start; }
  .hero__proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__proof-label { grid-column: 1 / -1; }
  .board__body { grid-template-columns: 1fr 1fr; }
  .board__kpis { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .commit { grid-template-columns: 1fr; }
  .report { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { gap: var(--s-200); }
  .nav__links, .nav .btn--sm { display: none; }
  .nav__toggle { display: block; }
  .section { padding-block: var(--s-700); }
  .h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .compare, .contact, .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .tagline { padding-block: var(--s-900); }
}

@media (min-width: 901px) {
  .menu { display: none; }
}

@media (max-width: 900px) {
  .nav--simple .btn--sm { display: inline-flex; }
}

@media (max-width: 640px) {
  :root { --gutter: var(--s-200); }
  .hero { padding-top: calc(var(--s-900) + var(--s-600)); padding-bottom: var(--s-600); }
  .hero__title { font-size: 2.25rem; line-height: 2.5rem; }
  .hero__title .line + .line { margin-top: 0; }
  .hero__sub { font-size: 1rem; line-height: 1.5rem; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { grid-template-columns: 1fr; }
  .board { margin-top: var(--s-500); padding: var(--s-200); border-radius: var(--r-2xl); }
  .board__bar { padding-bottom: var(--s-200); }
  .board__sub { display: none; }
  .board__title strong { white-space: nowrap; }
  .board__body { grid-template-columns: 1fr; gap: var(--s-200); padding-top: var(--s-200); }
  .board__kpis { grid-template-columns: 1fr 1fr; }
  .kpi { min-height: 96px; padding: var(--s-100); border-radius: var(--r-lg); }
  .kpi__value { font-size: 1.5rem; line-height: 2rem; }
  .panel { border-radius: var(--r-lg); }
  .uptime { min-height: 88px; }
  .standards__inner { justify-content: flex-start; }
  .standards__list { gap: var(--s-100) var(--s-300); }
  .compare__card, .tile, .step { padding: var(--s-300); border-radius: var(--r-2xl); }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tagline__text { font-size: 2.25rem; line-height: 2.5rem; }
  .tagline__text .line + .line { margin-top: var(--s-200); }
  .contact__copy .h2 { font-size: 2.25rem; line-height: 2.5rem; }
  .form-card { padding: var(--s-300); border-radius: var(--r-2xl); }
  .form__row { grid-template-columns: 1fr; }
  .qa summary { padding: var(--s-200); }
  .qa__a { padding: 0 var(--s-200) var(--s-200); }
  .report { padding: var(--s-200); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .prose h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .notfound__code { font-size: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
