/* ==========================================================================
   FrikaPay — Design system partagé
   Chargé après le <style> inline de chaque page : les règles ci-dessous
   harmonisent les 20 pages sans toucher au contenu ni aux fonctionnalités.
   ========================================================================== */

:root {
  /* Couleurs */
  --fp-navy: #0b3d91;
  --fp-navy-900: #082d6e;
  --fp-blue: #1a73e8;
  --fp-blue-700: #1557b0;
  --fp-blue-050: #eef5ff;
  --fp-blue-100: #dbe9fd;
  --fp-ink: #17202e;
  --fp-muted: #55606f;
  --fp-surface: #ffffff;
  --fp-surface-2: #f6f9ff;
  --fp-surface-3: #eef3fb;
  --fp-border: #e4ebf5;
  --fp-border-strong: #cfdcee;
  --fp-accent: #b26a08;
  --fp-accent-soft: #fff7e8;
  --fp-success: #0f7a52;
  --fp-success-soft: #ecfdf5;
  --fp-whatsapp: #22a856;

  /* Rayons */
  --fp-r-sm: 10px;
  --fp-r-md: 16px;
  --fp-r-lg: 24px;
  --fp-r-pill: 999px;

  /* Ombres */
  --fp-sh-sm: 0 1px 2px rgba(15, 30, 60, 0.06);
  --fp-sh-md: 0 8px 24px rgba(11, 61, 145, 0.08);
  --fp-sh-lg: 0 24px 60px rgba(11, 61, 145, 0.12);

  /* Largeurs */
  --fp-w: 1240px;
  --fp-w-text: 68ch;

  /* Rythme */
  --fp-section: clamp(3.5rem, 7vw, 6.5rem);

  /* Motion */
  --fp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fp-dur: 0.45s;
}

/* --------------------------------------------------------------------------
   Base typographique
   -------------------------------------------------------------------------- */
body {
  color: var(--fp-ink);
  background: var(--fp-surface);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  line-height: 1.08;
}

p {
  text-wrap: pretty;
}

.text-secondary,
.section-subtitle {
  color: var(--fp-muted);
}

.section-title,
h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.25rem);
  color: var(--fp-navy);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  max-width: var(--fp-w-text);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.15rem;
  color: var(--fp-navy);
}

a {
  text-underline-offset: 3px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--fp-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Conteneurs & rythme vertical
   -------------------------------------------------------------------------- */
.container,
.nav-container {
  max-width: var(--fp-w);
  padding-left: clamp(1.15rem, 4vw, 2.5rem);
  padding-right: clamp(1.15rem, 4vw, 2.5rem);
}

section {
  padding: var(--fp-section) 0;
}

.bg-light {
  background: var(--fp-surface-2);
}

.legal-content {
  max-width: 82ch;
  font-size: 1rem;
  line-height: 1.75;
  border-radius: var(--fp-r-lg);
  border-color: var(--fp-border);
  box-shadow: var(--fp-sh-md);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   En-tête & navigation
   -------------------------------------------------------------------------- */
.beta-banner {
  background: linear-gradient(90deg, #fffaf1, #fff6e6, #fffaf1);
  color: #7c4a06;
  border-bottom: 1px solid #f3e2c4;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
}

header {
  border-bottom: 1px solid var(--fp-border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow 0.25s var(--fp-ease), background 0.25s var(--fp-ease);
}

header.fp-header-scrolled {
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.07);
  background: rgba(255, 255, 255, 0.96);
}

.nav-container {
  gap: 1.25rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.logo img {
  height: 34px;
}

.nav-links,
header .nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.55rem, 1vw, 1.05rem);
  list-style: none;
}

.nav-links a,
header .nav a {
  position: relative;
  color: #3a4655;
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s var(--fp-ease);
}

.nav-links a::after,
header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--fp-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--fp-ease);
}

.nav-links a:hover,
header .nav a:hover {
  color: var(--fp-navy);
}

.nav-links a:hover::after,
header .nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.back-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fp-blue);
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--fp-r-sm);
  color: var(--fp-navy);
  transition: background 0.2s var(--fp-ease);
}

.mobile-menu-btn:hover {
  background: var(--fp-blue-050);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none !important;
  }
}


