/* ============================================================
   ALVEON — Landing page
   Plateforme S2Dx : LIMS · View · PACS WSI
   Palette : Bleu clinique + Teal
   ============================================================ */

:root {
  /* Couleurs de marque */
  --blue-700: #084a8f;
  --blue-600: #0b6bcb;
  --blue-500: #1f82e0;
  --blue-100: #e3f0fd;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-100: #d6f6f1;

  /* Neutres */
  --ink: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Sémantique */
  --green-500: #16a34a;
  --green-100: #dcfce7;
  --amber-500: #f59e0b;

  /* Effets */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 107, 203, .25);
  --shadow-glow: 0 0 0 1px rgba(20, 184, 166, .25), 0 18px 40px -16px rgba(20, 184, 166, .35);

  --gradient-brand: linear-gradient(120deg, var(--blue-600) 0%, var(--teal-500) 100%);
  --gradient-ink: linear-gradient(135deg, #0b1f3a 0%, #0a2a4d 55%, #0c3b54 100%);

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----------------------- Layout ----------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--gradient-ink); color: #e7eef7; }
.section--soft { background: var(--slate-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 16px;
}
.section--dark .eyebrow { color: var(--teal-400); }
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.h-xl { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--slate-600);
  margin-top: 18px;
}
.section--dark .lead { color: #b9c8db; }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* iOS Safari : évite que le texte en dégradé soit tronqué quand il passe
     sur plusieurs lignes (chaque fragment de ligne reçoit son propre fond) */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ----------------------- Buttons ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(11, 107, 203, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(11, 107, 203, .65); }
.btn--ghost {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: inset 0 0 0 1.5px var(--slate-200);
}
.btn--ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--blue-500), var(--shadow); }
.btn--light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ----------------------- Header / Nav ----------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled {
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .35);
  border-color: var(--slate-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gradient-brand);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(11, 107, 203, .7);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__name { font-size: 1.32rem; letter-spacing: -.03em; color: var(--ink); }
.brand__name b { color: var(--blue-600); }
.brand__tag {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-400);
  display: block;
  margin-top: -3px;
  font-weight: 700;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--blue-700); background: var(--blue-100); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
/* La CTA démo du menu n'apparaît que dans le menu mobile (évite le doublon desktop) */
.nav__links-demo { display: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--slate-200);
}
.nav__toggle svg { width: 24px; height: 24px; }

/* ----------------------- Hero ----------------------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(20, 184, 166, .14), transparent 60%),
    radial-gradient(900px 480px at 8% 6%, rgba(11, 107, 203, .12), transparent 55%),
    var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
/* La colonne texte doit pouvoir rétrécir sous la largeur du mot le plus long
   (sinon `min-width:auto` d'un item grid fait déborder, et `.hero{overflow:hidden}`
   tronque titre + paragraphe sur iPhone). Coupure propre du mot long en FR. */
.hero__copy { min-width: 0; }
.hero h1 { -webkit-hyphens: auto; hyphens: auto; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 26px;
}
.hero__badge .pill {
  background: var(--teal-100);
  color: var(--teal-600);
  font-weight: 800;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.hero__sub { margin-top: 22px; max-width: 540px; font-size: 1.15rem; color: var(--slate-600); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta {
  display: flex; flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
}
.hero__meta .num { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.hero__meta .lab { font-size: .82rem; color: var(--slate-500); font-weight: 600; }

/* Hero visual — lame numérique animée */
.hero__visual { position: relative; }
.slide-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #16395f 0%, #1d5183 100%);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  overflow: hidden;
}
.slide-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 184, 166, .12) 100%);
  pointer-events: none;
}
.slide-screen {
  position: relative;
  border-radius: var(--radius);
  height: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 30%, rgba(206, 107, 176, .55), transparent 30%),
    radial-gradient(circle at 64% 52%, rgba(150, 82, 170, .50), transparent 32%),
    radial-gradient(circle at 44% 74%, rgba(224, 128, 182, .48), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(176, 96, 170, .45), transparent 26%),
    radial-gradient(circle at 12% 70%, rgba(196, 110, 170, .40), transparent 26%),
    #f6eaf3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.slide-screen::before {
  /* trame cellulaire — noyaux nets (hématoxyline) */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(86, 30, 110, .55) 1.7px, transparent 1.9px),
    radial-gradient(rgba(150, 46, 120, .32) 1.6px, transparent 1.8px);
  background-size: 24px 24px, 34px 34px;
  background-position: 0 0, 12px 9px;
  opacity: .85;
}
.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .55), transparent);
  filter: blur(.5px);
  animation: scan 4.4s var(--ease) infinite;
}
@keyframes scan {
  0%, 100% { top: -90px; }
  50% { top: 320px; }
}
.slide-frame {
  position: absolute;
  width: 86px; height: 64px;
  border: 2.5px solid #0d9488;
  border-radius: 8px;
  top: 38%; left: 30%;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .18);
  animation: float 6s ease-in-out infinite;
}
.slide-frame span {
  position: absolute;
  top: -22px; left: -2px;
  background: var(--teal-600);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}
