:root {
  --ink: #07090B;
  --panel: #0E1317;
  --panel-2: #131A20;
  --line: #22303A;
  --white: #F4F7F8;
  --muted: #93A1AA;
  --cyan: #40E4F9;
  --danger: #FF7A7A;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--white); background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- En-tête ---------- */
.top { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand span { font-weight: 300; letter-spacing: .5em; font-size: .78rem; }
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .15s; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.links a:hover { color: var(--white); }
nav.links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--cyan); }
nav.links a.btn, nav.links a.btn:hover { color: var(--ink); border-bottom: 0; padding: 0 18px; }
.burger { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.burger span { top: 22px; }
.burger span::before { left: 0; right: 0; top: -7px; }
.burger span::after { left: 0; right: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1rem;
  background: var(--cyan); color: var(--ink);
  border: 0; border-radius: 3px; padding: 0 22px; min-height: 50px;
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .08s;
}
.btn:hover { background: #7AEEFC; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--cyan); background: transparent; }
.btn.small { min-height: 42px; font-size: .92rem; }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 64px; align-items: center; padding: 28px 0 96px;
}
h1 { font-weight: 600; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 24px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; margin: 0 0 32px; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.assure li { display: flex; align-items: center; gap: 14px; font-size: .98rem; }
.assure li::before { content: ""; width: 22px; height: 2px; background: var(--cyan); flex: none; }

/* ---------- Formulaire de devis ---------- */
.quote { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 3px; padding: 28px 26px 26px; }
.quote h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; margin: 0 0 22px; }
.field { position: relative; }
label.lbl { display: block; font-size: .88rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }

input[type="text"], input[type="tel"], input[type="date"], input[type="time"], textarea {
  width: 100%; font: inherit; color: var(--white); background: var(--ink);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; min-height: 50px;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5D6C76; }
input:hover, textarea:hover { border-color: #3A4C58; }
input:focus-visible, textarea:focus-visible { border-color: var(--cyan); outline-offset: 0; outline-width: 2px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="date"], input[type="time"] { color-scheme: dark; }
.err { color: var(--danger); font-size: .88rem; margin: 6px 0 0; }
.err:empty { display: none; }

.suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
  list-style: none; margin: 0; padding: 4px 0;
  background: var(--panel-2); border: 1px solid var(--cyan); border-radius: 3px;
  max-height: 260px; overflow-y: auto; box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.suggestions[hidden] { display: none; }
.suggestions li { padding: 10px 14px; cursor: pointer; font-size: .94rem; }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: #1B2731; }

.when { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cyan); flex: none; }
.check span { line-height: 1.4; font-size: .95rem; }
.check small { display: block; color: var(--muted); font-size: .85rem; }
.quote .btn.block { margin-top: 24px; }

.result { display: none; margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--line); }
.result.show { display: block; }
.result-route { color: var(--muted); font-size: .88rem; margin: 0 0 10px; line-height: 1.45; }
.price { font-size: 4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--cyan); margin: 0; }
.price small { font-size: 1.05rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.result-note { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.quote details { margin-top: 16px; }
.quote summary { cursor: pointer; font-weight: 500; font-size: .92rem; }
.lines { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.lines li { display: flex; justify-content: space-between; gap: 16px; }
.lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines li.total { color: var(--white); font-weight: 600; border-top: 1px solid var(--line); padding-top: 8px; }
.result .btn { margin-top: 20px; }
.pop { animation: pop .4s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Sections et pages intérieures ---------- */
.page-head { padding: 48px 0 56px; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.page-head .lead { margin: 0; max-width: 46ch; }
section.band { padding: 88px 0; }
section.band.alt { background: var(--panel); }
h2.title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 14px; }
.intro { color: var(--muted); max-width: 52ch; margin: 0 0 48px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.steps li { padding: 0 32px 0 0; counter-increment: step; }
.steps li + li { padding-left: 32px; }
.steps li::before { content: counter(step); display: block; font-size: 3.4rem; font-weight: 300; line-height: 1; color: var(--cyan); margin-bottom: 18px; }
.steps h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); max-width: 30ch; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .title { margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--muted); max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Services */
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding: 44px 0; border-top: 1px solid var(--line); }
.svc:last-of-type { border-bottom: 1px solid var(--line); }
.svc h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin: 0; border-left: 2px solid var(--cyan); padding-left: 22px; }
.svc p { margin: 0 0 14px; color: var(--muted); max-width: 58ch; }
.svc p strong { color: var(--white); font-weight: 500; }

/* Tarifs */
.rates { border-top: 1px solid var(--line); max-width: 760px; }
.rates div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rates dt { color: var(--muted); }
.rates dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates-note { color: var(--muted); max-width: 60ch; margin: 22px 0 0; font-size: .95rem; }
.rates-note strong { color: var(--cyan); font-weight: 600; white-space: nowrap; }

.faq { border-top: 1px solid var(--line); max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* Contact */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s, color .15s; }
.contact-list a:hover { color: var(--cyan); padding-left: 8px; }
.contact-list .k { color: var(--muted); font-size: .88rem; display: block; }
.contact-list .v { font-size: 1.15rem; font-weight: 500; }
.contact-list svg { flex: none; stroke: var(--cyan); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sent { color: var(--cyan); font-size: .92rem; margin: 0; }
.sent:empty { display: none; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 44px 0 48px; margin-top: 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot img { height: 64px; width: auto; display: block; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; align-items: center; }
.foot-links a, .foot-links button { color: var(--muted); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.foot-links a:hover, .foot-links button:hover { color: var(--white); }

dialog { background: var(--panel); color: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 3px; padding: 32px; max-width: 520px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(0,0,0,.72); }
dialog h2 { margin: 0 0 18px; font-size: 1.4rem; font-weight: 600; }
dialog dl { margin: 0 0 24px; display: grid; gap: 10px; }
dialog dt { color: var(--muted); font-size: .85rem; }
dialog dd { margin: 0 0 6px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-bottom: 72px; }
  .lead { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .svc { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li, .steps li + li { padding: 0; border: 0; }
  section.band { padding: 64px 0; }
  .burger { display: block; }
  nav.links {
    display: none; position: absolute; top: calc(100% - 4px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border: 1px solid var(--line); border-radius: 3px; padding: 8px 20px 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,.6);
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  nav.links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--cyan); }
  nav.links a.btn { margin-top: 16px; padding: 0 18px; border: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .brand span { letter-spacing: .32em; }
  .when, .form .row { grid-template-columns: 1fr; }
  .price { font-size: 3.4rem; }
  .quote { padding: 24px 18px 22px; }
  .rates div { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pop { animation: none; }
  .btn, .contact-list a, .faq summary::after, .burger span, .burger span::before, .burger span::after { transition: none; }
}

/* Étapes supplémentaires */
#stops { display: contents; }
.add-stop { justify-self: start; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 500; font-size: .95rem; color: var(--cyan); cursor: pointer; }
.add-stop:hover { text-decoration: underline; text-underline-offset: 4px; }
.add-stop[hidden] { display: none; }

/* Champs d'adresse compacts (style réservation) */
.route { display: grid; gap: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inp { position: relative; }
.inp input { padding-left: 48px; padding-right: 50px; }
.ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--muted); pointer-events: none; }
.ico.arr { color: var(--cyan); }
.ico.num { width: 24px; height: 24px; border: 1.5px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: .78rem; font-weight: 600; }
.inp .loc, .inp .rm {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 3px; cursor: pointer; color: var(--cyan); padding: 0;
  transition: background .15s, color .15s;
}
.inp .loc:hover { background: #1B2731; }
.inp .loc[disabled] { opacity: .5; cursor: progress; }
.inp .rm { color: var(--muted); }
.inp .rm:hover { color: var(--danger); background: #1B2731; }

/* Charge, récapitulatif, indication de date */
select {
  width: 100%; font: inherit; color: var(--white); background-color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 40px 12px 14px; min-height: 50px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2340E4F9' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select:hover { border-color: #3A4C58; }
select:focus-visible { border-color: var(--cyan); outline-offset: 0; outline-width: 2px; }
select option { background: var(--panel); color: var(--white); }
.load { margin-top: 20px; }
.hint { color: var(--cyan); font-size: .88rem; margin: 8px 0 0; }
.hint:empty { display: none; }
.recap { margin: 0 0 22px; display: grid; gap: 14px; }
.recap dt { color: var(--muted); font-size: .82rem; }
.recap dd { margin: 0; display: grid; gap: 2px; font-size: .94rem; line-height: 1.4; }
.recap dd strong { font-weight: 600; }
.recap dd span { color: var(--muted); }

/* Options d'aide et de temps (cartes sélectionnables) */
.opts { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.opts legend { padding: 0; margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opt { display: block; cursor: pointer; }
.opt-body {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 12px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--ink);
  font-size: .85rem; color: var(--muted); line-height: 1.3;
  transition: border-color .15s, background .15s;
}
.opt-body strong { color: var(--white); font-weight: 600; font-size: .92rem; }
.pills .opt-body { text-align: center; align-items: center; justify-content: center; padding: 12px 6px; }
.opt:hover .opt-body { border-color: #3A4C58; }
.opt input:checked + .opt-body { border-color: var(--cyan); background: rgba(64, 228, 249, .09); }
.opt input:checked + .opt-body strong { color: var(--cyan); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--cyan); outline-offset: 2px; }
.opt-note { color: var(--muted); font-size: .82rem; margin: 8px 0 0; line-height: 1.45; }
.opt-note:empty { display: none; }
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .pills { grid-template-columns: repeat(2, 1fr); }
}

.opts legend { font-size: .88rem; font-weight: 500; color: var(--muted); }

input[type="text"] { text-overflow: ellipsis; }


/* =====================================================================
   DESIGN : identité MN Express (diagonales du logo, noir / blanc / cyan)
   ===================================================================== */

/* En-tête collant */
html { scroll-padding-top: 88px; }
#site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 11, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
#site-header.scrolled { border-bottom-color: var(--line); }
.top { padding: 14px 0; }

/* Boutons à coin coupé, comme la découpe du logo */
.btn { --cut: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.btn.small { --cut: 9px; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.btn.ghost:focus-visible { outline-color: var(--cyan); }

/* Titre d'accueil plus grand */
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.035em; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

/* Hero : lignes qui se tracent, camion qui arrive */
.hero-grid { position: relative; padding: 32px 0 96px; align-items: start; }
.hero-copy { padding-top: 196px; }
.quote { position: relative; z-index: 2; }
.hero-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(.3, .7, .2, 1) .15s forwards; }
.hero-lines path:nth-child(2) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.road { position: absolute; left: 0; right: calc(470px + 64px); top: 40px; height: 126px; pointer-events: none; z-index: 1; }
.road-line { position: absolute; left: -100vw; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, rgba(244, 247, 248, .5) 0 26px, transparent 26px 50px); }
.road-pin { position: absolute; right: 0; bottom: 3px; }
.truck { position: absolute; left: 0; bottom: -8px; width: 250px; height: auto; animation: drive 2.4s cubic-bezier(.16, .8, .24, 1) .35s both; }
@keyframes drive { from { transform: translateX(-150%); } to { transform: none; } }
.wheel { animation: spin 2.4s cubic-bezier(.16, .8, .24, 1) .35s both; }
@keyframes spin { from { transform: rotate(-900deg); } to { transform: none; } }

/* Carte de calcul : plus de profondeur */
.quote { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(64, 228, 249, .05); }
.price { text-shadow: 0 0 36px rgba(64, 228, 249, .28); }

/* Sections en biseau (reprennent l'angle du M) */
section.band.alt { position: relative; background: var(--panel); clip-path: polygon(0 44px, 100% 0, 100% calc(100% - 44px), 0 100%); padding: 140px 0; }

/* Appel à l'action : logo en filigrane */
section.band.cta::after { content: ""; position: absolute; right: 7%; top: 50%; width: 320px; height: 320px; transform: translateY(-50%); background: url("mark.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.cta-band { position: relative; z-index: 1; }

/* Étapes : une route avec trois arrêts */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.7rem; border-top: 2px dashed #2F4A57; transform-origin: left; transform: scaleX(0); transition: transform 1.5s cubic-bezier(.2, .7, .2, 1); }
.steps.in::before { transform: scaleX(1); }
.steps li::before { position: relative; display: inline-block; background: var(--ink); padding-right: 18px; }

/* Services : icônes */
.svc-head { display: flex; align-items: center; gap: 18px; }
.svc-head h2 { border: 0; padding: 0; }
.svc-ico { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.svc-ico svg { stroke: var(--cyan); }

/* Tarifs : route avec bornes kilométriques */
.rates dd { color: var(--cyan); }
.milestones { position: relative; height: 196px; margin-top: 8px; }
.road-track { position: absolute; left: 0; right: 0; top: 135px; height: 3px; background: repeating-linear-gradient(90deg, rgba(244, 247, 248, .5) 0 22px, transparent 22px 44px); transform-origin: left; transform: scaleX(0); transition: transform 1.7s cubic-bezier(.2, .7, .2, 1); }
.milestones.in .road-track { transform: scaleX(1); }
.mile { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; opacity: 0; transition: opacity .5s ease calc(.55s + var(--i) * .3s); }
.milestones.in .mile { opacity: 1; }
.mile-plate { height: 84px; min-width: 116px; padding: 0 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--cyan); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.mile-price { font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.mile-km { font-size: .85rem; color: var(--muted); }
.mile-stem { width: 2px; height: 46px; background: var(--cyan); }
.mile-dot { width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: var(--ink); border: 3px solid var(--cyan); }
.track-label { position: absolute; top: 152px; font-size: .8rem; color: var(--muted); }
.track-label.l { left: 0; }
.track-label.r { right: 0; }

/* Contact : formulaire en panneau */
.form { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 3px; padding: 28px; }

@media (max-width: 960px) {
  section.band.alt { clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); padding: 96px 0; }
  .steps::before { display: none; }
  .steps li::before { padding-right: 0; }
  .hero-copy { padding-top: 150px; }
  .road { right: 0; top: 24px; height: 100px; }
  .truck { width: 180px; }
  section.band.cta::after { width: 200px; height: 200px; right: 4%; }
}
@media (max-width: 760px) {
  .milestones { height: auto; display: grid; gap: 14px; padding-left: 34px; }
  .road-track { left: 8px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(244, 247, 248, .5) 0 14px, transparent 14px 28px); transform-origin: top; transform: scaleY(0); }
  .milestones.in .road-track { transform: scaleY(1); }
  .mile { position: relative; left: auto; top: auto; transform: none; flex-direction: row; }
  .mile-plate { height: auto; min-width: 0; flex: 1; flex-direction: row; justify-content: space-between; padding: 14px 18px; }
  .mile-stem, .track-label { display: none; }
  .mile-dot { position: absolute; left: -32px; top: 50%; transform: translateY(-50%); }
}
@media (max-width: 560px) {
  .form { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lines path { animation: none; stroke-dashoffset: 0; }
  .truck, .wheel { animation: none; }
  .steps::before, .road-track { transition: none; transform: none; }
  .mile { transition: none; opacity: 1; }
}

.rates { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
@media (max-width: 760px) { .rates { grid-template-columns: 1fr; } }

/* =====================================================================
   PAGES INTÉRIEURES : dessin technique, chiffres clés, simulateur, contact
   ===================================================================== */

/* Fond du haut de page : diagonales du logo */
.page-head { position: relative; }
.page-head > * { position: relative; z-index: 1; }
.page-head::before { content: ""; position: absolute; top: -30px; right: -8%; width: 62%; height: 135%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none'%3E%3Cpath d='M0 70 L300 310 L600 20' stroke='%23F4F7F8' stroke-opacity='.07' stroke-width='2'/%3E%3Cpath d='M130 400 L130 150 L370 350' stroke='%2340E4F9' stroke-opacity='.2' stroke-width='2'/%3E%3C/svg%3E") no-repeat right top / contain; }
.head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; align-items: center; }

/* Dessin technique du camion qui se trace */
.bp { width: 100%; height: auto; overflow: visible; }
.bp path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(.3, .7, .2, 1) forwards; }
.bp .d2 { animation-delay: .35s; } .bp .d3 { animation-delay: .7s; } .bp .d4 { animation-delay: 1.05s; }
.bp .ground { stroke-dasharray: 14 12; }
.bp .wheel, .bp text, .bp .ground { opacity: 0; animation: fadein .6s ease 1.3s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* Chiffres clés */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { padding: 30px 26px; border-left: 1px solid var(--line); }
.spec:first-child { border-left: 0; padding-left: 0; }
.spec b { display: block; font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; color: var(--cyan); margin-bottom: 6px; }
.spec span { color: var(--muted); font-size: .92rem; }

/* Cartes d'aide */
.helpcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hcard { background: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--cyan); padding: 28px 26px 30px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.hcard h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 10px; }
.hprice { font-size: 2.4rem; font-weight: 300; letter-spacing: -.03em; color: var(--cyan); margin: 0 0 14px; line-height: 1.1; }
.hdesc { margin: 0 0 12px; color: var(--white); font-size: .95rem; }
.hnote { margin: 0; color: var(--muted); font-size: .85rem; }

/* Appel à l'action en panneau */
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--cyan); padding: 48px 44px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.cta-panel::after { content: ""; position: absolute; right: 6%; top: 50%; width: 260px; height: 260px; transform: translateY(-50%); background: url("mark.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .title { margin: 0 0 8px; }
.cta-panel p { margin: 0; color: var(--muted); max-width: 46ch; }

/* Simulateur de distance */
.sim-panel { background: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--cyan); padding: 40px 40px 34px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.sim-road { position: relative; height: 72px; margin-bottom: 12px; --p: .2; }
.sim-line { position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: repeating-linear-gradient(90deg, rgba(244, 247, 248, .5) 0 22px, transparent 22px 44px); }
.sim-truck { position: absolute; bottom: 1px; width: 110px; height: auto; left: calc((100% - 110px) * var(--p)); transition: left .25s ease-out; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; padding: 0; border: 0; min-height: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--line); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--cyan); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--cyan); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--cyan); }
input[type="range"]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.sim-out { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 14px 0 6px; }
.sim-dist { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; letter-spacing: -.03em; color: var(--muted); }
.sim-price { font-size: clamp(3rem, 7vw, 5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--cyan); font-variant-numeric: tabular-nums; text-shadow: 0 0 36px rgba(64, 228, 249, .28); }
.sim-price small { font-size: 1.05rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.sim-modes-wrap { margin-top: 26px; }
.pills.three { grid-template-columns: repeat(3, 1fr); }
.sim-note { color: var(--muted); font-size: .85rem; margin: 18px 0 0; max-width: 70ch; }

/* Contact : grandes cartes */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { display: flex; flex-direction: column; gap: 22px; padding: 30px 28px 28px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); transition: border-color .2s, background .2s; position: relative; }
.ccard:hover { border-color: var(--cyan); background: var(--panel-2); }
.ccard .ci { stroke: var(--cyan); }
.ccard .k { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 2px; }
.ccard .v { display: block; font-size: 1.2rem; font-weight: 500; overflow-wrap: anywhere; }
.ccard .ca { position: absolute; right: 26px; top: 32px; stroke: var(--muted); transition: stroke .2s, transform .2s; }
.ccard:hover .ca { stroke: var(--cyan); transform: translateX(4px); }
.checklist li { align-items: flex-start; }
.checklist li::before { margin-top: .8em; }

/* Pied de page complet */
footer { padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.foot-brand img { height: 64px; width: auto; display: block; margin-bottom: 18px; }
.foot-brand p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 30ch; }
.foot-grid h3 { font-size: .9rem; font-weight: 500; color: var(--muted); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--white); text-decoration: none; font-size: .95rem; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--cyan); }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot-bottom button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.foot-bottom button:hover { color: var(--white); }

/* Bouton WhatsApp flottant */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--ink); box-shadow: 0 12px 32px rgba(0, 0, 0, .55); transition: background .15s, transform .15s; }
.fab:hover { background: #7AEEFC; transform: translateY(-2px); }

@media (max-width: 960px) {
  .head-split { grid-template-columns: 1fr; gap: 28px; }
  .bp { max-width: 460px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .helpcards, .ccards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cta-panel { padding: 36px 28px; }
  .sim-panel { padding: 28px 22px 26px; }
}
@media (max-width: 560px) {
  .pills.three { grid-template-columns: 1fr; }
  .sim-out { flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .fab { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp path { animation: none; stroke-dashoffset: 0; }
  .bp .wheel, .bp text, .bp .ground { animation: none; opacity: 1; }
  .sim-truck { transition: none; }
  .ccard, .ccard .ca, .fab { transition: none; }
}

/* Finitions */
.page-head.head-split::before { display: none; }
.rates { display: block; column-count: 2; column-gap: 64px; }
.rates div { break-inside: avoid; }
@media (max-width: 760px) { .rates { column-count: 1; } }
.band.alt .form { background: var(--ink); }
.sim-truck { bottom: 2px; }
