/* =============================================================
   luxapps.lu — site marketing
   Repose sur les tokens couleur du DS Luxapps CRM,
   mais avec une échelle typographique propre au site (plus large).
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- Brand (du DS Luxapps) ---- */
  --lux-navy:        #232066;
  --lux-navy-deep:   #161434;   /* dérivé pour fond très sombre */
  --lux-navy-700:    #1B194D;
  --lux-navy-600:    #2A2778;
  --lux-navy-500:    #3A368E;
  --lux-navy-400:    #5E5AB0;
  --lux-navy-200:    #C9C8E0;
  --lux-navy-100:    #E6E5F0;
  --lux-navy-050:    #F2F1F8;

  --lux-teal:        #2EB8C9;
  --lux-teal-700:    #1F8A98;
  --lux-teal-600:    #25A0B0;
  --lux-teal-500:    #2EB8C9;
  --lux-teal-300:    #7BD2DD;
  --lux-teal-200:    #B5E6EC;
  --lux-teal-100:    #DEF3F6;
  --lux-teal-050:    #ECF8FA;

  --lux-gradient:    linear-gradient(135deg, #161434 0%, #232066 35%, #2E5B96 72%, #2EB8C9 100%);
  --lux-gradient-soft: linear-gradient(135deg, #F2F1F8 0%, #ECF8FA 100%);

  /* ---- Neutrals ---- */
  --ink-900:  #0F1226;
  --ink-800:  #1C2040;
  --ink-700:  #2E3358;
  --ink-600:  #4A5072;
  --ink-500:  #6B7191;
  --ink-400:  #9097B2;
  --ink-300:  #B7BCD0;
  --ink-200:  #D7DAE5;
  --ink-150:  #E3E5ED;
  --ink-100:  #ECEEF4;
  --ink-050:  #F5F6FA;
  --ink-025:  #FAFBFD;
  --paper:    #FFFFFF;

  /* ---- Surfaces site ---- */
  --bg-page:        #FFFFFF;
  --bg-soft:        #F7F8FB;   /* respiration */
  --bg-deep:        var(--lux-navy-deep);
  --border-default: var(--ink-150);
  --border-strong:  var(--ink-200);

  /* ---- Sémantique ---- */
  --success: #00A095;
  --warning: #C97A1F;
  --danger:  #C73A2D;

  /* ---- Fonts ---- */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, Consolas, monospace;

  /* ---- Type marketing (plus large que le DS CRM) ---- */
  --fs-display-xl: clamp(48px, 6.4vw, 80px);
  --fs-display-l:  clamp(36px, 4.4vw, 56px);
  --fs-display-m:  clamp(28px, 3.2vw, 40px);
  --fs-h1:         32px;
  --fs-h2:         24px;
  --fs-h3:         20px;
  --fs-body-l:     18px;
  --fs-body:       16px;
  --fs-small:      14px;
  --fs-overline:   13px;
  --fs-tag:        12px;

  --lh-tight:   1.08;
  --lh-snug:    1.22;
  --lh-normal:  1.5;
  --lh-relaxed: 1.65;

  /* ---- Radii ---- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* ---- Spacing scale (sections) ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 56px;
  --sp-10: 72px;
  --sp-11: 96px;
  --sp-12: 128px;

  /* ---- Elevation ---- */
  --shadow-xs: 0 1px 0 rgba(15,18,38,0.04);
  --shadow-sm: 0 1px 2px rgba(15,18,38,0.06), 0 1px 1px rgba(15,18,38,0.04);
  --shadow-md: 0 8px 24px rgba(15,18,38,0.06), 0 2px 4px rgba(15,18,38,0.04);
  --shadow-lg: 0 24px 60px rgba(15,18,38,0.10), 0 4px 12px rgba(15,18,38,0.06);
  --shadow-card: 0 1px 2px rgba(15,18,38,0.04), 0 12px 30px -16px rgba(35,32,102,0.16);

  /* ---- Layout ---- */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);

  /* ---- Pattern pixel intensity ---- */
  --pixel-intensity: 0.5;  /* tweakable */

  /* ---- Anim ---- */
  --easing: cubic-bezier(.2,.8,.2,1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  overflow-x: clip;
}
/* On pages with a dark hero, match the body background to the hero so
   any sub-pixel/whitespace gap above the hero is invisible instead of
   showing the default white through the transparent sticky header. */
body[data-hero-dark="true"] { background: var(--lux-navy-deep); }
img, svg { display: block; max-width: 100%; }
a { color: var(--lux-navy-600); text-decoration: none; }
a:hover { color: var(--lux-teal-700); }
button { font-family: inherit; cursor: pointer; }

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section base */
.section {
  padding-block: var(--section-y);
  position: relative;
  background: var(--bg-page);
}
.section--soft { background: var(--bg-soft); }
.section--dark {
  background: var(--lux-navy-deep);
  color: #E6E5F0;
}
.section--gradient {
  background: var(--lux-gradient);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Type
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lux-teal-700);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--dark .eyebrow,
.section--gradient .eyebrow { color: var(--lux-teal-300); }

.display-xl {
  font-size: var(--fs-display-xl);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--lux-navy);
  margin: 0;
}
.display-l {
  font-size: var(--fs-display-l);
  line-height: var(--lh-snug);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--lux-navy);
  margin: 0;
}
.display-m {
  font-size: var(--fs-display-m);
  line-height: var(--lh-snug);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--lux-navy);
  margin: 0;
}
.section--dark .display-xl,
.section--dark .display-l,
.section--dark .display-m,
.section--gradient .display-xl,
.section--gradient .display-l,
.section--gradient .display-m { color: #FFFFFF; }

.lead {
  font-size: var(--fs-body-l);
  line-height: var(--lh-relaxed);
  color: var(--ink-600);
  margin: 0;
  max-width: 56ch;
}
.section--dark .lead, .section--gradient .lead { color: rgba(255,255,255,0.78); }

.h-accent {
  background: linear-gradient(95deg, var(--lux-navy) 0%, var(--lux-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section header */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.section-head--center .lead { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid transparent;
  transition: all 160ms var(--easing);
  white-space: nowrap;
}
.btn--sm { padding: 9px 14px; font-size: var(--fs-small); }
.btn--lg { padding: 16px 26px; font-size: var(--fs-body-l); }

.btn--primary {
  background: var(--lux-teal);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(15,18,38,0.06), 0 8px 20px -8px rgba(46,184,201,0.4);
}
.btn--primary:hover {
  background: var(--lux-teal-600);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(15,18,38,0.06), 0 14px 28px -10px rgba(46,184,201,0.5);
  color: #FFFFFF;
}

.btn--navy {
  background: var(--lux-navy);
  color: #FFFFFF;
}
.btn--navy:hover { background: var(--lux-navy-600); color: #FFFFFF; transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--lux-navy);
  border-color: var(--ink-200);
}
.btn--outline:hover {
  border-color: var(--lux-navy);
  background: var(--lux-navy-050);
  color: var(--lux-navy);
}

.btn--ghost-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); color: #FFFFFF; border-color: rgba(255,255,255,0.55); }

.btn--ghost {
  background: transparent;
  color: var(--lux-navy);
  padding-inline: 4px;
}
.btn--ghost:hover { color: var(--lux-teal-700); }

.btn .arrow { transition: transform 200ms var(--easing); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: sticky;
  /* The utility row hangs the FR/EN tab from the very top; -32px lets
     it scroll out of view so the main nav pins clean at the viewport
     top once the user has scrolled past it. */
  top: -32px;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 250ms var(--easing), background 250ms var(--easing);
}
.header__util {
  border-bottom: 1px solid transparent;
  transition: opacity 220ms var(--easing), visibility 0s linear 220ms;
}
.header.is-scrolled .header__util {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--easing), visibility 0s linear 0s;
}
.header__util-inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.header.is-scrolled {
  box-shadow: 0 1px 0 var(--border-default);
  background: rgba(255,255,255,0.96);
}

/* --- Dark hero mode: header transparent over hero, light when scrolled --- */
body[data-hero-dark="true"] .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-hero-dark="true"] .header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--border-default);
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__logo img {
  filter: brightness(0) invert(1);
  transition: filter 250ms var(--easing);
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__nav a {
  color: rgba(255,255,255,0.82);
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__nav a:hover {
  background: rgba(255,255,255,0.10);
  color: #FFFFFF;
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__nav a.is-active {
  color: #FFFFFF;
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__lang {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__lang button {
  color: rgba(255,255,255,0.55);
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__lang button.is-active {
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
  box-shadow: none;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.header__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.header__logo img {
  height: 61px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .header__inner { height: 72px; }
  .header__logo img { height: 51px; }
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
  position: relative;
  white-space: nowrap;
}
.header__nav a:hover {
  background: var(--ink-050);
  color: var(--lux-navy);
}
.header__nav a.is-active { color: var(--lux-navy); }
.header__nav a.is-active::after {
  content: '';
  position: absolute;
  left: 20px; right: 20px; bottom: 2px;
  height: 2px;
  background: var(--lux-teal);
  border-radius: 2px;
}

/* Dropdown submenu */
.header__nav-item--has-sub { position: relative; }
.header__nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  font-family: inherit;
}
.header__nav-trigger:hover {
  background: var(--ink-050);
  color: var(--lux-navy);
}
.header__nav-caret {
  transition: transform 200ms var(--easing);
  opacity: 0.6;
}
.header__nav-item--has-sub.is-open .header__nav-caret,
.header__nav-item--has-sub:hover .header__nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}
.header__nav-item--has-sub.is-active .header__nav-trigger { color: var(--lux-navy); }
.header__nav-item--has-sub.is-active .header__nav-trigger::after {
  content: '';
  position: absolute;
  left: 20px; right: 34px; bottom: 2px;
  height: 2px;
  background: var(--lux-teal);
  border-radius: 2px;
}

.header__submenu {
  position: absolute;
  top: 100%;
  left: -8px;
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--easing), transform 180ms var(--easing), visibility 180ms var(--easing);
  z-index: 110;
}
/* Invisible bridge so the cursor can move from trigger to panel without
   crossing a gap that breaks :hover. */
.header__submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}
.header__nav-item--has-sub.is-open .header__submenu,
.header__nav-item--has-sub:hover .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__submenu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink-700);
}
.header__submenu a:hover {
  background: var(--ink-050);
  color: var(--lux-navy);
}
.header__submenu a.is-active::after { content: none; }
.header__submenu-mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}
.header__submenu-mark--fxp { background: var(--lux-navy); }
.header__submenu-mark--msb { background: var(--lux-teal); }
.header__submenu-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.header__submenu-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.header__submenu a:hover .header__submenu-title { color: var(--lux-navy); }
.header__submenu-sub {
  font-size: 11px;
  color: var(--ink-500);
  line-height: 1.55;
  font-weight: 400;
}
.header__submenu a:hover .header__submenu-sub { color: var(--ink-600); }