/* Panneau mobile */
@media (max-width: 767px) {
  .nav-links.fp-mobile-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    padding: 0.75rem clamp(1.15rem, 4vw, 2.5rem) 1.25rem;
    border-bottom: 1px solid var(--fp-border);
    box-shadow: 0 18px 34px rgba(11, 61, 145, 0.1);
    z-index: 45;
    animation: fp-menu-in 0.22s var(--fp-ease) both;
  }

  .nav-links.fp-mobile-open a {
    padding: 0.8rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5fa;
  }

  .nav-links.fp-mobile-open a::after {
    display: none;
  }

  header {
    position: sticky;
  }

  header .nav-container {
    position: relative;
  }
}

@media (max-width: 767px) {
  .nav-links:not(.fp-mobile-open),
  header .nav:not(.fp-mobile-open) {
    display: none;
  }

  .hero-visual {
    flex-direction: column;
    width: 100%;
  }

  .hero-visual img {
    max-width: min(260px, 72vw);
  }

  .fp-flow {
    width: 100%;
  }
}


@keyframes fp-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links a,
  header .nav a {
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--fp-r-pill);
  transition: transform 0.18s var(--fp-ease), box-shadow 0.22s var(--fp-ease),
    background-color 0.2s var(--fp-ease), color 0.2s var(--fp-ease),
    border-color 0.2s var(--fp-ease);
}

.btn-primary {
  background: var(--fp-blue);
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.22);
}

.btn-primary:hover {
  background: var(--fp-blue-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(26, 115, 232, 0.26);
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--fp-border-strong);
  color: var(--fp-navy);
  box-shadow: var(--fp-sh-sm);
}

.btn-outline:hover {
  background: var(--fp-blue-050);
  border-color: var(--fp-blue);
  color: var(--fp-navy);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--fp-whatsapp);
  box-shadow: 0 6px 18px rgba(34, 168, 86, 0.22);
}

.btn-whatsapp:hover {
  background: #199247;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(34, 168, 86, 0.26);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

/* --------------------------------------------------------------------------
   Icônes SVG (remplacent les emojis)
   -------------------------------------------------------------------------- */
.fp-i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: -0.18em;
}

.card-icon,
.mobile-step-icon,
.step-big-icon {
  background: var(--fp-blue-050);
  color: var(--fp-blue);
  border: 1px solid var(--fp-blue-100);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.25rem;
  transition: transform 0.25s var(--fp-ease), background 0.25s var(--fp-ease);
}

.card:hover .card-icon {
  transform: translateY(-2px) scale(1.04);
  background: var(--fp-blue-100);
}

.trust-icon {
  color: var(--fp-blue);
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   Cartes & grilles
   -------------------------------------------------------------------------- */
.grid-2,
.grid-3 {
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border-radius: var(--fp-r-lg);
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-sh-sm);
  transition: transform 0.25s var(--fp-ease), box-shadow 0.25s var(--fp-ease),
    border-color 0.25s var(--fp-ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--fp-border-strong);
  box-shadow: var(--fp-sh-lg);
}

.card h3 {
  margin: 0.75rem 0 0.3rem;
  font-size: 1.12rem;
}

.card p {
  color: var(--fp-muted);
  font-size: 0.96rem;
}

.note-box,
.transparency-note {
  border-radius: var(--fp-r-md);
  padding: 1.1rem 1.35rem;
  font-size: 0.94rem;
  line-height: 1.6;
  font-weight: 400;
  box-shadow: var(--fp-sh-sm);
}

.transparency-note {
  background: var(--fp-blue-050);
  border-left: 3px solid var(--fp-blue);
  color: #1b3f7a;
}

.note-box {
  background: var(--fp-accent-soft);
  border-left: 3px solid var(--fp-accent);
  color: #7c4a06;
}

.security-reassurance {
  background: var(--fp-blue-050);
  border: 1px solid var(--fp-blue-100);
  border-radius: var(--fp-r-lg);
  padding: clamp(1.15rem, 2vw, 1.75rem);
  gap: 1rem;
}

.security-item {
  color: #1b3f7a;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(
      1100px 520px at 88% -10%,
      rgba(26, 115, 232, 0.1),
      transparent 62%
    ),
    linear-gradient(168deg, #ffffff 0%, #f7fbff 52%, #eef4fd 100%);
}

