:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #1d2433;
  --muted: #5d6b82;
  --blue: #41a7d8;
  --blue-deep: #1f7db7;
  --dark: #101828;
  --border: rgba(16, 24, 40, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(2000px, calc(100% - 22px));
  z-index: 100;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(245, 244, 244, 0.7);
  border-color: rgba(17, 24, 39, 0.08);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.logo-image {
  width: 180px;
  height: auto;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-header.scrolled .nav-links a,
.site-header.scrolled .footer-links a {
  color: rgba(17, 24, 39, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  height: 50px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  box-shadow: none;
  border-radius: 999px;
  min-width: 120px;
}

/* ==========================================================================
   Pile hero -> features -> image finale -> contact
   Deux comportements, séparés au seuil 980 px du projet (même media query
   que desktopQuery dans js/script.js) :
   - Mobile / tablette (<= 980 px) : défilement NATIF. Flux normal, hero et
     contact "sticky", effets en animations CSS liées au défilement (voir
     "Animations liées au défilement" en fin de fichier).
   - Bureau (>= 981 px) : défilement simulé d'origine. Couches fixes
     déplacées par js/script.js selon la position de défilement.
   ========================================================================== */
.scroll-stack {
  position: relative;
  /* le zoom du hero (3 %) ne créent pas de défilement
     horizontal ; "clip" (et non "hidden") garde position: sticky fonctionnel */
  overflow-x: clip;
  background: #0d1320;
  /* panoramique vertical de la vidéo avant le recouvrement (bureau paysage) */
  --hero-pan: 0px;
  timeline-scope: --final-image;
}

/* masqué une fois entièrement recouvert (classe posée par js/script.js) */
.scroll-stack > .hero.video.is-covered {
  visibility: hidden;
}

/* ---------- Bureau : couches fixes pilotées par js/script.js ---------- */
@media (min-width: 981px) {
  .scroll-stack {
    height: 100vh; /* valeur de base ; js/script.js l'allonge au chargement */
  }

  .scroll-stack > .hero.video,
  .scroll-stack > .features,
  .scroll-stack > .final-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  /* --stack-vh = window.innerHeight, posé par js/script.js */
  .scroll-stack > .hero.video,
  .scroll-stack > .final-image {
    height: var(--stack-vh, 100vh);
  }

  .scroll-stack > .hero.video {
    z-index: 1;
    /* couche graphique propre : le zoom / la dérive posés par js/script.js
       pendant le recouvrement sont faits par le GPU, sans redessiner les
       images (sinon des rectangles sombres apparaissent en défilant) */
    will-change: transform, opacity;
  }

  .scroll-stack > .final-image {
    z-index: 4;
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
  }

  .scroll-stack > .features {
    z-index: 3;
    height: auto;
    min-height: var(--stack-vh, 100vh);
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transform: translateY(100%);
    will-change: transform;
  }

  .features > .container {
    opacity: 0;
    will-change: transform, opacity;
  }

  .scroll-stack > .reveal-group {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    height: auto;
    min-height: var(--stack-vh, 100vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .signup-section .signup-inner {
    opacity: 0;
    will-change: transform, opacity;
  }
}

/* ---------- Mobile / tablette : flux natif + sticky ---------- */
@media (max-width: 980px) {
  .scroll-stack {
    --hero-pan: 0px; /* pas de panoramique vidéo sous 981 px */
    timeline-scope: --final-image;
  }

  /* espace de fin : laisse .reveal-group rester collé pendant que l'image part */
  .scroll-stack::after {
    content: "";
    display: block;
    height: 100svh;
  }

  .scroll-stack > .hero.video {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 100svh;
  }

  .scroll-stack > .features {
    position: relative;
    z-index: 4; /* au-dessus de .final-image, qui se découvre en dessous */
    min-height: 100svh;
    margin-top: var(--hero-pan);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .scroll-stack > .final-image {
    position: relative;
    z-index: 3; /* sous .features, au-dessus de .reveal-group */
    /* min-height : le contenu peut dépasser sur un petit écran (paysage) */
    min-height: 100svh;
    view-timeline: --final-image block;
  }

  .scroll-stack > .reveal-group {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-top: -100svh; /* glisse sous l'image finale */
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
  padding: 110px 0 0;
  overflow: hidden;
  background: #0d1320;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* sombre à gauche (texte), transparent à droite (vidéo visible) */
  background: linear-gradient(
    90deg,
    rgba(8, 11, 18, 0.62) 0%,
    rgba(8, 11, 18, 0.35) 45%,
    rgba(8, 11, 18, 0.05) 80%
  );
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* + panoramique éventuel : voir hero-video-pan en fin de fichier */
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  display: block;
  padding: 0;
}
.hero-content {
  width: 100%;
  max-width: none;
  margin-bottom: 28px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.eyebrow.dark {
  background: rgba(65, 167, 216, 0.1);
  color: var(--blue-deep);
}

.hero h1 {
  font-size: clamp(40px, 3.6vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* Rounded white panel for the floating card. */
.features {
  background: var(--panel);
  border-radius: 40px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  margin-top: -120px; /* overlap hero */
  position: relative;
  z-index: 30;
}

.features .card-section {
  padding: 80px 0;
}

.features .card-section + .card-section {
  border-top: 1px solid var(--border);
}

@media (max-width: 980px) {
  .features {
    margin-top: 0;
    border-radius: 18px;
    box-shadow: none;
  }

  .features .card-section {
    padding: 48px 0;
  }
}

.kiosk-cover {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  aspect-ratio: 355 / 826;
  max-height: 720px;
  padding-top: 48px;
  background: linear-gradient(135deg, #eef5fb 0%, #f8fafc 45%, #eaf3fb 100%);
}

.kiosk-cover.reveal-pending {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1s cubic-bezier(0.16, 0.8, 0.24, 1),
    transform 1.1s cubic-bezier(0.16, 0.8, 0.24, 1);
}

.kiosk-cover.reveal-pending.in-view {
  opacity: 1;
  transform: scale(1);
}

.kiosk-cover picture {
  position: absolute;
  inset: 0;
  display: block;
}

.kiosk-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.kiosk-cover-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 18%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    var(--panel) 100%
  );
  pointer-events: none;
}

@media (min-width: 769px) {
  .kiosk-cover {
    aspect-ratio: 1903 / 826;
    max-height: 640px;
  }
}

.kiosk-cover-content {
  display: none;
}

@media (min-width: 769px) {
  .kiosk-cover-content {
    display: block;
    position: absolute;
    z-index: 2;
    top: 55%;
    left: 5.5%;
    transform: translateY(-50%);
    width: min(38%, 520px);
  }

  .kiosk-cover-heading {
    font-size: clamp(26px, 2.8vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: clamp(14px, 1.8vw, 22px);
  }

  .kiosk-cover-heading .accent {
    color: var(--blue-deep);
  }

  .kiosk-cover-text {
    font-size: clamp(13px, 1.05vw, 17px);
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: clamp(18px, 2.6vw, 30px);
  }

  .kiosk-cover-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(10px, 1.2vw, 16px);
  }

  .kiosk-cover-btn-primary,
  .kiosk-cover-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: clamp(36px, 3.2vw, 50px);
    padding: 0 clamp(16px, 1.8vw, 26px);
    border-radius: 999px;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .kiosk-cover-btn-primary:hover,
  .kiosk-cover-btn-ghost:hover {
    transform: translateY(-2px);
  }

  .kiosk-cover-btn-primary {
    background: var(--blue-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 125, 183, 0.28);
  }

  .kiosk-cover-btn-primary svg {
    width: 1em;
    height: 1em;
    font-size: clamp(12px, 1vw, 16px);
  }

  .kiosk-cover-btn-ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--dark);
    border: 1px solid rgba(16, 24, 40, 0.14);
  }

  .kiosk-cover-btn-ghost svg {
    width: 1em;
    height: 1em;
    font-size: clamp(12px, 1vw, 16px);
    color: var(--blue-deep);
  }
}

@media (min-width: 769px) and (max-width: 1080px) {
  .kiosk-cover-text {
    display: none;
  }
}

.kiosk-cover-tags {
  display: none;
}

@media (max-width: 768px) {
  .kiosk-cover {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    max-height: none;
    padding-top: 0;
    background: linear-gradient(180deg, #eaf3fb 0%, #eef5fb 45%, #f5f8fc 100%);
  }

  .kiosk-cover picture {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 560px;
    overflow: hidden;
  }

  .kiosk-cover-img {
    object-fit: cover;
    object-position: center 12%;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  }

  /* Le dégradé du bas n'est plus utile (le masque s'en charge) */
  .kiosk-cover-fade {
    display: none;
  }

  /* Contenu sous l'image */
  .kiosk-cover-content {
    display: block;
    padding: 20px 20px 36px;
  }

  .kiosk-cover-heading {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
  }

  .kiosk-cover-heading .accent {
    color: var(--blue-deep);
  }

  .kiosk-cover-text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 18px;
  }

  /* Badges */
  .kiosk-cover-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
  }

  .kiosk-cover-tags li {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.1);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
  }

  /* Boutons pleine largeur, l'un sous l'autre */
  .kiosk-cover-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .kiosk-cover-btn-primary,
  .kiosk-cover-btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  .kiosk-cover-btn-primary {
    background: var(--blue-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 125, 183, 0.28);
  }

  .kiosk-cover-btn-ghost {
    background: #fff;
    color: var(--blue-deep);
    border: 1.5px solid var(--blue-deep);
  }

  .kiosk-cover-btn-primary svg,
  .kiosk-cover-btn-ghost svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kiosk-cover {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.kiosk-showcase {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  min-height: clamp(420px, 52vw, 640px);
  display: flex;
  align-items: center;
}

.kiosk-showcase.reveal-pending {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1s cubic-bezier(0.16, 0.8, 0.24, 1),
    transform 1.1s cubic-bezier(0.16, 0.8, 0.24, 1);
}

.kiosk-showcase.reveal-pending.in-view {
  opacity: 1;
  transform: scale(1);
}

.kiosk-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1);
  transform-origin: 62% 40%;
  animation: kiosk-showcase-drift 16s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.kiosk-showcase.in-view .kiosk-showcase-img {
  animation-play-state: running;
}

@keyframes kiosk-showcase-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.kiosk-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 11, 18, 0.72) 0%,
    rgba(8, 11, 18, 0.45) 42%,
    rgba(8, 11, 18, 0.12) 68%
  );
}

.kiosk-showcase-content {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding-top: 110px;
}

.kiosk-showcase-content .eyebrow {
  margin-bottom: 18px;
}

.kiosk-showcase-heading {
  max-width: 620px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}

.kiosk-showcase-text {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
}

.kiosk-showcase-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.kiosk-showcase-btn svg {
  width: 1em;
  height: 1em;
  margin-left: 8px;
}

.kiosk-showcase-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  min-width: 120px;
}

.kiosk-showcase-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.kiosk-showcase-btn-secondary svg {
  width: 1.1em;
  height: 1.1em;
  margin-right: 8px;
}

@media (max-width: 480px) {
  .kiosk-showcase-actions {
    flex-direction: column;
    width: 100%;
  }

  .kiosk-showcase-btn,
  .kiosk-showcase-btn-secondary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .kiosk-showcase {
    min-height: 520px;
  }

  .kiosk-showcase-img {
    object-position: 65% center;
  }

  .kiosk-showcase-text {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kiosk-showcase {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kiosk-showcase-img {
    animation: none;
  }
}

/* =========================================================
   Kiosk showcase — version mobile
   À placer APRÈS le CSS existant de .kiosk-showcase
   ========================================================= */

/* Le <picture> ne doit rien changer au rendu desktop */
.kiosk-showcase > picture {
  display: contents;
}

@media (max-width: 640px) {
  /* Image en haut, texte en dessous (plus de superposition) */
  .kiosk-showcase {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #16181c; /* même ton que le mur de l'image */
  }

  /* Image entière, sans zoom ni recadrage */
  .kiosk-showcase .kiosk-showcase-img {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
    transform: none;
  }

  /* L'overlay desktop n'est plus utile */
  .kiosk-showcase .kiosk-showcase-overlay {
    display: none;
  }

  /* Bloc texte : remonte sur le bas de l'image avec un fondu */
  .kiosk-showcase .kiosk-showcase-content {
    position: relative;
    inset: auto;
    transform: none;
    max-width: none;
    width: auto;
    margin-top: -140px;
    padding: 140px 20px 24px;
    background: linear-gradient(
      180deg,
      rgba(22, 24, 28, 0) 0,
      rgba(22, 24, 28, 0.85) 90px,
      #16181c 140px
    );
    color: #fff;
    text-align: left;
  }

  .kiosk-showcase .kiosk-showcase-heading {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 10px 0 10px;
  }

  .kiosk-showcase .kiosk-showcase-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px;
  }

  /* Boutons pleine largeur, empilés */
  .kiosk-showcase .kiosk-showcase-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .kiosk-showcase .kiosk-showcase-actions .btn {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    justify-content: center;
    min-height: 48px;
  }
  .kiosk-showcase .kiosk-showcase-actions svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
}

.bornes-showcase-intro {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.bornes-showcase-intro h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.bornes-showcase-intro h2 .accent {
  color: var(--blue);
}

.bornes-showcase-desc {
  color: var(--muted);
  font-size: 18px;
  margin-top: 25px;
}

.bornes-showcase-section.reveal-pending {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bornes-showcase-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 780px) {
  .bornes-showcase-intro {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bornes-showcase-section.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Section TPE ---------- */
.tpe-intro {
  max-width: 920px;
  margin-bottom: 40px;
}

.tpe-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tpe-intro h2 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.tpe-intro h2 .accent {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpe-desc {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Espace entre l'intro et les cartes */
.tpe-section .bornes-showcase-intro {
  margin-bottom: 56px;
}

/* Grille : carte « offre » large + 3 cartes produits */
.tpe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tpe-offer,
.tpe-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(65, 167, 216, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 40px -24px rgba(31, 125, 183, 0.25);
}

/* Icônes carrées bleu clair */
.tpe-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
}

.tpe-icon svg {
  width: 22px;
  height: 22px;
}

.tpe-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.tpe-icon-lg svg {
  width: 26px;
  height: 26px;
}

.tpe-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

/* Carte « offre intégrée » */
.tpe-offer {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.tpe-offer-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.tpe-offer-head h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--dark);
}

.tpe-uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.tpe-uses li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--muted);
}

.tpe-uses strong {
  color: var(--text);
  font-weight: 600;
}

.tpe-offer-note {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Cartes produits */
.tpe-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.tpe-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tpe-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.tpe-card h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 8px;
}

.tpe-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.tpe-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  margin: 18px 0;
}

/* Halo bleu derrière l'appareil */
.tpe-media::before {
  content: "";
  position: absolute;
  inset: 12% 6% 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(65, 167, 216, 0.28),
    rgba(65, 167, 216, 0.08) 70%
  );
}

.tpe-media img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

/* Fond blanc des PNG fondu dans le halo (pas sur le WebP transparent :
   combiné à l'animation, Chrome le rendait invisible) */
.tpe-media img[src$=".png"] {
  mix-blend-mode: multiply;
}

.tpe-specs {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tpe-specs li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
}

.tpe-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-deep);
}

/* Tablette : la carte « offre » passe au-dessus des 3 produits */
@media (max-width: 1200px) {
  .tpe-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tpe-offer {
    grid-column: 1 / -1;
  }

  .tpe-uses {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : une colonne */
@media (max-width: 780px) {
  .tpe-grid,
  .tpe-uses {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpe-offer {
    padding: 24px;
  }

  .tpe-desc {
    font-size: 16px;
  }
}

/* Appel à l'action sous les cartes TPE */
.tpe-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 26px 30px;
  border: 1px solid rgba(65, 167, 216, 0.28);
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.12) 0%,
    rgba(65, 167, 216, 0.04) 60%,
    rgba(255, 255, 255, 0.5) 100%
  );
}

.tpe-cta h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 6px;
}

.tpe-cta p {
  font-size: 16px;
  color: var(--muted);
}

.tpe-cta-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
}

.tpe-cta-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.tpe-cta-link:hover svg,
.tpe-cta-link:focus-visible svg {
  transform: translateX(5px);
}