/* Dark hero variant — submenu trigger color */
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__nav-trigger {
  color: rgba(255,255,255,0.82);
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__nav-trigger:hover {
  background: rgba(255,255,255,0.10);
  color: #FFFFFF;
}
body[data-hero-dark="true"] .header:not(.is-scrolled) .header__nav-item--has-sub.is-active .header__nav-trigger { color: #FFFFFF; }
.header__lang {
  display: inline-flex;
  align-items: stretch;
  background: var(--ink-050);
  border: 1px solid var(--border-default);
  border-top: 0;
  /* Hangs from the top edge of the page: square top, rounded bottom only.
     Bottom radius is +25% over var(--r-md) so the tab reads as a
     pronounced drop. */
  border-radius: 0 0 13px 13px;
  padding: 0 3px 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.header__lang button {
  background: transparent;
  border: 0;
  color: var(--ink-500);
  padding: 8px 12px 6px;
  border-radius: 0 0 5px 5px;
  letter-spacing: 0.04em;
  font-family: inherit;
  font-weight: inherit;
  cursor: pointer;
  transition: background 160ms var(--easing), color 160ms var(--easing);
}
.header__lang button:hover { color: var(--lux-navy); }
.header__lang button.is-active {
  background: #FFFFFF;
  color: var(--lux-navy);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-xs);
}
.header__menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-default);
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
}
body[data-hero-dark="true"] .header:not(.is-scrolled):not(.is-menu-open) .header__menu-btn {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
body[data-hero-dark="true"] .header:not(.is-scrolled):not(.is-menu-open) .header__menu-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.55);
}

