:root {
  --navy: #1b3a5c;
  --navy-light: #234872;
  --gold: #d9a62e;
  --gold-dark: #b98a1f;
  --slate: #55607a;
  --paper: #f4f5f1;
  --line: #e2e4da;
  --white: #ffffff;
  --ok: #2f9e5b;
  --ok-bg: #e4f9ee;
  --warn: #b98a1f;
  --warn-bg: #fdf2e0;
  --danger: #d64545;
  --danger-bg: #fbe6e3;
  --radius: 16px;
  --shadow: 0 20px 40px -22px rgba(27, 58, 92, 0.28);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, .logo-text, .mock-title, .step-num, .price {
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; color: var(--slate); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-lead { text-align: center; max-width: 600px; margin: -8px auto 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark { color: var(--gold); flex-shrink: 0; }
.logo-text strong { color: var(--gold-dark); font-weight: 700; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}
.main-nav a {
  position: relative;
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Buttons */
[hidden] { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--navy);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--navy-light); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

/* Hero */
.hero { padding: 76px 0 44px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.lead { font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; margin: 26px 0 18px; flex-wrap: wrap; }
.hero-note { font-size: 0.85rem; color: var(--slate); }
.accent-word { color: var(--gold-dark); }

.mock-dashboard {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mock-dashboard-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--navy);
}
.mock-dashboard-header .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff6259; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c93f; }
.mock-title { color: var(--white); font-size: 0.82rem; margin-left: 10px; opacity: 0.85; }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.mock-stat {
  background: var(--white);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mock-stat-value {
  font-family: "DM Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.mock-stat-warn { color: var(--warn); }
.mock-stat-label {
  font-size: 0.68rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mock-stat-ring { padding-top: 10px; }
.ring {
  --pct: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--pct) * 1%), var(--line) 0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring::before {
  content: "";
  position: absolute;
}
.ring span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy);
}

.mock-list { padding: 4px 0; }
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}
.mock-row:last-child { border-bottom: none; }
.mock-vehicle { display: flex; align-items: center; gap: 10px; }
.mock-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }

.badge-type {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--slate);
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.badge-type.type-pl { color: var(--gold-dark); border-color: rgba(217, 166, 46, 0.4); }

/* Hero mock-dashboard highlights ("wahoo" strip) */
.mock-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mock-highlight-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
}
.mock-highlight-chip strong { color: var(--navy); font-weight: 700; }
.mhc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mhc-icon-gold { background: rgba(217, 166, 46, 0.18); color: var(--gold-dark); }
.mhc-icon-green { background: rgba(47, 158, 91, 0.16); color: var(--ok); }
.mhc-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  margin-left: auto;
  flex-shrink: 0;
  animation: pulseDot 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .mhc-live { animation: none; } }

