/**
 * Demo landing — structure aligned with common open-finance marketing patterns
 * (e.g. dark hero, centered headline, map motif). Placeholder copy & assets only.
 */

@font-face {
  font-family: "Gilroy";
  src: url(https://d1uuj3mi6rzwpm.cloudfront.net/_nuxt/fonts/gilroy-light-webfont.79262ea.eot);
  src: url(https://d1uuj3mi6rzwpm.cloudfront.net/_nuxt/fonts/gilroy-light-webfont.79262ea.eot?#iefix)
      format("embedded-opentype"),
    url(https://d1uuj3mi6rzwpm.cloudfront.net/_nuxt/fonts/gilroy-light-webfont.e5040c8.woff2)
      format("woff2"),
    url(https://d1uuj3mi6rzwpm.cloudfront.net/_nuxt/fonts/gilroy-light-webfont.79a7cd7.woff)
      format("woff"),
    url(https://d1uuj3mi6rzwpm.cloudfront.net/_nuxt/fonts/gilroy-light-webfont.44a5b2c.ttf)
      format("truetype"),
    url(https://d1uuj3mi6rzwpm.cloudfront.net/_nuxt/img/gilroy-light-webfont.d81f321.svg#gilroylight)
      format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --hero-bg: #001139;
  --hero-bg-2: #000a2e;
  --blue: #2152ff;
  --blue-hover: #1a45e6;
  --suite-purple: #2152ff;
  --suite-purple-muted: #93c5fd;
  --suite-card-bg: #f1f4fb;
  --btn-secondary-bg: #d8d4e8;
  --btn-secondary-text: #0c1930;
  --navy: #0c1930;
  --text: #1a1a1a;
  --text-muted: #5a6570;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --font-sans: "Gilroy", system-ui, sans-serif;
  --font-display: "Gilroy", system-ui, sans-serif;
  --max: 1180px;
  --radius: 4px;
  --radius-lg: 4px;
  --shadow: 0 20px 50px rgba(3, 11, 31, 0.12);
  /* Rythme vertical / horizontal commun (sections, cartes, footer) */
  --section-pad-y: clamp(2.5rem, 5.5vw, 3.5rem);
  --section-pad-x: clamp(1.25rem, 4vw, 2rem);
  --section-gap: clamp(1.5rem, 3vw, 2.25rem);
  --section-gap-lg: clamp(2rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

p {
  font-size: clamp(0.9375rem, 2.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy);
  font-size: clamp(1.25rem, 4.2vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  position: relative;
  text-align: left;
  width: auto;
  margin: 0;
  z-index: 1;
}

/* Titres de contenu : pas de plein écran 88px / centré (surcharge des règles ci‑dessus) */
#main .split-title,
#main .features-bento__hero-title,
#main .features-bento__card-title,
#main .integration-subtitle,
.mega-heading,
.site-footer .footer-col h4,
.cookie-pop-title {
  text-align: left;
  width: auto;
  z-index: auto;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2 * var(--section-pad-x)), var(--max));
  margin-inline: auto;
}

a {
  color: var(--blue);
}

/* ========== Hero shell (header + hero) ========== */
.hero-shell {
  position: relative;
  background: var(--hero-bg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero-shell > .site-header {
  flex-shrink: 0;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header--on-hero {
  background: var(--hero-bg);
  border-bottom: none;
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(3, 11, 31, 0.06);
}

.header-inner {
  width: min(calc(100% - 2 * var(--section-pad-x)), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

/* Même asset que landing_header.php (assets/img/logo-black.png) */
.logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.site-header--on-hero .logo-img {
  filter: brightness(0) invert(1);
}

.site-header--solid .logo-img {
  filter: none;
}

.logo--footer .logo-img,
.logo-img--footer {
  filter: brightness(0) invert(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-header--solid .nav-toggle {
  border-color: var(--border);
  background: #fff;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
}

.site-header--solid .nav-toggle-bar,
.site-header--solid .nav-toggle-bar::before,
.site-header--solid .nav-toggle-bar::after {
  background: var(--navy);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-header.nav-open .nav-toggle-bar {
  background: transparent;
}

.site-header.nav-open .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-group {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

/* Replace href when the Company page exists */
a.nav-link--tbd {
  cursor: default;
}

.site-header--on-hero .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.site-header--solid .nav-link {
  color: var(--navy);
}

a.nav-link:hover,
.nav-link:hover {
  color: var(--blue);
}

.site-header--on-hero a.nav-link:hover,
.site-header--on-hero .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 720px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  z-index: 200;
}

.mega--narrow {
  min-width: 320px;
  left: 0;
  transform: none;
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.mega-inner--stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mega-heading {
  margin: 0 0 0.5rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.mega-col a,
.mega-inner--stack a {
  display: block;
  padding: 0.4rem 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.35;
}

.mega-desc {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mega-col a:hover,
.mega-inner--stack a:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header--solid .nav-actions {
  border-left-color: var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}

.btn-secondary-light {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-bg);
}

.btn-secondary-light:hover {
  filter: brightness(1.05);
  color: var(--btn-secondary-text);
}

.btn-text {
  background: transparent;
  border-color: transparent;
}

.btn-nav-ghost {
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-header--solid .btn-nav-ghost {
  color: var(--navy) !important;
}

.btn-nav-cta {
  font-size: 13px;
}

.site-header--solid .btn-primary.btn-nav-cta {
  background: var(--blue);
  color: #fff;
}

.site-header--solid .btn-secondary-light {
  background: var(--surface-soft);
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-lg {
  padding: 0.75rem 1.6rem;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 12px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--section-pad-y) var(--section-pad-x) calc(var(--section-pad-y) * 1.05);
  overflow: hidden;
}

.hero-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-world-map-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(52vh, 460px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  /* Fondre la carte dans le hero (disparaît vers le haut) */
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.92) 42%,
    rgba(0, 0, 0, 0.55) 72%,
    rgba(0, 0, 0, 0.18) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.92) 42%,
    rgba(0, 0, 0, 0.55) 72%,
    rgba(0, 0, 0, 0.18) 88%,
    transparent 100%
  );
}

.hero-world-map {
  width: min(135vw, 1140px);
  max-width: none;
  flex-shrink: 0;
  transform: translateY(32%);
  opacity: 0.88;
}

.hero-world-map-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: soft-light;
  opacity: 0.94;
  filter: blur(0.45px);
}

.hero-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 1;
  border-radius: 0;
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding-inline: 0;
}

.hero-report {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.45rem 1rem 0.45rem 0.35rem;
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #e8eef8;
  font-size: 13px;
  text-decoration: none;
  max-width: 100%;
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
}

.hero-report:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-report-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-report-text {
  text-align: left;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 8vw, 88px);
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 1rem;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.hero-title-line {
  display: block;
  font-size: clamp(1.85rem, 6.5vw, 3.75rem);
  letter-spacing: 0.02em;
}

.hero-sub {
  margin: 0 auto 1.75rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2.6vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: var(--section-gap);
}

.hero-cta .btn-lg {
  padding: 0.8rem 2.35rem;
  min-width: 12.5rem;
}

.hero-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}

.flag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 33px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.flag-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-flags-more {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.5rem;
  letter-spacing: 0.01em;
}

a.hero-flags-more {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

a.hero-flags-more:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

a.hero-flags-more:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ========== Slide scroller (cartes centrées — bande claire #1) ========== */
.slide-scroller {
  position: relative;
  isolation: isolate;
  background: #fafbfc;
  /* Chaque panneau laisse exactement 50px du précédent visible (languette) */
  --slide-stack-reveal: 50px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: var(--section-pad-y);
  /* Moins d’air avant la bande Features (band--stories) */
  padding-bottom: clamp(0.65rem, 2vw, 1.15rem);
  display: flex;
  flex-direction: column;
  min-height: 600px;
  /* pas de gap : l’empilement sticky gère l’espace ; l’intro n’est pas dans un panneau sticky */
  gap: 0;
}

.slide-scroller__panel {
  position: sticky;
  z-index: 0;
  box-sizing: border-box;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(1.9rem, 4.4vw, 2.85rem) var(--section-pad-x)
    clamp(1.1rem, 2.6vw, 2rem);
}

/* Empilement : même hauteur de « palier » de scroll pour chaque section ; seul top augmente (languettes). */
.slide-scroller > section.slide-scroller__panel {
  min-height: 100vh;
  min-height: 100dvh;
}

.slide-scroller > section.slide-scroller__panel:nth-of-type(1) {
  top: 0;
  z-index: 1;
}

.slide-scroller > section.slide-scroller__panel:nth-of-type(2) {
  top: var(--slide-stack-reveal);
  z-index: 2;
}

.slide-scroller > section.slide-scroller__panel:nth-of-type(3) {
  top: calc(var(--slide-stack-reveal) * 2);
  z-index: 3;
}

.slide-scroller > section.slide-scroller__panel:nth-of-type(4) {
  top: calc(var(--slide-stack-reveal) * 3);
  z-index: 4;
}

.slide-scroller > section.slide-scroller__panel:nth-of-type(5) {
  top: calc(var(--slide-stack-reveal) * 4);
  z-index: 5;
}

.slide-scroller__slide_sticky {
  width: 100%;
  max-width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--section-gap);
}

.slide-scroller__slide_sticky > :first-child {
  height: var(--card-height, auto);
}

/* Même gabarit que .slide-scroller__panel : padding horizontal + enfant max-width var(--max) */
.slide-scroller__intro-above {
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--section-pad-x);
  flex-shrink: 0;
  margin-bottom: clamp(0.35rem, 1.2vw, 0.65rem);
}

.slide-scroller__intro-above .slide-scroller__slide_sticky.plans-intro-block {
  gap: 0;
}

/* Pricing / plans intro (replaces band-intro in slide-scroller) */
.plans-intro-block {
  text-align: center;
}

.plans-intro-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  font-family: var(--font-display);
}

.plans-intro-heading {
  margin: 0 auto 1rem;
  max-width: none;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-align: center;
}

.plans-intro-lead {
  margin: 0 auto 1.75rem;
  max-width: none;
  width: 100%;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #64748b;
}

.plans-intro-highlight {
  color: var(--blue);
  font-weight: 700;
}

.plans-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin-top: 0;
  text-align: left;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8edf4 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.plans-offer-card__main {
  padding: clamp(1.35rem, 3.5vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
}

.plans-offer-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.plans-offer-card__subtitle {
  margin: 0 0 1.35rem;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.55;
  color: #64748b;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.plans-offer-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
}

.plans-offer-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: clamp(0.875rem, 1.6vw, 0.9375rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--navy);
}

.plans-offer-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.plans-offer-check svg {
  display: block;
}

.plans-offer-card__aside {
  padding: clamp(1.35rem, 3.5vw, 2.25rem) clamp(1.25rem, 4vw, 2rem);
  border-left: 1px solid #dce3ec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.45);
}

.plans-offer-aside-text {
  margin: 0;
  font-size: clamp(0.9375rem, 1.8vw, 1rem);
  line-height: 1.6;
  color: #475569;
  font-weight: 400;
}

.plans-offer-aside-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--blue);
  text-decoration: none;
}

.plans-offer-aside-cta:hover {
  text-decoration: underline;
  color: var(--blue-hover);
}

@media (max-width: 768px) {
  .plans-offer-card {
    grid-template-columns: 1fr;
  }

  .plans-offer-card__aside {
    border-left: none;
    border-top: 1px solid #dce3ec;
  }

  .plans-offer-grid {
    grid-template-columns: 1fr;
  }
}

/* Moins d’air entre le bloc intro et la première carte sticky */
.slide-scroller > section.slide-scroller__panel:first-of-type {
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
}

/* Typo slide-scroller */
.slide-scroller .band-intro-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 920px;
  margin: 0 auto 1rem;
}

.slide-scroller .band-intro-text {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #5a6570;
  max-width: 820px;
  margin: 0 auto;
}

.slide-scroller .split-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.slide-scroller .split-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.6vw, 2.125rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.slide-scroller .split-lead {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.02em;
  color: #4a5568;
  margin: 0 0 1.15rem;
}

.slide-scroller .split-list--checks {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.5rem;
}

.slide-scroller .split-list--checks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  font-size: clamp(0.9375rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #3d4a5c;
}

.slide-scroller .split-list--checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.35rem;
  text-align: center;
}

.slide-scroller .link-arrow--cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  padding: 0.7rem 1.4rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.slide-scroller .link-arrow--cta:hover {
  background: var(--blue-hover);
  color: #fff;
  text-decoration: none;
}

.slide-scroller .link-arrow--cta::after {
  content: "\2192";
  font-size: 1.05em;
  line-height: 1;
}

.slide-scroller .info-card-list_deep-blue .split-list--checks li {
  color: rgba(255, 255, 255, 0.92);
}

.slide-scroller .info-card-list_deep-blue .split-list--checks li::before {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.slide-scroller .info-card-list_deep-blue .link-arrow--cta {
  background: #fff;
  color: var(--blue);
}

.slide-scroller .info-card-list_deep-blue .link-arrow--cta:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-hover);
}

.info-card-list {
  overflow: hidden;
  /* Padding interne de la carte ; le panneau sticky apporte déjà --section-pad-y sur les côtés */
  padding: var(--section-gap) var(--section-pad-x);
  border-radius: 28px;
  width: 100%;
  box-sizing: border-box;
}

/* Cartes claires slide-scroller */
.info-card-list_default {
  background: linear-gradient(232deg, #f7f9fd 53.32%, #dbe0f0 104.82%);
}

.info-card-list_deep-blue {
  background: linear-gradient(253deg, #001e57 6.77%, #0a227c 91.33%);
}

.slide-scroller > section.slide-scroller__panel:not(:first-of-type) .info-card-list {
  box-shadow: 0 -12px 40px rgba(6, 18, 48, 0.12);
}

.slide-scroller .info-card-list .split {
  border-bottom: none;
  margin: 0;
  padding: 0;
}

/* Texte à gauche, visuel à droite (tous les blocs, y compris sans split--reverse) */
.slide-scroller .split .split-body {
  order: 1;
}

.slide-scroller .split .split-media {
  order: 2;
}

/* Cartes bleu nuit : texte clair */
#main .info-card-list_deep-blue .split-title {
  color: #fff;
}

#main .info-card-list_deep-blue .split-kicker {
  color: #9ec5ff;
}

#main .info-card-list_deep-blue .split-lead,
#main .info-card-list_deep-blue .split-list {
  color: rgba(255, 255, 255, 0.88);
}

#main .info-card-list_deep-blue .link-arrow {
  color: #fff;
}

#main .info-card-list_deep-blue .link-arrow:hover {
  color: rgba(255, 255, 255, 0.85);
}

#main .info-card-list_deep-blue .link-arrow--cta,
#main .info-card-list_deep-blue .link-arrow.link-arrow--cta {
  color: var(--blue);
}

#main .info-card-list_deep-blue .link-arrow--cta:hover,
#main .info-card-list_deep-blue .link-arrow.link-arrow--cta:hover {
  color: var(--blue-hover);
}

/* ========== Intro band ========== */
.band {
  padding: var(--section-pad-y) 0;
}

.band--intro {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.band-intro {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.band-intro-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 1rem;
}

.band-intro-text {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ========== Split sections ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-gap-lg);
  align-items: center;
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--border);
}

