/* ═══════════════════════════════════════════════════════════════════════════
   CLEARZI — Page acheteur
   Réutilise le design system de styles.css (tokens --cz-*, boutons, nav,
   footer, marquee, section-head). Ce fichier ne contient que les sections
   propres à la page acheteur. Aucune valeur brute hors variantes rgba().
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Nav sur hero sombre : logo blanc + liens clairs, verre clair au scroll ── */
.nav-logo-ink { display: none; }

/* plus de liens de section : les actions restent collées à droite */
.buyer .nav-actions {
  margin-left: auto;
}

.buyer .nav:not(.is-scrolled) .nav-login,
.buyer .nav:not(.is-scrolled) .nav-lang-btn,
.buyer .nav:not(.is-scrolled) .nav-links a {
  color: var(--cz-on-ink-soft);
}

.buyer .nav:not(.is-scrolled) .nav-login:hover,
.buyer .nav:not(.is-scrolled) .nav-lang-btn:hover,
.buyer .nav:not(.is-scrolled) .nav-links a:hover,
.buyer .nav:not(.is-scrolled) .nav-links a[aria-current="page"] {
  color: var(--cz-white);
}

.buyer .nav.is-scrolled .nav-logo-light { display: none; }
.buyer .nav.is-scrolled .nav-logo-ink { display: block; }

.btn-nav-cta {
  height: 42px;
  padding: 0 22px;
  font-size: 14px;
}

/* variante cercle noir sur fond clair (boutons ghost / liens) */
.cta-circle-ink {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--cz-border-moderate);
}

.cta-circle-ink svg { stroke: var(--cz-ink); }

a:hover > .cta-circle-ink {
  background: var(--cz-aqua);
  box-shadow: none;
}

a:hover > .cta-circle-ink svg { stroke: var(--cz-ink); }

/* ══ Hero — Jet Black ══ */
.a-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52% 60% at 82% 12%, rgba(124, 247, 212, 0.16), transparent 60%),
    radial-gradient(46% 50% at 6% 0%, rgba(124, 247, 212, 0.08), transparent 62%),
    var(--cz-ink);
}

.a-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--cz-dots-mint);
  background-size: 28px 28px;
  -webkit-mask: linear-gradient(#000 50%, transparent 88%);
  mask: linear-gradient(#000 50%, transparent 88%);
  opacity: 0.5;
  pointer-events: none;
}

.a-hero-spot {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 247, 212, 0.55) 1.2px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(240px at var(--mx, -500px) var(--my, -500px), #000 0%, transparent 68%);
  mask: radial-gradient(240px at var(--mx, -500px) var(--my, -500px), #000 0%, transparent 68%);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}

.a-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  max-width: var(--cz-content-max);
  margin: 0 auto;
  padding: 150px var(--cz-margin) 40px;
}

.a-hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  letter-spacing: -0.032em;
  color: var(--cz-white);
  max-width: 12em;
}

.a-hero-sub {
  margin-top: 26px;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--cz-on-ink-soft);
  max-width: 30em;
}

.a-hero-actions {
  margin-top: 34px;
}

/* le cercle du CTA hero émet un burst menthe permanent — écho du cœur Clearzi */
.a-hero-actions .cta-circle.burst::before {
  inset: -18px;
  color: rgba(124, 247, 212, 0.5);
  opacity: 1;
  transform: none;
}

/* au survol, il s'intensifie légèrement */
.a-hero-actions .btn-cta:hover .cta-circle.burst::before {
  color: rgba(124, 247, 212, 0.72);
}

/* ── Widget : Clearzi entre l'acheteur et le fournisseur ──────────────────────
   Un pont vertical sobre : deux nœuds, le cœur Clearzi au centre, et sur chaque
   segment l'étiquette de la mécanique réelle (échéance conservée / paiement 48 h).
   Presque statique — un seul point de flux, désactivé si mouvements réduits. */
.a-hero-visual {
  display: flex;
  justify-content: center;
}

.ahw {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(340px, 84vw);
}

/* nœud acheteur / fournisseur */
.ahw-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.ahw-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--cz-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(124, 247, 212, 0.22);
}

.ahw-ic svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--cz-aqua);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ahw-label {
  font-family: var(--cz-font-medium);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cz-brand-400);
}

/* segment de liaison : filet menthe vertical + étiquette de timing + point de flux */
.ahw-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 96px;
}

.ahw-link::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(124, 247, 212, 0.06), rgba(124, 247, 212, 0.45) 45%, rgba(124, 247, 212, 0.06));
}

/* point qui descend le filet — la seule animation, sobre */
.ahw-link::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-aqua);
  box-shadow: 0 0 10px 1px rgba(124, 247, 212, 0.7);
  animation: ahw-flow 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ahw-link + .ahw-core + .ahw-link::after { animation-delay: 1.5s; }

