/* =============================================
   FEATURE PAGE CSS
   Template complet pour les pages fonctionnalités
   ============================================== */


/* =============================================
   SECTION 1 — FHERO (Tomorro-style Hero)
   Titre massif + carte produit chevauchante + logos
============================================== */
.fhero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  padding: 120px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.fhero__orb {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(31, 175, 138, 0.1) 0%,
    rgba(14, 90, 79, 0.06) 40%,
    transparent 70%
  );
  filter: blur(80px);
  animation: fhero-orb 10s ease-in-out infinite;
}

@keyframes fhero-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

.fhero .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.fhero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: var(--text-sm);
}

.fhero__breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

.fhero__breadcrumb a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

.fhero__breadcrumb-sep {
  color: var(--accent);
}

.fhero__breadcrumb span:last-child {
  color: var(--text-muted);
}

/* Layout: Title + Visual */
.fhero__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}

/* Content */
.fhero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}

.fhero__title {
  font-family: var(--font-headings);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 28px;
  max-width: 680px;
}

.fhero__title .accent {
  color: var(--accent);
}

.fhero__arrow {
  color: var(--accent);
  display: inline-block;
}

.fhero__subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 500px;
}

.fhero__ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Ghost button (Tomorro "Tester gratuitement" style) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--accent-border);
  color: var(--accent-text);
  text-decoration: none;
}

/* Visual: Product Card (Signature UI) */
.fhero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 2;
}

.fhero-card {
  width: 380px;
  max-width: 100%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 0;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(31, 175, 138, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Card Top Bar */
.fhero-card__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  flex-wrap: wrap;
}

.fhero-card__user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fhero-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.fhero-card__username {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.fhero-card__actions {
  display: flex;
  gap: 8px;
}

.fhero-card__action-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.fhero-card__action-btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.fhero-card__action-btn--outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--stroke);
}

/* Decorative lines */
.fhero-card__lines {
  padding: 18px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fhero-card__line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.fhero-card__line--long { width: 90%; }
.fhero-card__line--medium { width: 65%; }
.fhero-card__line--short { width: 40%; }

.fhero-card__line--accent {
  width: 75%;
  background: rgba(31, 175, 138, 0.15);
}

/* Company name */
.fhero-card__company {
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Signature field */
.fhero-card__signature {
  margin: 0 20px 16px;
  padding: 20px 24px;
  background: rgba(31, 175, 138, 0.08);
  border: 2px solid rgba(31, 175, 138, 0.25);
  border-radius: 12px;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.fhero-card__sig-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 28px;
  font-style: italic;
  color: var(--accent-text);
  letter-spacing: 0.02em;
}

/* Meta info */
.fhero-card__meta {
  padding: 0 20px 14px;
}

.fhero-card__meta p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 3px;
  line-height: 1.5;
}

.fhero-card__meta strong {
  color: var(--text-light);
  font-weight: 600;
}

/* Card footer */
.fhero-card__footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

.fhero-card__footer strong {
  color: var(--accent);
  font-weight: 700;
}

/* Logos bar (bottom of hero) */
.fhero__logos {
  margin-top: auto;
  padding: 28px 0 32px;
  border-top: 1px solid var(--stroke-light);
  background: linear-gradient(180deg, transparent 0%, rgba(5, 31, 27, 0.4) 100%);
}

.fhero__logos .container {
  padding: 0 32px;
}

.fhero__logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.fhero__logos-track .logo-item {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.fhero__logos-track .logo-item:hover {
  opacity: 0.8;
}


/* =============================================
   SECTION 2 — CLIENTS LOGOS BAR
============================================== */
.fp-clients {
  position: relative;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--stroke-light);
}

.fp-clients .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.fp-clients__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.fp-clients .hero-logos {
  opacity: 1;
  transform: none;
}


/* =============================================
   SECTION 3 — FEATURE HIGHLIGHT
============================================== */
.fp-highlight {
  position: relative;
  padding: 100px 0 120px;
  background: var(--bg);
}

.fp-highlight .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-highlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.fp-highlight__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.fp-highlight__title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fp-highlight__subtitle {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--accent-text);
  margin-top: 8px;
}

.fp-highlight__text {
  font-size: clamp(15px, 1.4vw, 17px);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}

.fp-highlight__ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.fp-highlight__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-highlight__image {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}