.split--reverse .split-body {
  order: 1;
}

.split--reverse .split-media {
  order: 2;
}

.split-figure {
  margin: 0;
}

.split-figure img {
  border-radius: var(--radius-lg);

}

.split-figure figcaption {
  margin-top: 0.75rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.split-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
}

.split-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.split-lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  text-align: left;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.split-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.split-list li {
  margin-bottom: 0.4rem;
}

.link-arrow {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow--dark {
  color: var(--navy);
}

/* ========== Stories band — bento (bande foncée #2) ========== */
.band--stories {
  background: linear-gradient(165deg, #0f172a 0%, #132a55 42%, #0c1222 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--section-pad-y) 0;
}

#main .slide-scroller + .band.band--stories {
  padding-top: clamp(0.65rem, 2vw, 1.15rem);
}

.features-bento {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

#main .features-bento__section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  text-align: center;
  width: 100%;
  margin: 0 0 var(--section-gap);
}

#main .features-bento__section-heading.visually-hidden {
  margin: 0;
}

.features-bento__top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--section-gap);
  align-items: stretch;
}

.features-bento__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--section-gap);
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: var(--section-gap) var(--section-pad-x);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-bento-mock {
  position: relative;
  max-width: 280px;
  margin-inline: auto;
}

.features-bento-mock__shell {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(33, 82, 255, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.features-bento-mock__label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.65rem 0.5rem 0.35rem;
}

.features-bento-mock__header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-hover) 100%);
  color: #fff;
  text-align: center;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.features-bento-mock__amount {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  padding: 0.5rem 0.5rem 0.75rem;
  font-family: var(--font-display);
}