.hero-content {
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero-text h1 {
  font-size: clamp(2.05rem, 1.3rem + 2.9vw, 3.35rem);
  max-width: 17ch;
  margin-bottom: 1.1rem;
}

.hero-text p {
  font-size: clamp(1rem, 0.97rem + 0.25vw, 1.12rem);
  color: var(--fp-muted);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.hero-buttons {
  gap: 0.7rem;
  margin-bottom: 2.25rem;
}

/* Hiérarchie : une seule action dominante */
.hero-buttons .btn-outline {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.trust-grid {
  border-radius: var(--fp-r-lg);
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-sh-md);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  gap: 0.9rem 1.25rem;
}

.trust-item {
  font-size: 0.9rem;
  gap: 0.6rem;
  align-items: center;
  color: #2b3546;
}

/* Animation principale du hero : client -> sécurisation -> commerçant */
.fp-flow {
  margin-top: 1.15rem;
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-r-lg);
  box-shadow: var(--fp-sh-md);
  padding: 1rem 1.15rem 1.15rem;
  position: relative;
  z-index: 1;
}

.fp-flow-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fp-muted);
  margin-bottom: 0.9rem;
}

.fp-flow-rail {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.fp-flow-node {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
  width: 74px;
}

.fp-flow-bubble {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--fp-surface-2);
  border: 1px solid var(--fp-border);
  color: var(--fp-navy);
  transition: background 0.35s var(--fp-ease), color 0.35s var(--fp-ease),
    border-color 0.35s var(--fp-ease), transform 0.35s var(--fp-ease);
}

.fp-flow-node[data-state="on"] .fp-flow-bubble {
  background: var(--fp-blue-050);
  border-color: var(--fp-blue);
  color: var(--fp-blue);
  transform: translateY(-2px);
}

.fp-flow-node--shield[data-state="on"] .fp-flow-bubble {
  background: var(--fp-success-soft);
  border-color: #9fdcc2;
  color: var(--fp-success);
}

.fp-flow-node span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fp-muted);
  line-height: 1.25;
}

.fp-flow-track {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: var(--fp-border-strong);
  overflow: visible;
}

.fp-flow-track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--fp-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--fp-ease);
}

.fp-flow-track[data-state="on"]::after {
  transform: scaleX(1);
}

.fp-flow-token {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--fp-blue);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.16);
  opacity: 0;
  transition: transform 0.7s var(--fp-ease), opacity 0.25s var(--fp-ease);
}

.fp-flow-token {
  transition: left 0.75s var(--fp-ease), opacity 0.25s var(--fp-ease);
}

.fp-flow-track[data-state="on"] .fp-flow-token {
  opacity: 1;
  left: 100%;
  transform: translateX(-100%);
}

.fp-flow-caption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--fp-muted);
  min-height: 2.4em;
}

.fp-flow-caption strong {
  color: var(--fp-navy);
}

.hero-visual {
  align-items: center;
}

.hero-visual::before {
  width: min(560px, 90%);
  height: min(560px, 90%);
  background: radial-gradient(
    circle,
    rgba(26, 115, 232, 0.14) 0%,
    rgba(26, 115, 232, 0) 68%
  );
}

.hero-visual img {
  max-width: 300px;
  border-radius: var(--fp-r-lg);
  filter: drop-shadow(0 26px 48px rgba(11, 61, 145, 0.18));
}

@media (min-width: 1024px) {
  .hero-content {
    align-items: center;
  }

  .hero-text {
    flex: 1 1 54%;
  }

  .hero-visual {
    flex: 1 1 46%;
    flex-direction: column;
  }

  .hero-visual img {
    max-width: 390px;
  }

  .fp-flow {
    width: min(420px, 100%);
  }
}

@media (min-width: 1280px) {
  .hero-visual img {
    max-width: 430px;
  }
}