/* =============================================
   SECTION 5/6/7 — FEATURE BLOCKS
   Two-column layout: text + bullets + CTA | product screenshot
============================================== */
.fp-block {
  position: relative;
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--stroke-light);
  border-bottom: 1px solid var(--stroke-light);
}

.fp-block--alt {
  background: var(--bg);
  border-top: none;
  border-bottom: none;
}

.fp-block .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Espacement entre les blocs pour faire respirer */
.fp-block__container + .fp-block__container {
  margin-top: 100px;
}

.fp-block__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.fp-block__wrapper--reversed {
  grid-template-columns: 1.1fr 1fr;
  direction: rtl;
}

.fp-block__wrapper--reversed > * {
  direction: ltr;
}

.fp-block__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.fp-block__title {
  font-size: clamp(26px, 3.2vw, 40px);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.fp-block__desc {
  font-size: clamp(15px, 1.4vw, 17px);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.fp-block__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.5;
}

.fp-block__dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(31, 175, 138, 0.5);
  margin-top: 6px;
}

.fp-block__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-block__image {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-md);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--stroke);
}


/* =============================================
   SECTION 8 — LETTRE OUVERTE
   Dark dramatic card with atmospheric image
============================================== */
.fp-letter {
  position: relative;
  padding: 80px 0;
  background: var(--bg);
}

.fp-letter .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-letter__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(145deg, rgba(5, 15, 10, 0.95) 0%, rgba(10, 25, 18, 0.9) 100%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}

.fp-letter__content {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.fp-letter__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.fp-letter__text {
  font-size: var(--text-base);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
}

.fp-letter__link {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
  margin-top: 4px;
}

.fp-letter__link:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

.fp-letter__visual {
  position: relative;
  overflow: hidden;
}

.fp-letter__image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 360px;
  position: relative;
  background: 
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(31, 175, 138, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(14, 90, 79, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, rgba(5, 31, 27, 1) 0%, rgba(10, 56, 48, 0.8) 50%, rgba(5, 18, 10, 1) 100%);
}

/* Orb animé (copie de statement__orb en taille réduite) */
.fp-letter__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 48% 52% 51% 49% / 50% 48% 52% 50%;
  background: 
    radial-gradient(ellipse 52% 48% at 48% 52%,
      #041A17 0%,
      #041A17 28%,
      #168A72 32%,
      #28C99A 35%,
      #1FAF8A 37%,
      #28C99A 39%,
      #168A72 42%,
      #041A17 50%,
      #031513 70%,
      transparent 100%
    );
  box-shadow: 
    inset 3px -2px 60px rgba(31, 175, 138, 0.3),
    inset -5px 3px 80px rgba(14, 90, 79, 0.2),
    0 0 80px rgba(31, 175, 138, 0.2),
    0 0 120px rgba(14, 90, 79, 0.12);
  animation: 
    fp-letter-orb-organic 18s ease-in-out infinite,
    fp-letter-orb-breathe 10s ease-in-out infinite;
  will-change: border-radius, transform, box-shadow;
}

.fp-letter__orb::before {
  content: '';
  position: absolute;
  top: 49%;
  left: 51%;
  transform: translate(-50%, -50%);
  width: 76%;
  height: 74%;
  border-radius: 51% 49% 48% 52% / 49% 51% 49% 51%;
  background: 
    radial-gradient(ellipse 54% 50% at 46% 52%,
      #031513 0%,
      #031513 40%,
      rgba(40, 201, 154, 0.25) 50%,
      rgba(31, 175, 138, 0.3) 52%,
      rgba(40, 201, 154, 0.25) 54%,
      #031513 65%,
      transparent 100%
    );
  animation: fp-letter-orb-inner 22s ease-in-out infinite reverse;
  will-change: border-radius, transform;
}

/* Grain texture overlay */
.fp-letter__orb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 80px 80px;
  z-index: 10;
}