/* Survol des cartes */
.tpe-offer,
.tpe-card {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Appareils qui flottent et halo qui respire (mêmes animations que #tpe-services),
   décalés entre les 3 cartes (--i : 2, 3, 4) */
.tpe-section.in-view .tpe-media img {
  animation: tpx-float 5s ease-in-out infinite;
  animation-delay: calc((var(--i, 2) - 2) * -1.6s);
}

.tpe-section.in-view .tpe-media::before {
  animation: tpx-breathe 5s ease-in-out infinite;
  animation-delay: calc((var(--i, 2) - 2) * -1.6s);
}

@media (hover: hover) {
  .tpe-offer:hover,
  .tpe-card:hover {
    transform: translateY(-6px);
    border-color: rgba(65, 167, 216, 0.35);
    box-shadow: 0 26px 50px -24px rgba(31, 125, 183, 0.4);
  }
}

/* Apparition au défilement (classes posées par script.js) */
.tpe-section.reveal-pending .tpe-intro,
.tpe-section.reveal-pending .tpe-offer,
.tpe-section.reveal-pending .tpe-card,
.tpe-section.reveal-pending .tpe-cta {
  opacity: 0;
  transform: translateY(32px);
}

.tpe-section.in-view .tpe-intro,
.tpe-section.in-view .tpe-offer,
.tpe-section.in-view .tpe-card,
.tpe-section.in-view .tpe-cta {
  animation: tpe-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

/* Une fois l'animation finie, on la retire pour rendre la main au survol */
.tpe-section.in-view .animated {
  animation: none;
  opacity: 1;
  transform: none;
}

.tpe-section.in-view .tpe-card.animated:hover,
.tpe-section.in-view .tpe-offer.animated:hover {
  transform: translateY(-6px);
}

@keyframes tpe-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Animations du bandeau TPE ---------- */
.tpe-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Reflet lumineux qui traverse le bandeau */
.tpe-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

/* Un passage à l'apparition, puis toutes les 6 s */
.tpe-section.in-view .tpe-cta::after {
  animation: tpe-shine 6s ease-in-out 1.4s infinite;
}

/* Barre bleue à gauche qui se remplit à l'apparition */
.tpe-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.tpe-section.reveal-pending:not(.in-view) .tpe-cta::before {
  transform: scaleY(0);
}

/* Flèche qui invite au clic */
.tpe-section.in-view .tpe-cta-link svg {
  animation: tpe-nudge 2.4s ease-in-out 1.6s infinite;
}

/* Soulignement du lien */
.tpe-cta-link {
  position: relative;
}

.tpe-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 30px;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.tpe-cta-link:hover::after,
.tpe-cta-link:focus-visible::after {
  transform: scaleX(1);
}

.tpe-cta-link:hover svg,
.tpe-cta-link:focus-visible svg {
  animation: none;
}

@media (hover: hover) {
  .tpe-section.in-view .tpe-cta.animated:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 167, 216, 0.5);
    box-shadow: 0 18px 40px -22px rgba(31, 125, 183, 0.45);
  }

  /* Le reflet repasse au survol */
  .tpe-section.in-view .tpe-cta:hover::after {
    animation: tpe-shine 1s ease-in-out;
  }
}

@keyframes tpe-shine {
  0% {
    transform: translateX(-100%);
  }
  20%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes tpe-nudge {
  0%,
  60%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpe-cta,
  .tpe-cta::before,
  .tpe-cta-link::after {
    transition: none;
  }

  .tpe-section.in-view .tpe-cta::after,
  .tpe-section.in-view .tpe-cta-link svg {
    animation: none;
  }
}

@media (max-width: 780px) {
  .tpe-section .bornes-showcase-intro {
    margin-bottom: 36px;
  }

  .tpe-cta {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpe-section.reveal-pending .tpe-intro,
  .tpe-section.reveal-pending .tpe-offer,
  .tpe-section.reveal-pending .tpe-card,
  .tpe-section.reveal-pending .tpe-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .tpe-offer,
  .tpe-card,
  .tpe-cta-link svg {
    transition: none;
  }

  .tpe-section.in-view .tpe-media img,
  .tpe-section.in-view .tpe-media::before {
    animation: none;
  }
}

/* ==========================================================
   Section « TPE & services monétiques » (#tpe-services)
   ========================================================== */
/* Les cartes entrent depuis les côtés : pas de défilement horizontal pendant l'animation */
.tpx-section {
  overflow-x: clip;
}

/* Espace entre l'intro et les cartes */
.tpx-section .bornes-showcase-intro {
  margin-bottom: 56px;
}

.tpx-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.tpx-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tpx-intro h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.tpx-line {
  display: block;
}

.tpx-intro h2 .accent {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpx-desc {
  margin: 18px auto 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.tpx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  perspective: 1400px;
}

.tpx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(65, 167, 216, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafe 100%);
  box-shadow: 0 18px 40px -26px rgba(31, 125, 183, 0.3);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.tpx-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.tpx-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tpx-icon svg {
  width: 22px;
  height: 22px;
}

.tpx-arrow {
  width: 18px;
  height: 18px;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.tpx-card h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 8px;
}

.tpx-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* La liste reste en bas de carte : les séparateurs sont alignés entre les 3 cartes */
.tpx-list {
  position: relative;
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  display: grid;
  gap: 10px;
}

.tpx-card-desc {
  margin-bottom: 22px;
}

/* Séparateur dégradé au-dessus de la liste */
.tpx-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.5),
    rgba(65, 167, 216, 0.12) 70%,
    transparent
  );
  transform-origin: left;
}

/* Le séparateur se trace de gauche à droite à l'apparition */
.tpx-section.reveal-pending .tpx-list::before {
  transform: scaleX(0);
}

.tpx-section.in-view .tpx-list::before {
  animation: tpx-divider 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.8s + var(--i, 0) * 0.14s);
}

.tpx-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.tpx-check {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
}

/* Bandeau « standards » */
.tpx-standards {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid rgba(65, 167, 216, 0.18);
  border-radius: 20px;
  background: linear-gradient(90deg, #ffffff 0%, #f3f8fd 100%);
}

.tpx-standards-copy {
  flex: 1;
  min-width: 0;
}

.tpx-standards h3 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 6px;
}

.tpx-standards p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.tpx-badges {
  flex: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
}

.tpx-badges li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(65, 167, 216, 0.25);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.tpx-badges svg {
  width: 14px;
  height: 14px;
  color: var(--blue-deep);
}

/* ---------- Survol ---------- */
@media (hover: hover) {
  .tpx-card:hover {
    transform: translateY(-8px);
    border-color: rgba(65, 167, 216, 0.4);
    box-shadow: 0 30px 60px -28px rgba(31, 125, 183, 0.45);
  }

  .tpx-card:hover .tpx-icon {
    transform: rotate(-8deg) scale(1.1);
  }

  .tpx-card:hover .tpx-arrow {
    transform: translate(4px, -4px);
  }

  .tpx-badges li:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    background: rgba(65, 167, 216, 0.08);
  }
}

/* ---------- Apparition au défilement (classes posées par script.js) ---------- */

/* Cartes : entrée 3D depuis la gauche / le bas / la droite */
.tpx-section.reveal-pending .tpx-card {
  opacity: 0;
}

.tpx-section.in-view .tpx-card {
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  animation-delay: calc(var(--i, 0) * 0.14s);
}

.tpx-section.in-view .tpx-from-left {
  animation-name: tpx-in-left;
}

.tpx-section.in-view .tpx-from-bottom {
  animation-name: tpx-in-bottom;
}

.tpx-section.in-view .tpx-from-right {
  animation-name: tpx-in-right;
}

/* Entrée finie : on retire l'animation pour rendre la main au survol */
.tpx-section.in-view .tpx-card.animated {
  animation: none;
  opacity: 1;
}

/* Coches qui se dessinent */
.tpx-section.reveal-pending .tpx-check {
  stroke-dashoffset: 24;
}

.tpx-section.in-view .tpx-check {
  animation: tpx-draw 0.5s ease both;
  animation-delay: calc(1.1s + var(--i, 0) * 0.14s + var(--j, 0) * 0.1s);
}

/* Bandeau standards : montée, icône qui se balance, badges qui « pop » */
.tpx-section.reveal-pending .tpx-standards,
.tpx-section.reveal-pending .tpx-badges li {
  opacity: 0;
}

.tpx-section.in-view .tpx-standards {
  animation: tpx-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.tpx-section.in-view .tpx-icon-doc {
  animation: tpx-swing 0.9s ease 1.6s both;
}

.tpx-section.in-view .tpx-badges li {
  animation: tpx-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(1.4s + var(--b, 0) * 0.08s);
}

.tpx-section.in-view .tpx-badges li.animated {
  animation: none;
  opacity: 1;
}

@keyframes tpx-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px) rotateY(18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-in-bottom {
  from {
    opacity: 0;
    transform: translateY(60px) rotateX(-14deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-in-right {
  from {
    opacity: 0;
    transform: translateX(60px) rotateY(-18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-divider {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes tpx-draw {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tpx-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

@keyframes tpx-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.75;
  }
}

@keyframes tpx-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-swing {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(9deg);
  }
  75% {
    transform: rotate(-4deg);
  }
}

@keyframes tpx-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Animations du bandeau « standards » ---------- */
.tpx-standards {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Barre bleue à gauche qui se remplit à l'apparition */
.tpx-standards::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s;
}

.tpx-section.reveal-pending:not(.in-view) .tpx-standards::before {
  transform: scaleY(0);
}

/* Reflet lumineux qui traverse le bandeau toutes les 7 s */
.tpx-standards::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(65, 167, 216, 0.14) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

.tpx-section.in-view .tpx-standards::after {
  animation: tpx-shine 7s ease-in-out 2.2s infinite;
}

.kiosk-showcase-content .eyebrow {
  margin-bottom: 18px;
}

.kiosk-showcase-heading {
  max-width: 620px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}

.kiosk-showcase-text {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
}

.kiosk-showcase-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.kiosk-showcase-btn svg {
  width: 1em;
  height: 1em;
  margin-left: 8px;
}

.kiosk-showcase-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  min-width: 120px;
}

.kiosk-showcase-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.kiosk-showcase-btn-secondary svg {
  width: 1.1em;
  height: 1.1em;
  margin-right: 8px;
}

@media (max-width: 480px) {
  .kiosk-showcase-actions {
    flex-direction: column;
    width: 100%;
  }

  .kiosk-showcase-btn,
  .kiosk-showcase-btn-secondary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .kiosk-showcase {
    min-height: 520px;
  }

  .kiosk-showcase-img {
    object-position: 65% center;
  }

  .kiosk-showcase-text {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kiosk-showcase {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kiosk-showcase-img {
    animation: none;
  }
}

/* =========================================================
   Kiosk showcase — version mobile
   À placer APRÈS le CSS existant de .kiosk-showcase
   ========================================================= */

/* Le <picture> ne doit rien changer au rendu desktop */
.kiosk-showcase > picture {
  display: contents;
}

@media (max-width: 640px) {
  /* Image en haut, texte en dessous (plus de superposition) */
  .kiosk-showcase {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #16181c; /* même ton que le mur de l'image */
  }

  /* Image entière, sans zoom ni recadrage */
  .kiosk-showcase .kiosk-showcase-img {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
    transform: none;
  }

  /* L'overlay desktop n'est plus utile */
  .kiosk-showcase .kiosk-showcase-overlay {
    display: none;
  }

  /* Bloc texte : remonte sur le bas de l'image avec un fondu */
  .kiosk-showcase .kiosk-showcase-content {
    position: relative;
    inset: auto;
    transform: none;
    max-width: none;
    width: auto;
    margin-top: -140px;
    padding: 140px 20px 24px;
    background: linear-gradient(
      180deg,
      rgba(22, 24, 28, 0) 0,
      rgba(22, 24, 28, 0.85) 90px,
      #16181c 140px
    );
    color: #fff;
    text-align: left;
  }

  .kiosk-showcase .kiosk-showcase-heading {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 10px 0 10px;
  }

  .kiosk-showcase .kiosk-showcase-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px;
  }

  /* Boutons pleine largeur, empilés */
  .kiosk-showcase .kiosk-showcase-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .kiosk-showcase .kiosk-showcase-actions .btn {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    justify-content: center;
    min-height: 48px;
  }
  .kiosk-showcase .kiosk-showcase-actions svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
}

.bornes-showcase-intro {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.bornes-showcase-intro h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.bornes-showcase-intro h2 .accent {
  color: var(--blue);
}

.bornes-showcase-desc {
  color: var(--muted);
  font-size: 18px;
  margin-top: 25px;
}

.bornes-showcase-section.reveal-pending {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bornes-showcase-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 780px) {
  .bornes-showcase-intro {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bornes-showcase-section.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Section TPE ---------- */
.tpe-intro {
  max-width: 920px;
  margin-bottom: 40px;
}

.tpe-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tpe-intro h2 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.tpe-intro h2 .accent {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpe-desc {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Espace entre l'intro et les cartes */
.tpe-section .bornes-showcase-intro {
  margin-bottom: 56px;
}

/* Grille : carte « offre » large + 3 cartes produits */
.tpe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tpe-offer,
.tpe-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(65, 167, 216, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 40px -24px rgba(31, 125, 183, 0.25);
}

/* Icônes carrées bleu clair */
.tpe-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
}

.tpe-icon svg {
  width: 22px;
  height: 22px;
}

.tpe-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.tpe-icon-lg svg {
  width: 26px;
  height: 26px;
}

.tpe-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

/* Carte « offre intégrée » */
.tpe-offer {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.tpe-offer-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.tpe-offer-head h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--dark);
}

.tpe-uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.tpe-uses li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--muted);
}

.tpe-uses strong {
  color: var(--text);
  font-weight: 600;
}

.tpe-offer-note {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Cartes produits */
.tpe-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.tpe-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tpe-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.tpe-card h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 8px;
}

.tpe-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.tpe-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  margin: 18px 0;
}

/* Halo bleu derrière l'appareil */
.tpe-media::before {
  content: "";
  position: absolute;
  inset: 12% 6% 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(65, 167, 216, 0.28),
    rgba(65, 167, 216, 0.08) 70%
  );
}

.tpe-media img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

/* Fond blanc des PNG fondu dans le halo (pas sur le WebP transparent :
   combiné à l'animation, Chrome le rendait invisible) */
.tpe-media img[src$=".png"] {
  mix-blend-mode: multiply;
}

.tpe-specs {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tpe-specs li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
}

.tpe-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-deep);
}

/* Tablette : la carte « offre » passe au-dessus des 3 produits */
@media (max-width: 1200px) {
  .tpe-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tpe-offer {
    grid-column: 1 / -1;
  }

  .tpe-uses {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : une colonne */
@media (max-width: 780px) {
  .tpe-grid,
  .tpe-uses {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpe-offer {
    padding: 24px;
  }

  .tpe-desc {
    font-size: 16px;
  }
}

/* Tablette portrait : 3 colonnes trop étroites -> cartes produits en largeur,
   texte à gauche, appareil à droite */
@media (min-width: 601px) and (max-width: 900px) {
  .tpe-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .tpe-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas:
      "top media"
      "label media"
      "title media"
      "desc media"
      "specs media";
    column-gap: 28px;
    padding: 26px;
  }

  .tpe-card-top {
    grid-area: top;
  }

  .tpe-card .tpe-label {
    grid-area: label;
  }

  .tpe-card h3 {
    grid-area: title;
  }

  .tpe-card-desc {
    grid-area: desc;
  }

  .tpe-specs {
    grid-area: specs;
    align-self: end;
    margin-top: 20px;
  }

  .tpe-media {
    grid-area: media;
    height: auto;
    min-height: 220px;
    margin: 0;
  }

  .tpe-media img {
    max-height: 240px;
  }
}

/* Appel à l'action sous les cartes TPE */
.tpe-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 26px 30px;
  border: 1px solid rgba(65, 167, 216, 0.28);
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.12) 0%,
    rgba(65, 167, 216, 0.04) 60%,
    rgba(255, 255, 255, 0.5) 100%
  );
}

.tpe-cta h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 6px;
}

.tpe-cta p {
  font-size: 16px;
  color: var(--muted);
}

.tpe-cta-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
}

.tpe-cta-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.tpe-cta-link:hover svg,
.tpe-cta-link:focus-visible svg {
  transform: translateX(5px);
}