@keyframes ahw-flow {
  0% { top: 6%; opacity: 0; }
  22% { opacity: 1; }
  78% { opacity: 1; }
  100% { top: 94%; opacity: 0; }
}

.ahw-tag {
  position: relative;
  z-index: 1;
  padding: 7px 15px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-ink);
  box-shadow: inset 0 0 0 1px var(--cz-on-ink-faint);
  font-family: var(--cz-font-medium);
  font-size: 12.5px;
  color: var(--cz-on-ink-soft);
  white-space: nowrap;
}

.ahw-tag-accent {
  box-shadow: inset 0 0 0 1px rgba(124, 247, 212, 0.32);
  color: var(--cz-aqua);
}

/* cœur Clearzi — sobre, un halo statique, pas de rotation ni de radar */
.ahw-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: var(--cz-radius-full);
  background:
    radial-gradient(circle at 50% 38%, rgba(124, 247, 212, 0.16), transparent 68%),
    var(--cz-ink);
  box-shadow:
    inset 0 0 0 1px rgba(124, 247, 212, 0.26),
    0 0 48px -12px rgba(124, 247, 212, 0.45),
    0 18px 44px -14px rgba(0, 0, 0, 0.6);
}

.ahw-core-ring {
  position: absolute;
  inset: -9px;
  border-radius: var(--cz-radius-full);
  border: 1px solid rgba(124, 247, 212, 0.16);
}

.ahw-core img {
  width: 40px;
  height: 40px;
}

/* ── Confiance sur fond sombre ── */
.a-trust {
  position: relative;
  z-index: 1;
  padding: 30px 0 48px;
}

.a-trust .trust-caption { color: var(--cz-brand-400); }

.buyer .a-trust .marquee-list img {
  filter: brightness(0) invert(1);
  opacity: 0.42;
  transition: filter 220ms ease, opacity 220ms ease;
}

/* au survol, on révèle la vraie couleur du logo */
.buyer .a-trust .marquee-list img:hover {
  filter: none;
  opacity: 1;
}

/* ══ Sections communes de la page ══ */
.a-center-btn {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* liste à coches menthe (réutilise le langage de model-list) */
.a-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.a-checks li {
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cz-text-soft);
}

.a-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: var(--cz-radius-full);
  background-color: var(--cz-bg-selected);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007d63' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.a-checks.on-dark li { color: var(--cz-on-ink-soft); }

.a-checks.on-dark li::before {
  background-color: rgba(124, 247, 212, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cf7d4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
}

/* ══ Dilemme ══
   Le chapitre du constat : blanc, neutre, un peu froid — c'est le problème.
   Tout ce qui suit (la solution Clearzi) bascule en Azure Mist. */
.a-dilemme {
  max-width: calc(var(--cz-content-max) + var(--cz-margin) * 2);
  margin: 0 auto;
  padding: 52px var(--cz-margin) 46px;
}

/* ── Passage vers la solution ──────────────────────────────────────────────
   Un bouton d'ancre vers la section suivante n'apportait rien. À la place,
   le constat énonce son manque et un filet descend jusqu'à la couture, où la
   marque prend le relais : la réponse est littéralement juste en dessous. */
/* le constat devient cliquable : tout le bloc pointe vers la solution */
.a-handoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.a-handoff p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cz-text-moderate);
}

/* la ligne pivot du récit : elle nomme la réponse, elle a droit à sa taille */
.a-handoff-strong {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--cz-font-medium);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  letter-spacing: -0.015em;
  color: var(--cz-ink);
}

/* ── Flèche vers la solution ────────────────────────────────────────────────
   Un chevron menthe qui rebondit vers le bas : il désigne la réponse et conduit
   l'œil jusqu'au médaillon de la marque (la couture), posé juste en dessous.
   Léger et aéré pour ne pas rivaliser avec le logo. */
.a-handoff-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: var(--cz-brand-700);
  animation: a-handoff-bounce 1.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.a-handoff-arrow svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* au survol du bloc, le chevron vire au menthe vif et le message se souligne */
.a-handoff:hover .a-handoff-arrow {
  color: var(--cz-brand-400);
}

.a-handoff:hover .a-handoff-strong {
  color: var(--cz-brand-700);
}

@keyframes a-handoff-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.a-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

/* les trois cartes du constat sont des impasses : voile négatif à peine
   perceptible en tête de carte, en miroir du voile menthe des cartes solution */
.a-problem-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px 26px;
  background:
    linear-gradient(180deg, rgba(217, 88, 78, 0.055), rgba(217, 88, 78, 0) 38%),
    var(--cz-white);
  border-radius: var(--cz-radius-pop);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 2px 4px rgba(10, 33, 38, 0.04),
    0 16px 36px -16px rgba(10, 33, 38, 0.1);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}

.a-problem-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 4px 8px rgba(10, 33, 38, 0.05),
    0 24px 48px -18px rgba(10, 33, 38, 0.16);
}