@media (max-width: 420px) {
  .fp-flow-rail {
    gap: 0.3rem;
  }

  .fp-flow-node {
    width: 62px;
  }

  .fp-flow-bubble {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
}

/* --------------------------------------------------------------------------
   Étapes « Comment ça marche »
   -------------------------------------------------------------------------- */
.process-showcase {
  margin-top: 0.5rem;
}

.process-copy {
  max-width: none;
}

.steps {
  gap: 1.15rem;
}

.step {
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-r-md);
  box-shadow: var(--fp-sh-sm);
  transition: border-color 0.25s var(--fp-ease), box-shadow 0.25s var(--fp-ease),
    transform 0.25s var(--fp-ease);
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--fp-border-strong);
  box-shadow: var(--fp-sh-md);
}

.step strong {
  color: var(--fp-navy);
  font-size: 1.02rem;
}

.step p {
  font-size: 0.94rem;
  margin-top: 0.15rem;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 1.02rem;
  background: var(--fp-navy);
  box-shadow: 0 6px 14px rgba(11, 61, 145, 0.2);
}

@media (min-width: 1024px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .steps .step:last-child {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   Démo de transaction : pilotée en JS, plus aucune boucle CSS infinie
   -------------------------------------------------------------------------- */
.transaction-visual-section {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--fp-r-lg);
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-sh-md);
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

.transaction-visual-header h3 {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
}

.transaction-visual-header p {
  color: var(--fp-muted);
  max-width: 62ch;
  margin: 0 auto;
}

/* Neutralisation complète des anciennes animations en boucle */
.transaction-slide,
.mobile-transaction-slide,
.slide-progress span::after {
  animation: none !important;
}

/* Scène en grille : toutes les étapes empilées dans la même cellule.
   La hauteur de la scène = hauteur de l'étape la plus haute -> aucune coupe. */
.desktop-slide-stage,
.mobile-slide-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  overflow: hidden;
  overscroll-behavior: contain;
}

.desktop-slide-stage {
  min-height: 0;
  padding: 1.1rem 1.1rem 1rem;
}

.mobile-slide-stage {
  min-height: 0;
  padding: 0.9rem 0.9rem 0.85rem;
}

/* L'écran ne doit plus imposer une hauteur fixe qui rogne le contenu */
.desktop-screen-real {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
}

.iphone-screen-real {
  height: auto !important;
  display: flex;
  flex-direction: column;
}

.transaction-slide,
.mobile-transaction-slide {
  position: relative !important;
  inset: auto !important;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s var(--fp-ease), transform 0.35s var(--fp-ease),
    visibility 0.35s;
}

.transaction-slide.fp-slide-on,
.mobile-transaction-slide.fp-slide-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Zone réservée en bas : la progression ne peut plus recouvrir le contenu */
.slide-progress {
  position: relative !important;
  inset: auto !important;
  grid-column: 1;
  grid-row: 2;
  margin-top: 0.25rem;
  padding-top: 0.15rem;
}

.slide-progress span::after {
  transform: scaleX(0);
  transition: transform 0.4s var(--fp-ease);
}

.slide-progress span.fp-step-done::after {
  transform: scaleX(1);
}

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


.transaction-summary-card,
.transaction-step-card,
.mobile-step-card {
  border-color: var(--fp-border);
  box-shadow: var(--fp-sh-md);
}

.step-content h4,
.mobile-step-card h4 {
  color: var(--fp-navy);
}

.step-tag {
  background: var(--fp-success-soft);
  color: var(--fp-success);
  border: 1px solid #c9ecdc;
}

.safe-mini-card,
.mobile-amount-card {
  background: var(--fp-blue-050);
  border-color: var(--fp-blue-100);
  color: #1b3f7a;
  font-weight: 600;
}

.demo-status-pill {
  background: var(--fp-success-soft);
  border-color: #c9ecdc;
  color: var(--fp-success);
}

.device-caption {
  color: var(--fp-muted);
  margin-top: 1rem;
}

/* Le poste de travail respire mieux et ne domine plus la section */
.v18-photo-devices .desktop-workstation {
  max-width: 820px;
}

@media (min-width: 1024px) {
  .v18-photo-devices .desktop-workstation {
    max-width: 900px;
  }

  .v18-photo-devices .desktop-screen-real {
    min-height: 440px;
  }

  .v18-photo-devices .desktop-slide-stage {
    min-height: 400px;
  }

}