@media (min-width: 1440px) {
  :root { --maxw: 1440px; }
  .header__inner { height: 114px; }
  .header__logo img { height: 76px; }
  .hero--dark { margin-top: -114px; padding-top: 166px; }
  .hero__pattern { inset: 114px 0 0 0; }
  .page-hero { margin-top: -114px; padding-top: 166px; }
  .hero__photo { inset: 114px 0 0 0; }
}

@media (max-width: 900px) {
  .header { top: 0; }
  .header__nav { display: none; }
  .header__lang { display: none; }
  .header__util { display: none; }
  .header__inner > .btn { display: none; }
  .header__menu-btn { display: inline-flex; margin-left: auto; }

  /* --- Mobile drop panel when hamburger is open --- */
  .header.is-menu-open .header__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .header.is-menu-open .header__nav a,
  .header.is-menu-open .header__nav-trigger {
    width: 100%;
    padding: 14px 12px;
    font-size: var(--fs-body);
    justify-content: space-between;
    border-radius: var(--r-sm);
  }
  .header.is-menu-open .header__nav-item--has-sub { width: 100%; }
  .header.is-menu-open .header__nav a.is-active::after,
  .header.is-menu-open .header__nav-item--has-sub.is-active .header__nav-trigger::after {
    display: none;
  }
  /* Submenu becomes inline inside the mobile panel */
  .header.is-menu-open .header__submenu {
    position: static;
    margin: 0;
    padding: 4px 0 8px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .header.is-menu-open .header__submenu::before { content: none; }
  .header.is-menu-open .header__nav-item--has-sub.is-open .header__submenu {
    display: flex;
  }
  .header.is-menu-open .header__menu-btn { background: var(--ink-050); }

  /* Override dark-hero styles so the panel stays readable when opened at top */
  body[data-hero-dark="true"] .header.is-menu-open {
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 1px 0 var(--border-default);
  }
  body[data-hero-dark="true"] .header.is-menu-open .header__logo img { filter: none; }
  body[data-hero-dark="true"] .header.is-menu-open .header__nav a,
  body[data-hero-dark="true"] .header.is-menu-open .header__nav-trigger {
    color: var(--ink-700);
  }
  body[data-hero-dark="true"] .header.is-menu-open .header__nav a:hover,
  body[data-hero-dark="true"] .header.is-menu-open .header__nav-trigger:hover {
    background: var(--ink-050);
    color: var(--lux-navy);
  }
  body[data-hero-dark="true"] .header.is-menu-open .header__nav a.is-active,
  body[data-hero-dark="true"] .header.is-menu-open .header__nav-item--has-sub.is-active .header__nav-trigger {
    color: var(--lux-navy);
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--lux-navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #FFFFFF; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 44px; width: auto; max-width: none; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__brand p {
  max-width: 32ch;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
}
.footer__col h4 {
  font-size: var(--fs-tag);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-small); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.45);
  gap: 16px;
  flex-wrap: wrap;
}
.footer__certs {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__cert {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   Pixel pattern (signature graphique)
   ============================================================ */
.pixel-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--pixel-intensity);
  overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at center, black 35%, transparent 92%);
          mask-image: radial-gradient(ellipse 75% 75% at center, black 35%, transparent 92%);
}
.pixel-field svg { width: 100%; height: 100%; overflow: visible; }
.pixel-field--top-right {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 620px;
  height: 620px;
  inset: auto;
  -webkit-mask-image: radial-gradient(circle at 75% 25%, black 12%, transparent 70%);
          mask-image: radial-gradient(circle at 75% 25%, black 12%, transparent 70%);
}
.pixel-field--side-right {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 65%;
  height: 120%;
  inset: auto;
  -webkit-mask-image: linear-gradient(265deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, transparent 92%);
          mask-image: linear-gradient(265deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, transparent 92%);
}
.pixel-field--full-soft {
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at center, black 25%, transparent 95%);
          mask-image: radial-gradient(ellipse 90% 70% at center, black 25%, transparent 95%);
}
.pixel-stairs {
  display: inline-block;
  position: relative;
}