/* Survol des cartes */
.tpe-offer,
.tpe-card {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Appareils qui flottent et halo qui respire (mêmes animations que #tpe-services),
   décalés entre les 3 cartes (--i : 2, 3, 4) */
.tpe-section.in-view .tpe-media img {
  animation: tpx-float 5s ease-in-out infinite;
  animation-delay: calc((var(--i, 2) - 2) * -1.6s);
}

.tpe-section.in-view .tpe-media::before {
  animation: tpx-breathe 5s ease-in-out infinite;
  animation-delay: calc((var(--i, 2) - 2) * -1.6s);
}

@media (hover: hover) {
  .tpe-offer:hover,
  .tpe-card:hover {
    transform: translateY(-6px);
    border-color: rgba(65, 167, 216, 0.35);
    box-shadow: 0 26px 50px -24px rgba(31, 125, 183, 0.4);
  }
}

/* Apparition au défilement (classes posées par script.js) */
.tpe-section.reveal-pending .tpe-intro,
.tpe-section.reveal-pending .tpe-offer,
.tpe-section.reveal-pending .tpe-card,
.tpe-section.reveal-pending .tpe-cta {
  opacity: 0;
  transform: translateY(32px);
}

.tpe-section.in-view .tpe-intro,
.tpe-section.in-view .tpe-offer,
.tpe-section.in-view .tpe-card,
.tpe-section.in-view .tpe-cta {
  animation: tpe-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

/* Une fois l'animation finie, on la retire pour rendre la main au survol */
.tpe-section.in-view .animated {
  animation: none;
  opacity: 1;
  transform: none;
}

.tpe-section.in-view .tpe-card.animated:hover,
.tpe-section.in-view .tpe-offer.animated:hover {
  transform: translateY(-6px);
}

@keyframes tpe-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Animations du bandeau TPE ---------- */
.tpe-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Reflet lumineux qui traverse le bandeau */
.tpe-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

/* Un passage à l'apparition, puis toutes les 6 s */
.tpe-section.in-view .tpe-cta::after {
  animation: tpe-shine 6s ease-in-out 1.4s infinite;
}

/* Barre bleue à gauche qui se remplit à l'apparition */
.tpe-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.tpe-section.reveal-pending:not(.in-view) .tpe-cta::before {
  transform: scaleY(0);
}

/* Flèche qui invite au clic */
.tpe-section.in-view .tpe-cta-link svg {
  animation: tpe-nudge 2.4s ease-in-out 1.6s infinite;
}

/* Soulignement du lien */
.tpe-cta-link {
  position: relative;
}

.tpe-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 30px;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.tpe-cta-link:hover::after,
.tpe-cta-link:focus-visible::after {
  transform: scaleX(1);
}

.tpe-cta-link:hover svg,
.tpe-cta-link:focus-visible svg {
  animation: none;
}

@media (hover: hover) {
  .tpe-section.in-view .tpe-cta.animated:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 167, 216, 0.5);
    box-shadow: 0 18px 40px -22px rgba(31, 125, 183, 0.45);
  }

  /* Le reflet repasse au survol */
  .tpe-section.in-view .tpe-cta:hover::after {
    animation: tpe-shine 1s ease-in-out;
  }
}

@keyframes tpe-shine {
  0% {
    transform: translateX(-100%);
  }
  20%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes tpe-nudge {
  0%,
  60%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpe-cta,
  .tpe-cta::before,
  .tpe-cta-link::after {
    transition: none;
  }

  .tpe-section.in-view .tpe-cta::after,
  .tpe-section.in-view .tpe-cta-link svg {
    animation: none;
  }
}

@media (max-width: 780px) {
  .tpe-section .bornes-showcase-intro {
    margin-bottom: 36px;
  }

  .tpe-cta {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpe-section.reveal-pending .tpe-intro,
  .tpe-section.reveal-pending .tpe-offer,
  .tpe-section.reveal-pending .tpe-card,
  .tpe-section.reveal-pending .tpe-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .tpe-offer,
  .tpe-card,
  .tpe-cta-link svg {
    transition: none;
  }

  .tpe-section.in-view .tpe-media img,
  .tpe-section.in-view .tpe-media::before {
    animation: none;
  }
}

/* ==========================================================
   Section « TPE & services monétiques » (#tpe-services)
   ========================================================== */
/* Les cartes entrent depuis les côtés : pas de défilement horizontal pendant l'animation */
.tpx-section {
  overflow-x: hidden; /* Safari < 16 : pas de clip */
  overflow-x: clip;
}

/* Espace entre l'intro et les cartes */
.tpx-section .bornes-showcase-intro {
  margin-bottom: 56px;
}

.tpx-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.tpx-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tpx-intro h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.tpx-line {
  display: block;
}

.tpx-intro h2 .accent {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpx-desc {
  margin: 18px auto 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.tpx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  perspective: 1400px;
}

.tpx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(65, 167, 216, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafe 100%);
  box-shadow: 0 18px 40px -26px rgba(31, 125, 183, 0.3);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.tpx-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.tpx-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tpx-icon svg {
  width: 22px;
  height: 22px;
}

.tpx-arrow {
  width: 18px;
  height: 18px;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.tpx-card h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 8px;
}

.tpx-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* La liste reste en bas de carte : les séparateurs sont alignés entre les 3 cartes */
.tpx-list {
  position: relative;
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  display: grid;
  gap: 10px;
}

.tpx-card-desc {
  margin-bottom: 22px;
}

/* Séparateur dégradé au-dessus de la liste */
.tpx-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.5),
    rgba(65, 167, 216, 0.12) 70%,
    transparent
  );
  transform-origin: left;
}

/* Le séparateur se trace de gauche à droite à l'apparition */
.tpx-section.reveal-pending .tpx-list::before {
  transform: scaleX(0);
}

.tpx-section.in-view .tpx-list::before {
  animation: tpx-divider 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.8s + var(--i, 0) * 0.14s);
}

.tpx-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.tpx-check {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
}

/* Bandeau « standards » */
.tpx-standards {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid rgba(65, 167, 216, 0.18);
  border-radius: 20px;
  background: linear-gradient(90deg, #ffffff 0%, #f3f8fd 100%);
}

.tpx-standards-copy {
  flex: 1;
  min-width: 0;
}

.tpx-standards h3 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 6px;
}

.tpx-standards p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.tpx-badges {
  flex: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
}

.tpx-badges li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(65, 167, 216, 0.25);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.tpx-badges svg {
  width: 14px;
  height: 14px;
  color: var(--blue-deep);
}

/* ---------- Survol ---------- */
@media (hover: hover) {
  .tpx-card:hover {
    transform: translateY(-8px);
    border-color: rgba(65, 167, 216, 0.4);
    box-shadow: 0 30px 60px -28px rgba(31, 125, 183, 0.45);
  }

  .tpx-card:hover .tpx-icon {
    transform: rotate(-8deg) scale(1.1);
  }

  .tpx-card:hover .tpx-arrow {
    transform: translate(4px, -4px);
  }

  .tpx-badges li:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    background: rgba(65, 167, 216, 0.08);
  }
}

/* ---------- Apparition au défilement (classes posées par script.js) ---------- */

/* Cartes : entrée 3D depuis la gauche / le bas / la droite */
.tpx-section.reveal-pending .tpx-card {
  opacity: 0;
}

.tpx-section.in-view .tpx-card {
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  animation-delay: calc(var(--i, 0) * 0.14s);
}

.tpx-section.in-view .tpx-from-left {
  animation-name: tpx-in-left;
}

.tpx-section.in-view .tpx-from-bottom {
  animation-name: tpx-in-bottom;
}

.tpx-section.in-view .tpx-from-right {
  animation-name: tpx-in-right;
}

/* Entrée finie : on retire l'animation pour rendre la main au survol */
.tpx-section.in-view .tpx-card.animated {
  animation: none;
  opacity: 1;
}

/* Coches qui se dessinent */
.tpx-section.reveal-pending .tpx-check {
  stroke-dashoffset: 24;
}

.tpx-section.in-view .tpx-check {
  animation: tpx-draw 0.5s ease both;
  animation-delay: calc(1.1s + var(--i, 0) * 0.14s + var(--j, 0) * 0.1s);
}

/* Bandeau standards : montée, icône qui se balance, badges qui « pop » */
.tpx-section.reveal-pending .tpx-standards,
.tpx-section.reveal-pending .tpx-badges li {
  opacity: 0;
}

.tpx-section.in-view .tpx-standards {
  animation: tpx-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.tpx-section.in-view .tpx-icon-doc {
  animation: tpx-swing 0.9s ease 1.6s both;
}

.tpx-section.in-view .tpx-badges li {
  animation: tpx-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(1.4s + var(--b, 0) * 0.08s);
}

.tpx-section.in-view .tpx-badges li.animated {
  animation: none;
  opacity: 1;
}

@keyframes tpx-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px) rotateY(18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-in-bottom {
  from {
    opacity: 0;
    transform: translateY(60px) rotateX(-14deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-in-right {
  from {
    opacity: 0;
    transform: translateX(60px) rotateY(-18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-divider {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes tpx-draw {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tpx-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

@keyframes tpx-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.75;
  }
}

@keyframes tpx-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-swing {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(9deg);
  }
  75% {
    transform: rotate(-4deg);
  }
}

@keyframes tpx-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Animations du bandeau « standards » ---------- */
.tpx-standards {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Barre bleue à gauche qui se remplit à l'apparition */
.tpx-standards::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s;
}

.tpx-section.reveal-pending:not(.in-view) .tpx-standards::before {
  transform: scaleY(0);
}

/* Reflet lumineux qui traverse le bandeau toutes les 7 s */
.tpx-standards::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(65, 167, 216, 0.14) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

.tpx-section.in-view .tpx-standards::after {
  animation: tpx-shine 7s ease-in-out 2.2s infinite;
}

/* Anneau qui pulse autour de l'icône document */
.tpx-icon-doc {
  position: relative;
}

.tpx-icon-doc::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--blue);
  opacity: 0;
  pointer-events: none;
}

.tpx-section.in-view .tpx-icon-doc::after {
  animation: tpx-ring 3s ease-out 2.4s infinite;
}

/* Vague lumineuse qui parcourt les badges un par un */
.tpx-badges li {
  position: relative;
}

.tpx-badges li::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 167, 216, 0.15);
  opacity: 0;
  pointer-events: none;
}

.tpx-section.in-view .tpx-badges li::after {
  animation: tpx-badge-glow 6s ease-in-out infinite;
  animation-delay: calc(2.4s + var(--b, 0) * 0.25s);
}

/* Survol du bandeau */
@media (hover: hover) {
  .tpx-section.in-view .tpx-standards:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 167, 216, 0.4);
    box-shadow: 0 20px 44px -26px rgba(31, 125, 183, 0.45);
  }

  .tpx-standards:hover .tpx-icon-doc {
    transform: rotate(-8deg) scale(1.1);
  }
}

/* Le bandeau garde son animation d'entrée ; une fois finie, on la retire pour le survol */
.tpx-section.in-view .tpx-standards.animated,
.tpx-section.in-view .tpx-icon-doc.animated {
  animation: none;
  opacity: 1;
}

@keyframes tpx-shine {
  0% {
    transform: translateX(-100%);
  }
  25%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes tpx-ring {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  60%,
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes tpx-badge-glow {
  0%,
  12%,
  100% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpx-section *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tpx-standards {
    flex-wrap: wrap;
  }

  .tpx-badges {
    width: 100%;
    grid-template-columns: repeat(6, auto);
    justify-content: start;
  }
}

@media (max-width: 900px) {
  .tpx-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* En une colonne, toutes les cartes montent du bas */
  .tpx-section.in-view .tpx-from-left,
  .tpx-section.in-view .tpx-from-right {
    animation-name: tpx-in-bottom;
  }
}

@media (max-width: 780px) {
  .tpx-intro,
  .tpx-section .bornes-showcase-intro {
    margin-bottom: 36px;
  }

  .tpx-desc {
    font-size: 16px;
  }

  .tpx-standards {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .tpx-badges {
    grid-template-columns: repeat(3, auto);
  }
}

/* Tablette portrait : cartes en largeur, titre + texte à gauche, liste à droite */
@media (min-width: 601px) and (max-width: 900px) {
  .tpx-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "top list"
      "title list"
      "desc list";
    column-gap: 32px;
  }

  .tpx-card-top {
    grid-area: top;
  }

  .tpx-card h3 {
    grid-area: title;
  }

  .tpx-card-desc {
    grid-area: desc;
    margin-bottom: 0;
  }

  .tpx-list {
    grid-area: list;
    align-self: center;
    margin: 0;
    padding: 0 0 0 28px;
  }

  /* Séparateur vertical à gauche de la liste */
  .tpx-list::before {
    top: 0;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(65, 167, 216, 0.5),
      rgba(65, 167, 216, 0.12) 70%,
      transparent
    );
    transform-origin: top;
  }

  .tpx-section.reveal-pending .tpx-list::before {
    transform: scaleY(0);
  }

  .tpx-section.in-view .tpx-list::before {
    animation-name: tpx-divider-y;
  }
}

@keyframes tpx-divider-y {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Petit téléphone : badges sur 2 colonnes (3 ne tiennent pas sous 380 px) */
@media (max-width: 400px) {
  .tpx-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpx-section *,
  .tpx-section *::before {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Section TPE ---------- */
.tpe-intro {
  max-width: 920px;
  margin-bottom: 40px;
}

.tpe-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tpe-intro h2 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.tpe-intro h2 .accent {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpe-desc {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Espace entre l'intro et les cartes */
.tpe-section .bornes-showcase-intro {
  margin-bottom: 56px;
}

/* Grille : carte « offre » large + 3 cartes produits */
.tpe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tpe-offer,
.tpe-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(65, 167, 216, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 40px -24px rgba(31, 125, 183, 0.25);
}

/* Icônes carrées bleu clair */
.tpe-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
}

.tpe-icon svg {
  width: 22px;
  height: 22px;
}

.tpe-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.tpe-icon-lg svg {
  width: 26px;
  height: 26px;
}

.tpe-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

/* Carte « offre intégrée » */
.tpe-offer {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.tpe-offer-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.tpe-offer-head h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--dark);
}

.tpe-uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.tpe-uses li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--muted);
}

.tpe-uses strong {
  color: var(--text);
  font-weight: 600;
}

.tpe-offer-note {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Cartes produits */
.tpe-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.tpe-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tpe-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.tpe-card h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 8px;
}

.tpe-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.tpe-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  margin: 18px 0;
}

/* Halo bleu derrière l'appareil */
.tpe-media::before {
  content: "";
  position: absolute;
  inset: 12% 6% 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(65, 167, 216, 0.28),
    rgba(65, 167, 216, 0.08) 70%
  );
}

.tpe-media img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

/* Fond blanc des PNG fondu dans le halo (pas sur le WebP transparent :
   combiné à l'animation, Chrome le rendait invisible) */
.tpe-media img[src$=".png"] {
  mix-blend-mode: multiply;
}

.tpe-specs {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tpe-specs li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
}

.tpe-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-deep);
}

/* Tablette : la carte « offre » passe au-dessus des 3 produits */
@media (max-width: 1200px) {
  .tpe-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tpe-offer {
    grid-column: 1 / -1;
  }

  .tpe-uses {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : une colonne */
@media (max-width: 780px) {
  .tpe-grid,
  .tpe-uses {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpe-offer {
    padding: 24px;
  }

  .tpe-desc {
    font-size: 16px;
  }
}

/* Tablette portrait : 3 colonnes trop étroites -> cartes produits en largeur,
   texte à gauche, appareil à droite */
@media (min-width: 601px) and (max-width: 900px) {
  .tpe-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .tpe-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas:
      "top media"
      "label media"
      "title media"
      "desc media"
      "specs media";
    column-gap: 28px;
    padding: 26px;
  }

  .tpe-card-top {
    grid-area: top;
  }

  .tpe-card .tpe-label {
    grid-area: label;
  }

  .tpe-card h3 {
    grid-area: title;
  }

  .tpe-card-desc {
    grid-area: desc;
  }

  .tpe-specs {
    grid-area: specs;
    align-self: end;
    margin-top: 20px;
  }

  .tpe-media {
    grid-area: media;
    height: auto;
    min-height: 220px;
    margin: 0;
  }

  .tpe-media img {
    max-height: 240px;
  }
}

/* Appel à l'action sous les cartes TPE */
.tpe-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 26px 30px;
  border: 1px solid rgba(65, 167, 216, 0.28);
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.12) 0%,
    rgba(65, 167, 216, 0.04) 60%,
    rgba(255, 255, 255, 0.5) 100%
  );
}

.tpe-cta h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 6px;
}

.tpe-cta p {
  font-size: 16px;
  color: var(--muted);
}

.tpe-cta-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
}

.tpe-cta-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.tpe-cta-link:hover svg,
.tpe-cta-link:focus-visible svg {
  transform: translateX(5px);
}