.features-bento-mock__banks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0 0.65rem 0.85rem;
}

.features-bento-mock__bank {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
  color: #475569;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  padding: 2px;
}

.features-bento__hero-copy {
  padding: 0.25rem 0.25rem 0.25rem 0;
}

.features-bento__hero-icon {
  position: relative;
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--suite-purple-muted);
}

.features-bento__hero-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-hover) 100%);
  border: 2px solid #1e293b;
  box-shadow: 0 2px 8px rgba(33, 82, 255, 0.45);
}

.features-bento__hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.features-bento__hero-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #cbd5e1;
  text-align: left;
}

.features-bento__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.features-bento__btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}

.features-bento__stack {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.features-bento__mini {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: var(--section-gap) calc(var(--section-gap) * 1.05);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.features-bento__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--section-gap);
}

.features-bento__cell {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: var(--section-gap) calc(var(--section-gap) * 1.05);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.features-bento__card-icon {
  color: var(--suite-purple-muted);
  margin-bottom: 0.85rem;
  line-height: 0;
}

.features-bento__card-icon svg {
  display: block;
}

.features-bento__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}

.features-bento__card-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #94a3b8;
  text-align: left;
}

@media (max-width: 1024px) {
  .features-bento__top {
    grid-template-columns: 1fr;
  }

  .features-bento__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .features-bento__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .features-bento__row {
    grid-template-columns: 1fr;
  }

  .features-bento-mock__bank {
    font-size: 0.45rem;
  }
}