/* Main organic morphing animation - slow living blob */
@keyframes fp-letter-orb-organic {
  0%, 100% {
    border-radius: 46% 54% 53% 47% / 52% 48% 54% 46%;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  13% {
    border-radius: 54% 46% 47% 53% / 47% 53% 46% 54%;
    transform: translate(-50%, -50%) scale(1.03) rotate(2deg);
  }
  27% {
    border-radius: 48% 52% 55% 45% / 54% 46% 48% 52%;
    transform: translate(-50%, -50%) scale(0.97) rotate(-1.5deg);
  }
  41% {
    border-radius: 53% 47% 46% 54% / 45% 55% 53% 47%;
    transform: translate(-50%, -50%) scale(1.04) rotate(3deg);
  }
  55% {
    border-radius: 45% 55% 52% 48% / 53% 47% 46% 54%;
    transform: translate(-50%, -50%) scale(0.98) rotate(-2deg);
  }
  69% {
    border-radius: 55% 45% 48% 52% / 46% 54% 55% 45%;
    transform: translate(-50%, -50%) scale(1.02) rotate(1.5deg);
  }
  83% {
    border-radius: 47% 53% 54% 46% / 55% 45% 47% 53%;
    transform: translate(-50%, -50%) scale(0.99) rotate(-1deg);
  }
}

/* Inner ring organic movement - slow flowing blob */
@keyframes fp-letter-orb-inner {
  0%, 100% {
    border-radius: 52% 48% 47% 53% / 48% 52% 47% 53%;
    transform: translate(-50%, -50%) scale(1);
  }
  17% {
    border-radius: 47% 53% 54% 46% / 53% 47% 52% 48%;
    transform: translate(-53%, -47%) scale(1.05);
  }
  33% {
    border-radius: 54% 46% 48% 52% / 46% 54% 48% 52%;
    transform: translate(-47%, -53%) scale(0.95);
  }
  50% {
    border-radius: 48% 52% 52% 48% / 52% 48% 54% 46%;
    transform: translate(-52%, -48%) scale(1.03);
  }
  67% {
    border-radius: 53% 47% 46% 54% / 47% 53% 48% 52%;
    transform: translate(-48%, -52%) scale(0.97);
  }
  83% {
    border-radius: 46% 54% 53% 47% / 54% 46% 52% 48%;
    transform: translate(-51%, -49%) scale(1.02);
  }
}

/* Breathing glow animation - gentle pulsing */
@keyframes fp-letter-orb-breathe {
  0%, 100% {
    box-shadow: 
      inset 3px -2px 60px rgba(31, 175, 138, 0.3),
      inset -5px 3px 80px rgba(14, 90, 79, 0.2),
      0 0 80px rgba(31, 175, 138, 0.2),
      0 0 120px rgba(14, 90, 79, 0.12);
  }
  50% {
    box-shadow: 
      inset 3px -2px 75px rgba(31, 175, 138, 0.4),
      inset -5px 3px 95px rgba(14, 90, 79, 0.28),
      0 0 110px rgba(31, 175, 138, 0.3),
      0 0 160px rgba(14, 90, 79, 0.2);
  }
}


/* =============================================
   SECTION 9 — CASE STUDY BANNER
   Full-width image with overlay card
============================================== */
.fp-casestudy {
  position: relative;
  padding: 40px 0 80px;
  background: var(--bg);
}

.fp-casestudy .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-casestudy__banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.fp-casestudy__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fp-casestudy__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.fp-casestudy__card {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-casestudy__logo {
  filter: brightness(1.2);
  opacity: 0.9;
}

.fp-casestudy__question {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.fp-casestudy__card .btn-primary {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* =============================================
   SECTION 10 — TEAMS
============================================== */
.fp-teams {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.fp-teams .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-teams__header {
  text-align: center;
  margin-bottom: 60px;
}

.fp-teams__title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 20px 0 16px;
}

.fp-teams__subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.fp-team-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.fp-team-card:hover {
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
  text-decoration: none;
}

.fp-team-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--accent);
}

.fp-team-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.fp-team-card__text {
  font-size: var(--text-base);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.fp-team-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition-fast);
}

.fp-team-card:hover .fp-team-card__link {
  letter-spacing: 0.02em;
}


/* =============================================
   SECTION 11 — TRUST / SECURITY
============================================== */
.fp-trust {
  position: relative;
  padding: 100px 0 80px;
  background: var(--bg2);
}

.fp-trust .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-trust__header {
  text-align: center;
  margin-bottom: 60px;
}

.fp-trust__title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.fp-trust__subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.fp-trust-card {
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-smooth);
}

.fp-trust-card:hover {
  background: var(--card-hover);
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fp-trust-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border-radius: 50%;
  margin: 0 auto 24px;
}