/* Survol des cartes */
.tpe-offer,
.tpe-card {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Appareils qui flottent et halo qui respire (mêmes animations que #tpe-services),
   décalés entre les 3 cartes (--i : 2, 3, 4) */
.tpe-section.in-view .tpe-media img {
  animation: tpx-float 5s ease-in-out infinite;
  animation-delay: calc((var(--i, 2) - 2) * -1.6s);
}

.tpe-section.in-view .tpe-media::before {
  animation: tpx-breathe 5s ease-in-out infinite;
  animation-delay: calc((var(--i, 2) - 2) * -1.6s);
}

@media (hover: hover) {
  .tpe-offer:hover,
  .tpe-card:hover {
    transform: translateY(-6px);
    border-color: rgba(65, 167, 216, 0.35);
    box-shadow: 0 26px 50px -24px rgba(31, 125, 183, 0.4);
  }
}

/* Apparition au défilement (classes posées par script.js) */
.tpe-section.reveal-pending .tpe-intro,
.tpe-section.reveal-pending .tpe-offer,
.tpe-section.reveal-pending .tpe-card,
.tpe-section.reveal-pending .tpe-cta {
  opacity: 0;
  transform: translateY(32px);
}

.tpe-section.in-view .tpe-intro,
.tpe-section.in-view .tpe-offer,
.tpe-section.in-view .tpe-card,
.tpe-section.in-view .tpe-cta {
  animation: tpe-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

/* Une fois l'animation finie, on la retire pour rendre la main au survol */
.tpe-section.in-view .animated {
  animation: none;
  opacity: 1;
  transform: none;
}

.tpe-section.in-view .tpe-card.animated:hover,
.tpe-section.in-view .tpe-offer.animated:hover {
  transform: translateY(-6px);
}

@keyframes tpe-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Animations du bandeau TPE ---------- */
.tpe-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Reflet lumineux qui traverse le bandeau */
.tpe-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

/* Un passage à l'apparition, puis toutes les 6 s */
.tpe-section.in-view .tpe-cta::after {
  animation: tpe-shine 6s ease-in-out 1.4s infinite;
}

/* Barre bleue à gauche qui se remplit à l'apparition */
.tpe-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.tpe-section.reveal-pending:not(.in-view) .tpe-cta::before {
  transform: scaleY(0);
}

/* Flèche qui invite au clic */
.tpe-section.in-view .tpe-cta-link svg {
  animation: tpe-nudge 2.4s ease-in-out 1.6s infinite;
}

/* Soulignement du lien */
.tpe-cta-link {
  position: relative;
}

.tpe-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 30px;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.tpe-cta-link:hover::after,
.tpe-cta-link:focus-visible::after {
  transform: scaleX(1);
}

.tpe-cta-link:hover svg,
.tpe-cta-link:focus-visible svg {
  animation: none;
}

@media (hover: hover) {
  .tpe-section.in-view .tpe-cta.animated:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 167, 216, 0.5);
    box-shadow: 0 18px 40px -22px rgba(31, 125, 183, 0.45);
  }

  /* Le reflet repasse au survol */
  .tpe-section.in-view .tpe-cta:hover::after {
    animation: tpe-shine 1s ease-in-out;
  }
}

@keyframes tpe-shine {
  0% {
    transform: translateX(-100%);
  }
  20%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes tpe-nudge {
  0%,
  60%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpe-cta,
  .tpe-cta::before,
  .tpe-cta-link::after {
    transition: none;
  }

  .tpe-section.in-view .tpe-cta::after,
  .tpe-section.in-view .tpe-cta-link svg {
    animation: none;
  }
}

@media (max-width: 780px) {
  .tpe-section .bornes-showcase-intro {
    margin-bottom: 36px;
  }

  .tpe-cta {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpe-section.reveal-pending .tpe-intro,
  .tpe-section.reveal-pending .tpe-offer,
  .tpe-section.reveal-pending .tpe-card,
  .tpe-section.reveal-pending .tpe-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .tpe-offer,
  .tpe-card,
  .tpe-cta-link svg {
    transition: none;
  }

  .tpe-section.in-view .tpe-media img,
  .tpe-section.in-view .tpe-media::before {
    animation: none;
  }
}

/* ==========================================================
   Section « TPE & services monétiques » (#tpe-services)
   ========================================================== */
/* Les cartes entrent depuis les côtés : pas de défilement horizontal pendant l'animation */
.tpx-section {
  overflow-x: hidden; /* Safari < 16 : pas de clip */
  overflow-x: clip;
}

/* Espace entre l'intro et les cartes */
.tpx-section .bornes-showcase-intro {
  margin-bottom: 56px;
}

.tpx-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.tpx-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tpx-intro h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.tpx-line {
  display: block;
}

.tpx-intro h2 .accent {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tpx-desc {
  margin: 18px auto 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.tpx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  perspective: 1400px;
}

.tpx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(65, 167, 216, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafe 100%);
  box-shadow: 0 18px 40px -26px rgba(31, 125, 183, 0.3);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.tpx-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.tpx-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tpx-icon svg {
  width: 22px;
  height: 22px;
}

.tpx-arrow {
  width: 18px;
  height: 18px;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.tpx-card h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 8px;
}

.tpx-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* La liste reste en bas de carte : les séparateurs sont alignés entre les 3 cartes */
.tpx-list {
  position: relative;
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  display: grid;
  gap: 10px;
}

.tpx-card-desc {
  margin-bottom: 22px;
}

/* Séparateur dégradé au-dessus de la liste */
.tpx-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.5),
    rgba(65, 167, 216, 0.12) 70%,
    transparent
  );
  transform-origin: left;
}

/* Le séparateur se trace de gauche à droite à l'apparition */
.tpx-section.reveal-pending .tpx-list::before {
  transform: scaleX(0);
}

.tpx-section.in-view .tpx-list::before {
  animation: tpx-divider 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.8s + var(--i, 0) * 0.14s);
}

.tpx-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.tpx-check {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
}

/* Bandeau « standards » */
.tpx-standards {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid rgba(65, 167, 216, 0.18);
  border-radius: 20px;
  background: linear-gradient(90deg, #ffffff 0%, #f3f8fd 100%);
}

.tpx-standards-copy {
  flex: 1;
  min-width: 0;
}

.tpx-standards h3 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 6px;
}

.tpx-standards p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.tpx-badges {
  flex: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
}

.tpx-badges li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(65, 167, 216, 0.25);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.tpx-badges svg {
  width: 14px;
  height: 14px;
  color: var(--blue-deep);
}

/* ---------- Survol ---------- */
@media (hover: hover) {
  .tpx-card:hover {
    transform: translateY(-8px);
    border-color: rgba(65, 167, 216, 0.4);
    box-shadow: 0 30px 60px -28px rgba(31, 125, 183, 0.45);
  }

  .tpx-card:hover .tpx-icon {
    transform: rotate(-8deg) scale(1.1);
  }

  .tpx-card:hover .tpx-arrow {
    transform: translate(4px, -4px);
  }

  .tpx-badges li:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    background: rgba(65, 167, 216, 0.08);
  }
}

/* ---------- Apparition au défilement (classes posées par script.js) ---------- */

/* Cartes : entrée 3D depuis la gauche / le bas / la droite */
.tpx-section.reveal-pending .tpx-card {
  opacity: 0;
}

.tpx-section.in-view .tpx-card {
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  animation-delay: calc(var(--i, 0) * 0.14s);
}

.tpx-section.in-view .tpx-from-left {
  animation-name: tpx-in-left;
}

.tpx-section.in-view .tpx-from-bottom {
  animation-name: tpx-in-bottom;
}

.tpx-section.in-view .tpx-from-right {
  animation-name: tpx-in-right;
}

/* Entrée finie : on retire l'animation pour rendre la main au survol */
.tpx-section.in-view .tpx-card.animated {
  animation: none;
  opacity: 1;
}

/* Coches qui se dessinent */
.tpx-section.reveal-pending .tpx-check {
  stroke-dashoffset: 24;
}

.tpx-section.in-view .tpx-check {
  animation: tpx-draw 0.5s ease both;
  animation-delay: calc(1.1s + var(--i, 0) * 0.14s + var(--j, 0) * 0.1s);
}

/* Bandeau standards : montée, icône qui se balance, badges qui « pop » */
.tpx-section.reveal-pending .tpx-standards,
.tpx-section.reveal-pending .tpx-badges li {
  opacity: 0;
}

.tpx-section.in-view .tpx-standards {
  animation: tpx-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.tpx-section.in-view .tpx-icon-doc {
  animation: tpx-swing 0.9s ease 1.6s both;
}

.tpx-section.in-view .tpx-badges li {
  animation: tpx-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(1.4s + var(--b, 0) * 0.08s);
}

.tpx-section.in-view .tpx-badges li.animated {
  animation: none;
  opacity: 1;
}

@keyframes tpx-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px) rotateY(18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-in-bottom {
  from {
    opacity: 0;
    transform: translateY(60px) rotateX(-14deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-in-right {
  from {
    opacity: 0;
    transform: translateX(60px) rotateY(-18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-divider {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes tpx-draw {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tpx-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

@keyframes tpx-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.75;
  }
}

@keyframes tpx-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tpx-swing {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(9deg);
  }
  75% {
    transform: rotate(-4deg);
  }
}

@keyframes tpx-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Animations du bandeau « standards » ---------- */
.tpx-standards {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Barre bleue à gauche qui se remplit à l'apparition */
.tpx-standards::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s;
}

.tpx-section.reveal-pending:not(.in-view) .tpx-standards::before {
  transform: scaleY(0);
}

/* Reflet lumineux qui traverse le bandeau toutes les 7 s */
.tpx-standards::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(65, 167, 216, 0.14) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

.tpx-section.in-view .tpx-standards::after {
  animation: tpx-shine 7s ease-in-out 2.2s infinite;
}

/* Anneau qui pulse autour de l'icône document */
.tpx-icon-doc {
  position: relative;
}

.tpx-icon-doc::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--blue);
  opacity: 0;
  pointer-events: none;
}

.tpx-section.in-view .tpx-icon-doc::after {
  animation: tpx-ring 3s ease-out 2.4s infinite;
}

/* Vague lumineuse qui parcourt les badges un par un */
.tpx-badges li {
  position: relative;
}

.tpx-badges li::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 167, 216, 0.15);
  opacity: 0;
  pointer-events: none;
}

.tpx-section.in-view .tpx-badges li::after {
  animation: tpx-badge-glow 6s ease-in-out infinite;
  animation-delay: calc(2.4s + var(--b, 0) * 0.25s);
}

/* Survol du bandeau */
@media (hover: hover) {
  .tpx-section.in-view .tpx-standards:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 167, 216, 0.4);
    box-shadow: 0 20px 44px -26px rgba(31, 125, 183, 0.45);
  }

  .tpx-standards:hover .tpx-icon-doc {
    transform: rotate(-8deg) scale(1.1);
  }
}

/* Le bandeau garde son animation d'entrée ; une fois finie, on la retire pour le survol */
.tpx-section.in-view .tpx-standards.animated,
.tpx-section.in-view .tpx-icon-doc.animated {
  animation: none;
  opacity: 1;
}

@keyframes tpx-shine {
  0% {
    transform: translateX(-100%);
  }
  25%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes tpx-ring {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  60%,
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes tpx-badge-glow {
  0%,
  12%,
  100% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpx-section *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tpx-standards {
    flex-wrap: wrap;
  }

  .tpx-badges {
    width: 100%;
    grid-template-columns: repeat(6, auto);
    justify-content: start;
  }
}

@media (max-width: 900px) {
  .tpx-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* En une colonne, toutes les cartes montent du bas */
  .tpx-section.in-view .tpx-from-left,
  .tpx-section.in-view .tpx-from-right {
    animation-name: tpx-in-bottom;
  }
}

@media (max-width: 780px) {
  .tpx-intro,
  .tpx-section .bornes-showcase-intro {
    margin-bottom: 36px;
  }

  .tpx-desc {
    font-size: 16px;
  }

  .tpx-standards {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .tpx-badges {
    grid-template-columns: repeat(3, auto);
  }
}

/* Tablette portrait : cartes en largeur, titre + texte à gauche, liste à droite */
@media (min-width: 601px) and (max-width: 900px) {
  .tpx-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "top list"
      "title list"
      "desc list";
    column-gap: 32px;
  }

  .tpx-card-top {
    grid-area: top;
  }

  .tpx-card h3 {
    grid-area: title;
  }

  .tpx-card-desc {
    grid-area: desc;
    margin-bottom: 0;
  }

  .tpx-list {
    grid-area: list;
    align-self: center;
    margin: 0;
    padding: 0 0 0 28px;
  }

  /* Séparateur vertical à gauche de la liste */
  .tpx-list::before {
    top: 0;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(65, 167, 216, 0.5),
      rgba(65, 167, 216, 0.12) 70%,
      transparent
    );
    transform-origin: top;
  }

  .tpx-section.reveal-pending .tpx-list::before {
    transform: scaleY(0);
  }

  .tpx-section.in-view .tpx-list::before {
    animation-name: tpx-divider-y;
  }
}

@keyframes tpx-divider-y {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Petit téléphone : badges sur 2 colonnes (3 ne tiennent pas sous 380 px) */
@media (max-width: 400px) {
  .tpx-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpx-section *,
  .tpx-section *::before {
    animation: none !important;
    transition: none !important;
  }
}

.trust-bar {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: linear-gradient(180deg, #eef5fb 0%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar-track {
  position: relative;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 22px 0;
}

.trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.trust-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
  flex-shrink: 0;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.trust-icon svg {
  width: 17px;
  height: 17px;
}

.trust-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.trust-item:hover .trust-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 125, 183, 0.32);
  transform: translateY(-3px) rotate(-8deg) scale(1.08);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-item:hover .trust-label {
  color: var(--dark);
}

.trust-bar-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.trust-bar.in-view .trust-bar-shine {
  transform: translateX(120%);
  transition: transform 1.1s ease 0.2s;
}

.trust-bar.reveal-pending .trust-icon {
  opacity: 0;
  transform: scale(0.4) rotate(-16deg);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.trust-bar.in-view .trust-item .trust-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.trust-bar.reveal-pending .trust-label {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  transition-delay: calc(var(--i, 0) * 110ms + 140ms);
}

.trust-bar.in-view .trust-item .trust-label {
  opacity: 1;
  transform: translateY(0);
}

.trust-bar.reveal-pending .trust-divider {
  opacity: 0;
  transform: scaleY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  transition-delay: calc(var(--i, 0) * 110ms + 80ms);
}

.trust-bar.in-view .trust-divider {
  opacity: 1;
  transform: scaleY(1);
}

@media (prefers-reduced-motion: reduce) {
  .trust-bar.reveal-pending .trust-icon,
  .trust-bar.reveal-pending .trust-label,
  .trust-bar.reveal-pending .trust-divider {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .trust-bar-shine {
    display: none;
  }

  .trust-item:hover .trust-icon {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .trust-bar-track {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 18px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .trust-bar-track::-webkit-scrollbar {
    display: none;
  }

  .trust-item {
    padding: 8px 18px;
  }
}

@media (max-width: 520px) {
  .trust-icon {
    width: 32px;
    height: 32px;
  }

  .trust-icon svg {
    width: 15px;
    height: 15px;
  }

  .trust-label {
    font-size: 12.5px;
  }
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-intro h2 {
  font-size: clamp(36px, 3vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.06em;
  color: var(--dark);
}

.section-intro h2 .accent {
  color: var(--blue);
}

.section-intro.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro.center p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 10px;
}

/* ---------- Nos partenaires ----------
   En-tête + filtre par secteur + 1 rangée de logos qui défile. Logos en gris -> couleur au survol ou quand leur secteur est
   choisi (data-sector sur la section, posé par js/script.js). */
.partners-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.ptx-head {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.ptx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.ptx-eyebrow::before,
.ptx-eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.ptx-head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.ptx-head h2 .accent {
  color: var(--blue);
}

.ptx-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* filtre */
.ptx-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 34px;
}

.ptx-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--dark);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.ptx-chip span {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
}

.ptx-chip:hover {
  border-color: rgba(65, 167, 216, 0.45);
}

.ptx-chip[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(65, 167, 216, 0.6);
}

.ptx-chip[aria-pressed="true"] span {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.ptx-chip:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* rangée défilante */
.ptx-rows {
  display: grid;
  gap: 18px;
}

.partner-marquee {
  --partner-gap: 20px;
  position: relative;
  display: flex;
  gap: var(--partner-gap);
  padding: 10px 0; /* place pour la remontée au survol */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 96px,
    #000 calc(100% - 96px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 96px,
    #000 calc(100% - 96px),
    transparent 100%
  );
}

.partner-track {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: var(--partner-gap);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: partner-scroll 38s linear infinite;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--partner-gap)));
  }
}

.partner-item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 108px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    opacity 0.35s ease;
}

.partner-logo {
  display: block;
  height: 50px;
  width: auto;
  max-width: 124px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* nom + secteur, révélés sous le logo */
.ptx-name {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 9px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ptx-name small {
  font-weight: 600;
  color: var(--blue-deep);
}

.ptx-name small::before {
  content: "· ";
  color: var(--muted);
}

/* survol, ou logo du secteur choisi */
.partner-item:hover,
.partners-section[data-sector="banque"] .partner-item[data-sector="banque"],
.partners-section[data-sector="telecom"] .partner-item[data-sector="telecom"],
.partners-section[data-sector="transport"]
  .partner-item[data-sector="transport"],
.partners-section[data-sector="services"]
  .partner-item[data-sector="services"] {
  transform: translateY(-6px);
  border-color: rgba(65, 167, 216, 0.45);
  box-shadow:
    0 18px 34px rgba(16, 24, 40, 0.1),
    0 0 0 4px rgba(65, 167, 216, 0.1);
}

.partner-item:hover .partner-logo,
.partners-section[data-sector="banque"]
  .partner-item[data-sector="banque"]
  .partner-logo,
.partners-section[data-sector="telecom"]
  .partner-item[data-sector="telecom"]
  .partner-logo,
.partners-section[data-sector="transport"]
  .partner-item[data-sector="transport"]
  .partner-logo,
.partners-section[data-sector="services"]
  .partner-item[data-sector="services"]
  .partner-logo {
  filter: none;
  opacity: 1;
  transform: translateY(-10px);
}

.partner-item:hover .ptx-name,
.partners-section[data-sector="banque"]
  .partner-item[data-sector="banque"]
  .ptx-name,
.partners-section[data-sector="telecom"]
  .partner-item[data-sector="telecom"]
  .ptx-name,
.partners-section[data-sector="transport"]
  .partner-item[data-sector="transport"]
  .ptx-name,
.partners-section[data-sector="services"]
  .partner-item[data-sector="services"]
  .ptx-name {
  opacity: 1;
  transform: none;
}

/* secteur choisi : les autres logos s'effacent */
.partners-section:not([data-sector="all"]) .partner-item {
  opacity: 0.35;
}

.partners-section[data-sector="banque"] .partner-item[data-sector="banque"],
.partners-section[data-sector="telecom"] .partner-item[data-sector="telecom"],
.partners-section[data-sector="transport"]
  .partner-item[data-sector="transport"],
.partners-section[data-sector="services"] .partner-item[data-sector="services"],
.partners-section:not([data-sector="all"]) .partner-item:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .ptx-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 22px -16px 26px;
    padding: 4px 16px;
    scrollbar-width: none;
  }

  .ptx-filters::-webkit-scrollbar {
    display: none;
  }

  .partner-marquee {
    --partner-gap: 14px;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 32px,
      #000 calc(100% - 32px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 32px,
      #000 calc(100% - 32px),
      transparent 100%
    );
  }

  .partner-item {
    width: 140px;
    height: 88px;
    border-radius: 14px;
  }

  .partner-logo {
    height: 38px;
    max-width: 100px;
  }

  .ptx-name {
    font-size: 11px;
  }

  .ptx-name small {
    display: none;
  }
}