.slide-toolbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.slide-toolbar .dot { width: 10px; height: 10px; border-radius: 50%; }
.slide-toolbar .dot:nth-child(1) { background: #ff5f57; }
.slide-toolbar .dot:nth-child(2) { background: #febc2e; }
.slide-toolbar .dot:nth-child(3) { background: #28c840; }
.slide-toolbar .label {
  margin-left: auto;
  font-size: .72rem;
  color: #9fd9d0;
  font-weight: 700;
  letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 6px;
}
.slide-toolbar .label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-400); box-shadow: 0 0 0 0 rgba(45, 212, 191, .7);
  animation: pulse 2s infinite;
}
.slide-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 16px;
}
.slide-stats div {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 10px 12px;
}
.slide-stats .k { font-size: .66rem; color: #8fb4d6; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.slide-stats .v { font-size: 1rem; color: #fff; font-weight: 800; margin-top: 2px; }

/* puces flottantes autour de la carte */
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  animation: float 5.5s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; }
.float-chip i {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; color: #fff;
}
.float-chip--a { top: -22px; left: -26px; }
.float-chip--a i { background: var(--blue-600); }
.float-chip--b { bottom: 38px; left: -42px; animation-delay: 1.2s; }
.float-chip--b i { background: var(--teal-500); }
.float-chip--c { top: 26%; right: -36px; animation-delay: .6s; }
.float-chip--c i { background: #7c3aed; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); }
  70% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* ----------------------- Bandeau confiance ----------------------- */
.trust {
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--white);
  padding: 26px 0;
}
.trust__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400); }
.trust__badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--slate-50);
  box-shadow: inset 0 0 0 1px var(--slate-200);
  font-weight: 700;
  font-size: .86rem;
  color: var(--slate-700, #334155);
}
.cert svg { width: 18px; height: 18px; color: var(--teal-600); }
.cert b { color: var(--blue-700); }
.cert--ready { background: var(--green-100); box-shadow: inset 0 0 0 1px #bbf7d0; }
.cert--ready svg { color: var(--green-500); }
.cert--progress { background: #fef3c7; box-shadow: inset 0 0 0 1px #fde68a; }
.cert--progress svg { color: var(--amber-500); }
.cert--progress b { color: #92400e; }

/* ----------------------- Produits ----------------------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--slate-200);
}
.product::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--accent, var(--gradient-brand));
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 20px;
}
.product--view .product__icon { background: var(--teal-100); color: var(--teal-600); }
.product--pacs .product__icon { background: #ede9fe; color: #7c3aed; }
.product__icon svg { width: 28px; height: 28px; }
.product__kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); }
.product h3 { font-size: 1.5rem; margin: 4px 0 6px; }
.product h3 b { color: var(--blue-600); }
.product--view h3 b { color: var(--teal-600); }
.product--pacs h3 b { color: #7c3aed; }
.product p { color: var(--slate-600); font-size: .96rem; }
.product__list { margin-top: 18px; display: grid; gap: 10px; }
.product__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--slate-600); }
.product__list svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; margin-top: 2px; }
.product__link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 22px; font-weight: 700; color: var(--blue-600); font-size: .92rem;
}
.product__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.product:hover .product__link svg { transform: translateX(4px); }

/* ----------------------- Split features (traçabilité / interop) ----------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.feature-list { display: grid; gap: 20px; margin-top: 30px; }
.feature {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
}
.feature__ic {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(20, 184, 166, .12); color: var(--teal-600);
}
.section--dark .feature__ic { background: rgba(45, 212, 191, .14); color: var(--teal-400); }
.feature__ic svg { width: 24px; height: 24px; }
.feature h4 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { color: var(--slate-600); font-size: .94rem; }
.section--dark .feature p { color: #aebfd3; }

/* Carte audit/traçabilité illustrative */
.audit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  border: 1px solid var(--slate-200);
}
.audit-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.audit-card__head .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gradient-brand); display: grid; place-items: center; color: #fff; }
.audit-card__head .ic svg { width: 22px; height: 22px; }
.audit-card__head h4 { font-size: 1.05rem; }
.audit-card__head span { font-size: .8rem; color: var(--slate-500); font-weight: 600; }
.audit-row {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center;
  padding: 13px 0; border-bottom: 1px dashed var(--slate-200);
}
.audit-row:last-child { border-bottom: none; }
.audit-row .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--green-100); color: var(--green-500); display: grid; place-items: center; }
.audit-row .tick svg { width: 12px; height: 12px; }
.audit-row .txt { font-size: .9rem; font-weight: 600; color: var(--slate-800); }
.audit-row .txt small { display: block; font-weight: 500; color: var(--slate-500); font-size: .78rem; }
.audit-row .time { font-size: .76rem; color: var(--slate-400); font-weight: 700; font-variant-numeric: tabular-nums; }
.audit-card__seal {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  background: var(--slate-50); border-radius: 12px; padding: 12px 14px;
  font-size: .82rem; color: var(--slate-600); font-weight: 600;
}
.audit-card__seal svg { width: 18px; height: 18px; color: var(--blue-600); }
.audit-card__seal code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--blue-700); font-size: .78rem; }