/* --------------------------------------------------------------------------
   Fondateur
   -------------------------------------------------------------------------- */
.founder-card {
  border-radius: var(--fp-r-lg);
  border-color: var(--fp-border);
  box-shadow: var(--fp-sh-lg);
  padding: clamp(1.15rem, 2vw, 1.75rem);
}

.founder-eyebrow {
  background: var(--fp-blue-050);
  color: var(--fp-navy);
  border: 1px solid var(--fp-blue-100);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.founder-copy h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem);
  max-width: 22ch;
}

.founder-quote {
  border-left-color: var(--fp-blue);
  color: #2b3546;
  max-width: 62ch;
}

@media (min-width: 1024px) {
  .founder-card {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  }

  .founder-photo {
    aspect-ratio: 4 / 5;
  }
}

/* --------------------------------------------------------------------------
   Partenaires
   -------------------------------------------------------------------------- */
.partner-logo-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.partner-logo-card {
  min-height: 0;
  border-radius: var(--fp-r-lg);
  border-color: var(--fp-border);
  box-shadow: var(--fp-sh-sm);
  padding: 1.25rem;
}

.partner-logo-card:hover {
  border-color: var(--fp-border-strong);
  box-shadow: var(--fp-sh-lg);
}

.partner-logo-frame {
  height: 78px;
  background: var(--fp-surface-2);
  border-color: var(--fp-border);
  border-radius: var(--fp-r-md);
}

.partner-logo-frame img {
  max-height: 52px;
  filter: none;
}

.partner-logo-frame.apiex img {
  max-height: 60px;
}

.partner-role {
  color: var(--fp-muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  border-radius: var(--fp-r-md);
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-sh-sm);
  transition: border-color 0.25s var(--fp-ease), box-shadow 0.25s var(--fp-ease);
}

.faq-item:hover {
  border-color: var(--fp-border-strong);
  box-shadow: var(--fp-sh-md);
}

/* --------------------------------------------------------------------------
   Tableaux (tarifs)
   -------------------------------------------------------------------------- */
table {
  border-color: var(--fp-border);
}

th {
  color: var(--fp-navy);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
footer {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

footer a {
  transition: color 0.2s var(--fp-ease), opacity 0.2s var(--fp-ease);
}

footer a:hover {
  opacity: 1;
  color: #fff;
}

.footer-grid {
  gap: clamp(1.5rem, 3vw, 3rem);
}

/* --------------------------------------------------------------------------
   Système d'apparition au défilement
   -------------------------------------------------------------------------- */
.fp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--fp-ease), transform 0.55s var(--fp-ease);
  will-change: opacity, transform;
}

.fp-reveal.fp-visible {
  opacity: 1;
  transform: none;
}

/* Le hero n'anime plus tout en même temps */
.hero-text > * {
  animation: none;
}

.fp-hero-in .hero-text > *,
.fp-hero-in .hero-visual {
  animation: fp-fade-up 0.6s var(--fp-ease) both;
}

.fp-hero-in .hero-text h1 {
  animation-delay: 0.02s;
}

.fp-hero-in .hero-text p {
  animation-delay: 0.1s;
}

.fp-hero-in .hero-text .hero-buttons {
  animation-delay: 0.18s;
}

.fp-hero-in .hero-text .trust-grid {
  animation-delay: 0.26s;
}

.fp-hero-in .hero-visual {
  animation-delay: 0.14s;
}

/* --------------------------------------------------------------------------
   Accessibilité : version statique propre
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .fp-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .fp-flow-track::after {
    transform: scaleX(1);
  }

  .fp-flow-token {
    display: none;
  }

  .transaction-slide,
  .mobile-transaction-slide {
    opacity: 0;
    visibility: hidden;
  }

  .transaction-slide.fp-slide-on,
  .mobile-transaction-slide.fp-slide-on {
    opacity: 1;
    visibility: visible;
  }
}

/* Sans JavaScript : la première étape reste visible */
.transaction-slide:first-child,
.mobile-transaction-slide:first-child {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.fp-js .transaction-slide:first-child:not(.fp-slide-on),
.fp-js .mobile-transaction-slide:first-child:not(.fp-slide-on) {
  opacity: 0;
  visibility: hidden;
}

@keyframes fp-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