/* sans animation : une seule grille fixe, logos en couleur */
@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .partner-track[aria-hidden="true"] {
    display: none;
  }

  .partner-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partner-logo {
    filter: none;
    opacity: 1;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.feature-card.accent {
  background: linear-gradient(
    180deg,
    rgba(65, 167, 216, 0.08),
    rgba(255, 255, 255, 0.8)
  );
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

/* ---------- À propos ---------- */
.about-head {
  max-width: 760px;
}

.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.about-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.about-head h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 22px;
}

.about-head h2 .accent {
  color: var(--blue);
}

.about-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* Bandeau de chiffres */
.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    rgba(65, 167, 216, 0.12),
    rgba(16, 185, 129, 0.1)
  );
}

.about-stat {
  --tone: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-stat--green {
  --tone: #10b981;
}

.about-stat--orange {
  --tone: #f59e0b;
}

.about-stat-icon {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--tone);
}

.about-stat-icon svg {
  width: 100%;
  height: 100%;
}

.about-stat-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--tone);
  font-variant-numeric: tabular-nums;
}

.about-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Notre valeur ajoutée */
.about-value {
  text-align: center;
  margin: 40px 0 28px;
}

.about-value-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.about-value-sub {
  font-size: 14px;
  color: var(--muted);
}

/* Cartes */
.about-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.about-card {
  --tone: var(--blue);
  --tone-bg: rgba(65, 167, 216, 0.14);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.about-card--green {
  --tone: #10b981;
  --tone-bg: rgba(16, 185, 129, 0.14);
}

.about-card--orange {
  --tone: #f59e0b;
  --tone-bg: rgba(245, 158, 11, 0.16);
}

.about-card--purple {
  --tone: #8b5cf6;
  --tone-bg: rgba(139, 92, 246, 0.14);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--tone-bg);
  color: var(--tone);
  margin-bottom: 30px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-card-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.about-card:hover .about-card-icon {
  background: var(--tone);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

/* Apparition au défilement : montée + fondu, rejouée à chaque passage.
   L'état caché n'existe qu'avec .ab-reveal-ready (posée par le JS) :
   sans JS, tout reste visible. */
.ab-reveal-ready [data-ab-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  transition-delay: calc(var(--d, 0) * var(--ab-step, 110ms));
}

.ab-reveal-ready [data-ab-reveal="left"] {
  transform: translateX(-48px);
}

.ab-reveal-ready [data-ab-reveal="right"] {
  transform: translateX(48px);
}

.ab-reveal-ready [data-ab-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Survol : sélecteur plus spécifique que .is-visible, sans retard */
.about-card:hover,
.ab-reveal-ready .about-card.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.09);
  border-color: var(--tone-bg);
  transition-delay: 0s;
}

@media (max-width: 980px) {
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  .about-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-card-icon {
    margin-bottom: 18px;
  }
}

/* ---------- E-Voucher & E-TopUp ---------- */
.evx-section {
  --evx: #e8863f;
  --evx-deep: #b5561a;
  --evx-soft: rgba(232, 134, 63, 0.14);
  --evx-row: #fff5ee;
}

.evx-head {
  max-width: 640px;
}

.evx-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evx);
  margin-bottom: 14px;
}

.evx-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.evx-head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 18px;
}

.evx-head h2 .accent {
  color: var(--evx);
}

.evx-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Pastilles de canaux */
.evx-channels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 38px;
}

.evx-channels li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.evx-channels svg {
  width: 15px;
  height: 15px;
  color: var(--evx);
}

/* Cartes */
.evx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.evx-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.evx-card--soft {
  background: linear-gradient(
    135deg,
    rgba(232, 134, 63, 0.07),
    rgba(255, 255, 255, 0.9) 60%
  );
}

.evx-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 18px;
}

.evx-card-icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--evx-soft);
  color: var(--evx);
}

.evx-card-icon svg {
  width: 17px;
  height: 17px;
}

.evx-card.is-visible .evx-card-icon {
  animation: evx-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both;
}

@keyframes evx-bounce {
  0% {
    transform: scale(0.6) rotate(-12deg);
  }
  60% {
    transform: scale(1.12) rotate(4deg);
  }
  100% {
    transform: none;
  }
}

/* Liste « La plateforme » */
.evx-list,
.evx-benefits {
  list-style: none;
  display: grid;
}

.evx-list {
  gap: 10px;
}

.evx-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--evx-row);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.evx-item svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--evx);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.evx-item:hover {
  transform: translateX(4px);
  background: rgba(232, 134, 63, 0.12);
}

.evx-item:hover svg {
  transform: scale(1.15);
  color: var(--evx-deep);
}

/* Avantages */
.evx-benefits {
  gap: 12px;
}

.evx-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.evx-benefits svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--evx);
  transition: transform 0.3s ease;
}

.evx-benefits li:hover svg {
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  .evx-card.is-visible .evx-card-icon {
    animation: none;
  }
}

@media (max-width: 900px) {
  .evx-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .evx-channels {
    justify-content: flex-start;
    margin: 28px 0;
  }

  .evx-card {
    padding: 20px 16px;
  }
}

/* ---------- Bornes digitales (libre-service) ---------- */
.bdx-section {
  --bdx: #22b392;
  --bdx-deep: #0f7f66;
}

.bdx-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.bdx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bdx);
  margin-bottom: 14px;
}

.bdx-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.bdx-head h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 16px;
}

.bdx-head h2 .accent {
  color: var(--bdx);
}

.bdx-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Cartes */
.bdx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.bdx-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.bdx-card-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(34, 179, 146, 0.14);
  color: var(--bdx-deep);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bdx-card-icon svg {
  width: 19px;
  height: 19px;
}

.bdx-card h3 {
  font-size: 15px;
  line-height: 1.5;
  color: var(--dark);
  margin: 2px 0 6px;
}

.bdx-card p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* Survol : plus spécifique que .ab-reveal-ready [data-ab-reveal].is-visible */
.bdx-section .bdx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.08);
  border-color: rgba(34, 179, 146, 0.3);
  transition-delay: 0s;
}

.bdx-card:hover .bdx-card-icon {
  background: var(--bdx);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.bdx-card.is-visible .bdx-card-icon {
  animation: bdx-icon-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--d, 0) * 110ms + 0.3s);
}

@keyframes bdx-icon-in {
  from {
    transform: scale(0.5);
  }
  to {
    transform: none;
  }
}

/* Bandeau de caractéristiques */
.bdx-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
  margin-top: 30px;
  padding: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.bdx-specs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
}

.bdx-specs li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 16px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.15);
}

.bdx-specs svg {
  width: 17px;
  height: 17px;
  color: var(--bdx);
}

@media (prefers-reduced-motion: reduce) {
  .bdx-card.is-visible .bdx-card-icon {
    animation: none;
  }
}

@media (max-width: 860px) {
  .bdx-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .bdx-head {
    text-align: left;
    margin-bottom: 30px;
  }

  .bdx-specs {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .bdx-specs li + li::before {
    display: none;
  }

  .bdx-card {
    padding: 18px 16px;
  }
}

/* ---------- Monétique & VAS ---------- */
.mvx-section {
  --mvx: #308be4;
  --mvx-deep: #1d64b8;
  --mvx-soft: rgba(48, 139, 228, 0.12);
  --mvx-row: #eef5fd;
}

.mvx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.mvx-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mvx);
  margin-bottom: 14px;
}

.mvx-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.mvx-copy h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 20px;
}

.mvx-copy h2 .accent {
  color: var(--mvx);
}

.mvx-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Liste de services */
.mvx-list {
  list-style: none;
  display: grid;
  gap: 12px;
  --ab-step: 70ms;
}

.mvx-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--mvx-row);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease;
}

.mvx-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--mvx);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mvx-section .mvx-list li:hover {
  transform: translateX(4px);
  background: rgba(48, 139, 228, 0.16);
  transition-delay: 0s;
}

.mvx-list li:hover svg {
  transform: scale(1.15);
}

/* Schéma : plateforme centrale -> canaux */
.mvx-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 30px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(
    150deg,
    rgba(48, 139, 228, 0.08),
    rgba(255, 255, 255, 0.95) 55%
  );
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.mvx-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: min(100%, 216px);
  padding: 22px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--mvx), var(--mvx-deep));
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 34px rgba(29, 100, 184, 0.3);
}

.mvx-hub svg {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.mvx-hub strong {
  font-size: 14px;
}

.mvx-hub span {
  font-size: 11.5px;
  opacity: 0.85;
}

.mvx-line {
  position: relative;
  width: 1px;
  height: 48px;
  margin: 24px 0;
  background: rgba(16, 24, 40, 0.35);
  transform-origin: top;
}

/* point lumineux qui descend de la plateforme vers les canaux */
.mvx-line::after {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mvx);
  box-shadow: 0 0 8px var(--mvx);
  animation: mvx-flow 2.2s ease-in-out infinite;
}

@keyframes mvx-flow {
  0% {
    top: 0;
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.ab-reveal-ready .mvx-line {
  transform: scaleY(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.ab-reveal-ready .mvx-diagram.is-visible .mvx-line {
  transform: none;
}

.mvx-channels {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.mvx-channels li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.mvx-channels svg {
  width: 22px;
  height: 22px;
  color: var(--mvx);
}

.mvx-section .mvx-channels li:hover {
  transform: translateY(-3px);
  border-color: rgba(48, 139, 228, 0.35);
  box-shadow: 0 10px 20px rgba(29, 100, 184, 0.12);
  transition-delay: 0s;
}

.mvx-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.mvx-note svg {
  width: 16px;
  height: 16px;
  color: var(--mvx);
}

@media (prefers-reduced-motion: reduce) {
  .mvx-line::after {
    animation: none;
    display: none;
  }
}

@media (max-width: 980px) {
  .mvx-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .mvx-diagram {
    padding: 24px 16px 20px;
  }

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

  .mvx-list li {
    font-size: 13.5px;
  }
}

/* ---------- Automatisation & agence digitale ---------- */
.agx-section {
  --agx: #6f5be3;
  --agx-deep: #4c3bb8;
  --agx-soft: rgba(111, 91, 227, 0.14);
  --agx-row: #f3f1fd;
}

.agx-head {
  max-width: 700px;
  margin-bottom: 44px;
}

.agx-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--agx);
  margin-bottom: 14px;
}

.agx-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.agx-head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 18px;
}

.agx-head h2 .accent {
  color: var(--agx);
}

.agx-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Cartes */
.agx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.agx-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.agx-card--soft {
  background: linear-gradient(
    150deg,
    rgba(111, 91, 227, 0.08),
    rgba(255, 255, 255, 0.9) 65%
  );
}

.agx-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 20px;
}

.agx-card-title svg {
  width: 18px;
  height: 18px;
  color: var(--agx);
}

.agx-card.is-visible .agx-card-title svg {
  animation: agx-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both;
}

@keyframes agx-bounce {
  0% {
    transform: scale(0.5) rotate(-15deg);
  }
  60% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    transform: none;
  }
}

/* Liste « Ce que nous automatisons » (pas d'animation d'apparition) */
.agx-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.agx-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--agx-row);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.agx-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--agx);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.agx-list li:hover {
  transform: translateX(4px);
  background: rgba(111, 91, 227, 0.13);
}

.agx-list li:hover svg {
  transform: scale(1.15);
}

/* Mini-cartes ROI */
.agx-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  --ab-step: 70ms;
}

.agx-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.agx-benefit-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--agx-soft);
  color: var(--agx-deep);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.agx-benefit-icon svg {
  width: 18px;
  height: 18px;
}

.agx-section .agx-benefits li:hover {
  transform: translateY(-3px);
  border-color: rgba(111, 91, 227, 0.35);
  box-shadow: 0 10px 20px rgba(76, 59, 184, 0.1);
  transition-delay: 0s;
}

.agx-benefits li:hover .agx-benefit-icon {
  background: var(--agx);
  color: #fff;
}

/* Bouton d'appel */
.agx-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.agx-cta {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--agx-soft);
  color: var(--agx-deep);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.agx-section .agx-cta:hover {
  background: var(--agx);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(76, 59, 184, 0.22);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .agx-card.is-visible .agx-card-title svg {
    animation: none;
  }
}

@media (max-width: 900px) {
  .agx-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .agx-card {
    padding: 20px 16px;
  }

  .agx-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .agx-cta {
    border-radius: 16px;
  }
}

/* ---------- Nos solutions : 4 familles ---------- */
.slx-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.slx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.slx-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.slx-head h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 16px;
}

.slx-head h2 .accent {
  color: var(--blue);
}

.slx-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.slx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.slx-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.slx-media {
  position: relative;
  display: block;
  /* visuels solution/*.png : bannières ~7:4, cadre 2:1 (léger rognage haut/bas, texte intact) */
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--tone-bg);
}

.slx-media picture {
  display: contents;
}

/* --pos / --zoom (optionnels, par carte) : recadrent un visuel qui aurait des marges */
.slx-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(var(--zoom, 1));
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.slx-card:hover .slx-media img {
  transform: scale(calc(var(--zoom, 1) * 1.015));
}

.slx-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tone);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.slx-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 18px;
}

.slx-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.slx-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 10px;
}

.slx-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.slx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slx-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--tone-bg);
  color: var(--tone-ink);
  font-size: 11px;
  font-weight: 700;
}

.slx-chip svg {
  width: 12px;
  height: 12px;
}

.slx-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--tone);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Survol : plus spécifique que .ab-reveal-ready [data-ab-reveal].is-visible */
.slx-section .slx-card:hover,
.slx-section .slx-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--tone-bg);
  box-shadow: 0 22px 44px -12px rgba(15, 23, 42, 0.22);
  transition-delay: 0s;
}

.slx-card:hover .slx-arrow,
.slx-card:focus-visible .slx-arrow {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .slx-media img,
  .slx-arrow {
    transition: none;
  }
}

/* Tablette : 2 colonnes conservées, cartes plus compactes */
@media (max-width: 1024px) {
  .slx-grid {
    gap: 18px;
  }

  .slx-body {
    padding: 16px;
  }

  .slx-title {
    font-size: 16px;
  }
}

/* Mobile : 1 colonne, visuel en pleine largeur */
@media (max-width: 640px) {
  .slx-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .slx-head {
    text-align: left;
    margin-bottom: 28px;
  }

  .slx-badge {
    top: 10px;
    right: 10px;
  }
}

.payments-section {
  position: relative;
  overflow: hidden;
}

.payments-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.payments-glow-1 {
  top: -120px;
  left: -140px;
  background: rgba(65, 167, 216, 0.16);
}

.payments-glow-2 {
  bottom: -160px;
  left: 12%;
  background: rgba(31, 125, 183, 0.1);
}

.payments-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.payments-copy {
  max-width: 460px;
}

.payments-copy h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 16px 0 18px;
}

.accent-script {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.25em;
  color: var(--blue-deep);
}

.payments-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.payments-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.payments-highlight-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(65, 167, 216, 0.12);
  color: var(--blue-deep);
}

.payments-highlight-icon svg {
  width: 21px;
  height: 21px;
}

.payments-highlight h3 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 6px;
}

.payments-highlight p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.payments-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.payment-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 14px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.payment-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(16, 24, 40, 0.1);
  border-color: rgba(65, 167, 216, 0.3);
}

.payment-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(65, 167, 216, 0.1);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.payment-icon svg {
  width: 22px;
  height: 22px;
}

.payment-tile:hover .payment-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

.payment-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.payment-tile.featured {
  border-color: rgba(65, 167, 216, 0.4);
  background: linear-gradient(180deg, rgba(65, 167, 216, 0.08), var(--panel));
}

.payment-tile.featured .payment-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  animation: payment-pulse 2.6s ease-in-out infinite;
}

.payment-tile.featured:hover .payment-icon {
  transform: scale(1.08);
}

.payment-tile.featured .payment-label {
  color: var(--blue-deep);
  font-weight: 700;
}

@keyframes payment-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(65, 167, 216, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(65, 167, 216, 0);
  }
}

.payments-section.reveal-pending .payment-tile {
  opacity: 0;
}

.payments-section.in-view .payment-tile {
  animation: payment-tile-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.payments-section.in-view .payment-tile.animated {
  animation: none;
  opacity: 1;
}

@keyframes payment-tile-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payments-section.reveal-pending .payments-copy {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.payments-section.in-view .payments-copy {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .payment-tile.featured .payment-icon {
    animation: none;
  }
}

@media (max-width: 980px) {
  .payments-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .payments-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .payments-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payments-highlight {
    flex-direction: column;
  }
}

.software-section {
  position: relative;
  overflow: hidden;
}

.software-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.software-visual {
  position: relative;
}

.software-window {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.software-window-badge {
  position: absolute;
  top: 7px;
  right: 70px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.14);
  animation: badge-float 3.2s ease-in-out infinite;
}

.software-window-badge svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.software-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(245, 247, 251, 0.7);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.window-dots span:first-child {
  background: var(--blue);
}

.window-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.window-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

.window-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  position: relative;
}

/* Onde "en ligne" : anneau de 6 px qui s'élargit et s'efface. Animé en
   transform/opacity (compositeur) au lieu de box-shadow (repeint). */
.window-live-dot::after,
.status-dot.online::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.5);
  opacity: 0;
  animation: live-pulse 1.8s ease-out infinite;
}

.window-live-dot {
  --pulse-scale: 2.714; /* (7 + 2 x 6) / 7 */
}

.status-dot.online::after {
  animation-duration: 2.2s;
}

@keyframes live-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(var(--pulse-scale, 2.5));
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.software-window-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
}