/* ----------------------- Interopérabilité grid ----------------------- */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.standard {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.standard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.standard__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 14px; }
.standard__ic svg { width: 22px; height: 22px; }
.standard h4 { font-size: 1.02rem; color: var(--ink); }
.standard p { font-size: .84rem; color: var(--slate-600); margin-top: 5px; }

/* ----------------------- Fonctionnalités grid ----------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.fcard__ic {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--blue-100); color: var(--blue-600);
}
.fcard__ic svg { width: 26px; height: 26px; }
.fcard:nth-child(3n+2) .fcard__ic { background: var(--teal-100); color: var(--teal-600); }
.fcard:nth-child(3n) .fcard__ic { background: #ede9fe; color: #7c3aed; }
.fcard h4 { font-size: 1.1rem; margin-bottom: 7px; }
.fcard p { color: var(--slate-600); font-size: .93rem; }

/* ----------------------- Stats ----------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat__num { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.03em; color: #fff; }
.stat__num .gradient-text { background: linear-gradient(120deg, #2dd4bf, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__lab { font-size: .9rem; color: #aebfd3; font-weight: 600; margin-top: 6px; }

/* ----------------------- Workflow timeline ----------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
  margin-top: 12px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 27px; left: 6%; right: 6%; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  border-radius: 3px;
  opacity: .35;
}
.flow-step { text-align: center; position: relative; }
.flow-step .node {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--blue-600);
  box-shadow: var(--shadow), inset 0 0 0 2px var(--blue-100);
  position: relative; z-index: 2;
  transition: transform .3s var(--ease);
}
.flow-step:hover .node { transform: scale(1.08); color: var(--teal-600); }
.flow-step .node svg { width: 26px; height: 26px; }
.flow-step .num {
  position: absolute; top: -6px; right: calc(50% - 36px);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; z-index: 3;
}
.flow-step h5 { font-size: .96rem; font-weight: 800; }
.flow-step p { font-size: .8rem; color: var(--slate-500); margin-top: 4px; }

/* ----------------------- Conformité (split avec liste) ----------------------- */
.conformity-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.conf-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.conf-badge {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.conf-badge:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.conf-badge .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.conf-badge .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; }
.conf-badge .ic svg { width: 24px; height: 24px; }
.conf-badge .state {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--green-100); color: var(--green-500);
}
.conf-badge .state--soon { background: #fef3c7; color: #b45309; }
.conf-badge h4 { font-size: 1.12rem; }
.conf-badge p { font-size: .86rem; color: var(--slate-500); margin-top: 4px; }
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--slate-700, #334155); }
.checklist svg { width: 22px; height: 22px; color: var(--green-500); flex: none; }
.checklist b { color: var(--ink); }

/* ----------------------- CTA / Démo ----------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-ink);
  color: #fff;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5;
}
.cta::before { width: 360px; height: 360px; background: radial-gradient(circle, rgba(20,184,166,.4), transparent 60%); top: -120px; right: -80px; }
.cta::after { width: 420px; height: 420px; background: radial-gradient(circle, rgba(31,130,224,.35), transparent 60%); bottom: -160px; left: -120px; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.cta__points { display: grid; gap: 16px; margin-top: 28px; }
.cta__points li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: #d7e3f1; }
.cta__points svg { width: 22px; height: 22px; color: var(--teal-400); flex: none; }

.form-card {
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card .muted { font-size: .9rem; color: var(--slate-500); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--slate-700, #334155); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-200);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .76rem; color: var(--slate-400); margin-top: 12px; text-align: center; }
.form-success {
  display: none;
  align-items: center; gap: 12px;
  background: var(--green-100); color: #166534;
  border-radius: 12px; padding: 14px 16px;
  font-weight: 600; font-size: .92rem;
  margin-bottom: 18px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

/* ----------------------- Footer ----------------------- */
.footer { background: var(--slate-50); color: var(--slate-600); padding: 64px 0 30px; border-top: 1px solid var(--slate-200); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand__name { color: var(--ink); }
.footer__about { margin-top: 18px; font-size: .9rem; max-width: 320px; line-height: 1.7; color: var(--slate-600); }
.footer__col h5 { color: var(--ink); font-size: .92rem; letter-spacing: .04em; margin-bottom: 16px; text-transform: uppercase; }
.footer__col a { display: block; padding: 6px 0; font-size: .9rem; color: var(--slate-600); transition: color .2s; }
.footer__col a:hover { color: var(--blue-600); }
.footer__certs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.footer__certs span {
  font-size: .72rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  font-size: .82rem;
  color: var(--slate-500);
}

/* ----------------------- Scroll reveal ----------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ----------------------- Responsive ----------------------- */
/* Polish global : décalage d'ancrage sous le header collant +
   anti-débordement des mots longs (FR) sur petits écrans */
#accueil, #plateforme, #tracabilite,
#interoperabilite, #fonctionnalites, #conformite { scroll-margin-top: 88px; }
h1, h2, h3, h4, p, li, .lead, .eyebrow { overflow-wrap: break-word; }
.audit-card__seal code { overflow-wrap: anywhere; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 480px; margin-inline: auto; }
  .split, .conformity-grid, .cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .standards, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; }
  .flow::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .section--tight { padding: 52px 0; }
  .hero { padding: 48px 0 64px; }
  .section-head { margin-bottom: 38px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .header.open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--white);
    padding: 14px 24px 22px;
    gap: 4px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--slate-200);
  }
  .header.open .nav__links a { padding: 13px 14px; }
  .header.open .nav__links .btn { display: inline-flex; margin-top: 8px; }
  .header.open .nav__links-demo { display: block; }
  .products, .features-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__sub { max-width: none; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { gap: 18px 26px; }
  .product { padding: 26px 22px 28px; }
  .audit-card { padding: 22px; }
  .float-chip--a { left: -6px; top: -16px; }
  .float-chip--b { left: -6px; }
  .float-chip--c { right: -6px; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__about { max-width: none; }
}

@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 52px; }
  .section-head { margin-bottom: 30px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__sub { font-size: 1.05rem; }
  .hero__meta { gap: 16px 22px; }
  .hero__meta .num { font-size: 1.45rem; }
  .standards, .stats, .conf-badges { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .trust__inner { gap: 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
