/* ==========================================================================
   BPM Qelium — feuille de style principale
   Identité : fond sombre, accent rose Qelium, titres Montserrat, texte Poppins
   ========================================================================== */

/* ---------- Polices (auto-hébergées : aucun appel à Google, conforme RGPD) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg: #08080b;
  --bg-2: #0e0e13;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-solid: #15151c;
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f6f8;
  --muted: #a9a9b8;
  --subtle: #7c7c8e;

  --accent: #ea3a60;          /* rose Qelium (décor, liens) */
  --accent-strong: #dc2f55;   /* fond des boutons : contraste AA avec le blanc */
  --accent-2: #e44993;
  --accent-3: #ff8a5c;
  --gradient: linear-gradient(120deg, #ff6a5c 0%, #ea3a60 40%, #e44993 100%);
  --gradient-btn: linear-gradient(120deg, #e3344f 0%, #d42d58 50%, #c42f7a 100%);
  --glow: 0 0 0 1px rgba(234, 58, 96, 0.35), 0 18px 50px -12px rgba(234, 58, 96, 0.55);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 92px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.75 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
p a:not(.btn), .prose a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
p a:not(.btn):hover, .prose a:not(.btn):hover { color: #ff6c8c; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; }

p { margin: 0 0 1.1em; color: var(--muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent-strong);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  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: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gradient-btn);
  color: #fff;
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 32px -12px rgba(234, 58, 96, 0.8);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 40px -12px rgba(234, 58, 96, 0.95); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
.btn-ghost.back:hover .icon { transform: translateX(-3px); }

.btn-light { background: #fff; color: #14141a; box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.6); }
.btn-light:hover { box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn-row.center { justify-content: center; margin-top: 48px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow .icon { width: 1em; height: 1em; color: var(--accent); transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Pastille « eyebrow » ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4ea;
  font: 500 0.78rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 58, 96, 0.2), 0 0 14px var(--accent);
}

/* ---------- En-tête flottant ---------- */
.site-header {
  position: fixed;
  inset: 14px 0 auto 0;
  z-index: 100;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 10px 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, max-width 0.5s var(--ease);
}
.site-header .container { max-width: calc(var(--container) + 20px); }
.site-header.is-scrolled .header-inner,
.site-header.is-open .header-inner {
  background: rgba(16, 16, 22, 0.72);
  border-color: var(--border);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 1.08rem/1 var(--font-head);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand svg { width: 36px; height: 36px; }
.brand span b { font-weight: 800; color: var(--accent); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a,
.main-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  background: none;
  border: 0;
  color: #d9d9e2;
  font: 500 0.92rem/1 var(--font-body);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav .dropdown-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav a[aria-current="page"],
.main-nav .has-dropdown.is-current > .dropdown-toggle { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav .nav-cta {
  margin-left: 8px;
  padding: 12px 20px;
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] { background: var(--gradient-btn); color: #fff; filter: brightness(1.08); }
.main-nav .nav-cta .icon { width: 1em; height: 1em; }

.dropdown-toggle .icon { width: 14px; height: 14px; transition: transform 0.25s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 360px;
  padding: 8px;
  background: rgba(20, 20, 27, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.dropdown::before { /* zone tampon pour le survol */
  content: "";
  position: absolute;
  inset: -16px 0 auto 0;
  height: 16px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown:hover .dropdown-toggle .icon,
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }

.main-nav .dropdown a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}
.dropdown a small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.dropdown .dd-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(234, 58, 96, 0.12);
  color: var(--accent);
}
.dropdown a:hover,
.dropdown a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Sections ---------- */
main { display: block; }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 1.08rem; }

.section-head.split-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px 64px;
  align-items: end;
}
.section-head.split-head h2 { margin: 0; }

/* ---------- Halos animés (aurora) ---------- */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 560px; height: 560px; top: -180px; right: -80px; background: #ea3a60; opacity: 0.38; }
.aurora span:nth-child(2) { width: 460px; height: 460px; top: 120px; right: 28%; background: #e44993; opacity: 0.22; animation-delay: -6s; animation-duration: 22s; }
.aurora span:nth-child(3) { width: 420px; height: 420px; bottom: -220px; left: -120px; background: #ff7a59; opacity: 0.18; animation-delay: -12s; }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 40px, 0) scale(1.12); }
  100% { transform: translate3d(40px, -30px, 0) scale(0.95); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 80%);
}

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(48px, 5vw, 72px);
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 33em; }
.hero .lead strong { color: var(--text); }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-proof li { display: flex; align-items: center; gap: 10px; }
.hero-proof ul { display: contents; list-style: none; }
.hero-proof .icon { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.5; }

.hero::after { /* fondu vers la section suivante */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* --- Maquette animée de workflow --- */
.hero-visual { position: relative; }
.wf-card {
  position: relative;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(30, 30, 40, 0.9), rgba(18, 18, 25, 0.92));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 120px -40px rgba(234, 58, 96, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.wf-card::before { /* liseré lumineux */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(234, 58, 96, 0.8), transparent 35%, transparent 70%, rgba(228, 73, 147, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.wf-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.wf-dots { display: flex; gap: 6px; }
.wf-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a48; }
.wf-dots i:first-child { background: #ea3a60; }
.wf-title { flex: 1; font-size: 0.85rem; font-weight: 500; color: #d9d9e2; }
.wf-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 208, 132, 0.12);
  color: #5ef0b5;
  font-size: 0.72rem;
  font-weight: 600;
}
.wf-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.wf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.wf-steps::before { /* trait vertical */
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, #ea3a60 0%, #e44993 55%, rgba(255, 255, 255, 0.1) 75%);
}
.wf-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  font-size: 0.85rem;
  line-height: 1.35;
}
.wf-steps li b { display: block; font-weight: 600; color: var(--text); font-size: 0.9rem; }
.wf-steps li small { color: var(--subtle); font-size: 0.76rem; }
.wf-steps li > div { flex: 1; min-width: 0; }
.wf-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #24242f;
  color: var(--muted);
  border: 1px solid var(--border-strong);
}
.wf-node .icon { width: 18px; height: 18px; }
.wf-steps .done .wf-node { background: var(--gradient-btn); color: #fff; border-color: transparent; }
.wf-steps .active { background: rgba(234, 58, 96, 0.08); border-color: rgba(234, 58, 96, 0.35); }
.wf-steps .active .wf-node { background: #2a1820; color: var(--accent); border-color: rgba(234, 58, 96, 0.6); }
.wf-steps .active .wf-node::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 15px;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ring 2s var(--ease) infinite;
}
.wf-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.wf-tag.ok { background: rgba(0, 208, 132, 0.12); color: #5ef0b5; }
.wf-tag.wait { background: rgba(234, 58, 96, 0.15); color: #ff8ea6; }

.wf-progress {
  margin-top: 20px;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.wf-progress span {
  display: block;
  height: 100%;
  width: 66%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ea3a60 0%, #ff6a5c 25%, #e44993 50%, #ff6a5c 75%, #ea3a60 100%);
  background-size: 200% 100%;
  animation: progress 3.5s var(--ease) infinite alternate, shimmer 3s linear infinite;
}
.wf-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--subtle);
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(22, 22, 30, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--muted);
  animation: float 7s ease-in-out infinite;
}
.hero-float b { display: block; color: var(--text); font: 800 1.25rem/1.1 var(--font-head); letter-spacing: -0.02em; }
.hero-float .float-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-btn);
  color: #fff;
}
.hero-float .float-icon .icon { width: 20px; height: 20px; }
.hero-float.f1 { left: -46px; bottom: -50px; }
.hero-float.f2 { right: -30px; top: -52px; animation-delay: -3.5s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes ring { 0% { opacity: 0.8; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes progress { from { width: 52%; } to { width: 74%; } }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* ---------- Bandeau de logos défilant ---------- */
.logo-band { padding: 8px 0 0; }
.logo-band-title {
  margin-bottom: 26px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  flex: none;
  gap: 16px;
  padding-right: 16px;
  list-style: none;
  margin: 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #000;
  white-space: nowrap;
  font-weight: 500;
  color: #d9d9e2;
}
.marquee-track img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Rangées image / texte ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}
.split + .split { margin-top: clamp(88px, 12vw, 150px); }
.split.reverse .split-media { order: 2; }
.split-body p { font-size: 1.05rem; }
.split-body .num {
  display: block;
  margin-bottom: 14px;
  font: 800 0.95rem/1 var(--font-head);
  letter-spacing: 0.04em;
  color: var(--accent);
}

.media {
  position: relative;
  isolation: isolate;
}
.media::before { /* halo derrière l'image */
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  background: var(--gradient);
  filter: blur(70px);
  opacity: 0.35;
  transition: opacity 0.5s;
}
.media:hover::before { opacity: 0.55; }
.media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.media-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(14, 14, 19, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 500;
}
.media-tag .icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
}

/* ---------- Cartes : base commune + halo qui suit la souris ---------- */
.card {
  position: relative;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.35s, transform 0.4s var(--ease), background 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(234, 58, 96, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { border-color: rgba(234, 58, 96, 0.35); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 22px 0 10px; }
.card p { font-size: 0.96rem; }

.card .kicker {
  display: block;
  margin: 22px 0 -14px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px -10px rgba(234, 58, 96, 0.8);
}
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.8; }

.icon-soft {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(234, 58, 96, 0.12);
  border: 1px solid rgba(234, 58, 96, 0.22);
  color: var(--accent);
}
.icon-soft .icon { width: 22px; height: 22px; }

/* ---------- Grille « bento » ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento .tall { grid-row: span 2; }

.bento .card-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 40px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(234, 58, 96, 0.18), transparent 70%),
    var(--surface);
}
.bento .card-hero h3 { font-size: 1.6rem; margin-top: 28px; }
.bento .card-hero p { font-size: 1.02rem; max-width: 30em; }

/* petit visuel « équipe » dans la carte collaborative */
.avatars { display: flex; align-items: center; margin-top: 32px; }
.avatars span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: -10px;
  border-radius: 50%;
  border: 3px solid #121218;
  font: 700 0.85rem/1 var(--font-head);
  color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(1) { background: #ea3a60; }
.avatars span:nth-child(2) { background: #c42f7a; }
.avatars span:nth-child(3) { background: #ff7a59; }
.avatars span:nth-child(4) { background: #6b5bd6; }
.avatars span:nth-child(5) { background: #2b2b38; color: var(--muted); font-size: 0.75rem; }
.avatars small { margin-left: 14px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Cartes services avec image ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  background: var(--surface-solid);
  border: 1px solid var(--border);
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0) 30%, rgba(8, 8, 11, 0.6) 60%, rgba(8, 8, 11, 0.95) 100%);
}
.service-card-body { position: absolute; inset: auto 0 0 0; padding: 28px; }
.service-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.service-card .icon-badge .icon { width: 22px; height: 22px; }
.service-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.service-card p { font-size: 0.92rem; color: #d0d0da; }
.service-card:hover img { transform: scale(1.07); }

/* ---------- Offre détaillée ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-grid .card h3 { font-size: 1.1rem; }
.offer-grid .card .icon-soft { margin-bottom: 4px; }

/* ---------- Démarche (étapes) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step-num {
  display: block;
  font: 800 3.4rem/1 var(--font-head);
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.steps .card h3 { margin-top: 26px; font-size: 1.1rem; }

/* ---------- Chiffres clés ---------- */
.stats-card {
  position: relative;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--gradient-btn);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 100px -40px rgba(234, 58, 96, 0.7);
}
.stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 65%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats-grid li { padding: 8px 24px; text-align: center; }
.stats-grid li + li { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.stat-value {
  display: block;
  color: #fff;
  font: 800 clamp(2.6rem, 5vw, 3.8rem)/1 var(--font-head);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Technologies (grille) ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 16px 22px;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: transform 0.4s var(--ease), border-color 0.35s, color 0.35s;
}
.tech img { height: 60px; width: auto; object-fit: contain; }
.tech:hover { transform: translateY(-4px); border-color: var(--border-strong); color: var(--text); }

/* ---------- Appel à l'action ---------- */
.cta-box {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-box .aurora span:nth-child(1) { top: -320px; right: 10%; }
.cta-box .aurora span:nth-child(3) { bottom: -300px; left: 10%; }
.cta-box h2 { max-width: 16em; margin-inline: auto; }
.cta-box p { max-width: 36em; margin-inline: auto; font-size: 1.08rem; }
.cta-box .btn-row { justify-content: center; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 8vw, 104px);
  isolation: isolate;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}
.page-hero::after { /* voile latéral pour la lisibilité */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(8, 8, 11, 0.92) 0%, rgba(8, 8, 11, 0.55) 60%, rgba(8, 8, 11, 0.2) 100%);
}
.page-hero::before { /* fondu vers la page */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.page-hero .aurora span:nth-child(1) { opacity: 0.3; }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); max-width: 40em; color: #cfcfd9; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--subtle); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Contenu éditorial ---------- */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}
.prose h2 { margin-bottom: 0.35em; }
.prose .subtitle {
  margin: 0 0 1.4em;
  color: var(--accent);
  font: 600 1.1rem/1.4 var(--font-body);
  letter-spacing: 0;
}
.prose p { font-size: 1.06rem; }
.prose p.intro { color: var(--text); font-size: 1.2rem; line-height: 1.65; }

.aside-stack { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 20px; }
.aside-stack .media img { aspect-ratio: 4 / 3; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(234, 58, 96, 0.15);
  color: var(--accent);
  stroke-width: 3;
}
.card .check-list { margin-top: 4px; }
.card > h3:first-child { margin-top: 0; }

.point-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.point-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
}
.point-list li p { font-size: 1rem; }

/* ---------- Section avec image de fond ---------- */
.section-bg { overflow: hidden; isolation: isolate; }
.section-bg > img.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(8, 8, 11, 0.6) 40%, rgba(8, 8, 11, 0.6) 60%, var(--bg) 100%);
}
.section-bg .card { background: rgba(20, 20, 27, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.form-card { padding: clamp(28px, 4vw, 48px); }
.form-card:hover { transform: none; }
.form-card h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.field label .req { color: var(--accent); }
.field label .opt { color: var(--subtle); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text);
  font: 400 0.98rem/1.5 var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6c6c80; }
.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.26); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 58, 96, 0.18);
}
.field.has-error input,
.field.has-error textarea { border-color: #ff6b81; }
.field .error-msg { display: none; margin-top: 6px; font-size: 0.8rem; color: #ff8a9c; }
.field.has-error .error-msg { display: block; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.consent.has-error { color: #ff8a9c; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-note { font-size: 0.8rem; color: var(--subtle); margin: 0; }

.form-status {
  display: none;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
}
.form-status.is-success { display: block; background: rgba(0, 208, 132, 0.1); border: 1px solid rgba(0, 208, 132, 0.4); color: #7ff0c4; }
.form-status.is-error { display: block; background: rgba(255, 107, 129, 0.1); border: 1px solid rgba(255, 107, 129, 0.4); color: #ffb3bf; }

.contact-aside { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.info-card h3 { margin: 0 0 4px; font-size: 1rem; }
.info-card p { font-size: 0.93rem; }
.info-card a:not(.btn) { color: var(--text); font-weight: 500; text-decoration: none; }
.info-card a:not(.btn):hover { color: var(--accent); }

/* ---------- Logos IA & outils ---------- */
.tool-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 10px;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  color: #d9d9e2;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.tool img { width: 44px; height: 44px; border-radius: 50%; background: #121218; }
.tool:hover { transform: translateY(-3px); border-color: var(--border-strong); }

.logo-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.logo-row li {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #000;
  border: 1px solid var(--border);
}
.logo-row img { width: 38px; height: 38px; }

/* ---------- Pipeline IA (schéma animé) ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.pipe-step { position: relative; padding: 0 14px; text-align: center; }
.pipe-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}
.pipe-node .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.pipe-step.is-ai .pipe-node { background: var(--gradient-btn); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.pipe-step:not(:last-child)::after { /* liaison animée vers l'étape suivante */
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 50px);
  right: calc(-50% + 50px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(234, 58, 96, 0.8) 0 8px, transparent 8px 14px);
  background-size: 28px 2px;
  animation: dash-x 1.1s linear infinite;
}
@keyframes dash-x { to { background-position: 28px 0; } }
@keyframes dash-y { to { background-position: 0 28px; } }
.pipe-step h3 { margin-bottom: 6px; font-size: 1.08rem; }
.pipe-step p { font-size: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

/* ---------- Produits Qelium : thèmes ---------- */
.theme-zeromail {
  --prod: #949eff;
  --prod-glow: rgba(148, 158, 255, 0.22);
  --prod-border: rgba(148, 158, 255, 0.45);
  --prod-soft: rgba(148, 158, 255, 0.13);
}
.theme-flowpulse {
  --prod: #04e18a;
  --prod-glow: rgba(4, 225, 138, 0.18);
  --prod-border: rgba(4, 225, 138, 0.42);
  --prod-soft: rgba(4, 225, 138, 0.11);
}
.prod-text { color: var(--prod); }
.prod-eyebrow::before { background: var(--prod); box-shadow: 0 0 0 4px var(--prod-soft), 0 0 14px var(--prod); }

.btn-prod {
  background: var(--prod);
  color: #0b0d18;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 32px -14px var(--prod);
}
.btn-prod:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 40px -12px var(--prod); }

/* ---------- Cartes produits ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: radial-gradient(520px 320px at 100% 0%, var(--prod-glow), transparent 70%), var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.35s, transform 0.4s var(--ease);
}
.product-card:hover { border-color: var(--prod-border); transform: translateY(-4px); }
.product-card > p { font-size: 0.98rem; }
.product-card .check-list { margin-top: 6px; }
.product-card .btn-row { margin-top: auto; padding-top: 28px; }

.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.product-head img { width: 54px; height: 54px; flex: none; }
.product-head h3,
.product-head h2 { margin: 0; font-size: 1.55rem; }
.product-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: 400 0.9rem/1.35 var(--font-body);
  letter-spacing: 0;
}
.product-badge {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--prod-soft);
  color: var(--prod);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
[class*="theme-"] .check-list .icon { background: var(--prod-soft); color: var(--prod); }

/* ---------- Cadre « navigateur » ---------- */
.browser {
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: #0c0d16;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 90px -30px var(--prod-glow, rgba(234, 58, 96, 0.45));
}
.product-card .browser { margin: 0 0 26px; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--border);
}
.browser-bar .wf-dots i:first-child { background: #3a3a48; }
.browser-url {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--subtle);
  font-size: 0.74rem;
  white-space: nowrap;
  overflow: hidden;
}
.browser-url .icon { width: 12px; height: 12px; }
.browser > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.product-card .browser > img,
.product-section .browser > img { aspect-ratio: 5 / 4; } /* même cadrage pour les deux captures produits */

/* ---------- Page Solutions ---------- */
.prod-switch { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.prod-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s;
}
.prod-pill img { width: 36px; height: 36px; }
.prod-pill:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

.product-section { overflow: hidden; isolation: isolate; }
.product-section::before {
  content: "";
  position: absolute;
  top: 10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--prod);
  filter: blur(130px);
  opacity: 0.12;
  z-index: -1;
}
.product-section.theme-zeromail::before { right: -120px; }
.product-section.theme-flowpulse::before { left: -120px; }
.product-section .split { align-items: start; }
.product-section .split-media { position: sticky; top: calc(var(--header-h) + 24px); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 8px; }
.facts div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.facts b { display: block; color: var(--prod, var(--text)); font: 700 1.1rem/1.2 var(--font-head); letter-spacing: -0.01em; }
.facts small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 0.82rem; color: var(--subtle); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 14px; height: 14px; color: var(--prod); }

/* icônes dans les menus et liens externes */
.dropdown .dd-img { background: none; }
.dropdown .dd-img img { width: 42px; height: 42px; }
.ext { width: 0.85em; height: 0.85em; opacity: 0.7; }

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  font-size: 0.93rem;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(720px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 80px 48px;
}
.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--text);
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-about .brand { margin-bottom: 20px; }
.footer-about p { max-width: 34em; font-size: 0.92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); transition: color 0.2s; }
.footer-links .ext { display: inline; margin-left: 4px; vertical-align: -1px; }
.footer-links a:hover { color: var(--text); }
.footer-contact p { margin-bottom: 10px; }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact .btn { margin-top: 12px; }

.footer-word {
  display: block;
  margin: 0 auto -0.2em;
  text-align: center;
  font: 800 clamp(4rem, 19vw, 16rem)/0.85 var(--font-head);
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  font-size: 0.85rem;
  color: var(--subtle);
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Retour en haut ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(22, 22, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-strong); }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Page 404 ---------- */
.error-page {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.error-code {
  display: block;
  font: 800 clamp(6rem, 20vw, 12rem)/1 var(--font-head);
  letter-spacing: -0.06em;
}
.error-page .btn-row { justify-content: center; }

/* ---------- Animations d'apparition ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee { overflow-x: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *,
  .bento .span-3,
  .bento .span-4 { grid-column: span 1; }
  .bento .span-6,
  .bento .wide-md { grid-column: span 2; }
  .bento .tall { grid-row: auto; }
  .products { gap: 18px; }
  .hero-float.f1 { left: -12px; }
  .hero-float.f2 { right: -8px; }
}

@media (max-width: 940px) {
  :root { --header-h: 84px; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 12px;
    background: rgba(16, 16, 22, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
  }
  .site-header .container { position: relative; }
  .site-header.is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a,
  .main-nav .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px;
    border-radius: 14px;
    font-size: 1rem;
  }
  .main-nav .nav-cta { margin: 10px 0 0; justify-content: center; }
  .dropdown {
    position: static;
    width: auto;
    padding: 0 0 6px;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .has-dropdown:hover .dropdown { transform: none; }

  .hero-grid,
  .split,
  .article-grid,
  .contact-grid,
  .section-head.split-head { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; margin: 32px auto 0; width: 100%; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 620px; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stats-grid li:nth-child(3) { border-left: 0; }
  .aside-stack { position: static; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .products { grid-template-columns: 1fr; }
  .product-section .split-media { position: static; }
  .pipeline { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pipe-step { display: grid; grid-template-columns: 78px 1fr; gap: 0 20px; padding: 0 0 34px; text-align: left; }
  .pipe-step .pipe-node { margin: 0; grid-row: span 3; }
  .pipe-step .tags { justify-content: flex-start; }
  .pipe-step:not(:last-child)::after {
    top: 86px; bottom: 8px; left: 38px; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(234, 58, 96, 0.8) 0 8px, transparent 8px 14px);
    background-size: 2px 28px;
    animation-name: dash-y;
  }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .header-inner { padding: 0 8px 0 16px; }
  .main-nav { left: 18px; right: 18px; }
  .bento,
  .service-cards,
  .offer-grid,
  .steps,
  .form-grid { grid-template-columns: 1fr; }
  .bento .span-6,
  .bento .wide-md { grid-column: span 1; }
  .bento .card-hero { padding: 30px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { aspect-ratio: 4 / 3.6; }
  .hero-float { display: none; }
  .wf-card { padding: 16px; }
  .wf-tag { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .stats-grid li { padding: 8px 10px; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.05em; }
  .footer-bottom { padding-bottom: 84px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .product-head { flex-wrap: wrap; }
  .product-badge { margin-left: 0; }
  .tool { padding-right: 18px; font-size: 0.9rem; }
  .tool img { width: 38px; height: 38px; } /* laisse la place au bouton « haut de page » */
  .footer-bottom .container { flex-direction: column; text-align: center; align-items: center; }
}