/* ========== Integration (bande claire #3 — bloc code reste sombre) ========== */
.band--integration {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 55%, #e8eef4 100%);
  color: var(--text);
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--border);
}

.integration-glow {
  pointer-events: none;
  position: absolute;
  top: 5%;
  right: -10%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  background: radial-gradient(circle, rgba(33, 82, 255, 0.16) 0%, rgba(33, 82, 255, 0.05) 45%, transparent 68%);
  filter: blur(4px);
}

.integration-intro {
  position: relative;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: var(--section-gap-lg);
}

.integration-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 var(--section-gap);
  text-align: center;
}

.integration-lead {
  margin: 0 auto;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
  max-width: 48rem;
}

.integration-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: var(--section-gap-lg);
  align-items: start;
}

.integration-copy {
  padding-top: 0;
}

.integration-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 var(--section-gap);
  line-height: 1.3;
}

.integration-checklist {
  list-style: none;
  margin: 0 0 var(--section-gap-lg);
  padding: 0;
}

.integration-checklist li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.95rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #334155;
  text-align: left;
}

.integration-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-hover) 100%);
  box-shadow: 0 2px 8px rgba(33, 82, 255, 0.35);
}

.integration-checklist li::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.48rem;
  width: 0.35rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.integration-docs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 16px rgba(33, 82, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.integration-docs-btn:hover {
  transform: translateY(-1px);
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 8px 24px rgba(33, 82, 255, 0.42);
  color: #fff;
}

.integration-devpanel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.integration-code-card {
  background: linear-gradient(180deg, #0c1022 0%, #060912 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.integration-lang-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.integration-lang-tab {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s ease, background 0.15s ease;
}

.integration-lang-tab.is-active {
  color: #fff;
  background: rgba(33, 82, 255, 0.32);
}

.integration-lang-tab:not(.is-active):hover {
  color: rgba(255, 255, 255, 0.75);
}

.integration-code-panes {
  position: relative;
  min-height: 12rem;
}

.integration-code-pane {
  padding: 0.85rem 0 1rem;
}

.integration-code-pane[hidden] {
  display: none !important;
}

.integration-pre {
  margin: 0;
  padding: 0 1rem 0 0.5rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #e2e8f0;
  tab-size: 2;
}

@media (min-width: 640px) {
  .integration-pre {
    font-size: 0.8125rem;
  }
}

.integration-pre code {
  display: block;
  white-space: pre;
}

.integration-ln {
  display: inline-block;
  min-width: 1.75rem;
  margin-right: 0.65rem;
  padding-right: 0.5rem;
  text-align: right;
  color: rgba(148, 163, 184, 0.85);
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.integration-lc {
  white-space: pre-wrap;
  word-break: break-all;
}

.ih-kw {
  color: #93c5fd;
}

.ih-fl {
  color: #7dd3fc;
}

.ih-str {
  color: #f1f5f9;
}

.ih-str2 {
  color: #bae6fd;
}

.ih-key {
  color: #bfdbfe;
}

.ih-num {
  color: #fde68a;
}

.ih-muted {
  color: rgba(148, 163, 184, 0.9);
}

/* ========== Footer (même fond que le hero / hero-shell) ========== */
.site-footer {
  background: var(--hero-bg);
  color: #8fa3b8;
  padding: var(--section-pad-y) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: var(--section-gap-lg);
  padding-bottom: var(--section-gap-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  margin: 0.65rem 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  max-width: none;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .footer-tagline {
    white-space: normal;
    font-size: 12px;
  }
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--section-gap);
}

.footer-col h4 {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
}

.footer-col a {
  display: block;
  color: #9eb4cc;
  text-decoration: none;
  font-size: 13px;
  padding: 0.15rem 0;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--section-gap) var(--section-gap-lg);
  padding: var(--section-gap-lg) 0 var(--section-pad-y);
  font-size: 12px;
}

.footer-bottom-copy {
  flex: 1 1 18rem;
  min-width: min(100%, 16rem);
  max-width: 52rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}

.footer-copyright {
  color: #9eb4cc;
}

.footer-bottom .footer-mor,
.footer-bottom .footer-disclaimer {
  margin-top: 0.75rem;
  font-size: 11px;
  line-height: 1.55;
  color: #7a8fa8;
  letter-spacing: normal;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: #7a8fa8;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

/* ========== Cookie pop (bottom left) ========== */
.cookie-pop {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  width: min(320px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  z-index: 400;
  font-size: 13px;
}

.cookie-pop-title {
  margin: 0 0 0.35rem;
  font-size: 14px;
  font-family: var(--font-display);
  color: var(--navy);
}

.cookie-pop p {
  margin: 0 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  color: var(--text-muted);
  text-align: left;
}

.cookie-pop.is-dismissed {
  display: none;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 4.25rem;
  }

  /* Sticky “stack” panels = trop de scroll sur mobile → empilement classique */
  .slide-scroller {
    min-height: 0;
  }

  .slide-scroller > section.slide-scroller__panel {
    position: relative;
    top: auto !important;
    min-height: 0;
    padding-top: clamp(1.65rem, 4.5vw, 2.35rem);
    padding-bottom: clamp(1rem, 2.8vw, 1.55rem);
  }

  .slide-scroller__slide_sticky {
    gap: 1rem;
  }

  .info-card-list {
    padding-left: clamp(0.9rem, 3.5vw, var(--section-pad-x));
    padding-right: clamp(0.9rem, 3.5vw, var(--section-pad-x));
    border-radius: 20px;
  }

  .features-bento__hero {
    padding-left: clamp(0.85rem, 3vw, var(--section-pad-x));
    padding-right: clamp(0.85rem, 3vw, var(--section-pad-x));
  }

  .features-bento__section-heading {
    margin-bottom: var(--section-gap);
  }

  .integration-split {
    gap: var(--section-gap);
  }

  .integration-docs-btn {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-pop {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(calc(100vw - 1.5rem), 360px);
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }
}

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

}

@media (max-width: 900px) {
  .site-header--on-hero.nav-open .mega-col a,
  .site-header--on-hero.nav-open .mega-inner--stack a {
    color: rgba(255, 255, 255, 0.92);
  }

  .site-header--on-hero.nav-open .mega-desc {
    color: rgba(255, 255, 255, 0.55);
  }

  .site-header--on-hero.nav-open .mega-heading {
    color: rgba(255, 255, 255, 0.45);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-header--on-hero.nav-open .site-nav {
    background: var(--hero-bg);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .site-header--on-hero.nav-open .nav-link {
    color: #fff;
  }

  .mega,
  .mega--narrow {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    padding: 0.35rem 0 0.5rem 0.5rem;
    background: transparent;
  }

  .site-header--on-hero.nav-open .mega {
    background: transparent;
  }

  .mega-inner {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    flex-direction: column;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .split,
  .split--reverse,
  .footer-top,
  .footer-cols,
  .integration-split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-body,
  .split--reverse .split-media {
    order: unset;
  }
}

@media (max-width: 560px) {
  .hero-world-map {
    width: 162vw;
    transform: translateY(38%);
  }

  .header-inner {
    min-height: 64px;
  }

  .hero {
    padding-top: clamp(1rem, 4vw, var(--section-pad-y));
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-cta .btn-lg {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .hero-report {
    font-size: 12px;
    padding: 0.4rem 0.75rem;
  }

  .hero-flags {
    gap: 0.5rem 0.65rem;
  }

  .integration-checklist li {
    font-size: 0.9375rem;
    padding-left: 1.85rem;
  }

  .integration-lang-tabs {
    flex-wrap: wrap;
  }

  .site-footer .footer-col h4,
  .site-footer .footer-col a,
  .site-footer .footer-bottom p,
  .site-footer .footer-tagline {
    text-align: left;
  }
}

/* Petits téléphones : marges latérales un peu plus serrées (landing + .wrap partout) */
@media (max-width: 480px) {
  :root {
    --section-pad-x: clamp(0.875rem, 4.5vw, 1.15rem);
  }

  .hero-title {
    font-size: clamp(1.65rem, 9vw, 2.5rem);
    letter-spacing: 0.04em;
  }

  .hero-title-line {
    font-size: clamp(1.45rem, 7.5vw, 2.25rem);
  }

  .hero-sub {
    font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
    padding-inline: 0.25rem;
  }

  .hero-cta .btn-lg {
    min-width: 0;
    padding: 0.75rem 1.25rem;
  }
}

/* Vitrine header: logged-in user menu + Tickets */
.nav-user-dropdown {
  position: relative;
  z-index: 450;
}

.nav-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: min(14rem, 42vw);
}

.nav-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-chevron {
  font-size: 0.65rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 12rem;
  padding: 0.35rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 460;
}

.nav-user-menu[hidden] {
  display: none !important;
}

.site-header--on-hero .nav-user-menu {
  background: rgba(15, 23, 42, 0.97);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-user-menu-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.site-header--on-hero .nav-user-menu-link {
  color: rgba(255, 255, 255, 0.92);
}

.nav-user-menu-link:hover {
  background: var(--surface-soft);
}

.site-header--on-hero .nav-user-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header--solid .nav-user-menu {
  background: #fff;
  border-color: var(--border);
}

.site-header--solid .nav-user-menu-link {
  color: var(--navy);
}

.site-header--solid .nav-user-menu-link:hover {
  background: var(--surface-soft);
}

.nav-user-menu-logout {
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  color: #b91c1c;
}

.site-header--on-hero .nav-user-menu-logout {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #fca5a5;
}

.site-header--solid .nav-user-menu-logout {
  border-top-color: var(--border);
}

@media (max-width: 900px) {
  .nav-actions--logged-in .nav-user-menu {
    right: auto;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}