/* ============================================================
   Card primitives
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all 200ms var(--easing);
}
.card:hover {
  border-color: var(--lux-teal-200);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.card--feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: 96px;
  padding-bottom: var(--section-y);
  overflow-x: clip;
}

/* Dark hero variant — full-bleed photographic feel */
.hero--dark {
  background: var(--lux-navy-deep);
  color: rgba(255,255,255,0.85);
  padding-top: 140px;
  padding-bottom: clamp(96px, 11vw, 144px);
  margin-top: -88px;
  border-bottom: 0;
}
.hero--dark::before {
  content: '';
  position: absolute;
  inset: -200px 0 0 0;
  background:
    radial-gradient(58% 75% at 78% 28%, rgba(46,184,201,0.32), transparent 70%),
    radial-gradient(50% 60% at 12% 80%, rgba(94,90,176,0.28), transparent 70%),
    radial-gradient(80% 100% at 50% 110%, rgba(46,184,201,0.10), transparent 70%),
    linear-gradient(160deg, #0F0E26 0%, #161434 35%, #1B194D 65%, #232066 100%);
  z-index: 0;
  pointer-events: none;
}
.hero--dark::after {
  /* Soft transition to next section */
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(15,14,38,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero--dark .display-xl { color: #FFFFFF; }
.hero--dark .display-xl .h-accent {
  background: linear-gradient(95deg, #FFFFFF 0%, #7BD2DD 60%, #2EB8C9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero--dark .lead { color: rgba(255,255,255,0.72); }
.hero--dark .hero__meta-item { color: rgba(255,255,255,0.65); }
.hero--dark .hero__meta-item svg { color: var(--lux-teal-300); }
.hero--dark .hero__badge {
  background: rgba(46,184,201,0.14);
  border-color: rgba(46,184,201,0.30);
  color: var(--lux-teal-300);
}
.hero--dark .btn--outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
.hero--dark .btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  color: #FFFFFF;
}

.hero .hero__subline {
  display: inline-block;
  font-size: 0.5em;
  line-height: 1.05;
  letter-spacing: -0.012em;
}

.hero__pattern {
  position: absolute;
  inset: 88px 0 0 0;
  width: auto;
  height: auto;
  opacity: calc(var(--pixel-intensity) * 0.55);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 88%, rgba(0,0,0,0.55) 100%);
          mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 88%, rgba(0,0,0,0.55) 100%);
}
@media (max-width: 900px) {
  .hero__pattern { inset: 72px 0 0 0; }
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(46,184,201,0.08);
  border: 1px solid rgba(46,184,201,0.22);
  color: var(--lux-teal-700);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 500;
  width: fit-content;
  text-decoration: none;
  transition: background 160ms var(--easing), border-color 160ms var(--easing), transform 160ms var(--easing);
}
.hero__badge:hover {
  background: rgba(46,184,201,0.14);
  border-color: rgba(46,184,201,0.40);
}
.hero--dark .hero__badge:hover {
  background: rgba(46,184,201,0.22);
  border-color: rgba(46,184,201,0.50);
}
.hero__badge svg {
  transition: transform 160ms var(--easing);
}
.hero__badge:hover svg {
  transform: translateX(2px);
}
.hero__badge-tag {
  background: var(--lux-teal);
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 .h-accent { display: inline-block; }
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--ink-600);
}
.hero__meta-item svg { color: var(--lux-teal); flex-shrink: 0; }

/* Hero visual (mockup-ish) */
.hero__visual {
  position: relative;
  z-index: 1;
}
.hero__pixel-bg {
  position: absolute;
  inset: -40px -60px -40px 0;
  z-index: 0;
  background: radial-gradient(60% 80% at 70% 50%, rgba(46,184,201,0.10) 0%, rgba(46,184,201,0) 70%),
              radial-gradient(50% 70% at 40% 30%, rgba(35,32,102,0.08) 0%, rgba(35,32,102,0) 70%);
}
.hero__device {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-default);
  box-shadow: 0 30px 80px -20px rgba(35,32,102,0.25), 0 8px 20px rgba(15,18,38,0.06);
  overflow: hidden;
}
.hero__device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  background: var(--ink-025);
}
.hero__device-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); }
.hero__device-url {
  margin-left: 8px;
  background: var(--paper);
  border: 1px solid var(--border-default);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  flex: 1;
  max-width: 280px;
}
.hero__device-body {
  padding: 24px;
}
.hero--dark .hero__pixel-bg {
  background: radial-gradient(60% 80% at 70% 50%, rgba(46,184,201,0.18) 0%, rgba(46,184,201,0) 70%),
              radial-gradient(50% 70% at 40% 30%, rgba(94,90,176,0.20) 0%, rgba(35,32,102,0) 70%);
}
.hero--dark .hero__device {
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero--dark .hero__floater {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* Photo placeholder for hero — user can replace via image-slot drop */
.hero__photo-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__photo-slot image-slot {
  width: 100%;
  height: 100%;
}

/* Floating card */
.hero__floater {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
}
.hero__floater--tl { top: -16px; left: -28px; }
.hero__floater--br { bottom: -20px; right: -24px; }
.hero__floater-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--lux-teal-050);
  color: var(--lux-teal-700);
  display: flex; align-items: center; justify-content: center;
}
.hero__floater-meta { display: flex; flex-direction: column; gap: 2px; }
.hero__floater-label { font-size: 11px; color: var(--ink-500); }
.hero__floater-value { font-weight: 600; color: var(--ink-900); }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__floater--tl { display: none; }
  .pixel-field--top-right { opacity: calc(var(--pixel-intensity) * 0.4); width: 320px; height: 320px; }
}

@media (max-width: 540px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn {
    width: 100%;
    white-space: normal;
    justify-content: center;
    padding: 14px 18px;
  }
}

/* ============================================================
   Client logos strip
   ============================================================ */
.logos-strip {
  padding-block: 48px;
  border-block: 1px solid var(--border-default);
  background: var(--paper);
}
.logos-strip__label {
  font-size: var(--fs-overline);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}
.logos-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 36px;
  align-items: center;
}
.logo-plaque {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: -0.005em;
  text-align: center;
  font-size: 15px;
  line-height: 1.15;
  transition: color 200ms var(--easing), transform 200ms var(--easing);
  filter: saturate(0);
}
.logo-plaque span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: 4px;
  opacity: 0.7;
}
.logo-plaque:hover {
  color: var(--lux-navy);
  filter: saturate(1);
}
.logo-plaque:hover span { color: var(--lux-teal-700); opacity: 1; }

@media (max-width: 900px) {
  .logos-strip__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Platforms (FXP + MySafeBox)
   ============================================================ */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.platform-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 220ms var(--easing);
  overflow: hidden;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lux-teal-200);
}
.platform-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  color: #FFFFFF;
}
.platform-card--fxp .platform-card__icon { background: var(--lux-navy); }
.platform-card--msb .platform-card__icon { background: var(--lux-teal); }
.platform-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.platform-card__title-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.platform-card__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--lux-navy);
  margin: 0;
}
.platform-card__caption {
  font-size: var(--fs-small);
  color: var(--ink-500);
  margin: 0;
}
.platform-card__badge {
  background: var(--lux-teal);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}