/* icône et titre sur la même ligne : en-tête compact de la carte */
.a-problem-head {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
}

/* l'icône dit tout de suite le registre : négatif ici, menthe côté solution */
.a-problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--cz-radius-md);
  background: var(--cz-negative-tint);
  box-shadow: inset 0 0 0 1px rgba(217, 88, 78, 0.16);
}

.a-problem-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cz-negative);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a-problem-card h3 {
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.a-problem-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cz-text-moderate);
}

.a-cons-label {
  width: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--cz-border-faint);
  font-family: var(--cz-font-medium);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cz-negative);
}

.a-cons {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.a-cons li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: var(--cz-text-soft);
}

.a-cons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: var(--cz-radius-full);
  background-color: var(--cz-negative-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9584e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ══ Le plein potentiel ══
   Ici commence Clearzi : bande Azure Mist pleine largeur, halo menthe en tête.
   Elle couvre « la solution » ET « vous bénéficiez » — un seul chapitre — et
   se referme sur le filet du bas de .a-benefits. */
.a-potential {
  position: relative;
  padding: 100px var(--cz-margin) 0;
  background:
    radial-gradient(66% 74% at 50% 0%, rgba(124, 247, 212, 0.22), transparent 62%),
    var(--cz-azure);
  border-top: 1px solid var(--cz-border-medium);
}

/* texture de points en haut de bande : le passage constat → solution se voit */
.a-potential::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--cz-dots-ink);
  background-size: 26px 26px;
  -webkit-mask: linear-gradient(#000, transparent 38%);
  mask: linear-gradient(#000, transparent 38%);
  opacity: 0.4;
  pointer-events: none;
}

.a-potential > * {
  position: relative;
  z-index: 1;
}

/* la marque tient la couture : elle masque le filet de bordure et signe
   l'entrée dans l'univers Clearzi */
.a-seam-mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-ink);
  box-shadow: 0 14px 32px -10px rgba(10, 33, 38, 0.35);
}

.a-seam-mark img {
  width: 26px;
  height: 26px;
}

/* le filet repart sous le médaillon et conduit au titre du chapitre */
.a-seam-mark::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 56px;
  margin-left: -0.5px;
  background: linear-gradient(180deg, var(--cz-brand-400), transparent);
}

.a-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: var(--cz-content-max);
  margin: 34px auto 0;
}

.a-solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 30px 28px;
  background: var(--cz-white);
  border-radius: var(--cz-radius-pop);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 2px 4px rgba(10, 33, 38, 0.04),
    0 18px 44px -16px rgba(10, 33, 38, 0.12);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}

.a-solution-card:first-child { border-bottom-left-radius: var(--cz-radius-corner); }
.a-solution-card:last-child { border-bottom-right-radius: var(--cz-radius-corner); }

.a-solution-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 4px 8px rgba(10, 33, 38, 0.05),
    0 28px 56px -18px rgba(10, 33, 38, 0.18);
}

/* badge d'accroche : icône dans une pastille + libellé court en capitales */
.a-sol-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-bg-selected);
  box-shadow: inset 0 0 0 1px var(--cz-brand-border-soft);
  font-family: var(--cz-font-medium);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cz-brand-700);
}

.a-sol-eyebrow-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-white);
}

.a-sol-eyebrow-ic svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--cz-brand-700);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* le titre porte le message : deux lignes, la seconde en menthe */
.a-sol-title {
  margin-top: 20px;
  font-family: var(--cz-font-medium);
  font-size: clamp(1.28rem, 1.9vw, 1.58rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--cz-ink);
}

.accent-ink { color: var(--cz-brand-700); }

/* la description : discrète, en retrait sous le titre */
.a-solution-lead {
  margin-top: 14px;
  font-size: clamp(0.98rem, 1.15vw, 1.04rem);
  line-height: 1.55;
  color: var(--cz-text-soft);
  max-width: 42ch;
}

.a-solution-card .a-checks {
  margin-top: 22px;
  padding-top: 22px;
  padding-right: 96px;
  border-top: 1px solid var(--cz-border-faint);
}

/* ── Emblème de la card ──────────────────────────────────────────────────────
   Un grand pictogramme propre au feature (paiement / suivi), posé dans une
   pastille menthe pâle en bas à droite. Décoratif — masqué aux lecteurs d'écran. */
.a-sol-emblem {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: var(--cz-radius-full);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(124, 247, 212, 0.24), transparent 60%),
    var(--cz-bg-selected);
  box-shadow: inset 0 0 0 1px var(--cz-brand-border-soft);
  pointer-events: none;
}

.a-sol-emblem svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--cz-brand-700);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Le parcours « sous votre contrôle » ────────────────────────────────────
   Un bandeau compact sur le panneau encre : quatre icônes reliées par un
   filet fléché bien visible, chacune suivie d'un libellé et d'une courte
   description. Pas de tuiles, pas de nœuds numérotés — juste le flux. */