.stat-box-label {
  font-size: 12px;
  color: var(--muted);
}

.stat-box-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 4px 0 2px;
}

.stat-box-delta {
  font-size: 12px;
  font-weight: 700;
}

.stat-box-delta.up {
  color: #16a34a;
}

.chart-card,
.status-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.mini-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mini-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.mini-card-note {
  font-size: 12px;
  color: var(--muted);
}

.mini-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
}

.mini-card-link:hover {
  text-decoration: underline;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
}

.chart-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.chart-bar.peak {
  opacity: 1;
}

.chart-bars:hover .chart-bar {
  opacity: 0.75;
}

.chart-bars:hover .chart-bar:hover,
.chart-bars .chart-bar.peak:hover {
  opacity: 1;
}

.status-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 13px;
  color: var(--text);
}

.status-row + .status-row {
  border-top: 1px solid var(--border);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online {
  background: #16a34a;
  position: relative;
  --pulse-scale: 2.5; /* (8 + 2 x 6) / 8 */
}

.status-dot.maintenance {
  background: #d97706;
}

.status-value {
  font-size: 12px;
  font-weight: 700;
}

.status-value.online {
  color: #16a34a;
}

.status-value.maintenance {
  color: #d97706;
}

.software-copy h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 16px 0 18px;
}

.software-copy h2 .accent {
  color: var(--blue-deep);
}

.software-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.software-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.software-feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.software-feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(65, 167, 216, 0.1);
  color: var(--blue-deep);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.software-feature-icon svg {
  width: 18px;
  height: 18px;
}

.software-feature:hover .software-feature-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}

.software-feature strong {
  display: block;
  font-size: 14.5px;
  color: var(--dark);
  margin-bottom: 2px;
}

.software-feature small {
  font-size: 12.5px;
  color: var(--muted);
}

.software-section.reveal-pending .software-visual {
  opacity: 0;
  transform: translateX(-28px);
}

.software-section.reveal-pending .software-copy {
  opacity: 0;
  transform: translateX(28px);
}

.software-section.reveal-pending .software-visual,
.software-section.reveal-pending .software-copy {
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.software-section.in-view .software-visual,
.software-section.in-view .software-copy {
  opacity: 1;
  transform: none;
}

.software-section.reveal-pending .chart-bar {
  transform: scaleY(0);
  transform-origin: bottom;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}

.software-section.in-view .chart-bar {
  transform: scaleY(1);
}

.software-section.reveal-pending .software-feature {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.software-section.in-view .software-feature {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .software-window-badge,
  .window-live-dot::after,
  .status-dot.online::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .software-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .software-window-badge {
    top: 7px;
    right: 70px;
    font-size: 12px;
    padding: 7px 14px 7px 10px;
  }

  .software-text {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat-row .stat-box:last-child {
    grid-column: 1 / -1;
  }

  .software-features {
    grid-template-columns: 1fr;
  }
}

.specs-copy {
  max-width: 420px;
}

.specs-copy h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--dark);
  margin-top: 16px;
}

.specs-copy h2 .accent {
  color: var(--blue);
}

.specs-panel {
  border-top: 1px solid var(--border);
}

.specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--border);
}

.specs-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 4px;
}

.specs-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(65, 167, 216, 0.1);
  color: var(--blue-deep);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.specs-icon svg {
  width: 22px;
  height: 22px;
}

.specs-item:hover .specs-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}

.specs-text small {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 5px;
}

.specs-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.specs-section.reveal-pending .specs-copy {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.specs-section.reveal-pending .specs-panel {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.specs-section.in-view .specs-copy,
.specs-section.in-view .specs-panel {
  opacity: 1;
  transform: none;
}

.specs-section.reveal-pending .specs-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.specs-section.in-view .specs-item {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .specs-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .specs-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .specs-item {
    padding: 22px 4px;
  }
}

.sectors-section {
  --stagger-step: 70ms;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 18px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.sector-grid.reveal-pending .sector-card {
  transform: translateY(22px);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  transition-delay: calc(var(--i, 0) * var(--stagger-step));
}

.sector-grid.in-view .sector-card {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .sector-grid.reveal-pending .sector-card {
    transform: none;
    opacity: 1;
    transition:
      box-shadow 0.3s ease,
      border-color 0.3s ease;
    transition-delay: 0s;
  }
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    160px 160px at var(--mx, 50%) var(--my, 0%),
    rgba(65, 167, 216, 0.16),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-card:hover {
  border-color: rgba(65, 167, 216, 0.35);
  box-shadow: 0 22px 40px rgba(16, 24, 40, 0.1);
}

.sector-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(65, 167, 216, 0.1);
  color: var(--blue-deep);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sector-icon svg {
  width: 26px;
  height: 26px;
}

.sector-card:hover .sector-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  transform: rotate(-8deg) scale(1.1);
}

.sector-label {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.25s ease;
}

.sector-card:hover .sector-label {
  color: var(--blue-deep);
}

@media (max-width: 900px) {
  .sector-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sector-card {
    padding: 24px 14px;
  }
}

.why-section {
  position: relative;
  overflow: hidden;
}

.why-section .bornes-showcase-intro {
  position: relative;
  z-index: 1;
}

.why-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
}

.why-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 36%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.why-section.in-view .why-panel::before {
  animation: why-sheen 1.3s ease 0.6s 1;
}

@keyframes why-sheen {
  0% {
    opacity: 0;
    left: -60%;
  }
  15% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    left: 130%;
  }
}

.why-cell {
  position: relative;
  padding: 42px 38px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.why-cell:nth-child(3n) {
  border-right: none;
}

.why-cell:nth-child(n + 4) {
  border-bottom: none;
}

.why-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(65, 167, 216, 0.07),
    rgba(65, 167, 216, 0)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.why-cell:hover::before {
  opacity: 1;
}

.why-cell::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-cell:hover::after {
  transform: scaleY(1);
  transform-origin: top;
}

.why-number {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(65, 167, 216, 0.32);
  margin-bottom: 18px;
  transition: color 0.35s ease;
}

.why-cell:hover .why-number {
  color: var(--blue);
}

.why-cell h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.why-cell:hover h3 {
  transform: translateX(4px);
}

.why-cell p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 320px;
}

.why-section.reveal-pending .why-panel {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-section.in-view .why-panel {
  opacity: 1;
  transform: none;
}

.why-section.reveal-pending .why-cell {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 0.55s ease calc(var(--i, 0) * 110ms + 200ms),
    clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1)
      calc(var(--i, 0) * 110ms + 200ms);
}

.why-section.in-view .why-cell {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .why-panel::before {
    animation: none;
  }
}

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

  .why-cell {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .why-cell:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .why-cell:nth-child(n + 4) {
    border-bottom: 1px solid var(--border);
  }

  .why-cell:nth-child(2n) {
    border-right: none;
  }

  .why-cell:nth-child(n + 5) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .why-panel {
    grid-template-columns: 1fr;
  }

  .why-cell {
    padding: 32px 26px;
    border-right: none !important;
  }

  .why-cell:nth-child(n + 5) {
    border-bottom: 1px solid var(--border);
  }

  .why-cell:last-child {
    border-bottom: none;
  }
}

.process-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
}

.process-line {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-line-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.process-section.in-view .process-line-fill {
  width: 100%;
}

.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
}

.process-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--border);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.process-step:hover .process-circle {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(65, 167, 216, 0.35);
}

.process-step h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 8px;
}

.process-step:hover h3 {
  color: var(--blue-deep);
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 200px;
}

.process-section.reveal-pending .process-circle {
  opacity: 0;
  transform: scale(0.3);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)
      calc(var(--i, 0) * 130ms + 150ms),
    opacity 0.5s ease calc(var(--i, 0) * 130ms + 150ms),
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.process-section.in-view .process-circle {
  opacity: 1;
  transform: scale(1);
}

.process-section.reveal-pending .process-step h3,
.process-section.reveal-pending .process-step p {
  opacity: 0;
  transform: translateY(12px);
}

.process-section.reveal-pending .process-step h3 {
  transition:
    opacity 0.5s ease calc(var(--i, 0) * 130ms + 280ms),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1)
      calc(var(--i, 0) * 130ms + 280ms),
    color 0.3s ease;
}

.process-section.reveal-pending .process-step p {
  transition:
    opacity 0.5s ease calc(var(--i, 0) * 130ms + 340ms),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1)
      calc(var(--i, 0) * 130ms + 340ms);
}

.process-section.in-view .process-step h3,
.process-section.in-view .process-step p {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .process-line-fill {
    transition: none;
  }
}

@media (max-width: 900px) {
  .process-track {
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .process-line {
    top: 0;
    bottom: 0;
    left: 30px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--blue), var(--blue-deep));
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  }

  .process-section.in-view .process-line-fill {
    height: 100%;
    width: 100%;
  }

  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }

  .process-circle {
    margin-bottom: 0;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .process-body {
    flex: 1;
    min-width: 0;
    padding-top: 16px;
  }

  .process-step p {
    max-width: none;
  }
}

.price-value {
  font-size: 38px;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 14px 0 6px;
}

.price-value span {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.price-list {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-list li {
  color: var(--muted);
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 700;
}

.testimonial-card .quote {
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  flex-shrink: 0;
}

.quote-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.quote-role {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote-mark {
  width: 34px;
  height: 26px;
  color: rgba(65, 167, 216, 0.35);
  margin-bottom: 6px;
}

.testimonial-card .stars {
  color: #f5b301;
  letter-spacing: 3px;
  font-size: 15px;
  margin-bottom: 14px;
}

.testimonial-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0 18px;
}

.testimonial-card .quote-author {
  margin-top: 0;
  align-items: center;
}

.testimonial-card .quote-avatar {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.testimonial-card .quote-name {
  font-size: 15px;
}

.testimonial-card .quote-role {
  font-size: 13px;
}

.quote-company {
  margin-top: 1px;
}

.quote-company a {
  color: var(--blue-deep);
  font-size: 13px;
  text-decoration: none;
}

.quote-company a:hover {
  text-decoration: underline;
}

.stats-row {
  display: flex;
  justify-content: center;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: var(--border);
}

.stat-value {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .stats-row {
    flex-wrap: wrap;
    row-gap: 28px;
  }

  .stat-item {
    flex: 0 0 50%;
    max-width: none;
  }

  .stat-item:nth-child(even)::before {
    display: none;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 22px;
}

.faq-item {
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
}

.faq-item h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* CTA */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(65, 167, 216, 0.12),
    rgba(65, 167, 216, 0.02)
  );
  border: 1px solid var(--border);
}

.cta-box h3 {
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 6px;
}

.cta-box p {
  color: var(--muted);
  font-size: 16px;
}

.final-image {
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 60% 70% at 85% 30%,
      rgba(65, 167, 216, 0.16),
      transparent 70%
    ),
    linear-gradient(160deg, #f7fafe 0%, #eaf2fb 100%);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

/* ---------- Section finale : les 4 solutions en panneaux extensibles ----------
   En-tête (titre à gauche, texte + bouton à droite), puis 4 panneaux.
   Bureau : bandes côte à côte ; celle de l'étape active (.is-active, posée
   par js/script.js) s'élargit et montre sa photo + une carte de texte, les
   autres gardent leur numéro et leur titre vertical sur la photo teintée.
   Tablette portrait / mobile (<= 900 px) : accordéon vertical.
   --journey (0..1) = progression, affichée par la barre .fj-rail. */
.fj-layout {
  --closed: 84px; /* largeur d'un panneau fermé */
  --panel-gap: 12px;
  /* largeur du panneau ouvert = largeur totale - 3 panneaux fermés */
  --open-w: calc(100cqw - 3 * (var(--closed) + var(--panel-gap)));
  position: absolute;
  inset: 0;
  z-index: 1;
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: center;
  gap: clamp(18px, 3vh, 32px);
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  padding: clamp(84px, 12vh, 112px) 0 clamp(20px, 4vh, 40px);
}

/* ----- en-tête ----- */
.fj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.fj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.fj-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.fj-head h2 {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--dark);
  text-wrap: balance;
}

.fj-head h2 .accent {
  color: var(--blue);
}

.fj-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 400px;
}

.fj-lead {
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  height: 52px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(65, 167, 216, 0.35);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.final-cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.final-cta-btn:hover,
.final-cta-btn:focus-visible {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(65, 167, 216, 0.45);
}

.final-cta-btn:hover svg,
.final-cta-btn:focus-visible svg {
  transform: translateX(4px);
}

.final-cta-btn:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
}

/* ----- panneaux (bureau) ----- */
.fj-panels {
  display: flex;
  gap: var(--panel-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  /* hauteur proche du format des photos (~2:1) pour peu les recadrer */
  height: min(100%, calc(var(--open-w) / 1.9));
  min-height: 240px;
  align-self: center;
}

.fj-panel {
  position: relative;
  flex: 0 0 var(--closed);
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #0d2a44;
  box-shadow:
    0 22px 50px -24px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(16, 24, 40, 0.06);
  transition: flex-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    flex-basis 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.fj-panel.is-active {
  flex: 1 1 0;
}

.fj-body {
  position: absolute;
  inset: 0;
}

/* photo posée à la largeur du panneau ouvert : elle ne se redimensionne pas
   pendant l'ouverture, le panneau la découvre */
.fj-body img {
  position: absolute;
  top: 0;
  left: 0;
  width: max(100%, var(--open-w));
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* teinte bleue sur les panneaux fermés, simple dégradé en bas une fois ouvert */
.fj-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 42, 68, 0.55) 0%,
    rgba(13, 42, 68, 0.82) 100%
  );
  transition: opacity 0.5s ease;
}

.fj-panel.is-active .fj-body::after {
  background: linear-gradient(
    180deg,
    rgba(13, 42, 68, 0) 45%,
    rgba(13, 42, 68, 0.55) 100%
  );
}

/* bouton = tout le panneau ; fermé : numéro + titre vertical */
.fj-tab {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fj-panel.is-active .fj-tab {
  cursor: default;
}

.fj-tab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
  border-radius: 22px;
}

.fj-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.fj-tab-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.fj-panel:not(.is-active):hover .fj-num {
  background: var(--blue);
  border-color: var(--blue);
}

.fj-panel:not(.is-active):hover .fj-body img {
  transform: scale(1.04);
}

/* ouvert : le numéro passe en pastille bleue, le titre vertical s'efface */
.fj-panel.is-active .fj-num {
  background: var(--blue);
  border-color: var(--blue);
}

.fj-panel.is-active .fj-tab-title {
  opacity: 0;
}

/* ouvert (bureau) : le numéro passe en haut à gauche, au-dessus de la carte */
@media (min-width: 901px) {
  .fj-panel.is-active .fj-tab {
    align-items: flex-start;
    padding-left: 22px;
  }
}

/* carte de texte du panneau ouvert */
.fj-info {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(440px, calc(100% - 44px));
  padding: 16px 20px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 36px -14px rgba(15, 23, 42, 0.45);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

.fj-panel.is-active .fj-info {
  opacity: 1;
  transform: none;
  transition-duration: 0.5s;
  transition-delay: 0.35s; /* après l'ouverture du panneau */
}

.fj-info-num {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.fj-info h3 {
  margin: 4px 0 6px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2;
  color: var(--dark);
}

.fj-info p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* barre de progression */
.fj-rail {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(31, 125, 183, 0.15);
  overflow: hidden;
}

.fj-rail > span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform-origin: left;
  transform: scaleX(var(--journey, 0));
}

/* défilement automatique (mobile) : progression animée entre les étapes */
.final-journey.is-autoplay .fj-rail > span {
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
  .fj-panel,
  .fj-body img,
  .fj-info,
  .fj-tab-title,
  .final-journey .fj-rail > span {
    transition: none !important;
  }
}

/* Bureau peu haut (portable) : en-tête plus compact */
@media (min-width: 901px) and (max-height: 720px) {
  .fj-head h2 {
    font-size: clamp(26px, 2.8vw, 40px);
  }

  .fj-lead {
    display: none;
  }

  .fj-info p {
    font-size: 13.5px;
  }
}

/* Tablette paysage / petit bureau : panneaux fermés plus fins */
@media (min-width: 901px) and (max-width: 1100px) {
  .fj-layout {
    --closed: 68px;
  }

  .fj-tab-title {
    font-size: 14.5px;
  }
}

/* ----- Tablette portrait / mobile : accordéon vertical ----- */
@media (max-width: 900px) {
  /* la section (min-height: 100svh) centre son contenu verticalement */
  .final-journey {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fj-layout {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    width: min(640px, 100% - 32px);
    /* haut : place du menu fixe (~80 px) ; le contenu est centré dessous */
    padding: 96px 0 32px;
  }

  .fj-head {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  .fj-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .fj-eyebrow::before {
    display: none;
  }

  .fj-head h2 {
    font-size: clamp(26px, 6.4vw, 40px);
  }

  .fj-head-side {
    align-items: center;
    max-width: 520px;
  }

  .fj-lead {
    font-size: 14.5px;
  }

  /* le bouton passe sous les panneaux */
  .fj-head-side .final-cta-btn {
    display: none;
  }

  .fj-panels {
    flex-direction: column;
    gap: 8px;
    height: auto;
    min-height: 0;
  }

  .fj-panel {
    flex: none;
    display: grid;
    grid-template-rows: auto 0fr;
    border-radius: 18px;
    background: #fff;
    box-shadow:
      0 12px 30px -18px rgba(15, 23, 42, 0.4),
      0 0 0 1px rgba(16, 24, 40, 0.08);
    transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .fj-panel.is-active {
    flex: none;
    grid-template-rows: auto 1fr;
  }

  /* en-tête de l'accordéon : numéro + titre sur une ligne */
  .fj-tab {
    position: relative;
    inset: auto;
    flex-direction: row;
    gap: 12px;
    padding: 10px 14px;
    color: var(--dark);
    cursor: pointer;
  }

  .fj-tab::after {
    content: "";
    margin-left: auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: 0.5;
    transition: transform 0.4s ease;
  }

  .fj-panel.is-active .fj-tab::after {
    transform: rotate(-135deg) translate(-2px, -2px);
  }

  .fj-tab:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -4px;
    border-radius: 18px;
  }

  .fj-num {
    width: 32px;
    height: 32px;
    border-color: rgba(31, 125, 183, 0.35);
    color: var(--blue-deep);
    font-size: 11.5px;
  }

  .fj-panel.is-active .fj-num {
    color: #fff;
  }

  .fj-tab-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 15px;
    white-space: normal;
  }

  .fj-panel.is-active .fj-tab-title {
    opacity: 1;
  }

  /* contenu : photo entière (format réel) + texte, sans recadrage */
  .fj-body {
    position: relative;
    inset: auto;
    min-height: 0;
    overflow: hidden;
  }

  .fj-body::after {
    display: none;
  }

  .fj-body img {
    position: static;
    width: calc(100% - 16px);
    height: auto;
    margin: 0 8px;
    border-radius: 12px;
    object-fit: contain;
  }

  .fj-panel:not(.is-active):hover .fj-body img {
    transform: none;
  }

  .fj-info {
    position: static;
    width: auto;
    padding: 10px 16px 16px;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .fj-info-num,
  .fj-info h3 {
    display: none; /* déjà dans l'en-tête de l'accordéon */
  }

  .fj-info p {
    font-size: 14px;
  }

  .fj-rail {
    width: min(240px, 60%);
    margin: 0 auto;
  }
}

/* bouton mobile : sous les panneaux (copie CSS du bouton de l'en-tête) */
.fj-cta-mobile {
  display: none;
}

@media (max-width: 900px) {
  .fj-cta-mobile {
    display: flex;
    justify-content: center;
  }

  .fj-cta-mobile .final-cta-btn {
    height: 50px;
    padding: 0 28px;
    font-size: 15px;
  }
}

/* Téléphone peu haut (< 760 px) : espacements resserrés pour que toute la
   section (titre, 4 panneaux, bouton) tienne et reste centrée */
@media (max-width: 900px) and (max-height: 760px) {
  .fj-layout {
    gap: 12px;
    padding: 84px 0 20px;
  }

  .fj-head {
    gap: 8px;
  }

  .fj-panels {
    gap: 6px;
  }

  .fj-tab {
    padding: 7px 12px;
  }

  .fj-num {
    width: 28px;
    height: 28px;
  }

  .fj-info {
    padding: 8px 14px 12px;
  }

  .fj-info p {
    font-size: 13px;
  }

  .fj-cta-mobile .final-cta-btn {
    height: 46px;
  }
}

/* Petit téléphone / téléphone en paysage : texte d'intro masqué */
@media (max-width: 900px) and (max-height: 700px), (max-width: 380px) {
  .fj-lead {
    display: none;
  }
}

@media (max-width: 980px) {
  .final-image {
    box-shadow: none;
  }
}

/* Mobile / tablette : position sticky + marge négative, voir le bloc
   .scroll-stack plus haut (le bureau a sa propre règle dans ce bloc) */
@media (max-width: 980px) {
  .scroll-stack > .reveal-group {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

footer {
  background: #0d1320;
  color: #999;
}

/* Main footer grid: brand/social, solutions links, contact details. */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
  padding: 64px 0 40px;
  text-align: left;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--blue);
}

.footer-col h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 22px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--blue);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

.footer-icon-svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--blue);
}

.footer-icon-spacer {
  flex-shrink: 0;
  width: 17px;
}

/* Bottom bar: copyright + legal links, below a hairline divider. */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.footer-links {
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 32px;
  }

  .footer-links {
    gap: 16px 24px;
    flex-wrap: wrap;
  }
}