.platform-card__body { color: var(--ink-600); font-size: var(--fs-body); line-height: 1.65; margin: 0; }
.platform-card__features {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.platform-card__features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: var(--fs-small); color: var(--ink-700);
}
.platform-card__features svg { color: var(--lux-teal); flex-shrink: 0; margin-top: 3px; }
.platform-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: var(--lux-navy);
  margin-top: auto;
  padding-top: 8px;
  transition: gap 200ms var(--easing);
}
.platform-card__cta:hover { gap: 12px; color: var(--lux-teal-700); }

@media (max-width: 880px) {
  .platforms-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   IA DEV bloc (gradient section)
   ============================================================ */
.iadev {
  position: relative;
  overflow: hidden;
}
.iadev::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 85% 15%, rgba(46,184,201,0.35), transparent 70%),
    radial-gradient(40% 50% at 10% 85%, rgba(94,90,176,0.30), transparent 70%);
  pointer-events: none;
}
.iadev__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}
.iadev__inner .section-head { margin-bottom: 0; }
.iadev__features {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
  width: 100%;
}
.iadev__features li {
  display: flex; gap: 12px;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.86);
  line-height: 1.5;
}
.iadev__features svg { color: var(--lux-teal-300); flex-shrink: 0; margin-top: 4px; }
.iadev__cta { display: flex; justify-content: center; }

@media (max-width: 980px) {
  .iadev__features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .iadev__features { grid-template-columns: 1fr; }
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #FFFFFF;
}
.stat {
  padding: 36px 32px;
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat:last-child { border-right: 0; }
.stat__number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--lux-navy);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat__number .unit {
  font-size: 0.6em;
  color: var(--lux-teal);
  margin-left: 2px;
}
.stat__label {
  font-size: var(--fs-small);
  color: var(--ink-500);
}
@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border-default); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border-default); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================
   Certifications
   ============================================================ */
.certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  transition: all 200ms var(--easing);
}
.cert:hover {
  border-color: var(--lux-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cert__seal {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lux-navy-050);
  color: var(--lux-navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  border: 1px solid var(--lux-navy-100);
}
.cert__seal--img {
  background: transparent;
  border: 0;
  width: 72px;
  height: 72px;
  padding: 6px;
}
.cert__seal--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1) contrast(1);
  transition: transform 200ms var(--easing);
}
.cert--logo:hover .cert__seal--img img {
  transform: scale(1.04);
}
.cert--pending .cert__seal {
  background: var(--ink-050);
  border-color: var(--border-default);
  color: var(--ink-500);
}
.cert__name {
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--lux-navy);
}
.cert__status {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 500;
}
.cert--pending .cert__status { color: var(--warning); }

@media (max-width: 880px) {
  .certs { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Luxgap banner
   ============================================================ */
.luxgap {
  background: var(--paper);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.luxgap__mark {
  display: flex;
  align-items: center;
  padding-right: 32px;
  border-right: 1px solid var(--border-default);
  flex-shrink: 0;
}
.luxgap__mark img {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
}
@media (max-width: 900px) {
  .luxgap__mark { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--border-default); padding-bottom: 20px; }
  .luxgap__mark img { height: 56px; }
}
.luxgap__body p {
  margin: 0;
  color: var(--ink-700);
  font-size: var(--fs-body);
  line-height: 1.55;
}
.luxgap__body .luxgap-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 10px;
}
.luxgap__body .luxgap-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--lux-navy-050);
  color: var(--lux-navy);
  padding: 3px 8px;
  border-radius: var(--r-xs);
  font-weight: 500;
}