.a-flow-head {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
}

.a-flow-head h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.a-flow-head p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--cz-text-soft);
}

.a-flow {
  max-width: var(--cz-content-max);
  margin: 24px auto 0;
  padding: 34px 44px;
  border-radius: var(--cz-radius-panel);
  background:
    radial-gradient(80% 120% at 68% 0%, rgba(124, 247, 212, 0.16), transparent 58%),
    var(--cz-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 70px -28px rgba(10, 33, 38, 0.4);
}

.a-flow-steps {
  --afs-gap: 28px;
  --afs-icon: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--afs-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* filet de liaison vers l'étape suivante — mint, bien visible */
.a-flow-step::before {
  content: '';
  position: absolute;
  top: calc(var(--afs-icon) / 2);
  left: calc(50% + var(--afs-icon) / 2 + 10px);
  width: calc(100% + var(--afs-gap) - var(--afs-icon) - 20px);
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--cz-brand-400);
}

/* pointe de flèche : le sens de lecture */
.a-flow-step::after {
  content: '';
  position: absolute;
  top: calc(var(--afs-icon) / 2);
  left: calc(150% + var(--afs-gap) - var(--afs-icon) / 2 - 10px);
  width: 9px;
  height: 9px;
  margin: -5.5px 0 0 -6px;
  border-top: 2px solid var(--cz-brand-400);
  border-right: 2px solid var(--cz-brand-400);
  transform: rotate(45deg);
}

.a-flow-step:last-child::before,
.a-flow-step:last-child::after {
  content: none;
}

/* pas de fond : l'icône épouse le panneau encre, sans carré */
.afs-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--afs-icon);
  height: var(--afs-icon);
  margin-bottom: 14px;
}

.afs-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--cz-white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* icônes des étapes Clearzi en menthe, pour signer son intervention */
.a-flow-step.is-accent .afs-icon svg {
  stroke: var(--cz-aqua);
}

.afs-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.afs-text h4 {
  font-family: var(--cz-font-medium);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--cz-white);
}

/* les deux étapes où l'information circule via Clearzi, en menthe */
.a-flow-step.is-accent .afs-text h4 {
  color: var(--cz-aqua);
}

.afs-text p {
  margin: 8px 0 0;
  max-width: 210px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cz-on-ink-soft);
}

/* ══ Vous bénéficiez — fin de la bande solution ══
   Deux blocs côte à côte : à gauche le titre + l'appel à l'action, à droite les
   trois bénéfices en rangée, séparés par un unique filet menthe vertical. */
.a-benefits {
  padding: 76px var(--cz-margin) 68px;
  background: var(--cz-azure);
  border-bottom: 1px solid var(--cz-border-medium);
}

/* panneau blanc surélevé : le bandeau flotte sur l'azure et capte le regard */
.a-benefits-inner {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--cz-content-max);
  margin: 0 auto;
  padding: 46px 50px;
  background: var(--cz-white);
  border-radius: var(--cz-radius-pop);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 2px 4px rgba(10, 33, 38, 0.04),
    0 26px 64px -22px rgba(10, 33, 38, 0.18);
}

.a-benefits-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.a-benefits-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.a-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-left: 44px;
  border-left: 1px solid var(--cz-brand-border);
}

.a-benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* icônes de bénéfice agrandies, pour appuyer l'importance du bandeau */
.a-benefit .pastille {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.a-benefit .pastille svg {
  width: 24px;
  height: 24px;
}

.a-benefit h3 {
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  max-width: 14em;
}

.a-benefit p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cz-text-moderate);
}

/* ══ La différence — Jet Black ══
   Troisième surface du récit (crème = le problème, azure = la réponse, encre =
   l'affirmation). Le propos — 0 €, 0 outil, 1 jour, 100 % aligné — parle de
   légèreté : l'encre est donc éclairée, jamais un aplat opaque. */
.a-difference {
  position: relative;
  overflow: hidden;
  padding: 50px var(--cz-margin);
  background:
    radial-gradient(58% 62% at 50% 0%, rgba(124, 247, 212, 0.16), transparent 62%),
    radial-gradient(78% 48% at 50% 100%, rgba(124, 247, 212, 0.08), transparent 70%),
    var(--cz-ink);
}

/* grille de points menthe en tête : adoucit le raccord azure → encre */
.a-difference::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--cz-dots-mint);
  background-size: 26px 26px;
  -webkit-mask: linear-gradient(#000, transparent 42%);
  mask: linear-gradient(#000, transparent 42%);
  opacity: 0.7;
  pointer-events: none;
}

.a-difference > * {
  position: relative;
  z-index: 1;
}

/* .section-tag.on-dark : désormais dans styles.css (source unique) */
.a-difference .section-head h2 { color: var(--cz-white); }

.a-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: var(--cz-content-max);
  margin: 40px auto 0;
}