.fp-trust-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.fp-trust-card__text {
  font-size: var(--text-base);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.fp-trust__cta {
  text-align: center;
  margin-top: 40px;
}


/* =============================================
   SECTION 12 — TESTIMONIALS
============================================== */
.fp-testimonials {
  position: relative;
  padding: 100px 0 120px;
  background: var(--bg);
}

.fp-testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.fp-testimonials__title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

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

.fp-testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.fp-testimonial-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.fp-testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 28px;
  flex-grow: 1;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.fp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fp-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.fp-testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fp-testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}

.fp-testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.fp-testimonials__footer {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: var(--text-base);
  color: var(--text-muted);
}

.fp-testimonials .btn-learn-more {
  display: block;
  text-align: center;
}


/* =============================================
   SECTION 13 — FAQ
============================================== */
.fp-faq {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.fp-faq .container {
  max-width: 800px;
  margin: 0 auto;
}

.fp-faq__header {
  text-align: center;
  margin-bottom: 56px;
}

.fp-faq__title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fp-faq__item {
  border-bottom: 1px solid var(--stroke);
}

.fp-faq__item:first-child {
  border-top: 1px solid var(--stroke);
}

.fp-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-headings);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.fp-faq__question:hover {
  color: var(--accent);
}

.fp-faq__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.fp-faq__item.active .fp-faq__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.fp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 0;
}

.fp-faq__item.active .fp-faq__answer {
  max-height: 300px;
  padding: 0 0 24px;
}

.fp-faq__answer p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}


/* =============================================
   RESPONSIVE — LARGE DESKTOP
============================================== */
@media (min-width: 1200px) {
  .fhero__title { font-size: 72px; }
  .fhero-card { width: 400px; }
}


/* =============================================
   RESPONSIVE — TABLET
============================================== */
@media (max-width: 1024px) {
  .fhero { padding: 110px 0 0; }
  .fhero__layout { gap: 32px; }
  .fhero__title { font-size: clamp(30px, 5vw, 50px); }
  .fhero-card { width: 340px; }
  .fhero__orb { width: 500px; height: 500px; }

  .fhero-card__actions { display: none; }

  .fp-highlight__grid { gap: 40px; }

  .fp-block__wrapper,
  .fp-block__wrapper--reversed { gap: 40px; }

  .fp-letter__card { grid-template-columns: 1fr; }
  .fp-letter__visual { min-height: 240px; }

  .fp-teams__grid,
  .fp-trust__grid { grid-template-columns: repeat(2, 1fr); }

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


/* =============================================
   RESPONSIVE — SMALL TABLET / LARGE MOBILE
============================================== */
@media (max-width: 900px) {
  .fhero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fhero__content {
    align-items: center;
    text-align: center;
  }

  .fhero__title {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .fhero__subtitle { margin-left: auto; margin-right: auto; }
  .fhero__ctas { justify-content: center; }

  .fhero__visual {
    justify-content: center;
  }

  .fp-highlight__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fp-highlight__content {
    align-items: center;
    text-align: center;
  }

  .fp-highlight__text { margin: 0 auto; }
  .fp-highlight__ctas { justify-content: center; }

  .fp-block__wrapper,
  .fp-block__wrapper--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .fp-block__text {
    align-items: center;
    text-align: center;
  }

  .fp-block__list li { text-align: left; }
  .fp-block__desc { margin: 0 auto; }
}


/* =============================================
   RESPONSIVE — MOBILE
============================================== */
@media (max-width: 768px) {
  .fhero {
    padding: 100px 0 0;
    min-height: auto;
  }

  .fhero .container { padding: 0 20px; }

  .fhero__breadcrumb { margin-bottom: 24px; }

  .fhero__title { font-size: clamp(28px, 8vw, 42px); }
  .fhero__subtitle { font-size: 15px; margin-bottom: 28px; }

  .fhero__ctas {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .fhero__ctas .btn-primary,
  .fhero__ctas .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
  }

  .fhero-card {
    width: 100%;
    max-width: 340px;
  }

  .fhero-card__sig-text { font-size: 22px; }
  .fhero-card__signature { padding: 16px 18px; min-height: 56px; }

  .fhero__logos-track {
    gap: 20px;
    justify-content: center;
  }

  .fhero__orb { width: 350px; height: 350px; right: -20%; top: -5%; }

  .fp-highlight,
  .fp-block { padding: 60px 0 80px; }

  .fp-letter__card { grid-template-columns: 1fr; }
  .fp-letter__content { padding: 32px 24px; }
  .fp-letter__visual { min-height: 200px; order: -1; }

  .fp-casestudy__banner { min-height: 360px; border-radius: var(--radius-md); }
  .fp-casestudy__overlay { padding: 24px; }
  .fp-casestudy__question { font-size: clamp(18px, 5vw, 24px); }

  .fp-teams,
  .fp-trust,
  .fp-testimonials,
  .fp-faq { padding: 60px 0 80px; }

  .fp-teams__grid,
  .fp-trust__grid { grid-template-columns: 1fr; }

  .fp-testimonials__track { grid-template-columns: 1fr; }

  .fp-team-card,
  .fp-trust-card,
  .fp-testimonial-card { padding: 28px 24px; }

  .fp-teams__header,
  .fp-trust__header,
  .fp-testimonials__header,
  .fp-faq__header { margin-bottom: 40px; }

  .fp-faq__question {
    font-size: var(--text-base);
    padding: 20px 0;
  }
}


/* =============================================
   IA PAGE — SPECIFIC STYLES
============================================== */

/* IA Hero - Centered Layout with Orb */
.ia-hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  padding: 120px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ia-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ia-hero__orb-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Large orb for hero */
.fp-letter__orb--hero {
  width: 320px;
  height: 320px;
  opacity: 0.9;
}

.ia-hero .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ia-hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  padding: 40px 0 80px;
}

.ia-hero__title {
  font-family: var(--font-headings);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.ia-hero__title .accent {
  color: var(--accent);
}

.ia-hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 600px;
}

.ia-hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 768px) {
  .ia-hero {
    padding: 100px 0 0;
    min-height: auto;
  }
  
  .ia-hero__content {
    padding: 40px 0 60px;
  }
  
  .ia-hero__title {
    font-size: clamp(28px, 8vw, 42px);
  }
  
  .fp-letter__orb--hero {
    width: 200px;
    height: 200px;
  }
  
  .ia-hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .ia-hero__ctas .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Teams grid 6 columns variant */
.fp-teams__grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 768px) {
  .fp-teams__grid--6 {
    grid-template-columns: 1fr;
  }
  
  .fhero-card--ia {
    width: 100%;
    max-width: 360px;
  }
}