@media (max-width: 900px) {
  .luxgap { grid-template-columns: 1fr; gap: 20px; }
  .luxgap__mark { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--border-default); padding-bottom: 20px; }
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  overflow: hidden;
}
.final-cta__pixels {
  position: absolute;
  inset: -8% -5%;
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at center, black 30%, transparent 95%);
          mask-image: radial-gradient(ellipse 95% 80% at center, black 30%, transparent 95%);
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.final-cta__copy { display: flex; flex-direction: column; gap: 20px; }
.final-cta__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.final-cta__form h3 {
  color: #FFFFFF;
  margin: 0 0 6px;
  font-size: var(--fs-h2);
  font-weight: 600;
}
.final-cta__form .form-sub {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-small);
  margin: 0 0 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.field input, .field textarea, .field select {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: var(--fs-body);
  outline: none;
  transition: border-color 200ms var(--easing);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--lux-teal);
  box-shadow: 0 0 0 3px rgba(46,184,201,0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Form on light surfaces */
.form--light .field label { color: var(--ink-600); }
.form--light .field input,
.form--light .field textarea,
.form--light .field select {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  color: var(--ink-900);
}
.form--light .field input::placeholder,
.form--light .field textarea::placeholder { color: var(--ink-400); }
.form--light .field input:focus,
.form--light .field textarea:focus,
.form--light .field select:focus {
  border-color: var(--lux-teal);
  box-shadow: 0 0 0 3px rgba(46,184,201,0.18);
}

@media (max-width: 980px) {
  .final-cta__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Page-content (secondary pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: clamp(72px, 9vw, 112px);
  margin-top: -88px;
  background: var(--lux-navy-deep);
  color: rgba(255,255,255,0.85);
  overflow-x: clip;
  border-bottom: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -200px 0 0 0;
  background:
    radial-gradient(58% 75% at 78% 28%, rgba(46,184,201,0.32), transparent 70%),
    radial-gradient(50% 60% at 12% 80%, rgba(94,90,176,0.28), transparent 70%),
    radial-gradient(80% 100% at 50% 110%, rgba(46,184,201,0.10), transparent 70%),
    linear-gradient(160deg, #0F0E26 0%, #161434 35%, #1B194D 65%, #232066 100%);
  z-index: 0;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(15,14,38,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-hero .display-l,
.page-hero .display-m,
.page-hero h1 { color: #FFFFFF; }
.page-hero .h-accent {
  background: linear-gradient(95deg, #FFFFFF 0%, #7BD2DD 60%, #2EB8C9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lead { color: rgba(255,255,255,0.72); }
.page-hero .eyebrow { color: var(--lux-teal-300); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.5); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb a:hover { color: #FFFFFF; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.3); }
.page-hero .btn--outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
.page-hero .btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  color: #FFFFFF;
}
@media (max-width: 900px) {
  .page-hero { margin-top: -72px; padding-top: 120px; }
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero__inner .lead { max-width: 60ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--ink-500);
}
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--lux-navy); }
.breadcrumb .sep { color: var(--ink-300); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--lux-teal-050);
  color: var(--lux-teal-700);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 {
  font-size: var(--fs-h3);
  margin: 0;
  color: var(--lux-navy);
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--ink-600);
  font-size: var(--fs-small);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--easing), transform 600ms var(--easing);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Section photos (image-slot drops, dark mode)
   ============================================================ */
.hero__photo,
.section-photo {
  position: absolute !important;
  z-index: 0;
  display: block;
  width: auto !important;
  height: auto !important;
  color: rgba(255,255,255,0.62) !important;
  font: 500 13px/1.4 var(--font-sans) !important;
}
.hero__photo { inset: 88px 0 0 0; }
.iadev__photo { inset: 0; }
.final-cta__photo { inset: 0; }
@media (max-width: 900px) {
  .hero__photo { inset: 72px 0 0 0; }
}

.hero__photo::part(frame),
.section-photo::part(frame) {
  background: transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 88%, rgba(0,0,0,0.4) 100%);
          mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 88%, rgba(0,0,0,0.4) 100%);
}
.hero__photo::part(ring),
.section-photo::part(ring) {
  border: 1.5px dashed rgba(255,255,255,0.16);
}
.hero__photo::part(image),
.section-photo::part(image) {
  filter: grayscale(0.4) brightness(0.55) saturate(0.85) contrast(1.05);
  mix-blend-mode: luminosity;
}

/* Hero gradient becomes semi-transparent so the photo shows through */
.hero--dark::before {
  background:
    radial-gradient(58% 75% at 78% 28%, rgba(46,184,201,0.42), transparent 70%),
    radial-gradient(50% 60% at 12% 80%, rgba(94,90,176,0.38), transparent 70%),
    radial-gradient(80% 100% at 50% 110%, rgba(46,184,201,0.18), transparent 70%),
    linear-gradient(160deg, rgba(15,14,38,0.78) 0%, rgba(22,20,52,0.72) 35%, rgba(27,25,77,0.82) 65%, rgba(35,32,102,0.78) 100%) !important;
  z-index: 1 !important;
}

/* Final CTA — overlay a semi-transparent navy + accents above the dropped photo */
.final-cta { position: relative; }
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(46,184,201,0.28), transparent 70%),
    radial-gradient(50% 70% at 15% 80%, rgba(94,90,176,0.22), transparent 70%),
    linear-gradient(160deg, rgba(15,14,38,0.85) 0%, rgba(27,25,77,0.82) 60%, rgba(35,32,102,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.final-cta > .container { position: relative; z-index: 2; }

/* IA DEV gradient overlay sits above the photo */
.iadev::before { z-index: 1; }
.iadev > .container { position: relative; z-index: 2; }

/* ============================================================
   Utility
   ============================================================ */
.stack { display: flex; flex-direction: column; }
.row { display: flex; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.mono { font-family: var(--font-mono); }

/* =============================================================
   FAQ — accordion items
   Used on product/service pages + /faq
   ============================================================= */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--border-default);
}
.faq__item {
  border-bottom: 1px solid var(--border-default);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--lux-navy);
  letter-spacing: -0.012em;
  line-height: 1.35;
  transition: color 180ms var(--easing);
}
.faq__q:hover { color: var(--lux-teal-700); }
.faq__q:focus-visible {
  outline: 2px solid var(--lux-teal);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lux-teal-050);
  color: var(--lux-teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms var(--easing), background 220ms var(--easing);
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--lux-teal-100);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--easing);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden;
  min-height: 0;
}
.faq__a-text {
  padding: 0 4px 24px;
  max-width: 68ch;
  color: var(--ink-700);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.faq__a-text p { margin: 0 0 10px; }
.faq__a-text p:last-child { margin-bottom: 0; }
.faq__a-text a { color: var(--lux-teal-700); text-decoration: underline; text-underline-offset: 3px; }
.faq__a-text ul { margin: 8px 0; padding-left: 20px; }
.faq__a-text li { margin: 4px 0; }

/* FAQ on dark sections */
.section--dark .faq,
.faq--on-dark { border-top-color: rgba(255,255,255,0.14); }
.section--dark .faq__item,
.faq--on-dark .faq__item { border-bottom-color: rgba(255,255,255,0.14); }
.section--dark .faq__q,
.faq--on-dark .faq__q { color: #FFFFFF; }
.section--dark .faq__q:hover,
.faq--on-dark .faq__q:hover { color: var(--lux-teal-300); }
.section--dark .faq__icon,
.faq--on-dark .faq__icon { background: rgba(255,255,255,0.08); color: var(--lux-teal-300); }
.section--dark .faq__a-text,
.faq--on-dark .faq__a-text { color: rgba(255,255,255,0.78); }

@media (prefers-reduced-motion: reduce) {
  .faq__a { transition: none; }
  .faq__icon { transition: none; }
}

/* =============================================================
   Facts panel — compact key-value grid for /a-propos
   ============================================================= */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px);
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}
.facts__cell {
  position: relative;
  padding: 16px 0 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.facts__cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--lux-teal);
  border-radius: 2px;
}
.facts__cell:last-child { border-right: 0; }
.facts__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.facts__v {
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.18;
  font-feature-settings: "tnum" 1;
}
.facts__sub {
  font-size: var(--fs-small);
  color: var(--ink-500);
  line-height: 1.5;
}
@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Article pages (actualites/*.html)
   ============================================================ */
.article-hero .page-hero__inner { gap: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--lux-teal-300); }

.article-hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  width: fit-content;
}
.article-hero__pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lux-teal-300);
  background: rgba(46,184,201,0.14);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}