/* Vehicle icon color variants (simulates each vehicle's real color) */
.mock-icon.vc-1 { color: #34537a; }
.mock-icon.vc-2 { color: #b0473a; }
.mock-icon.vc-3 { color: #6b7280; }
.mock-icon.vc-4 { color: #c9932e; }
.mock-icon.vc-5 { color: #2f6b52; }

/* Pain */
.pain { padding: 60px 0; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.pain-num { color: var(--gold-dark); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; font-family: "DM Sans", sans-serif; }
.pain-card p:last-child { margin: 0; color: var(--navy); }

/* Demo flow */
.demo-flow { padding: 72px 0; }
.demo-panels {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
}
.demo-panel {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.demo-panel-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 14px;
}
.phone-mock-header {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.phone-field {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  font-size: 0.85rem;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}
.phone-field strong { color: var(--navy); font-family: "DM Sans", sans-serif; }
.phone-field-alert {
  color: var(--danger);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: none;
  padding-top: 12px;
}
.voyant-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  display: inline-block;
  animation: pulseDot 1.4s ease-in-out infinite;
}
.phone-send {
  margin-top: 14px;
  text-align: center;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px;
  border-radius: 999px;
  animation: demoSend 3.4s ease-in-out infinite;
}
.demo-connector {
  position: relative;
  width: 90px;
  height: 2px;
  background: var(--line);
  flex-shrink: 0;
  margin: 0 -1px;
  align-self: center;
}
.connector-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 166, 46, 0.25);
  animation: demoTravel 3.4s ease-in-out infinite;
}
.demo-dashboard .mock-row,
.demo-panel .mock-row { border: none; border-radius: 10px; padding: 10px 4px; }
.sync-row {
  animation: demoSync 3.4s ease-in-out infinite;
}
.sync-row .mock-vehicle { color: var(--danger); font-weight: 600; }

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}
@keyframes demoSend {
  0%, 100% { opacity: 0; transform: translateY(4px); }
  8%, 88% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(4px); }
}
@keyframes demoTravel {
  0%, 8% { left: 0%; opacity: 0; }
  14% { opacity: 1; }
  82% { left: calc(100% - 10px); opacity: 1; }
  90%, 100% { opacity: 0; left: calc(100% - 10px); }
}
@keyframes demoSync {
  0%, 82% { opacity: 0; transform: translateY(6px); }
  92%, 100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .voyant-dot, .phone-send, .connector-dot, .sync-row { animation: none; opacity: 1; }
}
@media (max-width: 720px) {
  .demo-panels { flex-direction: column; }
  .demo-connector { width: 2px; height: 44px; }
  .connector-dot { animation: none; top: 0; left: 50%; transform: translate(-50%, 0); }
}

/* Dashboard gestionnaire showcase */
.dash-tool { padding: 72px 0; background: var(--white); }
.app-mock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 48px;
}
.app-mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.app-mock-url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
}
.app-mock-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: var(--navy);
  color: var(--white);
}
.app-mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.app-mock-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(244, 245, 241, 0.75);
}
.app-mock-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(244, 245, 241, 0.1);
  border: 1px solid rgba(244, 245, 241, 0.18);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  color: var(--white);
}
.app-mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-mock-account-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.app-mock-account-text strong { font-size: 0.82rem; font-family: "DM Sans", sans-serif; }
.app-mock-account-text small { font-size: 0.7rem; color: rgba(244, 245, 241, 0.65); }
.app-mock-body { display: flex; }
.app-mock-nav {
  width: 190px;
  flex-shrink: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
}
.app-mock-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--slate);
  text-decoration: none;
}
.app-mock-nav a.active {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 4px 12px -8px rgba(27, 58, 92, 0.35);
}
.app-mock-table { flex: 1; padding: 8px 0; overflow-x: auto; }
.app-table-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 0.9fr;
  gap: 10px;
  align-items: center;
  padding: 13px 20px;
  font-size: 0.85rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  min-width: 560px;
}
.app-table-row:last-child { border-bottom: none; }
.app-table-head {
  color: var(--slate);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.app-table-row .badge { justify-self: start; }
@keyframes rowLive {
  0%, 100% { background: transparent; }
  50% { background: rgba(217, 166, 46, 0.12); }
}
.row-live { animation: rowLive 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .row-live { animation: none; }
}
@media (max-width: 720px) {
  .app-mock-body { flex-direction: column; }
  .app-mock-nav { width: 100%; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .app-mock-nav a { flex-shrink: 0; }
  .app-mock-account-text { display: none; }
}

/* Parcours / Fonctionnement (timeline) */
.parcours { padding: 72px 0; background: var(--white); }
.timeline {
  position: relative;
  margin-top: 52px;
}
.timeline-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 1px;
  background: var(--line);
  display: block;
}
@media (max-width: 960px) {
  .timeline-line { display: none; }
}
.timeline-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.timeline-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -14px rgba(27, 58, 92, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: "DM Sans", sans-serif;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.timeline-step h3 { margin-bottom: 6px; }
.timeline-step .step-lead { font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.timeline-step .step-desc { font-size: 0.9rem; margin-bottom: 16px; }
.timeline-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.timeline-list li {
  font-size: 0.85rem;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Features */
.features { padding: 72px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* Word-by-word title reveal + colored floating icons (used across card grids) */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.in-view .word-reveal .word { opacity: 1; transform: translateY(0); }
.word-reveal .word:nth-child(1) { transition-delay: 0.05s; }
.word-reveal .word:nth-child(2) { transition-delay: 0.13s; }
.word-reveal .word:nth-child(3) { transition-delay: 0.21s; }
.word-reveal .word:nth-child(4) { transition-delay: 0.29s; }
.word-reveal .word:nth-child(5) { transition-delay: 0.37s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.icon-pop { animation: iconFloat 3.2s ease-in-out infinite; }
.icon-pop.delay-1 { animation-delay: 0.3s; }
.icon-pop.delay-2 { animation-delay: 0.6s; }
.icon-pop.delay-3 { animation-delay: 0.9s; }
.icon-pop.delay-4 { animation-delay: 1.2s; }
.icon-pop.delay-5 { animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) { .icon-pop { animation: none; } }

.icon-c1 { background: rgba(27, 58, 92, 0.1) !important; color: var(--navy) !important; }
.icon-c2 { background: rgba(47, 158, 91, 0.14) !important; color: var(--ok) !important; }
.icon-c3 { background: rgba(217, 166, 46, 0.16) !important; color: var(--gold-dark) !important; }
.icon-c4 { background: rgba(214, 90, 60, 0.14) !important; color: #d65a3c !important; }
.icon-c5 { background: rgba(90, 90, 180, 0.14) !important; color: #5a5ab4 !important; }
.icon-c6 { background: rgba(85, 96, 122, 0.12) !important; color: var(--slate) !important; }

/* Pillars (fleet management coverage) */
.pillars { padding: 72px 0; background: var(--white); }
.feature-card.out-scope { background: var(--paper); border-style: dashed; }
.feature-card.out-scope .feature-icon { color: var(--slate); background: var(--white); }
.feature-card.out-scope h3 { color: var(--slate); }

/* Pitch */
.pitch { padding: 60px 0; background: var(--navy); }
.network-visual { max-width: 900px; margin: 0 auto 28px; }
.network-svg { width: 100%; height: auto; display: block; }
.network-node { fill: var(--gold); }
.network-vehicle { color: rgba(244, 245, 241, 0.85); }
.network-line { stroke: rgba(217, 166, 46, 0.55); }
.network-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: netPulse 2.6s ease-out infinite;
}
.network-pulse:nth-child(2) { animation-delay: 0.7s; }
.network-pulse:nth-child(3) { animation-delay: 1.4s; }
@keyframes netPulse {
  0% { opacity: 0.55; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.9); }
}
@media (prefers-reduced-motion: reduce) { .network-pulse { animation: none; opacity: 0.3; } }
@media (max-width: 720px) { .network-visual { display: none; } }
.pitch blockquote {
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 600;
  max-width: 780px;
  line-height: 1.4;
}

/* Pricing */
.tarifs { padding: 72px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  position: relative;
}
.price-card-badge { position: absolute; top: 20px; right: 20px; }
.price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.price span { font-size: 0.85rem; color: var(--slate); font-weight: 500; }
.price-muted { color: var(--slate); }

/* Audience */
.pour-qui { padding: 72px 0; background: var(--white); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--paper);
}
.audience-card p { margin: 0; font-size: 0.9rem; }

/* Partners */
.partners { padding: 60px 0; }
.partners-inner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.partners-inner h2 { text-align: left; color: var(--white); }
.partners-inner p { color: rgba(244, 245, 241, 0.75); margin: 0; max-width: 520px; }

/* CTA / contact */
.cta { padding: 76px 0 96px; }
.cta-inner { text-align: center; }
.cta-inner p { max-width: 480px; margin: 0 auto 32px; }
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form input {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-size: 0.95rem;
  font-family: inherit;
}
.contact-form input:focus { outline: none; border-color: var(--navy); }
.contact-form .btn { margin-top: 6px; justify-content: center; }
.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ok);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--slate);
}
.footer-brand .accent { color: var(--gold-dark); font-weight: 700; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--slate); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-dark); }

