/* aztruck.be : site de présentation. Charte AZ Truck (marine / rouge, Inter, Lucide). */
:root {
  --navy: #103B60; --navy-d: #082743; --navy-l: #1b4f7a;
  --red: #E5232B; --red-d: #B91524; --red-p: #fdecee;
  --bg: #F5F7FA; --text: #0f2236; --muted: #64748B; --border: #E2E8F0; --white: #fff;
  --ok: #16A34A;
  --r: 10px; --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(15, 34, 54, .06), 0 1px 3px rgba(15, 34, 54, .08);
  --shadow-2: 0 10px 30px rgba(15, 34, 54, .12);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, .28);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--white); font-feature-settings: "tnum"; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: var(--r); z-index: 100; }
.skip:focus { left: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: var(--r); font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-d); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn .ic { width: 18px; height: 18px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:not(.btn):hover { color: var(--red); }
.nav-login { display: inline-flex; align-items: center; gap: 8px; color: var(--navy) !important; }
.nav-login .ic { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--white); border-radius: var(--r); align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }

/* Haut de page */
.hero { background: var(--navy-d); color: var(--white); padding: 72px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8a8f; margin-bottom: 16px; }
.eyebrow.dark { color: var(--red); }
.hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
.lead { font-size: 18px; line-height: 1.65; margin-top: 20px; color: #d3dde8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.link-light { color: var(--white); font-weight: 600; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.reassure { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: #c2cfdc; }
.reassure li { display: flex; align-items: center; gap: 8px; }
.reassure .ic { width: 18px; height: 18px; color: var(--white); }
.hero-visual { position: relative; padding-bottom: 40px; padding-right: 28px; }
.browser { margin: 0; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-3); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #eef2f6; border-bottom: 1px solid var(--border); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 12px; background: var(--white); padding: 2px 12px; border-radius: 6px; }
.phone { margin: 0; width: 170px; border-radius: 26px; overflow: hidden; border: 6px solid #0b1726; background: #0b1726; box-shadow: var(--shadow-3); }
.phone img { border-radius: 20px; }
.phone-hero { position: absolute; right: 0; bottom: 0; }
.demo-note { margin-top: 28px; font-size: 13px; color: #9fb0c2; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg); }
.section.navy { background: var(--navy); color: var(--white); }
.h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.sub { color: var(--muted); font-size: 17px; margin-top: 12px; }

/* Problème */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.pain { background: var(--bg); border-radius: var(--r-lg); padding: 24px; }
.pain .ic { width: 26px; height: 26px; color: var(--red); margin-bottom: 14px; }
.pain p { font-size: 16px; }
.pain-answer { margin: 40px auto 0; max-width: 640px; text-align: center; font-size: 19px; font-weight: 600; color: var(--navy); }

/* Gains */
.gains { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gains li { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1); }
.gains .ic { width: 28px; height: 28px; color: var(--red); margin-bottom: 16px; }
.gains h3 { font-size: 19px; margin-bottom: 10px; }
.gains p { color: var(--muted); }

/* Avant / après */
.compare { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head span { padding: 14px 24px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.compare-head span:first-child { background: var(--bg); color: var(--muted); }
.compare-head span:last-child { background: var(--navy); color: var(--white); }
.compare-row { border-top: 1px solid var(--border); }
.compare-row p { display: flex; align-items: flex-start; gap: 12px; padding: 18px 24px; }
.compare-row p:first-child { color: var(--muted); background: #fbfcfd; }
.compare-row p:last-child { font-weight: 600; color: var(--navy); }
.compare-row .ic { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; stroke-width: 3; }
.compare-row p:first-child .ic { background: #e2e8f0; color: var(--muted); }
.compare-row p:last-child .ic { background: var(--ok); color: var(--white); }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-1); position: relative; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; margin-bottom: 18px; }
.steps li:last-child .num { background: var(--red); }
.steps h3 { font-size: 18px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Rôles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.role { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; }
.role-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e8eef5; color: var(--navy); margin-bottom: 20px; }
.role-ic .ic { width: 26px; height: 26px; }
.role h3 { font-size: 20px; margin-bottom: 12px; }
.role p { color: var(--muted); }

/* Captures commentées */
.show { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.show + .show { margin-top: 80px; }
.show.reverse .show-text { order: 2; }
.show-text p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 16px; }
.browser.small { box-shadow: var(--shadow-2); }
.features-title { margin-top: 104px; }
.features { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.features li { background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1); }
.features .ic { width: 24px; height: 24px; color: var(--red); margin-bottom: 14px; }
.features h3 { font-size: 17px; margin-bottom: 8px; }
.features p { font-size: 15px; color: var(--muted); }

/* Chauffeur */
.driver { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.driver .eyebrow { color: #ff8a8f; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.checks .ic { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--ok); color: var(--white); stroke-width: 3; margin-top: 1px; }
.driver-phones { display: flex; justify-content: center; gap: 28px; }
.driver-phones .phone { width: 230px; }
.driver-phones .phone-2 { margin-top: 56px; }

/* Confiance */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.trust-item { text-align: center; padding: 8px 12px; }
.trust-item .ic { width: 30px; height: 30px; color: var(--navy); margin: 0 auto 16px; }
.trust-item h3 { font-size: 19px; margin-bottom: 10px; }
.trust-item p { color: var(--muted); }
.truck-band { margin: 72px auto 0; max-width: 1180px; padding: 0 24px; }
.truck-band img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 925 / 410; object-fit: cover; }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--red); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Appel final */
.cta { background: var(--navy-d); color: var(--white); padding: 88px 0; }
.cta .lead { margin: 18px auto 32px; max-width: 640px; }
.cta-note { margin-top: 18px; font-size: 14px; color: #9fb0c2; }
.cta-note a { color: var(--white); }

/* Pied de page */
.foot { background: #061d33; color: #9fb0c2; padding: 40px 0; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.plate { background: var(--white); border-radius: 8px; padding: 6px 10px; display: inline-flex; }
.plate img { height: 32px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: #d3dde8; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: var(--white); text-decoration: underline; }

.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-legal a { color: #9fb0c2; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-legal a:hover { color: var(--white); text-decoration: underline; }
.foot-legal p { display: flex; align-items: center; }

/* Pages légales */
.legal-body { background: var(--bg); }
.legal-body .top-in .btn { padding: 8px 16px; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.legal-nav a { padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.legal-nav a:hover { background: var(--white); }
.legal-nav a[aria-current="page"] { background: var(--white); color: var(--red); box-shadow: var(--shadow-1); }
.legal { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 48px 56px; max-width: 860px; }
.legal h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; }
.legal h2 { font-size: 19px; margin: 36px 0 12px; color: var(--navy); }
.legal p, .legal li { color: #334155; font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; display: grid; gap: 6px; }
.legal a { color: var(--navy); text-underline-offset: 3px; }
.legal-meta { color: var(--muted) !important; font-size: 14px !important; margin-top: 10px; }
.legal-box { margin-top: 28px; border-left: 4px solid var(--red); background: var(--red-p); border-radius: 0 var(--r) var(--r) 0; padding: 4px 24px 20px; }
.legal-box h2 { margin-top: 18px; color: var(--red-d); }

/* Tablette */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a:not(.btn):not(.nav-login) { font-size: 14px; }
  .pains, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px !important; }
  .nav-cta { margin-top: 16px; }
  .hero-in, .show, .driver { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .show.reverse .show-text { order: 0; }
  .roles, .trust { grid-template-columns: minmax(0, 1fr); }
  .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .legal-nav a { white-space: nowrap; background: var(--white); font-size: 14px; }
  .legal { padding: 32px 24px; }
}

/* Téléphone */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-in { height: 64px; }
  .nav { top: 64px; padding: 8px 16px 20px; }
  .brand img { height: 38px; }
  .hero { padding: 48px 0 32px; }
  .lead { font-size: 17px; }
  .actions { gap: 12px; }
  .actions .btn { width: 100%; }
  .hero-visual { padding-right: 16px; padding-bottom: 32px; }
  .phone-hero { width: 110px; border-width: 4px; border-radius: 18px; }
  .phone-hero img { border-radius: 14px; }
  .section, .cta { padding: 64px 0; }
  .pains, .features, .steps, .gains { grid-template-columns: minmax(0, 1fr); }
  .gains li { padding: 22px; }
  .compare-head span, .compare-row p { padding: 14px 14px; font-size: 15px; }
  .compare-head span { font-size: 12px; }
  .pain { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
  .pain .ic { margin: 2px 0 0; }
  .show + .show { margin-top: 56px; }
  .features-title { margin-top: 72px; }
  .driver-phones { gap: 14px; }
  .driver-phones .phone { width: 46%; border-width: 4px; border-radius: 20px; }
  .driver-phones .phone img { border-radius: 16px; }
  .driver-phones .phone-2 { margin-top: 36px; }
  .truck-band { padding: 0 16px; margin-top: 48px; }
  .cta .btn { width: 100%; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
