/* Charte ETohy : bleu nuit #03173E, bleu #054CAA (survol #022E76), vert #096D34, rouge #E31F21, jaune #F9A914 */
:root {
  --navy: #03173e;
  --navy-2: #0a2556;
  --navy-3: #0d2f6b;
  --blue: #054caa;
  --blue-light: #3b82f6;
  --blue-dark: #022e76;
  --blue-50: #f2f6fb;
  --blue-100: #e1eaf5;
  --green: #096d34;
  --green-light: #22c55e;
  --green-50: #e8f4ec;
  --red: #e31f21;
  --red-50: #fdecec;
  --yellow: #f9a914;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --yellow-50: #fef5e3;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-tint: #f5f8fd;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(3 23 62 / 0.06), 0 10px 30px rgb(3 23 62 / 0.08);
  --shadow-lg: 0 30px 80px rgb(3 23 62 / 0.28);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
[hidden] { display: none !important; }

/* Pleine largeur : le contenu s'étend jusqu'à 1680 px avec des marges fluides. */
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.muted { color: var(--muted); font-size: 0.9rem; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 14px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgb(5 76 170 / 0.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 24px rgb(249 169 20 / 0.35); }
.btn-accent:hover { background: #ffb829; }
.btn-glass { background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.25); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / 0.16); }
.btn-ghost { color: inherit; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgb(249 169 20 / 0.6); outline-offset: 2px;
}

/* ---------- En-tête (transparent sur l'accroche, blanc ensuite) ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.topbar.scrolled { background: rgb(255 255 255 / 0.92); backdrop-filter: blur(14px); color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgb(3 23 62 / 0.06); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 0.15); }
.brand-mark img { width: 36px; height: 36px; }
.brand-name { font-weight: 900; font-style: italic; font-size: 1.5rem; letter-spacing: -0.03em; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: inherit; font-weight: 500; font-size: 0.95rem; opacity: .88; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-login { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; border-radius: 10px; }
.menu-btn .ic { width: 26px; height: 26px; }
.txt-short { display: none; }

/* ---------- Accroche ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(1200px 700px at 80% 20%, #0d3a85 0%, transparent 60%), linear-gradient(160deg, #03173e 0%, #041d4d 55%, #03173e 100%);
  color: #cbd5e1; overflow: hidden; padding: 120px 0 120px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgb(255 255 255 / 0.18) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 18s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #054caa; top: -120px; right: 8%; }
.b2 { width: 380px; height: 380px; background: #f9a914; opacity: .18; bottom: -120px; left: 10%; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: #096d34; opacity: .25; top: 40%; right: -80px; animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } }
.hero-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 14; animation: dash 30s linear infinite; }
.r1 { stroke: rgb(249 169 20 / 0.35); }
.r2 { stroke: rgb(59 130 246 / 0.35); animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -1000; } }
.ping { fill: var(--yellow); transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.p2 { fill: var(--green-light); animation-delay: .8s; }
.p3 { fill: var(--blue-light); animation-delay: 1.6s; }
@keyframes ping { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.15); color: #e2e8f0; font-weight: 600; font-size: 0.85rem;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0.6); } 70% { box-shadow: 0 0 0 10px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 900; margin: 22px 0 22px; letter-spacing: -0.04em; line-height: 1.02; }
.grad-text {
  background: linear-gradient(90deg, #f9a914, #ffd36b, #22c55e, #f9a914); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 300% 0; } }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: #cbd5e1; max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 48px); margin: 44px 0 0; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.12); }
.hero-stats dt { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; font-size: 0.85rem; color: #94a3b8; max-width: 150px; line-height: 1.35; }

.hero-visual { position: relative; padding: 20px 0 40px 40px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #eef2f7; border-bottom: 1px solid #e2e8f0; }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #fca5a5; }
.browser-bar span:nth-child(2) { background: #fcd34d; }
.browser-bar span:nth-child(3) { background: #86efac; }
.browser-bar em { margin: 0 auto; font-style: normal; font-size: 0.78rem; color: #64748b; background: #fff; padding: 3px 16px; border-radius: 7px; transform: translateX(-20px); }
.browser-hero { transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.phone {
  position: relative; border-radius: 36px; padding: 9px; background: #0b1220;
  box-shadow: 0 0 0 2px #1e293b, var(--shadow-lg); overflow: hidden;
}
.phone img { border-radius: 28px; width: 100%; }
.phone-hero { position: absolute; left: -10px; bottom: -10px; width: clamp(150px, 15vw, 240px); animation: bob 6s ease-in-out infinite; animation-delay: -2s; }
.phone-hero img { aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }

.toast {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgb(255 255 255 / 0.96); box-shadow: 0 18px 40px rgb(0 0 0 / 0.25); color: var(--navy); font-size: 0.85rem;
  opacity: 0; animation: toast 12s var(--ease) infinite;
}
.toast strong { display: block; font-size: 0.92rem; }
.toast small { color: var(--muted); }
.toast-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.ti-blue { background: var(--blue-50); color: var(--blue); }
.ti-green { background: var(--green-50); color: var(--green); }
.ti-yellow { background: var(--yellow-50); color: #b97806; }
.t1 { top: 0; right: 4%; }
.t2 { top: 38%; right: -2%; animation-delay: 4s; }
.t3 { bottom: 8%; right: 14%; animation-delay: 8s; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(16px) scale(.96); }
  4%, 30% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); }
}

.road { position: absolute; left: 0; right: 0; bottom: 34px; height: 64px; pointer-events: none; }
.road-line { position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.25) 0 22px, transparent 22px 40px); }
.scooter { position: absolute; bottom: 0; width: 64px; height: 64px; border-radius: 18px; background: #fff; padding: 4px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.3); animation: ride 16s linear infinite; }
@keyframes ride { 0% { left: -80px; } 100% { left: calc(100% + 80px); } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--yellow); color: var(--navy); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 56px; padding-right: 56px; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 140px) 0; }
.section-slim { padding: clamp(56px, 6vw, 96px) 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 72px); }
.section h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 900; }
.section-head p { color: var(--muted); font-size: clamp(1.02rem, 1.2vw, 1.2rem); margin-top: 16px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.kicker::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }

.fi { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; flex-shrink: 0; transition: transform .3s var(--ease); }
.fi .ic { width: 24px; height: 24px; }
.fi-blue { background: var(--blue-50); color: var(--blue); }
.fi-green { background: var(--green-50); color: var(--green); }
.fi-red { background: var(--red-50); color: var(--red); }
.fi-yellow { background: var(--yellow-50); color: #b97806; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.tile:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.tile:hover .fi { transform: rotate(-8deg) scale(1.08); }
.tile h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.tile p { color: var(--muted); font-size: 0.95rem; }
.tile-map { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, #fff, var(--blue-50)); }
.tile-map .tile-copy { max-width: 440px; }
.tile-img { margin: 28px -28px -28px 28px; border-radius: 14px 0 0 0; overflow: hidden; box-shadow: var(--shadow); flex: 1; min-height: 240px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease); }
.tile-map:hover .tile-img img { transform: scale(1.04); }
.tile-proof { background: linear-gradient(160deg, #fff, var(--green-50)); }
.code-demo { display: flex; gap: 8px; margin-top: 22px; align-items: center; }
.code-demo span {
  display: grid; place-items: center; width: 42px; height: 50px; border-radius: 12px; background: #fff; border: 2px solid var(--line);
  font-weight: 800; font-size: 1.3rem; color: var(--navy); opacity: 0; animation: digit 6s infinite;
}
.code-demo span:nth-child(2) { animation-delay: .3s; }
.code-demo span:nth-child(3) { animation-delay: .6s; }
.code-demo span:nth-child(4) { animation-delay: .9s; }
@keyframes digit { 0% { opacity: 0; transform: translateY(8px); } 6%, 80% { opacity: 1; transform: none; border-color: var(--green); } 90%, 100% { opacity: 0; } }
.code-ok { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; margin-left: 6px; opacity: 0; animation: ok 6s infinite; }
@keyframes ok { 0%, 22% { opacity: 0; transform: scale(.4); } 28%, 80% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; } }
.tile-client { grid-row: span 2; background: linear-gradient(160deg, #fff, var(--red-50)); display: flex; flex-direction: column; }
.mini-phone { margin: 24px auto -60px; width: 72%; max-width: 230px; border-radius: 30px; padding: 7px; background: #0b1220; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); }
.mini-phone img { border-radius: 24px; }
.tile-client:hover .mini-phone { transform: translateY(-16px) rotate(-2deg); }

/* Aperçu avec onglets */
.showcase { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.show-tabs { display: grid; gap: 10px; }
.show-tabs button {
  position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%;
  padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; font-family: inherit; color: var(--muted);
  transition: background .25s, border-color .25s, color .25s;
}
.show-tabs button .ic { margin-top: 2px; }
.show-tabs button strong { display: block; color: var(--navy); font-size: 1.02rem; }
.show-tabs button small { font-size: 0.85rem; }
.show-tabs button:hover { background: rgb(255 255 255 / 0.6); }
.show-tabs button[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); color: var(--blue); }
.show-tabs .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); }
.show-tabs button[aria-selected="true"] .bar { animation: progress var(--show-ms, 6000ms) linear forwards; }
.showcase.paused .show-tabs .bar { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.browser-show { box-shadow: 0 40px 100px rgb(3 23 62 / 0.22); }
.show-stage { position: relative; aspect-ratio: 16 / 10; background: #f1f5f9; }
.show-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.show-stage img.active { opacity: 1; transform: none; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); position: relative; }
.steps::before {
  content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s;
}
.steps.in::before { transform: scaleX(1); }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 22px;
  background: #fff; color: var(--blue); border: 2px solid var(--blue-100); box-shadow: var(--shadow);
  transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.step-n .ic { width: 28px; height: 28px; }
.steps.in .step-n { transform: none; opacity: 1; }
.steps li:nth-child(2) .step-n { transition-delay: .45s; }
.steps li:nth-child(3) .step-n { transition-delay: .8s; }
.steps li:nth-child(4) .step-n { transition-delay: 1.15s; background: var(--green); color: #fff; border-color: var(--green); }
.steps li:nth-child(1) .step-n { transition-delay: .1s; background: var(--blue); color: #fff; border-color: var(--blue); }
.steps h3 { font-size: 1.2rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 0.97rem; max-width: 320px; margin: 0 auto; }

/* Rôles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.role { display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.role:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.role-featured { border: 2px solid var(--blue); box-shadow: 0 20px 50px rgb(5 76 170 / 0.15); }
.role-visual { position: relative; height: 300px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.rv-manager { background: linear-gradient(160deg, var(--blue-50), #dbe7f7); align-items: flex-start; padding: 32px 0 0 28px; justify-content: flex-start; }
.browser-mini { width: 125%; flex-shrink: 0; border-radius: 12px; transition: transform .8s var(--ease); }
.browser-mini .browser-bar { height: 24px; }
.browser-mini .browser-bar span { width: 8px; height: 8px; }
.role:hover .browser-mini { transform: translateX(-30px); }
.rv-courier { background: linear-gradient(160deg, #0a2556, var(--navy)); }
.rv-client { background: linear-gradient(160deg, var(--green-50), #d3eadb); }
.phone-mini { width: 190px; margin-bottom: -120px; transition: transform .6s var(--ease); }
.role:hover .phone-mini { transform: translateY(-30px); }
.role-body { padding: 28px; }
.role-top { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.role h3 { font-size: 1.35rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 30px; color: #334155; font-size: 0.97rem; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23096D34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.multi { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 22px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: #334155; }
.multi strong { color: var(--navy); }

/* Maquette animée de l'application coursier */
.phone-app { width: 230px; margin-bottom: -150px; border-radius: 36px; }
.app-screen { border-radius: 28px; background: #f4f7fb; height: 440px; overflow: hidden; font-size: 11px; color: var(--navy); }
.app-status { display: flex; justify-content: space-between; padding: 10px 18px 4px; font-weight: 700; font-size: 10px; }
.app-dots { width: 34px; height: 8px; border-radius: 4px; background: var(--navy); opacity: .7; }
.app-head { display: flex; gap: 8px; align-items: center; padding: 8px 14px; }
.phone .app-head img { width: 28px; height: 28px; border-radius: 8px; background: #fff; }
.app-head strong { display: block; font-size: 13px; }
.app-head small { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.app-head small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); animation: pulse 2s infinite; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 14px; }
.app-stats div { background: #fff; border-radius: 10px; padding: 7px; text-align: center; box-shadow: 0 1px 3px rgb(3 23 62 / 0.08); }
.app-stats b { display: block; font-size: 12px; }
.app-stats small { color: var(--muted); font-size: 9px; }
.app-card { margin: 10px 12px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgb(3 23 62 / 0.18); animation: incoming 7s var(--ease) infinite; }
@keyframes incoming { 0%, 8% { transform: translateY(120%); opacity: 0; } 18%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: translateY(-20px); opacity: 0; } }
.app-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pill { background: var(--yellow-50); color: #b97806; font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: 9.5px; }
.app-trip { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.app-trip .d { width: 8px; height: 8px; border-radius: 50%; }
.d-green { background: var(--green); }
.d-red { background: var(--red); }
.app-trip .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 7px); }
.app-meta { display: flex; justify-content: space-between; color: var(--muted); margin: 8px 0 10px; font-weight: 600; }
.app-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px; }
.app-actions span { text-align: center; padding: 7px; border-radius: 9px; font-weight: 700; }
.a-refuse { border: 1.5px solid #fca5a5; color: var(--red); }
.a-accept { background: var(--green); color: #fff; animation: tap 7s infinite; }
@keyframes tap { 0%, 55% { box-shadow: 0 0 0 0 rgb(9 109 52 / 0.5); transform: none; } 60% { box-shadow: 0 0 0 8px rgb(9 109 52 / 0); transform: scale(.94); } 64%, 100% { transform: none; } }

/* Coûts */
.section-dark { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%); color: #cbd5e1; overflow: hidden; }
.dark-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgb(249 169 20 / 0.18), transparent 65%); animation: float 20s ease-in-out infinite; }
.section-dark h2 { color: #fff; }
.kicker-light { color: var(--yellow); }
.lead-light { font-size: clamp(1.02rem, 1.2vw, 1.18rem); margin: 18px 0 28px; max-width: 640px; }
.checks-light li { color: #e2e8f0; }
.checks-light li::before { background-color: rgb(249 169 20 / 0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9A914' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.costs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.report-card { background: #fff; border-radius: 24px; padding: clamp(20px, 2.4vw, 34px); box-shadow: var(--shadow-lg); }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--navy); }
.badge { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-green { background: var(--green-50); color: var(--green); }
.report-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.report-kpis > div { background: var(--bg-tint); border-radius: 14px; padding: 14px; }
.report-kpis .k { display: block; font-size: 0.78rem; color: var(--muted); }
.report-kpis .v { display: block; font-size: clamp(1.1rem, 1.6vw, 1.6rem); font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.up { font-size: 0.75rem; font-weight: 700; color: var(--green); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(8px, 1.2vw, 18px); align-items: end; height: 200px; }
.bars span { display: block; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #3b82f6, var(--blue)); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.bars span.today { background: linear-gradient(180deg, #ffd36b, var(--yellow)); }
.report-card.in .bars span { transform: scaleY(1); }
.report-card.in .bars span:nth-child(2) { transition-delay: .08s; }
.report-card.in .bars span:nth-child(3) { transition-delay: .16s; }
.report-card.in .bars span:nth-child(4) { transition-delay: .24s; }
.report-card.in .bars span:nth-child(5) { transition-delay: .32s; }
.report-card.in .bars span:nth-child(6) { transition-delay: .4s; }
.report-card.in .bars span:nth-child(7) { transition-delay: .48s; }
.bars-legend { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.75rem; color: var(--muted); margin-top: 8px; }

/* Confiance */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.trust-item { display: flex; gap: 18px; align-items: flex-start; }
.trust-item h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.trust-item p { color: var(--muted); font-size: 0.97rem; }

/* Contact */
.contact-section { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 60%, var(--navy) 100%); color: #dbe5f4; overflow: hidden; }
.contact-section h2 { color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.contact-copy { position: relative; }
.contact-copy p { font-size: clamp(1.02rem, 1.2vw, 1.18rem); margin-top: 16px; max-width: 560px; }
.contact-direct { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-direct li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-direct a { color: #fff; }
.contact-direct .ic { color: var(--yellow); }
.contact-emblem { width: clamp(120px, 14vw, 220px); margin-top: 40px; border-radius: 40px; background: #fff; padding: 12px; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.form { background: #fff; border-radius: 26px; padding: clamp(22px, 2.6vw, 38px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; color: var(--text); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.form .label-row { display: block; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-tint); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 4px rgb(5 76 170 / 0.12); }
.form [aria-invalid="true"] { border-color: var(--red); }
.form textarea { resize: vertical; }
.form-error { color: var(--red); font-size: 0.875rem; font-weight: 500; }
.form-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgb(37 211 102 / 0.3); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgb(3 23 62 / 0.28);
  transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { background: var(--wa-dark); transform: translateY(-3px); }
.wa-float .ic { width: 24px; height: 24px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(37 211 102 / 0.55); animation: wa-ring 2.6s ease-out infinite; }
@keyframes wa-ring { 70%, 100% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); } }
.wa-float[hidden], .btn[hidden] { display: none; }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }

/* Pied de page */
.footer { background: var(--navy); color: #94a3b8; padding: 40px 0; font-size: 0.9rem; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer .brand-name { font-size: 1.25rem; }
.footer .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
.footer .brand-mark img { width: 30px; height: 30px; }
.footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer nav a { color: #cbd5e1; }
.footer nav a:hover { color: var(--yellow); }
.copy { width: 100%; font-size: 0.8rem; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-map { grid-column: span 2; grid-row: auto; }
  .tile-client { grid-row: span 2; }
  .nav { gap: 20px; }
}
@media (max-width: 1024px) {
  /* Accroche : l'image d'abord, puis le texte qui arrive en cascade. */
  .hero { min-height: 0; padding: 104px 0 88px; }
  .hero-grid, .costs, .contact, .showcase { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 760px; width: 100%; margin: 0 auto; --d: 0s !important; }
  .browser-hero { transform: perspective(1800px) rotateY(-5deg) rotateX(2deg); }
  .hero-copy { text-align: center; max-width: 680px; margin: 0 auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .cta-row { justify-content: center; }
  .hero-copy .eyebrow { --d: .25s !important; }
  .hero-copy h1 { --d: .35s !important; }
  .hero-copy .lead { --d: .45s !important; }
  .hero-copy .cta-row { --d: .55s !important; }
  .hero-copy .hero-stats { --d: .65s !important; justify-content: center; }
  .hero-stats dd { margin-inline: auto; }
  .show-tabs { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .trust { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .contact-emblem { display: none; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-login { display: block; border-bottom: 0; }
  .topbar-actions { margin-left: auto; }
  .topbar:has(.nav.open) { background: #fff; color: var(--navy); }
}
@media (max-width: 640px) {
  .topbar-inner { height: 66px; gap: 12px; }
  .nav { top: 66px; }
  .brand-name { font-size: 1.3rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 30px; height: 30px; }
  .topbar-actions .btn-accent { padding: 9px 12px; font-size: 0.85rem; }
  .txt-long { display: none; }
  .txt-short { display: inline; }
  .hero { padding: 84px 0 40px; }
  .hero-grid { gap: 26px; }
  .hero-visual { padding: 0 0 26px; }
  .browser-hero { transform: none; border-radius: 12px; }
  .browser-hero .browser-bar { height: 24px; gap: 5px; padding: 0 10px; }
  .browser-hero .browser-bar span { width: 7px; height: 7px; }
  .phone-hero { left: auto; right: -2px; bottom: -6px; width: 31%; max-width: 132px; border-radius: 22px; padding: 5px; }
  .phone-hero img { border-radius: 18px; }
  .t1, .t2 { left: 8px; right: auto; top: auto; bottom: 30%; }
  .t3 { display: none; }
  .toast { font-size: 0.76rem; padding: 8px 12px 8px 8px; gap: 10px; border-radius: 13px; }
  .toast strong { font-size: 0.82rem; }
  .toast-ic { width: 30px; height: 30px; border-radius: 9px; }
  .road { display: none; }
  .eyebrow { font-size: 0.78rem; padding: 6px 12px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); margin: 16px 0 14px; }
  .lead { font-size: 1rem; }
  .cta-row { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-row .btn-lg { padding: 13px 10px; font-size: 0.92rem; justify-content: center; }
  .cta-row .btn .ic { display: none; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; padding-top: 20px; }
  .hero-stats dt { font-size: 1.6rem; }
  .hero-stats dd { font-size: 0.72rem; }
  .marquee { padding: 13px 0; }
  .marquee span { font-size: 0.92rem; }
  .bento, .show-tabs, .grid2, .steps { grid-template-columns: 1fr; }
  .tile-map { grid-column: auto; }
  .tile-img { min-height: 200px; }
  .tile:not(.tile-map):not(.tile-proof):not(.tile-client) { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .tile:not(.tile-map):not(.tile-proof):not(.tile-client) .fi { grid-row: span 2; }
  .tile:not(.tile-map):not(.tile-proof):not(.tile-client) h3 { margin: 2px 0 4px; font-size: 1.08rem; }
  .show-tabs button { padding: 12px 14px; }
  .show-tabs button small { display: none; }
  .report-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .report-kpis > div { padding: 10px; }
  .bars { height: 150px; }
  .multi { flex-direction: column; align-items: flex-start; }
  .footer nav { margin-left: 0; }
  .browser-bar em { display: none; }
  .wa-float { padding: 15px; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .toast, .code-demo span, .code-ok { opacity: 1; transform: none; }
  .t2, .t3 { display: none; }
  .step-n, .bars span { opacity: 1; transform: none !important; }
  .scooter { left: 70%; }
}