.signup-section {
  background: #151b2b;
  padding: 140px 24px 72px;
}

.signup-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.signup-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 10px;
}

.signup-copy h2 .accent {
  color: var(--blue);
}

.signup-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
  gap: 28px;
  margin-top: 8px;
  text-align: left;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

.form-group label .required {
  color: #f87171;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 18px;
  font-size: 15px;
  font-family: inherit;
}

.signup-form input,
.signup-form textarea {
  /* flips native date/time pickers to a light-on-dark palette so their
     little calendar/clock icon stays visible against the dark field */
  color-scheme: dark;
}

.signup-form input,
.signup-form select {
  height: 50px;
}

.signup-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
}

.signup-form select option {
  color: #111827;
  background: #fff;
}

.signup-form textarea {
  padding: 14px 18px;
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.1);
}

.rdv-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
  background: var(--blue-deep);
  color: var(--blue);
  box-shadow: 0 16px 30px rgba(31, 125, 183, 0.35);
}

.rdv-submit-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(65, 167, 216, 0.16);
  color: var(--blue);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-info-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.contact-info-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.contact-why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 20px;
}

.contact-why-card h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.contact-why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.contact-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.contact-why-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #4ade80;
}

/* ---------- Écran de choix « Prise de Contact » ---------- */
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-badge svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.contact-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 24px auto 0;
  text-align: left;
}

.contact-choice-card {
  --choice-color: var(--blue);
  --choice-bg: rgba(65, 167, 216, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 44px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-choice-card--chat {
  --choice-color: #25d366;
  --choice-bg: rgba(37, 211, 102, 0.14);
}

.contact-choice-card:hover,
.contact-choice-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--choice-color);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.contact-choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: var(--choice-bg);
  color: var(--choice-color);
}

.contact-choice-icon svg {
  width: 32px;
  height: 32px;
}

.contact-choice-card h3 {
  font-size: 24px;
  color: #fff;
}

.contact-choice-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  line-height: 1.7;
}

.contact-choice-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--choice-color);
  font-weight: 700;
  font-size: 17px;
}

.contact-choice-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.contact-choice-card:hover .contact-choice-link svg {
  transform: translateX(4px);
}

.contact-back {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 8px 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.contact-back svg {
  width: 16px;
  height: 16px;
}

.contact-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- Affichage selon le mode --- */
.signup-section[data-contact-mode="choice"] .contact-layout {
  display: none;
}

.signup-section:not([data-contact-mode="choice"]) .contact-choice {
  display: none;
}

.signup-section:not([data-contact-mode="choice"]) .contact-back {
  display: inline-flex;
}

/* Mode formulaire : formulaire seul, centré, sans la colonne de droite */
.signup-section[data-contact-mode="form"] .contact-layout {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.signup-section[data-contact-mode="form"] .contact-sidebar {
  display: none;
}

/* Mode chat : vérification + WhatsApp / email uniquement */
.contact-chat-verify {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
}

.contact-chat-verify-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-chat-captcha {
  min-height: 78px;
}

.signup-section[data-contact-mode="chat"] .contact-layout {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.signup-section[data-contact-mode="chat"] .contact-form,
.signup-section[data-contact-mode="chat"]
  .contact-sidebar
  > .contact-info-card:not(.contact-reveal),
.signup-section[data-contact-mode="chat"] .contact-why-card {
  display: none;
}

.signup-section[data-contact-mode="chat"]:not(.is-chat-verified)
  .contact-chat-verify {
  display: flex;
}

@media (max-width: 380px) {
  .contact-chat-captcha {
    transform: scale(0.88);
  }
}

@media (max-width: 980px) {
  .contact-choice {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-choice-card {
    padding: 28px;
    border-radius: 24px;
  }
}

@media (max-width: 980px) {
  .signup-section {
    padding: 100px 20px 64px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Bouton menu : masqué sur bureau, visible <= 980 px */
.nav-toggle {
  display: none;
}

@media (max-width: 980px) {
  .navbar {
    position: relative;
    height: 64px;
    padding: 0 10px 0 14px;
  }

  .brand {
    min-width: 0;
  }

  .logo-image {
    width: 140px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition:
      transform 0.3s ease,
      opacity 0.2s ease;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  /* menu ouvert : le hamburger devient une croix */
  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* panneau déroulant sous l'en-tête */
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }

  .site-header.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-links a,
  .site-header.scrolled .nav-links a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 16px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(65, 167, 216, 0.1);
    color: var(--blue-deep);
  }

  .hero {
    grid-template-columns: 1fr;
    display: block;
    padding-top: 50px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  /* menu : bouton + panneau déroulant (voir le bloc max-width: 980px) */

  .btn {
    text-align: center;
  }
}

/* ==========================================================================
   Bouton d'envoi : etat chargement
   ========================================================================== */
.rdv-submit:disabled {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}

.rdv-submit.is-loading .rdv-submit-icon {
  display: none;
}

.rdv-submit.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: pp-spin 0.7s linear infinite;
}

@keyframes pp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Alerte (PayposAlert)
   ========================================================================== */
.pp-alert-backdrop {
  --pp-alert-color: #22c55e;
  --pp-alert-glow: rgba(34, 197, 94, 0.35);

  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 12, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pp-alert-backdrop.is-visible {
  opacity: 1;
}

.pp-alert-backdrop:has(.pp-alert--error) {
  --pp-alert-color: #ef4444;
  --pp-alert-glow: rgba(239, 68, 68, 0.35);
}

.pp-alert-backdrop:has(.pp-alert--warning) {
  --pp-alert-color: #f59e0b;
  --pp-alert-glow: rgba(245, 158, 11, 0.35);
}

.pp-alert {
  position: relative;
  width: min(420px, 100%);
  padding: 36px 28px 28px;
  border-radius: 22px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(
      120% 80% at 50% 0%,
      var(--pp-alert-glow) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #152036 0%, #0d1320 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  transform: translateY(24px) scale(0.94);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}

.pp-alert-backdrop.is-visible .pp-alert {
  transform: translateY(0) scale(1);
}

.pp-alert-backdrop.is-leaving .pp-alert {
  transform: translateY(12px) scale(0.97);
  transition-timing-function: ease-in;
}

/* Icone animee */
.pp-alert__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--pp-alert-color) 14%, transparent);
  box-shadow: 0 0 0 0 var(--pp-alert-glow);
  animation: pp-pulse 1.8s ease-out 0.6s 2;
}

.pp-alert__icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--pp-alert-color);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pp-alert__icon-circle {
  stroke-width: 2.5;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: pp-draw 0.6s ease-out 0.15s forwards;
}

.pp-alert__icon-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: pp-draw 0.35s ease-out 0.6s forwards;
}

.pp-alert__icon-path--delay {
  animation-delay: 0.8s;
}

@keyframes pp-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pp-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--pp-alert-glow);
  }
  100% {
    box-shadow: 0 0 0 18px transparent;
  }
}

/* Textes */
.pp-alert__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pp-alert__message {
  margin: 0 0 24px;
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Boutons */
.pp-alert__action {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: var(--pp-alert-color);
  box-shadow: 0 12px 26px var(--pp-alert-glow);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.pp-alert__action:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.pp-alert__action:focus-visible,
.pp-alert__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.pp-alert__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.pp-alert__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pp-alert__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Barre de progression (fermeture auto, pause au survol) */
.pp-alert__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.pp-alert__progress span {
  display: block;
  height: 100%;
  background: var(--pp-alert-color);
  transform-origin: left;
  animation: pp-progress linear forwards;
}

.pp-alert:hover .pp-alert__progress span {
  animation-play-state: paused;
}

@keyframes pp-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 480px) {
  .pp-alert {
    padding: 32px 20px 24px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-alert,
  .pp-alert-backdrop {
    transition: none;
  }
  .pp-alert__icon,
  .pp-alert__icon-circle,
  .pp-alert__icon-path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
/* ==========================================================================
   Formulaire de contact : erreurs, compteur, honeypot, reCAPTCHA
   ========================================================================== */

/* Champ anti-spam : hors écran, invisible pour les humains */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.form-note .required {
  color: #f87171;
}

/* Message d'erreur sous un champ */
.field-error {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #f87171;
}

.field-error:empty {
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

/* Ligne sous le message : erreur à gauche, compteur à droite */
.field-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.field-counter {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.field-counter.is-over {
  color: #f87171;
}

/* reCAPTCHA */
.recaptcha-group .g-recaptcha {
  width: fit-content;
  min-height: 78px; /* réserve la place : pas de saut de page au chargement */
  border-radius: 4px;
}

.recaptcha-group.has-error .g-recaptcha {
  outline: 1px solid #f87171;
  outline-offset: 4px;
}

/* Le widget Google fait 304px de large : on le réduit sur très petits écrans */
@media (max-width: 380px) {
  .recaptcha-group .g-recaptcha {
    transform: scale(0.88);
    transform-origin: 0 0;
  }
}

/* ==========================================================================
   Hero : mobile
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    display: flex;
    align-items: center; /* contenu centré verticalement */
    padding: 110px 0 48px; /* 110px = espace sous le header fixe */
  }

  .hero-inner {
    width: calc(100% - 40px); /* une seule marge latérale de 20px */
  }

  .hero-content {
    margin-bottom: 0;
  }

  .eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    padding: 8px 12px;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch; /* bouton aligné avec le texte */
    margin-top: 26px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 15px;
  }
}
.email-link {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}

.email-link:hover,
.email-link:focus-visible {
  text-decoration: underline;
}
/* ==========================================================================
   Coordonnées protégées (révélées après reCAPTCHA) — animation sur l'icône
   ========================================================================== */
.contact-reveal {
  position: relative;
  --reveal-color: var(--blue);
  --reveal-glow: rgba(65, 167, 216, 0.45);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-reveal--whatsapp {
  --reveal-color: #25d366;
  --reveal-glow: rgba(37, 211, 102, 0.45);
}

/* ----- Carte ----- */
.contact-reveal.is-locked {
  cursor: default;
}

.contact-reveal.is-locked .contact-info-value {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

.contact-reveal:not(.is-locked) {
  cursor: pointer;
}

.contact-reveal:not(.is-locked):hover,
.contact-reveal:not(.is-locked):focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: color-mix(in srgb, var(--reveal-color) 45%, transparent);
  outline: none;
}

/* ----- Icône ----- */
.contact-reveal-icon {
  position: relative;
  overflow: visible;
  transition:
    background 0.5s ease,
    color 0.5s ease,
    box-shadow 0.5s ease;
}

.contact-reveal-icon svg {
  position: absolute;
  inset: 0;
  margin: auto;
  transition:
    opacity 0.3s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Ondes autour de l'icône */
.contact-reveal-icon::before,
.contact-reveal-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--reveal-color);
  opacity: 0;
  pointer-events: none;
}

/* Verrouillé */
.contact-reveal.is-locked .contact-reveal-icon {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.contact-reveal.is-locked .contact-reveal-open {
  opacity: 0;
  transform: scale(0) rotate(-120deg);
}

/* Déverrouillé */
.contact-reveal:not(.is-locked) .contact-reveal-icon {
  background: color-mix(in srgb, var(--reveal-color) 16%, transparent);
  color: var(--reveal-color);
}

.contact-reveal:not(.is-locked) .contact-reveal-lock {
  opacity: 0;
  transform: scale(0.2) translateY(6px);
}

/* Étape 1 : le cadenas tremble et l'anse s'ouvre */
.lock-shackle {
  transform-box: fill-box;
  transform-origin: 100% 100%;
  transition: transform 0.3s ease;
}

.contact-reveal.is-unlocking .contact-reveal-lock {
  animation: reveal-lock-shake 0.3s ease;
}

.contact-reveal.is-unlocking .lock-shackle {
  transform: translateY(-2px) rotate(30deg);
  transition-delay: 0.25s;
}

.contact-reveal.is-unlocking .contact-reveal-icon {
  color: var(--reveal-color);
}

/* Étape 2 : l'icône rebondit + ondes */
.contact-reveal.is-revealing .contact-reveal-icon {
  animation: reveal-icon-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 22px var(--reveal-glow);
}

.contact-reveal.is-revealing .contact-reveal-icon::before {
  animation: reveal-ripple 0.9s ease-out;
}

.contact-reveal.is-revealing .contact-reveal-icon::after {
  animation: reveal-ripple 0.9s ease-out 0.2s;
}

/* Étape 3 (après) : onde douce en continu sur WhatsApp ET Email */
.contact-reveal.is-open .contact-reveal-icon::before {
  animation: reveal-ripple 2.8s ease-out 1s infinite;
}

/* Survol : l'icône bouge */
.contact-reveal.is-open:hover .contact-reveal-open,
.contact-reveal.is-open:focus-visible .contact-reveal-open {
  animation: reveal-icon-wiggle 0.5s ease;
}

/* Texte : simple apparition */
.contact-reveal.is-revealing [data-reveal-value],
.contact-reveal.is-revealing [data-reveal-note] {
  animation: reveal-text-in 0.45s ease 0.15s both;
}

@keyframes reveal-lock-shake {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-14deg);
  }
  75% {
    transform: rotate(14deg);
  }
}

@keyframes reveal-icon-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.22);
  }
  65% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes reveal-ripple {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes reveal-icon-wiggle {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }
  30% {
    transform: rotate(-12deg) scale(1.1);
  }
  60% {
    transform: rotate(8deg) scale(1.05);
  }
}