.article-hero__feat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.article-hero__feat::before {
  content: '·'; margin-right: 8px; color: rgba(255,255,255,0.30);
}
.article-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 20px;
  margin-top: 12px;
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-small);
}
.article-hero__author { display: flex; align-items: center; gap: 12px; }
.article-hero__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lux-teal) 0%, var(--lux-navy) 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.article-hero__author > div { display: flex; flex-direction: column; }
.article-hero__author strong { color: #FFFFFF; font-weight: 600; font-size: 14px; }
.article-hero__author span { font-size: 12px; color: rgba(255,255,255,0.55); }
.article-hero__sep { width: 1px; height: 28px; background: rgba(255,255,255,0.18); }
.article-hero__pubinfo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.60);
}
.article-hero__pubinfo span { color: rgba(255,255,255,0.25); }

.article-cover-wrap {
  background: linear-gradient(180deg, var(--lux-navy-deep) 0%, var(--lux-navy-deep) 50%, #FFFFFF 50%, #FFFFFF 100%);
}
.article-cover {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(35, 32, 102, 0.5), 0 8px 20px rgba(15,18,38,0.18);
}
.article-cover__art {
  aspect-ratio: 21 / 9;
  background:
    radial-gradient(80% 60% at 80% 30%, rgba(46,184,201,0.35), transparent 60%),
    radial-gradient(60% 100% at 10% 90%, rgba(94,90,176,0.35), transparent 60%),
    linear-gradient(135deg, #161434 0%, #232066 70%, #2EB8C9 100%);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: #FFFFFF;
}
.article-cover__brand {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-shadow: 0 0 80px rgba(46,184,201,0.5);
}
.article-cover__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.article-cover__pix {
  position: absolute; inset: 0; opacity: 0.25; pointer-events: none;
}
.article-cover figcaption {
  padding: 14px 22px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-default);
  color: var(--ink-600);
  font-size: var(--fs-small);
  font-style: italic;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(220px, 240px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex; flex-direction: column; gap: 28px;
}
.article-toc__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lux-teal-700);
  display: block;
  margin-bottom: 12px;
}
.article-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border-default);
}
.article-toc li {
  counter-increment: toc;
  position: relative;
}
.article-toc a {
  display: block;
  padding: 10px 16px;
  font-size: var(--fs-small);
  color: var(--ink-600);
  text-decoration: none;
  transition: color 160ms var(--easing);
}
.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--lux-teal);
  letter-spacing: 0.08em;
  margin-right: 10px;
  font-weight: 600;
}
.article-toc li:hover a, .article-toc a:hover { color: var(--lux-navy); }
.article-toc li::before {
  content: '';
  position: absolute;
  left: -1px; top: 10px;
  width: 2px; height: 20px;
  background: var(--lux-teal);
  opacity: 0;
  transition: opacity 200ms var(--easing);
}
.article-toc li:hover::before { opacity: 1; }

.article-share__row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.article-share__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  color: var(--ink-700);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms var(--easing), border-color 180ms var(--easing), color 180ms var(--easing);
}
.article-share__btn:hover {
  background: var(--lux-navy);
  border-color: var(--lux-navy);
  color: #FFFFFF;
}
.article-share__btn svg { color: currentColor; flex-shrink: 0; }

.article-body {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-700);
}
.article-body__lede {
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--ink-900);
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 3px solid var(--lux-teal);
}
.article-body__lede strong { color: var(--lux-navy); font-weight: 600; }
.article-body p { margin: 0 0 24px; }
.article-body p em { font-style: italic; color: var(--ink-600); }
.article-body h2 {
  margin: 56px 0 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
  scroll-margin-top: 96px;
}
.article-body h2:first-child { margin-top: 0; }

.article-numlist {
  list-style: none;
  counter-reset: nlist;
  padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.article-numlist li {
  counter-increment: nlist;
  position: relative;
  padding: 20px 24px 20px 80px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
}
.article-numlist li::before {
  content: counter(nlist, decimal-leading-zero);
  position: absolute;
  left: 24px; top: 20px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--lux-teal);
  letter-spacing: -0.01em;
}
.article-numlist li strong { color: var(--lux-navy); font-weight: 600; }

.article-list {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.article-list li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.65;
}
.article-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 14px; height: 2px;
  background: var(--lux-teal);
}

.article-pullquote {
  margin: 40px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--lux-navy) 0%, #1B194D 100%);
  color: #FFFFFF;
  border-radius: var(--r-lg);
  position: relative;
}
.article-pullquote::before {
  content: '"';
  position: absolute;
  top: -8px; left: 18px;
  font-size: 80px;
  font-weight: 700;
  color: var(--lux-teal-300);
  opacity: 0.35;
  line-height: 1;
}
.article-pullquote p {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: #FFFFFF;
  font-style: italic;
  letter-spacing: -0.005em;
}
.article-pullquote cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lux-teal-300);
}

.article-clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 40px;
}
.article-client {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.article-client__brand {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  padding: 14px 16px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  min-height: 56px;
}
.article-client strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--lux-navy);
  letter-spacing: -0.01em;
}
.article-client p {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 720px) { .article-clients { grid-template-columns: 1fr; } }

.article-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  margin: 16px 0 48px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
}
.cta-link {
  color: var(--ink-600);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-body);
}
.cta-link:hover { color: var(--lux-teal-700); }

.article-foot {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
  display: flex; flex-direction: column; gap: 24px;
}
.article-foot__author {
  display: flex; gap: 14px;
  padding: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
}
.article-foot__author > div { display: flex; flex-direction: column; gap: 2px; }
.article-foot__author strong { color: var(--lux-navy); font-weight: 600; font-size: 15px; }
.article-foot__author > div > span { color: var(--ink-500); font-size: 12px; }
.article-foot__author p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.55;
}
.article-foot__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.article-foot__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lux-teal-700);
  background: var(--lux-teal-050);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