/* Tarifs page */
.tarifs-hero { padding: 64px 0 20px; text-align: center; }
.tarifs-hero .container { max-width: 720px; }
.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
}
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.price-card-sub { font-size: 0.8rem; color: var(--slate); margin-top: -8px; margin-bottom: 18px; }
.price-features {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  font-size: 0.85rem;
  color: var(--slate);
  padding-left: 22px;
  position: relative;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok-bg);
  border: 1px solid var(--ok);
}
.price-features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9.5px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--ok);
  border-bottom: 1.6px solid var(--ok);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: 22px; width: 100%; justify-content: center; }

.pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.compare-wrap { overflow-x: auto; }
.compare-table { min-width: 720px; }
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.compare-head {
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--paper);
}
.compare-row span:not(:first-child) { text-align: center; justify-self: center; }
.compare-row span:first-child { color: var(--navy); }
.check-yes {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check-no {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
}

@media (max-width: 720px) {
  .pack-grid { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal-page { padding: 56px 0 90px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-updated { font-size: 0.85rem; color: var(--slate); margin-bottom: 40px; }
.legal-page h2 { font-size: 1.15rem; margin-top: 40px; }
.legal-page p, .legal-page li { color: var(--slate); font-size: 0.95rem; }
.legal-page ul { padding-left: 20px; }
.legal-note {
  background: var(--warn-bg);
  border: 1px solid rgba(185, 138, 31, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 40px;
}
.legal-note strong { color: var(--gold-dark); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .pain-grid, .timeline-grid, .audience-grid, .feature-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .mock-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .main-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .pain-grid, .timeline-grid, .audience-grid, .feature-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .mock-stats { grid-template-columns: repeat(3, 1fr); }
  .partners-inner { flex-direction: column; text-align: center; }
  .partners-inner h2 { text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================= */
/* App shell (espaces produit)    */
/* ============================= */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.app-shell-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 14px 24px;
  background: var(--navy);
  color: var(--white);
}
.app-shell-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(244, 245, 241, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
}
.app-shell-back:hover { color: var(--white); }
.app-shell-role {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(217, 166, 46, 0.18);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.app-shell-body { display: flex; flex: 1; }
.app-shell-nav {
  width: 220px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-shell-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.87rem;
  color: var(--slate);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.app-shell-nav a.active {
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
}
.app-shell-content { flex: 1; padding: 32px 36px; max-width: 1200px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.panel-head h2 { margin: 0 0 4px; }
.panel-head p { margin: 0; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--paper);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.kpi-value { font-family: "DM Sans", sans-serif; font-size: 1.55rem; font-weight: 700; color: var(--navy); line-height: 1; }
.kpi-label { font-size: 0.78rem; color: var(--slate); margin-top: 6px; }
.kpi-trend { font-size: 0.72rem; font-weight: 600; margin-top: 8px; }
.kpi-trend.up { color: var(--ok); }
.kpi-trend.down { color: var(--danger); }

.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ok);
  color: var(--white);
}
.btn-export:hover { background: #268049; }

.data-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 13px 20px;
  font-size: 0.84rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.data-row:last-child { border-bottom: none; }
.data-row.data-head {
  color: var(--slate);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.expense-row { grid-template-columns: 0.9fr 1.3fr 0.9fr 0.8fr 0.7fr 0.8fr 0.9fr 0.6fr 0.9fr; }
.alert-row { grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr 1.4fr 0.9fr; }
.client-row { grid-template-columns: 1.6fr 0.8fr 0.9fr 0.9fr 1fr; }
.center-row { grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr; }
.vehicle-row { grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr 0.8fr 0.9fr; }
.vehicle-row-clickable { cursor: pointer; transition: background 0.15s ease; }
.vehicle-row-clickable:hover { background: var(--paper); }
.client-row-clickable { cursor: pointer; transition: background 0.15s ease; }
.client-row-clickable:hover { background: var(--paper); }

.integration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--navy);
}
.integration-row:last-child { border-bottom: none; }

.thumb {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--warn-bg);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.anomaly-badge { background: var(--danger-bg); color: var(--danger); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

/* Conducteur (driver) */
.driver-card { max-width: 540px; margin: 0 auto; padding: 40px 0 80px; }
.driver-header { text-align: center; margin-bottom: 28px; }
.avatar-big {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.ct-highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}
.ct-highlight .ct-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-bottom: 6px; }
.ct-highlight .ct-date { font-family: "DM Sans", sans-serif; font-size: 1.5rem; font-weight: 700; }
.ct-highlight .ct-sub { font-size: 0.82rem; opacity: 0.75; margin-top: 4px; }

.field-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.field-card h3 { font-size: 0.95rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.field-card .field-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--paper); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.field-card > p { font-size: 0.82rem; margin-bottom: 14px; }
.field-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field-row:last-child { margin-bottom: 0; }
.field-row label { font-size: 0.72rem; color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.field-row input, .field-row select, .field-row textarea {
  padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-size: 0.9rem; font-family: inherit; color: var(--navy);
}
.field-row textarea { resize: vertical; min-height: 70px; }

.geo-btn { display: inline-flex; align-items: center; gap: 8px; }
.geo-result { margin-top: 10px; font-size: 0.85rem; color: var(--ok); display: none; align-items: center; gap: 6px; }
.geo-result.visible { display: flex; }

.upload-zone {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.upload-zone:hover { border-color: var(--gold-dark); color: var(--navy); }
.upload-zone.has-file { border-style: solid; border-color: var(--ok); color: var(--ok); background: var(--ok-bg); }

.history-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.history-item:last-child { border-bottom: none; }
.history-item .status-ok { color: var(--ok); font-weight: 600; font-size: 0.78rem; }

/* Emergency assistance button (espace conducteur) */
.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-emergency:hover { background: #b83a3a; }

/* Check-list (espace conducteur) */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--navy);
}
.checklist-item:last-of-type { border-bottom: none; }
.checklist-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ok); flex-shrink: 0; }
.checklist-item label { cursor: pointer; }

/* Trip pro/perso switch (espace conducteur) */
.trip-switch { display: flex; background: var(--paper); border-radius: 999px; padding: 3px; gap: 3px; }
.trip-switch-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.trip-switch-btn.active { background: var(--navy); color: var(--white); }

/* Documents list (espace conducteur) */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--navy);
}
.doc-item span:nth-child(2) { flex: 1; }

/* AI chat widget */
.ai-chat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ai-chat-msg { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.ai-chat-msg:last-child { margin-bottom: 0; }
.ai-chat-msg .chat-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-chat-bubble { background: var(--paper); border-radius: 10px; padding: 10px 14px; font-size: 0.84rem; color: var(--navy); max-width: 340px; }
.ai-chat-msg.user { flex-direction: row-reverse; }
.ai-chat-msg.user .ai-chat-bubble { background: var(--navy); color: var(--white); }
.ai-chat-msg.loading .ai-chat-bubble { color: var(--slate); font-style: italic; }
.ai-chat-messages { max-height: 320px; overflow-y: auto; }
.ai-chat-form { display: flex; gap: 8px; margin-top: 14px; }
.ai-chat-form input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 0.84rem; font-family: inherit; color: var(--navy); }
.ai-chat-form input:focus { outline: none; border-color: var(--navy); }
.ai-chat-send { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.ai-chat-send:hover { background: var(--navy-light); }
.ai-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

.fleet-map-mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 190px;
  position: relative;
  overflow: hidden;
}
.fleet-pin { position: absolute; color: var(--gold-dark); }

.client-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}
.client-action:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }

/* Live toast + activity pulse (dashboard "wow" moment) */
.live-toast {
  position: fixed;
  top: 84px;
  right: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--navy);
  z-index: 200;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.live-toast.visible { opacity: 1; transform: translateX(0); }
.live-toast .toast-icon { color: var(--danger); flex-shrink: 0; margin-top: 1px; }
.live-toast .toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--slate);
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
@keyframes liveRowIn {
  0% { background: rgba(217, 166, 46, 0.22); }
  100% { background: transparent; }
}
.live-row { animation: liveRowIn 2.2s ease-out; }
@media (prefers-reduced-motion: reduce) { .live-row { animation: none; } }

@media (max-width: 960px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .app-shell-header .app-mock-account-text { display: none; }
  .app-shell-header .app-shell-role { display: none; }
  .app-shell-body { flex-direction: column; }
  .app-shell-nav { width: 100%; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .app-shell-nav a { flex-shrink: 0; }
  .app-shell-content { padding: 22px 18px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .data-row { grid-template-columns: 1fr !important; gap: 4px; }
  .data-row.data-head { display: none; }
}

/* CT slot booking panel (espace gestionnaire) */
.ctb-center { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ctb-center:last-child { border-bottom: none; }
.ctb-center-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.88rem; color: var(--navy); margin-bottom: 8px; gap: 10px; }
.ctb-center-head span { color: var(--slate); font-size: 0.78rem; white-space: nowrap; }
.ctb-slots { display: flex; gap: 8px; flex-wrap: wrap; }
.ctb-slot-btn { cursor: pointer; }
.ctb-slot-btn:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

/* Printable compliance report (espace gestionnaire) */
.print-only { display: none; }
.report-meta { color: var(--slate); margin-bottom: 24px; }
.report-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.88rem; }
.report-table td, .report-table th { text-align: left; padding: 7px 10px; border-bottom: 1px solid #ccc; }
.report-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate); }
.report-table td:last-child, .report-table th:last-child { text-align: right; }
@media print {
  body * { visibility: hidden; }
  .print-only, .print-only * { visibility: visible; }
  .print-only { display: block; position: absolute; top: 0; left: 0; width: 100%; padding: 24px; }
}

/* Score de bonnes pratiques (espace conducteur) */
.score-badge-row { display: flex; align-items: center; gap: 16px; }
.score-circle { width: 60px; height: 60px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.score-circle span { font-size: 0.7rem; margin-left: 1px; }

/* Digital DVIR photo slots (espace conducteur) */
.dvir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dvir-zone { justify-content: center; padding: 16px 10px; text-align: center; }

/* Alert ribbon, control tower (espace gestionnaire) */
.alert-ribbon { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.alert-chip { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.82rem; color: var(--navy); text-decoration: none; }
.alert-chip:hover { border-color: var(--gold-dark); }
.alert-chip strong { font-family: "DM Sans", sans-serif; }
.alert-chip-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.alert-chip-red .alert-chip-dot { background: var(--danger); }
.alert-chip-orange .alert-chip-dot { background: #d97e2e; }
.alert-chip-yellow .alert-chip-dot { background: var(--gold); }

/* Vehicle filters (espace gestionnaire) */
.vehicule-filter { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.82rem; font-family: inherit; color: var(--navy); background: var(--white); }

/* Onboarding wizard (espace admin) */
.onboarding-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.onboarding-step { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.82rem; color: var(--slate); flex: 1; min-width: 140px; }
.onboarding-step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; color: var(--slate); flex-shrink: 0; }
.onboarding-step.done { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.onboarding-step.done .onboarding-step-num { background: var(--ok); border-color: var(--ok); color: var(--white); }
.onboarding-step.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.onboarding-step.active .onboarding-step-num { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* RBAC matrix (espace admin) */
.rbac-matrix-wrap { overflow-x: auto; }
.rbac-matrix { min-width: 620px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rbac-row { display: grid; grid-template-columns: 1.1fr repeat(5, 0.8fr); align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--navy); }
.rbac-row:last-child { border-bottom: none; }
.rbac-row.rbac-head { color: var(--slate); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; background: var(--paper); }
.rbac-row span:not(:first-child) { text-align: center; }
.rbac-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--navy); }

/* Login page */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--paper); }
.login-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 36px; max-width: 400px; width: 100%; }
.login-head { text-align: center; margin: 24px 0 26px; }
.login-head h1 { font-size: 1.4rem; margin-bottom: 6px; }
.login-head p { font-size: 0.88rem; margin: 0; }
.login-role-switch { width: 100%; }
.login-role-switch .trip-switch-btn { flex: 1; text-align: center; }
.login-demo-note { font-size: 0.76rem; color: var(--slate); text-align: center; margin: 18px 0 0; }
.login-footer-link { font-size: 0.85rem; text-align: center; margin: 14px 0 0; color: var(--slate); }
.login-footer-link a { color: var(--navy); font-weight: 600; text-decoration: none; }
.login-footer-link a:hover { color: var(--gold-dark); }

/* Testimonials (marketing site) */
.temoignages { padding: 72px 0; background: var(--paper); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.testimonial-quote { color: var(--navy); font-size: 0.95rem; margin: 0; }
.testimonial-quote::before { content: "“"; color: var(--gold-dark); font-family: "DM Sans", sans-serif; font-weight: 700; }
.testimonial-quote::after { content: "”"; color: var(--gold-dark); font-family: "DM Sans", sans-serif; font-weight: 700; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-person strong { display: block; font-size: 0.88rem; color: var(--navy); }
.testimonial-person span { display: block; font-size: 0.78rem; color: var(--slate); }