.a-diff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px 26px;
  border-radius: var(--cz-radius-pop);
  background:
    linear-gradient(150deg, rgba(124, 247, 212, 0.1), rgba(124, 247, 212, 0) 46%),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 60px -28px rgba(0, 0, 0, 0.5);
}

.a-diff-card:first-child { border-bottom-left-radius: var(--cz-radius-corner); }
.a-diff-card:last-child { border-bottom-right-radius: var(--cz-radius-corner); }

/* icône et titre sur une même ligne, pour une carte plus compacte */
.a-diff-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.a-diff-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-aqua);
  box-shadow: 0 8px 22px -6px rgba(124, 247, 212, 0.5);
}

.a-diff-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--cz-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a-diff-card h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--cz-white);
  letter-spacing: -0.015em;
}

.a-diff-card p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cz-on-ink-soft);
}

.a-diff-card .a-checks {
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--cz-on-ink-faint);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(230, 244, 241, 0.28);
  color: var(--cz-white);
  padding-right: 8px;
}

.btn-outline-light:hover { border-color: var(--cz-aqua); }

/* rangée sobre : icône ronde claire + chiffre/label, séparés par un filet */
.a-diff-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--cz-content-max);
  margin: 56px auto 0;
}

.a-diff-stat {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 18px;
  padding: 8px 34px;
}

.a-diff-stat:first-child { padding-left: 0; }
.a-diff-stat:last-child { padding-right: 0; }

/* diviseur vertical fin entre les stats */
.a-diff-stat + .a-diff-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 66px;
  background: var(--cz-on-ink-faint);
}

/* verre menthe plutôt que disque plein : quatre pastilles blanches sur l'encre
   étaient le seul contraste maximal de la page — et disaient « lourd » là où le
   contenu dit « zéro friction » */
.a-diff-stat-ico {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--cz-radius-full);
  background: rgba(124, 247, 212, 0.1);
  box-shadow: inset 0 0 0 1px rgba(124, 247, 212, 0.24);
}

.a-diff-stat-ico svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--cz-aqua);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a-diff-stat-value {
  font-family: var(--cz-font-medium);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cz-aqua);
  font-variant-numeric: tabular-nums;
}

.a-diff-stat-label {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cz-on-ink-soft);
}

/* ══ Écosystème ══
   Trois chapitres se suivaient sur la même surface crème, dont deux bâtis sur
   la même grille de tuiles blanches. On alterne donc les matières
   (blanc / crème / blanc, filets en bordure) et on distingue les deux murs de
   logos : tuiles encadrées ici, grille technique de filets pour les ERP. */
.a-ecosystem {
  padding: 50px var(--cz-margin);
  background: var(--cz-white);
  border-top: 1px solid var(--cz-border-medium);
  border-bottom: 1px solid var(--cz-border-medium);
}

.a-eco-copy .section-tag,
.a-erp-copy .section-tag {
  background: var(--cz-bg-base);
}

.a-eco-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 56px;
  max-width: var(--cz-content-max);
  margin: 0 auto;
}

.a-eco-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.a-eco-copy > p {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--cz-text-soft);
  max-width: 34em;
}

.a-eco-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 34px 0 30px;
}

.a-eco-stat { display: flex; flex-direction: column; gap: 6px; }

.a-eco-stat-value {
  font-family: var(--cz-font-medium);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cz-brand-700);
  font-variant-numeric: tabular-nums;
}

.a-eco-stat-label {
  font-family: var(--cz-font-medium);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cz-text-moderate);
  max-width: 16ch;
}

.a-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 8px 0 24px;
  border-radius: var(--cz-radius-button);
  border: 1px solid var(--cz-border-medium);
  background: var(--cz-white);
  font-family: var(--cz-font-medium);
  font-size: 15px;
  font-weight: 500;
  color: var(--cz-brand-700);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.a-link:hover {
  border-color: var(--cz-brand-400);
  box-shadow: var(--cz-shadow-xs);
  transform: translateY(-1px);
}

.a-link .cta-circle-ink {
  box-shadow: inset 0 0 0 1.5px var(--cz-brand-400);
}

.a-link .cta-circle-ink svg { stroke: var(--cz-brand-700); }

.a-link:hover .cta-circle-ink { background: var(--cz-brand-700); }

.a-link:hover .cta-circle-ink svg { stroke: var(--cz-white); }

/* mur de logos en défilement continu — ne révèle aucun nombre de clients :
   trois rangées glissent en boucle, en sens alternés, masquées aux extrémités */
.a-eco-marquee {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* min-width:0 : indispensable pour que la colonne de grille ne s'élargisse pas
     à la largeur (immense) du ruban — sinon elle écrase le texte et déborde */
  min-width: 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 9% 91%, transparent);
  mask: linear-gradient(90deg, transparent, #000 9% 91%, transparent);
}

.a-eco-row {
  overflow: hidden;
  min-width: 0;
}