/* Dark fp-block variant */
.fp-block--dark {
  background: var(--bg);
  border: none;
}

/* FAQ is-open state (alternative to active) */
.fp-faq__item.is-open .fp-faq__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.fp-faq__item.is-open .fp-faq__answer {
  max-height: 300px;
  padding: 0 0 24px;
}


/* =============================================
   DIGITAL MOCKUP — Digitalisation des contrats
============================================== */
.digital-mockup {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 20px;
}

.digital-mockup__window {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.digital-mockup__header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #FAFBFC;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.digital-mockup__dots {
  display: flex;
  gap: 6px;
}

.digital-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.digital-mockup__dots span:nth-child(1) { background: #FF5F56; }
.digital-mockup__dots span:nth-child(2) { background: #FFBD2E; }
.digital-mockup__dots span:nth-child(3) { background: #27C93F; }

.digital-mockup__title {
  margin-left: 14px;
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 600;
  color: #3D4A49;
}

.digital-mockup__content {
  padding: 20px;
  background: #fff;
}

/* Document intérieur */
.digital-mockup__doc {
  background: #FAFBFC;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.digital-mockup__doc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.digital-mockup__logo-placeholder {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 6px;
}

.digital-mockup__doc-title {
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  color: #1a2b2a;
}

/* Lignes de texte animées */
.digital-mockup__lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.digital-mockup__line {
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  animation: lineAppear 3s ease-in-out infinite;
}

.digital-mockup__line--long {
  width: 100%;
  animation-delay: 0s;
}

.digital-mockup__line--medium {
  width: 75%;
  animation-delay: 0.15s;
}

.digital-mockup__line--short {
  width: 50%;
  animation-delay: 0.3s;
}

.digital-mockup__line--accent {
  width: 60%;
  background: rgba(31, 175, 138, 0.2);
  animation-delay: 0.45s;
}

@keyframes lineAppear {
  0%, 100% { 
    opacity: 0.4;
    transform: scaleX(0.95);
  }
  50% { 
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Zone signature */
.digital-mockup__signature-zone {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.digital-mockup__sig-label {
  font-size: 10px;
  color: #5A6A69;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.digital-mockup__sig-box {
  background: rgba(31, 175, 138, 0.08);
  border: 1px solid rgba(31, 175, 138, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: sigPulse 3s ease-in-out infinite;
}

.digital-mockup__sig-text {
  font-family: 'Recoleta', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #0E5A4F;
  opacity: 0;
  animation: sigWrite 3s ease-in-out infinite;
}

@keyframes sigPulse {
  0%, 100% { 
    border-color: rgba(31, 175, 138, 0.15);
    background: rgba(31, 175, 138, 0.05);
  }
  50% { 
    border-color: rgba(31, 175, 138, 0.35);
    background: rgba(31, 175, 138, 0.12);
  }
}

@keyframes sigWrite {
  0%, 30% { opacity: 0; transform: translateX(-5px); }
  40%, 100% { opacity: 1; transform: translateX(0); }
}

/* Badge validé */
.digital-mockup__validated {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(31, 175, 138, 0.12);
  color: #0E5A4F;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  animation: validatedAppear 3s ease-in-out infinite;
}

.digital-mockup__validated svg {
  stroke: #1FAF8A;
}

@keyframes validatedAppear {
  0%, 50% { opacity: 0; transform: scale(0.8); }
  60%, 100% { opacity: 1; transform: scale(1); }
}

/* Éléments flottants */
.digital-mockup__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #3D4A49;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.digital-mockup__float svg {
  stroke: var(--accent);
}

.digital-mockup__float--paper {
  top: 30px;
  right: -20px;
  animation: floatRight 4s ease-in-out infinite;
}

.digital-mockup__float--cloud {
  bottom: 60px;
  left: -15px;
  animation: floatLeft 4s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes floatRight {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -5px); }
}

@keyframes floatLeft {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5px, -5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .digital-mockup {
    max-width: 320px;
    padding: 10px;
  }
  
  .digital-mockup__float--paper {
    right: -10px;
    top: 20px;
  }
  
  .digital-mockup__float--cloud {
    left: -8px;
    bottom: 40px;
  }
}

/* =============================================
   SPEED MOCKUP — Rapidité de signature
============================================== */
.speed-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 20px;
}

.speed-mockup__window {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.speed-mockup__header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #FAFBFC;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.speed-mockup__dots {
  display: flex;
  gap: 6px;
}

.speed-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.speed-mockup__dots span:nth-child(1) { background: #FF5F56; }
.speed-mockup__dots span:nth-child(2) { background: #FFBD2E; }
.speed-mockup__dots span:nth-child(3) { background: #27C93F; }

.speed-mockup__title {
  margin-left: 14px;
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 600;
  color: #3D4A49;
}

.speed-mockup__content {
  padding: 20px;
  background: #fff;
}

/* Timer badge */
.speed-mockup__timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31, 175, 138, 0.1);
  color: #0E5A4F;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: timerPulse 2s ease-in-out infinite;
}

.speed-mockup__timer svg {
  stroke: var(--accent);
}

.speed-mockup__timer-text {
  animation: timerCount 4s ease-in-out infinite;
}

@keyframes timerPulse {
  0%, 100% { background: rgba(31, 175, 138, 0.08); }
  50% { background: rgba(31, 175, 138, 0.15); }
}

@keyframes timerCount {
  0%, 25% { content: "2 min"; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Workflow steps */
.speed-mockup__workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.speed-mockup__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #FAFBFC;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.speed-mockup__step-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: #5A6A69;
  flex-shrink: 0;
}

.speed-mockup__step--done .speed-mockup__step-check {
  background: var(--accent);
  color: #fff;
}

.speed-mockup__step--done[data-step="1"] {
  animation: stepAppear 4s ease-in-out infinite;
  animation-delay: 0s;
}

.speed-mockup__step--done[data-step="2"] {
  animation: stepAppear 4s ease-in-out infinite;
  animation-delay: 0.3s;
}

.speed-mockup__step--done[data-step="3"] {
  animation: stepAppear 4s ease-in-out infinite;
  animation-delay: 0.6s;
}

@keyframes stepAppear {
  0%, 15% { 
    opacity: 0.5;
    transform: translateX(-5px);
  }
  25%, 100% { 
    opacity: 1;
    transform: translateX(0);
  }
}

.speed-mockup__step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  flex-shrink: 0;
}

.speed-mockup__step--active {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
  animation: stepActive 2s ease-in-out infinite;
}

@keyframes stepActive {
  0%, 100% { 
    border-color: rgba(59, 130, 246, 0.15);
    background: rgba(59, 130, 246, 0.03);
  }
  50% { 
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.08);
  }
}

.speed-mockup__step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.speed-mockup__step-name {
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 600;
  color: #1a2b2a;
}

.speed-mockup__step-time {
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}

.speed-mockup__step-status {
  font-size: 10px;
  color: #3B82F6;
  font-weight: 500;
  animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Connector lines */
.speed-mockup__connector {
  width: 2px;
  height: 12px;
  margin-left: 22px;
  background: rgba(0, 0, 0, 0.08);
}

.speed-mockup__connector--done {
  background: var(--accent);
}

.speed-mockup__connector--active {
  background: linear-gradient(to bottom, var(--accent) 0%, #3B82F6 100%);
  animation: connectorGrow 4s ease-in-out infinite;
}

@keyframes connectorGrow {
  0%, 70% { 
    transform: scaleY(0.5);
    opacity: 0.5;
  }
  85%, 100% { 
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Progress bar */
.speed-mockup__progress {
  margin-top: 16px;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.speed-mockup__progress-bar {
  width: 85%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #3B82F6 100%);
  border-radius: 2px;
  animation: progressFill 4s ease-in-out infinite;
}

@keyframes progressFill {
  0% { width: 0%; }
  25% { width: 25%; }
  50% { width: 55%; }
  75% { width: 75%; }
  100% { width: 85%; }
}

/* Floating badge */
.speed-mockup__float {
  position: absolute;
  top: 10px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 
    0 4px 20px rgba(31, 175, 138, 0.25),
    0 2px 8px rgba(31, 175, 138, 0.15);
  animation: floatBadge 3s ease-in-out infinite;
}

.speed-mockup__float svg {
  stroke: #fff;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Responsive */
@media (max-width: 768px) {
  .speed-mockup {
    max-width: 300px;
    padding: 10px;
  }
  
  .speed-mockup__float {
    right: 0;
    top: 5px;
    font-size: 10px;
    padding: 6px 10px;
  }
}

/* =============================================
   TRACKING MOCKUP — Suivi des contrats
============================================== */
.tracking-mockup {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 20px;
}

.tracking-mockup__window {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.tracking-mockup__header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #FAFBFC;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tracking-mockup__dots {
  display: flex;
  gap: 6px;
}

.tracking-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tracking-mockup__dots span:nth-child(1) { background: #FF5F56; }
.tracking-mockup__dots span:nth-child(2) { background: #FFBD2E; }
.tracking-mockup__dots span:nth-child(3) { background: #27C93F; }

.tracking-mockup__title {
  margin-left: 14px;
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 600;
  color: #3D4A49;
  flex: 1;
}

.tracking-mockup__badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  animation: livePulse 2s ease-in-out infinite;
}

.tracking-mockup__badge-dot {
  width: 6px;
  height: 6px;
  background: #DC2626;
  border-radius: 50%;
  animation: liveDot 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { background: rgba(239, 68, 68, 0.08); }
  50% { background: rgba(239, 68, 68, 0.15); }
}

@keyframes liveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.tracking-mockup__content {
  padding: 16px;
  background: #fff;
}

/* KPIs row */
.tracking-mockup__kpis {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.tracking-mockup__kpi {
  flex: 1;
  background: #FAFBFC;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.tracking-mockup__kpi-value {
  display: block;
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: #1a2b2a;
  line-height: 1.2;
}

.tracking-mockup__kpi-label {
  display: block;
  font-size: 10px;
  color: #5A6A69;
  margin-top: 2px;
}

.tracking-mockup__kpi--accent {
  background: rgba(31, 175, 138, 0.08);
  border-color: rgba(31, 175, 138, 0.15);
}

.tracking-mockup__kpi--accent .tracking-mockup__kpi-value {
  color: var(--accent);
}

/* Contracts list */
.tracking-mockup__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tracking-mockup__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #FAFBFC;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tracking-mockup__row[data-row="1"] { animation: rowSlide 4s ease-in-out infinite; animation-delay: 0s; }
.tracking-mockup__row[data-row="2"] { animation: rowSlide 4s ease-in-out infinite; animation-delay: 0.15s; }
.tracking-mockup__row[data-row="3"] { animation: rowSlide 4s ease-in-out infinite; animation-delay: 0.3s; }
.tracking-mockup__row[data-row="4"] { animation: rowSlide 4s ease-in-out infinite; animation-delay: 0.45s; }

@keyframes rowSlide {
  0%, 10% { 
    opacity: 0.4;
    transform: translateX(-8px);
  }
  20%, 100% { 
    opacity: 1;
    transform: translateX(0);
  }
}

.tracking-mockup__row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tracking-mockup__row-ref {
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 600;
  color: #1a2b2a;
}

.tracking-mockup__row-client {
  font-size: 10px;
  color: #5A6A69;
}

.tracking-mockup__row-status {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

.tracking-mockup__row-status--paid {
  background: rgba(31, 175, 138, 0.12);
  color: #0E5A4F;
}

.tracking-mockup__row-status--paid svg {
  stroke: var(--accent);
}

.tracking-mockup__row-status--pending {
  background: rgba(255, 189, 46, 0.15);
  color: #92400E;
  animation: pendingPulse 2s ease-in-out infinite;
}

.tracking-mockup__row-status--pending svg {
  stroke: #D97706;
}

@keyframes pendingPulse {
  0%, 100% { background: rgba(255, 189, 46, 0.1); }
  50% { background: rgba(255, 189, 46, 0.2); }
}

.tracking-mockup__row-status--signed {
  background: rgba(59, 130, 246, 0.1);
  color: #1D4ED8;
}

.tracking-mockup__row-status--signed svg {
  stroke: #3B82F6;
}

.tracking-mockup__row-status--waiting {
  background: rgba(0, 0, 0, 0.06);
  color: #5A6A69;
  animation: waitingBlink 2.5s ease-in-out infinite;
}

.tracking-mockup__row-status--waiting svg {
  stroke: #5A6A69;
}

@keyframes waitingBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Floating notification */
.tracking-mockup__notif {
  position: absolute;
  bottom: 50px;
  right: -5px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #3D4A49;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: notifAppear 4s ease-in-out infinite;
}

.tracking-mockup__notif svg {
  stroke: var(--accent);
}

@keyframes notifAppear {
  0%, 60% { 
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  70%, 90% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% { 
    opacity: 0;
    transform: translateY(-5px) scale(0.95);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .tracking-mockup {
    max-width: 320px;
    padding: 10px;
  }
  
  .tracking-mockup__kpi-value {
    font-size: 18px;
  }
  
  .tracking-mockup__notif {
    right: 0;
    bottom: 40px;
  }
}

/* =============================================
   ACCESSIBILITY — prefers-reduced-motion
============================================== */
@media (prefers-reduced-motion: reduce) {
  .fhero__orb,
  .fhero-card,
  .fp-team-card,
  .fp-trust-card,
  .fp-testimonial-card,
  .fp-letter__orb,
  .digital-mockup__line,
  .digital-mockup__sig-text,
  .digital-mockup__sig-box,
  .digital-mockup__validated,
  .digital-mockup__float,
  .speed-mockup__timer,
  .speed-mockup__step,
  .speed-mockup__connector,
  .speed-mockup__progress-bar,
  .speed-mockup__float,
  .speed-mockup__step-status,
  .tracking-mockup__badge,
  .tracking-mockup__badge-dot,
  .tracking-mockup__row,
  .tracking-mockup__row-status--pending,
  .tracking-mockup__row-status--waiting,
  .tracking-mockup__notif {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  
  .digital-mockup__sig-text,
  .digital-mockup__validated,
  .speed-mockup__step,
  .tracking-mockup__row,
  .tracking-mockup__notif {
    opacity: 1 !important;
    transform: none !important;
  }

  .speed-mockup__progress-bar {
    width: 85% !important;
  }

  .fp-faq__answer {
    transition-duration: 0.01ms !important;
  }
}