@media (max-width: 980px) {
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; flex-direction: row; gap: 32px; flex-wrap: wrap; }
  .article-toc, .article-share { flex: 1; min-width: 240px; }
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: all 220ms var(--easing);
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--lux-teal-200);
  box-shadow: var(--shadow-lg);
}
.related-card__cover {
  aspect-ratio: 16 / 9;
  position: relative;
}
.related-card__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.related-card__body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.related-card__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lux-teal-700);
}
.related-card__meta time { color: var(--ink-500); }
.related-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.related-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.related-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: var(--fs-small);
  line-height: 1.55;
}
@media (max-width: 980px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .related-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Contact page — embedded map
   ============================================================ */
.contact-map {
  position: relative;
  aspect-ratio: 1.4 / 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-default);
  background: var(--ink-050);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15,18,38,0.04), 0 12px 28px -16px rgba(35,32,102,0.22);
}
.contact-map #contact-map {
  width: 100%;
  height: 100%;
  background: var(--ink-050);
}
.contact-map .leaflet-tile-pane {
  /* Strip OSM's default cream/green palette toward a cool neutral that
     reads as part of the Luxapps brand. The filter is scoped to the
     tile pane so the pin and zoom controls stay vivid. */
  filter: grayscale(0.9) saturate(0.7) brightness(1.03) contrast(0.94);
}
.contact-map .leaflet-tile-pane::after {
  /* Soft navy-to-teal tint blended over the desaturated tiles. */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35,32,102,0.22) 0%, rgba(46,184,201,0.14) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}
.contact-map__divpin {
  filter: drop-shadow(0 6px 14px rgba(15,18,38,0.45));
  line-height: 0;
  background: transparent;
  border: 0;
}
/* Tighten Leaflet's default UI to match the brand */
.contact-map .leaflet-control-zoom a {
  background: rgba(255,255,255,0.96);
  color: var(--lux-navy);
  border-color: var(--border-default);
}
.contact-map .leaflet-control-zoom a:hover {
  background: #FFFFFF;
  color: var(--lux-teal-700);
}
.contact-map .leaflet-control-attribution {
  background: rgba(255,255,255,0.86);
  color: var(--ink-500);
  font-size: 10px;
}
.contact-map .leaflet-control-attribution a { color: var(--lux-teal-700); }

/* ============================================================
   Legal pages (mentions, confidentialite, cookies)
   ============================================================ */
.legal-doc {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-700);
}
.legal-doc h2 {
  margin: 48px 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
  scroll-margin-top: 96px;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.legal-doc p { margin: 0 0 18px; }
.legal-doc strong { color: var(--lux-navy); font-weight: 600; }
.legal-doc em { font-style: italic; color: var(--ink-600); }
.legal-doc code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--ink-050);
  color: var(--lux-navy);
}
.legal-doc a { color: var(--lux-teal-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--lux-navy); }

.legal-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 18px 22px;
}
.legal-meta li { display: contents; }
.legal-meta li > span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  padding-top: 4px;
}
.legal-meta li > span:last-child {
  font-size: 15px;
  color: var(--ink-800);
}

.legal-updated {
  margin-top: 48px !important;
  font-size: 13px;
  color: var(--ink-500);
  font-style: italic;
  padding-top: 18px;
  border-top: 1px solid var(--border-default);
}

@media (max-width: 640px) {
  .legal-meta { grid-template-columns: 1fr; gap: 4px 0; }
  .legal-meta li > span:first-child { padding-top: 12px; }
  .legal-meta li:first-child > span:first-child { padding-top: 0; }
}

/* ============================================================
   Form privacy notice
   ============================================================ */
.form-privacy {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--ink-500);
  line-height: 1.5;
}
.form-privacy a { color: var(--ink-600); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy a:hover { color: var(--lux-teal-700); }

/* ============================================================
   Contact / newsletter forms — CRM relay
   ============================================================ */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
}
.field-rgpd input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--lux-teal);
  flex-shrink: 0;
}
.field-rgpd label {
  font-size: 13px;
  color: var(--ink-600);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.5;
}
.field-rgpd label a { color: var(--lux-teal-700); text-decoration: underline; text-underline-offset: 2px; }
.field-rgpd label a:hover { color: var(--lux-navy); }

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(199,58,45,0.12);
}
.field-rgpd.is-invalid label { color: var(--danger); }

[data-crm-form] button[type="submit"][disabled] {
  opacity: 0.7;
  cursor: progress;
}
[data-crm-form] button[type="submit"].is-success {
  background: var(--success);
  border-color: var(--success);
}

.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-status[hidden] { display: none; }
.form-status--ok {
  background: rgba(0,160,149,0.08);
  border-color: rgba(0,160,149,0.30);
  color: var(--success);
}
.form-status--err {
  background: rgba(199,58,45,0.06);
  border-color: rgba(199,58,45,0.28);
  color: var(--danger);
}
.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-status a:hover { color: var(--lux-navy); }

/* ============================================================
   Technical docs (connecteur-sso.html, connecteur-graph.html)
   ============================================================ */
.tech-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tech-deliverables li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.tech-deliverables__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--lux-teal);
  line-height: 1;
}
.tech-deliverables strong {
  display: block;
  font-size: 15px;
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.tech-deliverables p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.5;
}
@media (max-width: 720px) { .tech-deliverables { grid-template-columns: 1fr; } }

.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-size: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  overflow: hidden;
}
.tech-table thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lux-teal-700);
  font-weight: 700;
  background: var(--bg-soft);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
}
.tech-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  color: var(--ink-700);
  vertical-align: top;
}
.tech-table tr:last-child td { border-bottom: 0; }
.tech-table td strong { color: var(--lux-navy); font-weight: 600; }
.tech-table td code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 2px 6px;
  background: var(--ink-050);
  border-radius: var(--r-sm);
  color: var(--lux-navy);
  word-break: break-all;
}

.tech-callout {
  margin: 24px 0 32px;
  padding: 18px 22px;
  background: var(--lux-teal-050);
  border-left: 3px solid var(--lux-teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.tech-callout strong {
  display: block;
  font-size: 14px;
  color: var(--lux-navy);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.tech-callout p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-700);
  line-height: 1.6;
}
.tech-callout--warn {
  background: rgba(201,122,31,0.08);
  border-left-color: var(--warning);
}
.tech-callout--warn strong { color: var(--warning); }