.a-eco-row-track {
  display: flex;
  width: max-content;
  animation: a-eco-scroll 40s linear infinite;
}

.a-eco-row:nth-child(2) .a-eco-row-track { animation-duration: 48s; }
.a-eco-row:nth-child(3) .a-eco-row-track { animation-duration: 44s; }

.a-eco-row--rev .a-eco-row-track { animation-direction: reverse; }

.a-eco-marquee:hover .a-eco-row-track { animation-play-state: paused; }

@keyframes a-eco-scroll {
  to { transform: translateX(-50%); }
}

/* une série de tuiles ; dupliquée à l'identique pour une boucle sans couture */
.a-eco-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.a-eco-tile {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  height: 84px;
  padding: 18px;
  background: var(--cz-bg-base);
  border: 1px solid var(--cz-border-medium);
  border-radius: var(--cz-radius-lg);
}

.a-eco-tile img {
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
}

/* ══ Témoignages ══ */
.a-quotes {
  max-width: calc(var(--cz-content-max) + var(--cz-margin) * 2);
  margin: 0 auto;
  padding: 50px var(--cz-margin);
}

/* ── Carrousel coverflow : témoignage actif au centre, voisins qui dépassent ── */
.a-carousel {
  max-width: calc(var(--cz-content-max) + var(--cz-margin) * 2);
  margin: 48px auto 0;
}

.a-carousel-viewport {
  overflow: hidden;
  padding: 8px 0 20px; /* laisse respirer l'ombre de la carte active */
}

.a-carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.a-quote {
  flex: 0 0 62%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 36px 32px;
  background: var(--cz-white);
  border-radius: var(--cz-radius-pop);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 2px 4px rgba(10, 33, 38, 0.04),
    0 14px 34px -16px rgba(10, 33, 38, 0.08);
  /* état voisin : atténué et légèrement réduit */
  opacity: 0.4;
  transform: scale(0.9);
  cursor: pointer;
  transition: opacity 460ms ease, transform 460ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 460ms ease;
}

/* carte active : nette, pleine, en avant */
.a-quote.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
  border-bottom-right-radius: var(--cz-radius-corner);
  box-shadow:
    0 0 0 1px rgba(10, 33, 38, 0.05),
    0 4px 8px rgba(10, 33, 38, 0.05),
    0 30px 64px -20px rgba(10, 33, 38, 0.22);
}

/* ── Contrôles ── */
.a-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.a-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-white);
  border: 1px solid var(--cz-border-moderate);
  color: var(--cz-ink);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.a-carousel-arrow:hover {
  border-color: var(--cz-ink);
  transform: translateY(-1px);
}

.a-carousel-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  border-color: var(--cz-border-medium);
}

.a-carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: var(--cz-radius-full);
  background: var(--cz-border-moderate);
  cursor: pointer;
  transition: width 260ms cubic-bezier(0.16, 1, 0.3, 1), background-color 260ms ease;
}

.a-carousel-dot.is-active {
  width: 26px;
  background: var(--cz-brand-400);
}

.a-quote-badge {
  font-family: var(--cz-font-medium);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cz-brand-700);
  padding: 6px 14px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-bg-selected);
  border: 1px solid var(--cz-brand-border-soft);
}

/* grand guillemet décoratif : signe d'emblée « témoignage », casse le pavé */
.a-quote-mark {
  display: block;
  margin: 6px 0 2px;
}

.a-quote-mark svg {
  width: 36px;
  height: 28px;
  fill: var(--cz-brand-400);
}

/* attribution en pied de carte, séparée par un filet */
.a-quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--cz-border-faint);
}

.a-quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-ink);
  color: var(--cz-aqua);
  font-family: var(--cz-font-medium);
  font-size: 15px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.a-quote-id { display: flex; flex-direction: column; gap: 2px; }

.a-quote-name {
  font-family: var(--cz-font-medium);
  font-weight: 500;
  font-size: 15px;
  color: var(--cz-ink);
}

.a-quote-role {
  font-size: 12.5px;
  color: var(--cz-text-moderate);
}

.a-quote blockquote {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--cz-text-soft);
}

/* mise en valeur : encre + Saans Medium (l'équivalent « gras » du DS, sans faux gras).
   .hl ajoute en plus le surlignage menthe sur la phrase-bénéfice principale. */
.a-quote blockquote .hl,
.a-quote-em {
  color: var(--cz-ink);
  font-family: var(--cz-font-medium);
}

.a-quote-more {
  margin-top: 22px;
  font-family: var(--cz-font-medium);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cz-brand-700);
}

.a-quote-more:hover { color: var(--cz-ink); }

/* ══ Partenaires ERP ══ */
.a-erp {
  padding: 50px var(--cz-margin);
  background: var(--cz-white);
  border-top: 1px solid var(--cz-border-medium);
  border-bottom: 1px solid var(--cz-border-medium);
}

.a-erp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: var(--cz-content-max);
  margin: 0 auto;
}