@keyframes reveal-text-in {
  from {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-reveal,
  .contact-reveal-icon,
  .contact-reveal-icon svg,
  .lock-shackle {
    transition: none;
  }

  .contact-reveal *,
  .contact-reveal-icon::before,
  .contact-reveal-icon::after {
    animation: none !important;
  }
}
/* ==========================================================================
   Copie de l'email : petite bulle "Copié !"
   ========================================================================== */
.copy-toast {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.copy-toast.is-error {
  background: #ef4444;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.copy-toast svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Rebond de l'icône au moment de la copie */
.contact-reveal.is-copied .contact-reveal-icon {
  animation: reveal-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ==========================================================================
   Hero : tablette + mobile (vidéo et texte)
   ========================================================================== */
@media (max-width: 1024px), (orientation: portrait) {
  .hero-video {
    height: 100% !important; /* annule la hauteur en px posée par script.js */
    object-position: 50% 50%; /* 1er % = zone visible (0% gauche, 100% droite) */
  }

  /* overlay vertical : sombre en bas, là où se trouve le texte */
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 11, 18, 0.15) 0%,
      rgba(8, 11, 18, 0.35) 45%,
      rgba(8, 11, 18, 0.7) 100%
    );
  }
}

/* Tablette (769–1024 px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    display: flex; /* annule display: block de la règle 980px */
    align-items: center;
    padding: 120px 0 60px; /* espace sous le header fixe */
  }

  .hero-inner {
    width: calc(100% - 64px);
  }

  .hero-content {
    max-width: 640px;
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(44px, 6vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero-copy {
    font-size: 18px;
    max-width: 560px;
  }
}

/* ==========================================================================
   VIDÉO HERO (en commentaire, remplacée par le diaporama .hero-slides)
   Poster du hero : 1re image de chaque vidéo, visible avant la lecture.
   Mêmes media queries que les <source> de la vidéo dans index.html.
   ==========================================================================
.scroll-stack > .hero.video {
  background: #0d1320 url("../assets/images/hero-poster-desktop.jpg") center /
    cover no-repeat;
}

@media (orientation: portrait) {
  .scroll-stack > .hero.video {
    background-image: url("../assets/images/hero-poster-tablet.jpg");
  }
}

@media (orientation: portrait) and (max-width: 600px) {
  .scroll-stack > .hero.video {
    background-image: url("../assets/images/hero-poster-mobile.jpg");
  }
}
   ========================================================================== */

/* ==========================================================================
   Diaporama cinématique du hero (remplace la vidéo)
   Cycle de 28 s pour 4 images (--hero-step = 7 s par image) :
   - entrée par la gauche (1 s), pause de 6 s avec zoom lent (Ken Burns),
     puis sortie vers la droite (1 s) pendant que la suivante entre ;
   - délai de chaque image = n × 7 s − 1 s (la 1re est déjà en place au
     chargement). Les barres d'indicateur suivent le même calendrier.
   ========================================================================== */
.hero-slides {
  --hero-step: 7s;
  --hero-cycle: 28s;
  overflow: hidden;
  background: #0d1320;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateX(-100%);
  animation: hero-slide-move var(--hero-cycle) infinite both;
  animation-delay: calc(var(--n) * var(--hero-step) - 1s);
  will-change: transform;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: hero-slide-zoom var(--hero-cycle) linear infinite both;
  animation-delay: inherit;
}

/* copie floue : utilisée seulement en portrait (voir plus bas) ;
   .hero-slide .hero-slide-bg l'emporte sur .hero-slide img */
.hero-slide .hero-slide-bg {
  display: none;
}

/* Écrans en portrait (téléphone, tablette) : une photo paysage en « cover »
   n'en montrerait qu'un tiers, agrandi et flou. La photo s'affiche donc
   entière, sur toute la largeur, sous le menu ; sa copie floue et assombrie
   remplit le reste de l'écran ; le texte du hero passe en bas. */
@media (orientation: portrait) and (max-width: 1024px) {
  .scroll-stack > .hero.video {
    --img-top: clamp(76px, 10vh, 104px); /* photo juste sous le menu */
    --img-bottom: calc(var(--img-top) + 66vw); /* photos ~762 × 505 */
  }

  .hero-slide .hero-slide-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(22px) brightness(0.55) saturate(1.15);
    transform: scale(1.15); /* cache les bords clairs du flou */
    animation: none; /* pas de zoom Ken Burns sur le fond */
  }

  .hero-slide img:not(.hero-slide-bg) {
    position: relative;
    object-fit: contain;
    object-position: 50% var(--img-top);
    /* bas de la photo fondu dans le fond flou (pas de bord net) */
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 calc(var(--img-bottom) - 70px),
      transparent var(--img-bottom)
    );
    mask-image: linear-gradient(
      to bottom,
      #000 calc(var(--img-bottom) - 70px),
      transparent var(--img-bottom)
    );
  }

  /* texte centré dans l'espace sous la photo : écart réduit avec l'image */
  .scroll-stack > .hero.video {
    align-items: center;
    padding-top: calc(var(--img-bottom) + 8px);
    padding-bottom: 24px;
  }
}

/* portrait peu haut : le texte remplit déjà l'espace, il reste calé en bas */
@media (orientation: portrait) and (max-width: 1024px) and (max-height: 700px) {
  .scroll-stack > .hero.video {
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: clamp(24px, 4vh, 40px);
  }
}

/* vignette cinéma sur les bords */
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 85% 75% at 60% 50%,
    transparent 55%,
    rgba(5, 8, 15, 0.55) 100%
  );
}

@keyframes hero-slide-move {
  0% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }
  3.57% {
    /* 1 s : en place */
    transform: translateX(0);
    animation-timing-function: linear;
  }
  25% {
    /* 7 s : départ vers la droite */
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }
  28.57%,
  100% {
    /* 8 s : sortie terminée, attend le prochain tour hors champ */
    transform: translateX(100%);
  }
}

@keyframes hero-slide-zoom {
  0% {
    transform: scale(1.03) translateX(-1%);
  }
  28.57%,
  100% {
    transform: scale(1) translateX(0);
  }
}

/* indicateur : une barre par image, remplie pendant son affichage */
.hero-slides-progress {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100% - 1220px) / 2));
  bottom: 36px;
  display: flex;
  gap: 8px;
}

.hero-slides-progress span {
  position: relative;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.hero-slides-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  animation: hero-slide-progress var(--hero-cycle, 28s) linear infinite both;
  animation-delay: calc(var(--n) * 7s - 1s);
}

@keyframes hero-slide-progress {
  0%,
  3.57% {
    transform: scaleX(0);
  }
  28.57% {
    transform: scaleX(1);
  }
  28.67%,
  100% {
    transform: scaleX(0);
  }
}

/* hero recouvert par .features : diaporama en pause (classe posée par js/script.js) */
/* .hero.is-paused : .features commence à monter (fluidité du défilement) */
.hero.is-covered .hero-slide,
.hero.is-covered .hero-slide img,
.hero.is-covered .hero-slides-progress span::after,
.hero.is-paused .hero-slide,
.hero.is-paused .hero-slide img,
.hero.is-paused .hero-slides-progress span::after {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .hero-slides-progress {
    display: none;
  }
}

/* sans animation : 1re image fixe */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img {
    animation: none;
    transform: none;
  }

  .hero-slide:not(:first-child),
  .hero-slides-progress {
    display: none;
  }
}

/* Ancres : compense le header fixe */
.features section[id] {
  scroll-margin-top: 90px;
}

@media (max-width: 980px) {
  /* header sans backdrop-filter : le flou était recalculé à chaque frame */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.16);
  }

  .site-header.scrolled {
    background: rgba(245, 244, 244, 0.94);
  }
}

/* Animations en boucle en pause hors écran (classe posée par js/script.js) */
.is-offscreen *,
.is-offscreen *::before,
.is-offscreen *::after {
  animation-play-state: paused !important;
}

/* ==========================================================================
   Animations liées au défilement : MOBILE / TABLETTE uniquement (<= 980 px)
   (le bureau garde le défilement simulé de js/script.js)
   Calculées par le navigateur, sur le compositeur, au rythme natif de
   l'écran (60/120/144 Hz) : aucune ligne de JS pendant le défilement.
   Seulement si le navigateur les supporte et sans prefers-reduced-motion ;
   sinon la page garde la même mise en page, sans ces effets.
   ========================================================================== */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 980px) {
    /* 1. Panoramique vertical de la vidéo avant le recouvrement
          (bureau paysage uniquement : --hero-pan vaut 0 ailleurs) */
    .hero-video {
      height: calc(100% + var(--hero-pan));
      animation: hero-video-pan linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px var(--hero-pan);
    }

    /* 2. .features recouvre le hero : le hero dérive vers le haut (10 %),
          zoome légèrement (3 %) puis s'efface sur la fin */
    .scroll-stack > .hero.video {
      animation: hero-cover linear both;
      animation-timeline: scroll(root block);
      animation-range: var(--hero-pan) calc(var(--hero-pan) + 100svh);
    }

    /* 3. Apparition du contenu de .features pendant qu'il monte */
    .features > .container > .kiosk-cover,
    .features > .container > .trust-bar {
      animation: stack-content-in linear both;
      animation-timeline: scroll(root block);
      animation-range: calc(var(--hero-pan) + 5svh)
        calc(var(--hero-pan) + 40svh);
    }

    /* 4. Image finale : comme sur bureau, elle reste fixe en haut de l'écran,
          entièrement visible, pendant que .features monte et la découvre
          (translation qui compense le défilement sur 100svh, sans fondu) */
    .scroll-stack > .final-image {
      animation: final-image-reveal linear both;
      animation-timeline: --final-image;
      animation-range: entry 0% entry 100svh;
    }
  }
}

/* 5. Le contact apparaît pendant que l'image finale le découvre
      (timeline de .final-image partagée via timeline-scope) */
@supports (timeline-scope: --final-image) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 980px) {
    .signup-section .signup-inner {
      animation: stack-content-in linear both;
      animation-timeline: --final-image;
      animation-range: exit 5% exit 40%;
    }
  }
}

@keyframes hero-video-pan {
  to {
    transform: translateY(calc(-1 * var(--hero-pan)));
  }
}

@keyframes hero-cover {
  0% {
    transform: none;
    opacity: 1;
  }
  85% {
    transform: translateY(-10%) scale(1.0255);
    opacity: 1;
  }
  100% {
    transform: translateY(-10%) scale(1.03);
    opacity: 0;
  }
}

@keyframes stack-content-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes final-image-reveal {
  from {
    transform: translateY(-100svh);
  }
  to {
    transform: none;
  }
}

/* ---------- Équipements : TPE + bornes sur mesure ---------- */
.eqx-section {
  --eqx: var(--blue);
  --eqx-deep: var(--blue-deep);
  --eqx-soft: rgba(65, 167, 216, 0.12);
}

.eqx-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.eqx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eqx);
  margin-bottom: 14px;
}

.eqx-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eqx-head h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.eqx-head h2 .accent {
  color: var(--eqx);
}

/* TPE : vitrine unique de l'A35 POS — photo détourée à gauche sur un halo
   bleu, fiche (description, caractéristiques, bouton) à droite */
.eqx-spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 44px -24px rgba(15, 23, 42, 0.22);
}

.eqx-spot-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 360px;
  padding: 40px 28px;
  background:
    radial-gradient(
      circle at 50% 55%,
      rgba(65, 167, 216, 0.28) 0%,
      rgba(65, 167, 216, 0.08) 45%,
      transparent 70%
    ),
    linear-gradient(160deg, #f4f8fd 0%, #e6f0fa 100%);
}

/* photo à sa taille d'origine au plus (720 px), jamais agrandie */
.eqx-spot-media img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 26px 30px rgba(15, 23, 42, 0.28));
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.eqx-spot:hover .eqx-spot-media img {
  transform: translateY(-8px) rotate(-2deg);
}

.eqx-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--eqx);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.eqx-spot-body {
  padding: clamp(24px, 4vw, 48px);
}

.eqx-spot-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eqx);
  margin-bottom: 8px;
}

.eqx-spot-body h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}

.eqx-spot-desc {
  max-width: 480px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

/* caractéristiques : 2 colonnes de pastilles avec icône */
.eqx-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.eqx-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--eqx-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}

.eqx-specs svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--eqx);
}

.eqx-spot-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--eqx);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(65, 167, 216, 0.32);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.eqx-spot-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.eqx-spot-btn:hover,
.eqx-spot-btn:focus-visible {
  background: var(--eqx-deep);
  transform: translateY(-2px);
}

.eqx-spot-btn:hover svg,
.eqx-spot-btn:focus-visible svg {
  transform: translateX(4px);
}

.eqx-spot-btn:focus-visible {
  outline: 2px solid var(--eqx-deep);
  outline-offset: 3px;
}

/* Ligne « Trois usages » + « Certification » */
.eqx-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 56px;
}

.eqx-panel {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.eqx-panel h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.eqx-uses {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eqx-uses li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.eqx-uses svg,
.eqx-panel-title svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--eqx);
}

.eqx-panel--soft {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(65, 167, 216, 0.08),
    rgba(65, 167, 216, 0.03)
  );
  border-color: rgba(65, 167, 216, 0.14);
  box-shadow: none;
}

.eqx-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eqx-panel-title svg {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.eqx-panel--soft p {
  padding-left: 28px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Bornes : photo plein cadre + légende en bas */
.eqx-kiosk {
  position: relative;
  margin: 0;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(160deg, #1d2939, #101828);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.eqx-kiosk img {
  display: block;
  color: transparent;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.eqx-kiosk::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to top, rgba(16, 24, 40, 0.75), transparent);
  pointer-events: none;
}

.eqx-kiosk:hover img {
  transform: scale(1.04);
}

.eqx-kiosk figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.eqx-kiosk figcaption svg {
  width: 16px;
  height: 16px;
}

/* Survol : plus spécifique que .ab-reveal-ready [data-ab-reveal].is-visible */
.eqx-section .eqx-kiosk:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.22);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .eqx-spot-media img,
  .eqx-kiosk img {
    transition: none;
  }
}

/* Tablette portrait : photo au-dessus de la fiche */
@media (max-width: 860px) {
  .eqx-spot {
    grid-template-columns: 1fr;
  }

  .eqx-spot-media {
    min-height: 0;
    padding: 48px 24px 28px;
  }

  .eqx-spot-media img {
    width: min(70%, 340px);
  }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .eqx-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .eqx-specs {
    grid-template-columns: 1fr;
  }

  .eqx-spot-btn {
    width: 100%;
    justify-content: center;
  }

  .eqx-row {
    margin-bottom: 40px;
  }

  .eqx-head {
    margin-bottom: 28px;
  }
}

/* ============================================================
   Borne visioconférence (#visio)
   ============================================================ */
.vsx-section {
  --vsx: #1c6fe0;
  --vsx-deep: #0f4fb0;
  --vsx-soft: rgba(28, 111, 224, 0.1);
}

.vsx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.vsx-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--vsx-soft);
  border: 1px solid rgba(28, 111, 224, 0.18);
  color: var(--vsx-deep);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.vsx-badge svg {
  width: 20px;
  height: 20px;
  color: var(--vsx);
}

.vsx-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 18px;
}

.vsx-copy h2 .accent {
  display: block;
  color: var(--vsx);
}

.vsx-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.vsx-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
}

.vsx-features li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vsx-feature-icon {
  flex: none;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vsx-soft);
  color: var(--vsx-deep);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.vsx-feature-icon svg {
  width: 28px;
  height: 28px;
}

.vsx-features li:hover .vsx-feature-icon {
  background: var(--vsx);
  color: #fff;
}

.vsx-features h3,
.vsx-benefit h3 {
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--dark);
  margin: 0 0 6px;
}

.vsx-features p,
.vsx-benefit p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.vsx-quote {
  border-left: 3px solid var(--vsx);
  padding: 4px 0 4px 28px;
  color: var(--vsx);
  font-size: 18px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0;
}

.vsx-media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.vsx-media img {
  display: block;
  width: 100%;
  height: auto;
  /* fond de l'image fondu dans la section côté texte */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%);
  mask-image: linear-gradient(to right, transparent 0, #000 18%);
}

/* Bandeau de bénéfices */
.vsx-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg);
}

.vsx-benefit {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.vsx-benefit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vsx-soft);
  color: var(--vsx-deep);
  margin-bottom: 18px;
}

.vsx-benefit--green .vsx-benefit-icon {
  background: rgba(34, 179, 146, 0.14);
  color: #0f7f66;
}

.vsx-benefit-icon svg {
  width: 26px;
  height: 26px;
}

/* Survol : plus spécifique que .ab-reveal-ready [data-ab-reveal].is-visible */
.vsx-section .vsx-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.08);
  border-color: rgba(28, 111, 224, 0.25);
  transition-delay: 0s;
}

@media (max-width: 1100px) {
  .vsx-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vsx-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vsx-media {
    max-width: 520px;
    margin: 0 auto;
  }

  .vsx-media img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

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

  .vsx-benefits {
    padding: 14px;
    gap: 14px;
  }

  .vsx-feature-icon {
    width: 52px;
    height: 52px;
  }

  .vsx-feature-icon svg {
    width: 24px;
    height: 24px;
  }
}
