/* ===== Workis — Landing page ===== */
:root {
  --blue: #1f6fd9;
  --blue-dark: #1554a8;
  --red: #e8362d;
  --yellow: #f5b820;
  --green: #3cb45f;
  --ink: #0e1726;
  --ink-soft: #51607a;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --line: #e6ecf4;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(14, 23, 38, 0.08);
  --shadow-lg: 0 24px 70px rgba(14, 23, 38, 0.14);
  --grad: linear-gradient(120deg, var(--blue), var(--green));
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92%); margin-inline: auto; }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }
.reveal[data-delay="7"] { transition-delay: 0.7s; }
.reveal[data-delay="8"] { transition-delay: 0.8s; }
.reveal[data-delay="9"] { transition-delay: 0.9s; }
.reveal[data-delay="10"] { transition-delay: 1s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(14, 23, 38, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-name-light { color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); position: relative; transition: color 0.2s; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.burger { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700;
  border: none; cursor: pointer; border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 24px rgba(31, 111, 217, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31, 111, 217, 0.45); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; background: #cfe2ff; top: -160px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: #d6f5e0; bottom: -140px; left: -120px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #fff3d1; top: 35%; left: 42%; animation-delay: -9s; opacity: 0.4; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.hero-content {
  grid-column: auto;
}
.hero-visual {
  grid-column: auto;
  grid-row: auto;
}
.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-dark);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

/* Rotation de mots */
.word-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.word {
  grid-area: 1 / 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s;
  white-space: nowrap;
}
.word.is-active { opacity: 1; transform: translateY(0); }
.word.is-leaving { opacity: 0; transform: translateY(-120%); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  border-radius: 14px;
  padding: 10px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 28px rgba(14, 23, 38, 0.2);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(14, 23, 38, 0.3); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 1rem; }
.store-badge small { font-size: 0.68rem; font-weight: 500; opacity: 0.8; }
.store-badge-light { background: #fff; color: var(--ink); }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.hero-proof p { font-size: 0.92rem; color: var(--ink-soft); }
.avatars { display: flex; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(14, 23, 38, 0.15);
}
.avatar:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg, #1f6fd9, #6ea8f0); }
.a2 { background: linear-gradient(135deg, #e8362d, #f08a85); }
.a3 { background: linear-gradient(135deg, #f5b820, #fad97e); }
.a4 { background: linear-gradient(135deg, #3cb45f, #8fdca7); }

/* ===== Mockup téléphone ===== */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  background: #f2f6fb;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
  position: relative;
  z-index: 1;
}
.phone-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.08);
}
.phone-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 23, 38, 0.4) 0%, rgba(14, 23, 38, 0.05) 25%, rgba(14, 23, 38, 0.15) 70%, rgba(14, 23, 38, 0.55) 100%);
  z-index: 2;
}
.app-search {
  display: flex; align-items: center; gap: 10px;
  margin: 42px 14px 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(14, 23, 38, 0.08);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 3;
}
.app-search svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; }
.app-search-text::after { content: "|"; animation: blink 1.1s step-end infinite; color: var(--blue); }
@keyframes blink { 50% { opacity: 0; } }

.app-map {
  flex: 1;
  position: relative;
  margin: 0 14px;
  border-radius: 18px;
  background: linear-gradient(140deg, #dcebdc 0%, #e8f1e4 35%, #d8e8f5 70%, #e3eef8 100%);
  overflow: hidden;
}
.map-grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,0.7) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 2px, transparent 2px);
  background-size: 52px 52px;
  transform: rotate(-8deg) scale(1.3);
  animation: mapPan 16s ease-in-out infinite alternate;
}
@keyframes mapPan {
  0% { transform: rotate(-8deg) scale(1.3) translate(0, 0); }
  50% { transform: rotate(-6deg) scale(1.38) translate(-14px, 10px); }
  100% { transform: rotate(-9deg) scale(1.32) translate(12px, -12px); }
}
.map-pin {
  position: absolute;
  width: 26px; height: 26px;
  background: var(--red);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(232, 54, 45, 0.4);
  transition: top 1s cubic-bezier(0.22, 1, 0.36, 1), left 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.pin-1 { top: 18%; left: 22%; }
.pin-2 { top: 38%; left: 68%; background: var(--blue); box-shadow: 0 4px 12px rgba(31,111,217,0.4); }
.pin-3 { top: 62%; left: 38%; background: var(--green); box-shadow: 0 4px 12px rgba(60,180,95,0.4); }

/* Bulle métier qui surgit sur la carte */
.map-bubble {
  position: absolute;
  top: 16%; left: 20%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px;
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 10px 26px rgba(14, 23, 38, 0.22);
  transform-origin: bottom left;
  transform: scale(0);
  z-index: 2;
}
.map-bubble.pop { animation: bubblePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes bubblePop {
  0% { transform: scale(0) rotate(-12deg); }
  70% { transform: scale(1.12) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Radar autour de la position de l'utilisateur */
.map-radar {
  position: absolute;
  width: 150px; height: 150px;
  bottom: calc(12% + 8px - 75px);
  right: calc(34% + 8px - 75px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(31, 111, 217, 0.3), rgba(31, 111, 217, 0.06) 70deg, transparent 110deg);
  animation: radarSpin 3.2s linear infinite;
  pointer-events: none;
}
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Trafic : points qui circulent sur la carte */
.map-dot {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(14, 23, 38, 0.25);
}
.dot-1 { background: var(--yellow); animation: drive1 7s linear infinite; }
.dot-2 { background: var(--red); animation: drive2 9s linear infinite; animation-delay: -3s; }
.dot-3 { background: var(--blue); animation: drive3 11s linear infinite; animation-delay: -6s; }
@keyframes drive1 {
  0% { top: 88%; left: -6%; }
  45% { top: 52%; left: 48%; }
  100% { top: 8%; left: 104%; }
}
@keyframes drive2 {
  0% { top: -6%; left: 70%; }
  50% { top: 48%; left: 40%; }
  100% { top: 104%; left: 12%; }
}
@keyframes drive3 {
  0% { top: 30%; left: 104%; }
  55% { top: 44%; left: 36%; }
  100% { top: 70%; left: -6%; }
}
.pin-pulse {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: inherit;
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
.pin-1 .pin-pulse { color: var(--red); }
.pin-2 .pin-pulse { color: var(--blue); animation-delay: 0.8s; }
.pin-3 .pin-pulse { color: var(--green); animation-delay: 1.6s; }
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.map-me {
  position: absolute;
  bottom: 12%; right: 34%;
  width: 16px; height: 16px;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(31, 111, 217, 0.18);
}

.app-card {
  display: flex; align-items: center; gap: 9px;
  margin: 12px 14px 14px;
  background: #fff;
  border-radius: 16px;
  padding: 11px 10px;
  box-shadow: 0 8px 24px rgba(14, 23, 38, 0.1);
}
.app-card-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.app-card.swap .app-card-avatar,
.app-card.swap .app-card-info { animation: cardSwap 0.7s ease both; }
@keyframes cardSwap {
  0% { opacity: 1; transform: translateY(0); }
  35% { opacity: 0; transform: translateY(8px); }
  65% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.app-card-info { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.app-card-info strong,
.app-card-rating,
.app-card-dist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-info strong { font-size: 0.74rem; }
.app-card-rating { font-size: 0.7rem; color: var(--yellow); font-weight: 700; }
.app-card-rating em { color: var(--ink-soft); font-style: normal; font-weight: 500; }
.app-card-dist { font-size: 0.64rem; color: var(--ink-soft); }
.app-card-btn {
  margin-left: auto;
  background: var(--blue); color: #fff;
  border: none; border-radius: 10px;
  font-family: var(--font); font-weight: 700; font-size: 0.68rem;
  padding: 8px 9px;
  cursor: pointer;
  flex-shrink: 0;
}

.float-chip {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-1 { top: 16%; left: -4%; animation-delay: -1.5s; }
.chip-2 { bottom: 20%; right: -6%; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--ink-soft);
  border-radius: 14px;
  opacity: 0.55;
}
.scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--ink-soft);
  border-radius: 2px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== Stats ===== */
.stats { padding: 56px 0; border-block: 1px solid var(--line); background: var(--bg); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(31, 111, 217, 0.09);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== Fonctionnalités ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.fi-blue { background: rgba(31, 111, 217, 0.1); color: var(--blue); }
.fi-red { background: rgba(232, 54, 45, 0.09); color: var(--red); }
.fi-yellow { background: rgba(245, 184, 32, 0.14); color: #c98f06; }
.fi-green { background: rgba(60, 180, 95, 0.11); color: var(--green); }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Étapes ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 28px;
  align-items: start;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step-arrow {
  align-self: center;
  font-size: 1.8rem;
  color: var(--blue);
  font-weight: 800;
}

/* ===== Catégories ===== */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 860px; margin: 0 auto; }
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.cat:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow); border-color: var(--blue); }
.cat-more { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-more:hover { border-color: var(--ink); }

/* ===== À propos ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.about-text { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(130deg, var(--blue-dark) 0%, var(--blue) 45%, #2a9d54 100%);
  overflow: hidden;
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.cta::after { width: 320px; height: 320px; bottom: -160px; left: -100px; }
.cta-inner { position: relative; text-align: center; color: #fff; z-index: 1; }
.cta-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 14px;
}
.cta-sub { opacity: 0.85; font-size: 1.1rem; margin-bottom: 34px; }
.cta-actions { justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #aab6c9; padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-tagline { margin-top: 16px; font-size: 0.95rem; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 64px; }
  .hero-content { grid-column: auto; }
  .hero-visual { grid-column: auto; grid-row: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 32px;
    gap: 22px;
    box-shadow: -20px 0 60px rgba(14, 23, 38, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    padding: 0 10px;
    z-index: 110;
    position: relative;
  }
  .burger span {
    display: block;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 80px 0; }
  .float-chip { display: none; }
  .phone { width: 270px; }
  .phone-screen { height: 510px; }
}

/* ===== En-tête active state & Page header ===== */
.nav-link.is-active {
  color: var(--blue);
}
.nav-link.is-active::after {
  transform: scaleX(1);
}

.page-hero {
  position: relative;
  padding: 170px 0 110px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
/* Pas de filtre sur l'image de fond */
.page-hero::before {
  display: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  /* Ombres portées multicouches pour garantir la lisibilité du texte blanc sur fond clair/complexe */
  text-shadow: 
    0 2px 8px rgba(14, 23, 38, 0.85),
    0 8px 32px rgba(14, 23, 38, 0.5),
    0 1px 3px rgba(14, 23, 38, 0.95);
}
.page-hero-inner .section-tag {
  background: rgba(14, 23, 38, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}
/* Désactivation de l'effet dégradé transparent pour éviter le conflit avec text-shadow */
.page-hero-title .grad-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.page-hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 650px;
  margin: 0 auto;
}

/* Lisibilité du menu horizontal avant le scrolling sur les sous-pages */
body:has(.page-hero) .header:not(.is-scrolled) {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(14, 23, 38, 0.06);
  border-bottom: 1px solid var(--line);
}

/* Animation au scroll (native CSS Scroll-driven) */
@keyframes fadeHeroOut {
  to {
    opacity: 0.15;
    transform: translateY(45px) scale(0.96);
  }
}
@supports (animation-timeline: scroll()) {
  .page-hero-inner {
    animation: fadeHeroOut linear both;
    animation-timeline: scroll();
    animation-range: exit 0% exit 100%;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 140px 0 70px;
    min-height: 380px;
  }
  .page-hero-inner {
    padding: 32px 24px;
    width: 90%;
  }
}

/* ===== Style spécifique : Fonctionnalités détaillées ===== */
.feature-row-section {
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}
.feature-row:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}
.feature-row:nth-child(even) .feature-row-content {
  grid-column: 2;
}
.feature-row:nth-child(even) .feature-row-visual {
  grid-column: 1;
  grid-row: 1;
}
.feature-row-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-row-content h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0;
  line-height: 1.25;
}
.feature-row-content p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
}
.feature-checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  font-size: 1.1rem;
}
.feature-row-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.feature-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.feature-img-wrapper img {
  border-radius: var(--radius);
  max-height: 380px;
  object-fit: cover;
  width: 100%;
}
.floating-ui-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.f-card-1 {
  top: -20px;
  right: -20px;
}
.f-card-2 {
  bottom: -20px;
  left: -20px;
}

/* ===== Style spécifique : Prestataires / Pros ===== */
.timeline-section {
  padding: 100px 0;
  background: var(--bg-alt);
}
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline-container::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 40px;
  width: 3px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 60px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-badge {
  position: absolute;
  top: 0; left: 16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(31, 111, 217, 0.35);
  z-index: 2;
  border: 4px solid var(--bg-alt);
}
.timeline-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.timeline-content p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* FAQ Accordéon */
.faq-section {
  padding: 100px 0;
}
.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover {
  border-color: var(--blue);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: left;
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.25s;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-content-inner {
  padding: 0 28px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ===== Style spécifique : Sécurité et Paiements ===== */
.escrow-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 60px auto 0;
}
.escrow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.escrow-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(60, 180, 95, 0.1);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.escrow-step.blue .escrow-icon {
  background: rgba(31, 111, 217, 0.1);
  color: var(--blue);
}
.escrow-step.orange .escrow-icon {
  background: rgba(245, 184, 32, 0.14);
  color: #c98f06;
}
.escrow-step h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.escrow-step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.escrow-arrow {
  font-size: 2rem;
  color: var(--blue);
  font-weight: 800;
}

.momo-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}
.momo-badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.momo-badge span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.badge-wave { color: #1e90ff; }
.badge-wave span { background: #1e90ff; }
.badge-orange { color: #ff6600; }
.badge-orange span { background: #ff6600; }
.badge-mtn { color: #ffcc00; }
.badge-mtn span { background: #ffcc00; }
.badge-moov { color: #008000; }
.badge-moov span { background: #008000; }

/* ===== Style spécifique : Contact et formulaire ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(31, 111, 217, 0.09);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-text-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.contact-text-box p,
.contact-text-box a {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.contact-map-svg {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.contact-form-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.form-control {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  outline: none;
  background: var(--bg-alt);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  color: var(--ink);
}
.form-control:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 111, 217, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.btn-submit {
  width: 100%;
  padding: 14px 28px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  pointer-events: none;
}
.toast.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast-icon { font-size: 1.2rem; }
.toast-message { font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* SVG Map customization */
.map-building-pin {
  animation: bouncePin 2s infinite;
}
@keyframes bouncePin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive contact & subpages */
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: auto; }
  .feature-row { grid-template-columns: 1fr !important; gap: 40px; text-align: center; }
  .feature-row-content { align-items: center; }
  .feature-row-content h3 { font-size: 1.6rem; }
  .feature-checklist { align-items: center; }
  .feature-row:nth-child(even) .feature-row-content { grid-column: auto; }
  .feature-row:nth-child(even) .feature-row-visual { grid-column: auto; grid-row: auto; }
  .escrow-flow { grid-template-columns: 1fr; gap: 32px; }
  .escrow-arrow { transform: rotate(90deg); }
  .timeline-container::before { left: 24px; }
  .timeline-item { padding-left: 64px; }
  .timeline-badge { left: 0; width: 44px; height: 44px; font-size: 1.1rem; }
}