/* pas de tuiles ici : une grille de filets, qui parle d'intégration technique
   plutôt que de mur de références (le mur, c'est le chapitre 04) */
.a-erp-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--cz-border-medium);
  border-left: 1px solid var(--cz-border-medium);
}

.a-erp-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  padding: 18px 22px;
  border-right: 1px solid var(--cz-border-medium);
  border-bottom: 1px solid var(--cz-border-medium);
  transition: background-color 200ms ease;
}

.a-erp-chip img {
  max-height: 36px;
  max-width: 100%;
  object-fit: contain;
}

.a-erp-chip:hover {
  background: var(--cz-bg-base);
}

/* rassure le visiteur dont l'ERP n'est pas dans la grille, sans dévoiler
   un second parcours plus lourd : reste secondaire au titre de la section */
.a-erp-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cz-text-soft);
}

.a-erp-note strong {
  color: var(--cz-ink);
  font-family: var(--cz-font-medium);
}

.a-erp-note a {
  color: var(--cz-brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.a-erp-note a:hover {
  color: var(--cz-ink);
}

.a-erp-copy h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
}

.a-erp-copy > p {
  margin: 18px 0 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--cz-text-soft);
  max-width: 34em;
}

/* ══ Bande finale + FAQ — Jet Black ══ */
.a-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% -6%, rgba(124, 247, 212, 0.1), transparent 60%),
    var(--cz-ink);
}

.a-final-inner {
  max-width: var(--cz-content-max);
  margin: 0 auto;
  padding: 64px var(--cz-margin) 80px;
}

.a-final-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--cz-on-ink-faint);
}

.a-final-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--cz-white);
  max-width: 16em;
}

.a-final-copy p {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--cz-on-ink-soft);
}

.a-final-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.a-final-or {
  font-size: 14px;
  color: var(--cz-on-ink-soft);
}

.a-final-or a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  font-family: var(--cz-font-medium);
  font-weight: 500;
  color: var(--cz-aqua);
  transition: color 150ms ease;
}

.a-final-or a:hover { color: var(--cz-white); }

.a-final-or svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── FAQ ── */
.a-faq { margin-top: 56px; }

.a-faq-title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--cz-white);
  margin-bottom: 28px;
}

.a-faq-item {
  border-top: 1px solid var(--cz-on-ink-faint);
}

.a-faq-item:last-child { border-bottom: 1px solid var(--cz-on-ink-faint); }

.a-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--cz-font-medium);
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--cz-white);
  transition: color 150ms ease;
}

.a-faq-item summary::-webkit-details-marker { display: none; }
.a-faq-item summary:hover { color: var(--cz-aqua); }

.a-faq-chev {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--cz-radius-full);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 180ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.a-faq-chev::before,
.a-faq-chev::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--cz-aqua);
  transform: translate(-50%, -50%);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.a-faq-chev::after { transform: translate(-50%, -50%) rotate(90deg); }

.a-faq-item[open] .a-faq-chev { background: rgba(124, 247, 212, 0.16); }
.a-faq-item[open] .a-faq-chev::after { transform: translate(-50%, -50%) rotate(0deg); }

.a-faq-body {
  overflow: hidden;
  padding: 0 46px 24px 4px;
}

.a-faq-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cz-on-ink-soft);
  max-width: 62ch;
}

.a-faq-body p + p { margin-top: 12px; }

/* ══ Modal comparatif ══ */
/* le dialog remplit l'écran et centre le panneau — évite le collage en haut
   à gauche dû au margin:auto natif sur une hauteur auto */
.a-modal {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  border: none;
  padding: 24px;
  background: transparent;
  color: inherit;
  overflow: hidden;
}

.a-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.a-modal::backdrop {
  background: rgba(10, 33, 38, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.a-modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--cz-white);
  border-radius: var(--cz-radius-panel);
  padding: 36px 36px 38px;
  overflow-y: auto;
  box-shadow: var(--cz-shadow-frame);
}

.a-modal[open] .a-modal-panel {
  animation: a-modal-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes a-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.a-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cz-radius-full);
  background: var(--cz-bg-base);
  border: 1px solid var(--cz-border-medium);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.a-modal-close:hover { border-color: var(--cz-ink); }

.a-modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cz-ink);
  stroke-width: 1.9;
  stroke-linecap: round;
}

.a-modal-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--cz-font-medium);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cz-brand-700);
}

.a-modal-head h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
}

/* ── Tableau comparatif ── */
.a-compare-scroll {
  margin-top: 26px;
  overflow-x: auto;
}

.a-compare {
  display: grid;
  grid-template-columns: minmax(190px, 230px) 1fr 1fr;
  min-width: 700px;
  border-radius: var(--cz-radius-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--cz-border-medium);
}

.cmp-corner { background: var(--cz-ink); }

.cmp-head {
  padding: 18px 16px;
  text-align: center;
  font-family: var(--cz-font-medium);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.cmp-head-trad {
  background: var(--cz-bg-base);
  color: var(--cz-text-soft);
}

.cmp-head-cz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cz-aqua);
  color: var(--cz-ink);
}

.cmp-head-cz img { display: block; }

.cmp-dim {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--cz-ink);
  color: var(--cz-white);
  font-family: var(--cz-font-medium);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.3;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.cmp-dim svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--cz-aqua);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmp-trad,
.cmp-cz {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid var(--cz-border-faint);
}

.cmp-trad > span,
.cmp-cz > span {
  width: 100%;
  font-size: 13.5px;
  line-height: 1.5;
}

.cmp-trad {
  justify-content: center;
  color: var(--cz-text-moderate);
}

.cmp-trad > span { text-align: center; }

.cmp-cz {
  color: var(--cz-ink);
  background: var(--cz-bg-selected);
}

.cmp-cz b {
  font-family: var(--cz-font-medium);
  font-weight: 500;
  color: var(--cz-brand-700);
}

/* ══ Mouvements réduits ══ */
@media (prefers-reduced-motion: reduce) {
  .a-handoff-arrow { animation: none; }
  .ahw-link::after { animation: none; display: none; }
  .a-carousel-track,
  .a-quote { transition: none; }
  .a-modal[open] .a-modal-panel { animation: none; }
  .a-eco-row-track { animation: none; }
}

/* ══ Responsive ══ */
@media (max-width: 1080px) {
  .a-hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 120px;
    text-align: center;
  }

  .a-hero-copy h1 { margin: 0 auto; }
  .a-hero-sub { margin-left: auto; margin-right: auto; }
  .a-hero-actions { display: flex; justify-content: center; }

  .a-eco-inner,
  .a-erp-inner,
  .a-final-cta {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .a-erp-copy { order: -1; }

  /* le flux se replie sur deux rangées de deux étapes */
  .a-flow-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 46px;
  }

  .a-flow-step:nth-child(2n)::before,
  .a-flow-step:nth-child(2n)::after {
    content: none;
  }

}

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

  /* la section bénéfices se replie : titre + CTA au-dessus, bénéfices en dessous,
     le filet vertical disparaît */
  .a-benefits-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .a-benefits-grid {
    gap: 32px;
    padding-left: 0;
    border-left: none;
  }

  .a-solution-grid,
  .a-diff-grid {
    grid-template-columns: 1fr;
  }

  /* carrousel : la carte occupe presque tout l'écran, voisins juste entrevus */
  .a-quote {
    flex-basis: 82%;
  }

  /* 2 colonnes : on abandonne les filets verticaux au profit d'une grille */
  .a-diff-stats { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .a-diff-stat { padding: 0; }
  .a-diff-stat:first-child,
  .a-diff-stat:last-child { padding: 0; }
  .a-diff-stat + .a-diff-stat::before { display: none; }
}

@media (max-width: 560px) {
  .a-dilemme,
  .a-potential,
  .a-benefits,
  .a-difference,
  .a-ecosystem,
  .a-quotes,
  .a-erp {
    padding-left: 20px;
    padding-right: 20px;
  }

  .a-flow { padding: 26px 22px; }

  /* le flux se redresse : filet vertical, icônes à gauche, textes à droite */
  .a-flow-steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .a-flow-step {
    display: grid;
    grid-template-columns: var(--afs-icon) 1fr;
    column-gap: 16px;
    align-items: start;
    padding-bottom: 26px;
  }

  .a-flow-step::before {
    top: calc(var(--afs-icon) + 8px);
    left: calc(var(--afs-icon) / 2);
    width: 1.5px;
    height: calc(100% - var(--afs-icon) - 16px);
    margin: 0 0 0 -0.75px;
  }

  .a-flow-step::after {
    top: auto;
    bottom: 9px;
    left: calc(var(--afs-icon) / 2);
    margin: 0 0 0 -6px;
    transform: rotate(135deg);
  }

  .a-flow-step:nth-child(2n)::before,
  .a-flow-step:nth-child(2n)::after {
    content: '';
  }

  .a-flow-step:last-child::before,
  .a-flow-step:last-child::after {
    content: none;
  }

  .afs-icon {
    margin-bottom: 0;
  }

  .afs-text {
    align-items: flex-start;
    text-align: left;
  }

  .afs-text p {
    max-width: none;
  }
  .a-diff-stats { grid-template-columns: 1fr; }
  .a-eco-tile { width: 132px; height: 72px; padding: 15px; }
  .a-erp-logos { grid-template-columns: 1fr 1fr; }
  .a-solution-card { padding: 30px 26px; }
  .a-solution-card .a-checks { padding-right: 0; }
  .a-sol-emblem { display: none; }
  .a-diff-card { padding: 24px 22px; }

  .a-benefits-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .a-benefits-inner { padding: 30px 24px; }
}
