/* Amanati Express – site public. Couleurs de la marque : bleu #012981, orange #F26905. */
:root {
  --navy: #012981;
  --navy-deep: #03184f;
  --navy-night: #011446;
  --ink: #0a1b4f;
  --orange: #f26905;
  --orange-hot: #ff7c1f;
  --on-orange: #01133d;
  --sky: #a9bcff;
  --paper: #ffffff;
  --mist: #f0f3fb;
  --line: #d6def0;
  --muted: #4c5a84;
  --ok: #0f7a57;
  --warn: #b04500;
  --radius-s: 10px;
  --radius-m: 12px;
  --radius-l: 18px;
  --wrap: 1180px;
  --gutter: 16px;
  --top-h: 64px;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #071341;
    --mist: #0b1b55;
    --ink: #e8edfc;
    --line: #22357a;
    --muted: #a9b6df;
    --ok: #4fd1a5;
    --warn: #ff9a52;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #071341; --mist: #0b1b55; --ink: #e8edfc; --line: #22357a; --muted: #a9b6df;
  --ok: #4fd1a5; --warn: #ff9a52; color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font); font-synthesis: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="rtl"] body { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 420px) { .vh-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .parcel-route .ic { transform: scaleX(-1); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--orange);
  color: var(--on-orange); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: 10px; }

/* --- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px;
  padding: 0 22px; border-radius: var(--radius-m); border: 0; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--orange); color: var(--on-orange); }
.btn-orange:hover { background: var(--orange-hot); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a37a8; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none;
  color: var(--navy); font-weight: 500; font-size: 0.9375rem; cursor: pointer; text-decoration: underline;
  text-underline-offset: 0.2em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link-btn { color: var(--sky); } }

/* --- en-tête */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: var(--top-h); }
.brand, .brand picture { flex: none; display: block; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: var(--radius-s); text-decoration: none; font-weight: 500; font-size: 0.975rem; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.langs { position: relative; }
.langs summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; font-weight: 500; }
.langs summary:hover { background: var(--mist); }
.pop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px;
  list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -18px rgba(1, 20, 70, .45); z-index: 40; }
.pop a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.pop a:hover { background: var(--mist); }
.pop a[aria-current] { font-weight: 600; color: var(--navy); }
.menu { display: none; position: relative; margin-inline-start: auto; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 1px var(--line); }
.menu summary .ic { width: 22px; height: 22px; }
.menu-pop { min-width: 240px; display: grid; }
.menu-pop > a { font-weight: 500; }
.menu-langs { display: flex; flex-wrap: wrap; gap: 4px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.menu-langs a { padding: 8px 10px; font-size: 0.9375rem; }
@media (max-width: 1040px) {
  .nav, .langs { display: none; }
  .menu { display: block; }
  .brand img { height: 38px; }
}

/* --- accueil : carte en grand */
.hero { position: relative; background: var(--navy-deep); color: #fff; isolation: isolate; }
.hero-copy { padding: 28px var(--gutter) 24px; }
.hero h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.75rem); font-weight: 600; max-width: 13ch; }
.hero .lede { margin-top: 14px; font-size: 1.0625rem; color: #d6defa; max-width: 46ch; }
@media (min-width: 700px) { .hero .lede { font-size: 1.1875rem; } }
.hero-count { margin-top: 18px; font-size: 0.9375rem; color: var(--sky); }
.hero-link { margin-top: 4px; font-size: 0.9375rem; }
.hero-link a { color: #fff; }
.hero-map { position: relative; height: 66svh; min-height: 420px; }
.hero-map .map-shell { position: absolute; inset: 0; }
.map-hint { position: absolute; inset-inline: 0; bottom: 18px; margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
  padding: 8px 14px; border-radius: 999px; background: rgba(1, 20, 70, .78); color: #e4eaff; font-size: 0.875rem;
  pointer-events: none; z-index: 3; transition: opacity .5s; backdrop-filter: blur(6px); }
.map-touched .map-hint, .map-off + .map-hint { opacity: 0; }
@media (min-width: 960px) {
  .hero { height: clamp(620px, calc(100svh - var(--top-h)), 920px); }
  .hero-map { position: absolute; inset: 0; height: auto; min-height: 0; }
  .hero-copy { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
    inset-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    width: min(500px, 42vw); padding: 0; pointer-events: none; }
  .hero-copy > * { pointer-events: auto; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 24, 79, .94) 0%, rgba(3, 24, 79, .72) 30%, rgba(3, 24, 79, 0) 52%); }
  [dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(3, 24, 79, .94) 0%, rgba(3, 24, 79, .72) 30%, rgba(3, 24, 79, 0) 52%); }
  .map-hint { bottom: 24px; }
}

/* --- formulaire de suivi */
.track { margin-top: 24px; max-width: 520px; }
.track label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; color: inherit; opacity: .9; }
.track-row { display: flex; gap: 8px; }
.track input { flex: 1; min-width: 0; height: 54px; padding: 0 16px; border-radius: var(--radius-m);
  border: 1.5px solid var(--line); background: #fff; color: #0a1b4f; font-size: 1.125rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; }
.track input::placeholder { text-transform: none; letter-spacing: 0; color: #7d89ad; font-weight: 400; }
.track input:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.track .btn { height: 54px; padding: 0 24px; }
.hero .track input, .page-head-navy .track input { border-color: transparent; }

/* --- carte */
.map-shell { position: relative; overflow: hidden; height: 100%;
  background: radial-gradient(120% 90% at 60% 45%, #0a2c86 0%, #04195a 45%, #010a2c 100%); color: #fff; }
.map { position: absolute; inset: 0; }
.map-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  color: var(--sky); font-size: 0.9375rem; z-index: 1; pointer-events: none; }
.map-ready .map-status { display: none; }
.map-off .map-status { pointer-events: auto; max-width: 34ch; margin: auto; color: #e4eaff; }
.map-legend { position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; display: flex; flex-direction: column;
  gap: 6px; padding: 10px 12px; border-radius: var(--radius-m); background: rgba(1, 20, 70, .72);
  backdrop-filter: blur(6px); font-size: 0.8125rem; color: #dfe6ff; pointer-events: none; opacity: 0; transition: opacity .6s; }
.map-ready .map-legend { opacity: 1; }
.lg { display: flex; align-items: center; gap: 8px; }
.lg::before { content: ""; flex: none; }
.lg-agency::before { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px #fff; margin-inline: 3px; }
.lg-route::before { width: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #8fa6ff, #fff 50%, var(--orange)); }
[dir="rtl"] .lg-route::before { background: linear-gradient(270deg, #8fa6ff, #fff 50%, var(--orange)); }
.lg-cross::before { width: 22px; height: 0; border-top: 2px dashed #fff; }
@media (max-width: 600px) { .map-legend { top: auto; bottom: 10px; inset-inline-start: 10px; inset-inline-end: auto;
  flex-direction: row; flex-wrap: wrap; max-width: calc(100% - 70px); gap: 4px 12px; padding: 8px 10px; }
  .p-home .map-legend { bottom: 56px; } }

/* Repères des villes (créés par site.js) */
.cm { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: #fff;
  cursor: pointer; font: 500 13px/1.1 var(--font); -webkit-tap-highlight-color: transparent; }
.cm-dot { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(242, 105, 5, .22); color: var(--on-orange); font-size: 11px; font-weight: 700;
  transition: transform .15s; }
.cm-many .cm-dot { width: 22px; height: 22px; }
.cm-name { padding: 2px 0; text-shadow: 0 0 3px #03184f, 0 0 6px #03184f, 0 1px 2px #03184f; white-space: nowrap; }
.cm:hover .cm-dot, .cm:focus-visible .cm-dot { transform: scale(1.18); }
.cm:hover .cm-name, .cm:focus-visible .cm-name { font-weight: 700; }
.cm:focus-visible { outline: none; }
.cm:focus-visible .cm-dot { outline: 3px solid #fff; outline-offset: 3px; }
.cm.is-active .cm-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(242, 105, 5, .35); }
.cm-cluster .cm-dot { width: var(--s, 30px); height: var(--s, 30px); font-size: 13px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 9px rgba(242, 105, 5, .2); }
.zoom-street .cm:not(.cm-cluster) { opacity: 0; pointer-events: none; }
.cross-mark { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; pointer-events: none;
  animation: cross 2.4s ease-out infinite; }
@keyframes cross { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* Panneau d'une ville (à droite sur ordinateur, en bas sur téléphone) */
.panel { position: absolute; z-index: 6; top: 12px; bottom: 12px; inset-inline-end: 12px; width: min(390px, calc(100% - 24px));
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: var(--radius-l);
  box-shadow: 0 30px 70px -20px rgba(0, 8, 40, .65); overflow: hidden; animation: panel-in .28s cubic-bezier(.2, .8, .2, 1); }
.panel[hidden] { display: none; }
@keyframes panel-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
[dir="rtl"] .panel { animation-name: panel-in-rtl; }
@keyframes panel-in-rtl { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line); }
.panel-title { font-size: 1.5rem; outline: none; }
.panel-sub { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.panel-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: -6px; border: 0;
  border-radius: 50%; background: var(--mist); cursor: pointer; }
.panel-close .ic { width: 20px; height: 20px; }
.panel-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px 18px; }
.panel .agency { padding: 16px 0; border-bottom: 1px solid var(--line); }
.panel .agency:last-child { border-bottom: 0; }
.panel .agency.is-hit { background: linear-gradient(90deg, rgba(242, 105, 5, .08), transparent); margin-inline: -18px; padding-inline: 18px; }
.agency-dist { color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
@media (max-width: 700px) {
  .panel { position: fixed; top: auto; bottom: 0; inset-inline: 0; width: 100%; max-height: 74svh;
    border-radius: var(--radius-l) var(--radius-l) 0 0; animation-name: sheet-in; z-index: 45;
    padding-bottom: env(safe-area-inset-bottom); }
  [dir="rtl"] .panel { animation-name: sheet-in; }
  .panel-head::before { content: ""; position: absolute; top: 7px; inset-inline: 0; margin: auto; width: 40px; height: 4px;
    border-radius: 2px; background: var(--line); }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Fiche agence (page et carte) */
.agency-name { font-size: 1.0625rem; font-weight: 600; }
.agency-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
.agency-line .ic { margin-top: 0.2em; color: var(--navy); }
.agency-line a { color: var(--ink); font-weight: 500; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .agency-line .ic { color: var(--sky); } }
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.go-label { width: 100%; font-size: 0.8125rem; color: var(--muted); }
.go-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius-s);
  background: var(--mist); color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line); }
.go-btn:hover { background: var(--navy); color: #fff; box-shadow: none; }
.go-btn.is-first { background: var(--navy); color: #fff; box-shadow: none; }

/* MapLibre : réglages discrets */
.maplibregl-ctrl-attrib.maplibregl-compact { background: rgba(255, 255, 255, .85); color: #0a1b4f; }
.maplibregl-ctrl-group { border-radius: var(--radius-s) !important; }
.maplibregl-cooperative-gesture-screen { font-family: var(--font); }

/* --- bandes de la page d'accueil */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.section-lede { margin-top: 12px; font-size: 1.125rem; max-width: 60ch; color: var(--muted); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 32px 40px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; border-top: 2px solid var(--navy); padding-top: 16px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .steps li { border-color: var(--sky); } }
.steps li::before { content: counter(s); display: block; font-size: 3rem; line-height: 1; font-weight: 300; color: var(--orange);
  margin-bottom: 14px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 8px; color: var(--muted); }
.prices-band { background: var(--mist); }
.prices { display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 900px) { .prices { grid-template-columns: 1fr 1.1fr; } }
.prices-copy p { margin-top: 12px; font-size: 1.0625rem; max-width: 46ch; }
.rates { margin: 0; display: grid; gap: 16px; }
@media (min-width: 560px) { .rates { grid-template-columns: 1fr 1fr; } }
.rate { padding: 22px 22px 20px; background: var(--paper); border-radius: var(--radius-l); }
.rate dt { font-weight: 500; color: var(--muted); }
.rate dd { margin: 0; }
.rate-num { font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); font-weight: 600; color: var(--navy); line-height: 1.2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rate-num { color: #fff; } }
.rate-unit { color: var(--muted); }
.rate-note { margin-top: 6px !important; font-size: 0.9375rem; color: var(--muted); }
.country-cols { display: grid; gap: 28px 48px; margin: 36px 0; }
@media (min-width: 760px) { .country-cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.country h3 { font-size: 1.125rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.city-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.city-links a { text-decoration: none; padding: 4px 0; }
.city-links a:hover { text-decoration: underline; }
.city-links .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--mist); font-size: 0.8125rem; font-weight: 600; margin-inline-start: 4px; }
.wa-band { background: var(--paper); border-top: 1px solid var(--line); }
.partner-band { background: var(--mist); }
.partner { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .partner { grid-template-columns: 1.1fr 1fr; column-gap: 64px; }
  .partner .btn { grid-column: 1; justify-self: start; } }
.partner p { margin-top: 12px; font-size: 1.125rem; max-width: 52ch; color: var(--muted); }
.partner-req, .pt-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.partner-req li, .pt-who li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.0625rem; }
.partner-req .ic, .pt-who .ic { width: 26px; height: 26px; color: var(--orange); }
@media (min-width: 900px) { .partner-req { grid-row: span 2; align-self: center; } }
.pt-info h2 { font-size: 1.375rem; margin: 0 0 16px; }
.pt-info h2 + ul { margin-bottom: 32px; }
.pt-delay { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-m);
  background: var(--mist); font-weight: 500; }
.pt-delay .ic { width: 24px; height: 24px; color: var(--navy); margin-top: 1px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pt-delay .ic { color: var(--sky); } }
.form-title { font-size: 1.375rem; margin-bottom: 18px; }
.field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); background: var(--paper); }
.field select:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.has-err select { border-color: var(--warn); }
.wa, .biz { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .wa, .biz { grid-template-columns: 1fr auto; gap: 48px; } }
.wa p, .biz p { margin-top: 12px; font-size: 1.125rem; max-width: 56ch; }
.wa p { color: var(--muted); }
.biz-band { background: var(--navy); color: #fff; }
.biz p { color: #d6defa; }

/* --- pages intérieures */
.page-head { background: var(--mist); padding-block: 44px 32px; }
@media (min-width: 960px) { .p-agencies .page-head { padding-block: 28px 22px; } }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.page-head .muted { margin-top: 8px; }
.page-head-navy { background: var(--navy-deep); color: #fff; padding-block: 44px 40px; }
.page-head-navy .section-lede { color: #d6defa; }
.notice { margin-top: 24px; padding: 14px 16px; border-radius: var(--radius-m); background: var(--mist);
  border-inline-start: 4px solid var(--navy); }
.notice-warn { border-color: var(--warn); }

/* Agences : carte + liste */
.ag-layout { display: grid; }
.ag-map { position: relative; height: 56svh; min-height: 360px; }
.ag-side { padding: 20px var(--gutter) 64px; }
@media (min-width: 960px) {
  .ag-layout { grid-template-columns: minmax(380px, 440px) 1fr; }
  .ag-map { order: 2; position: sticky; top: var(--top-h); height: calc(100svh - var(--top-h)); }
  .ag-side { order: 1; padding: 24px 28px 64px; border-inline-end: 1px solid var(--line); }
}
.finder label { display: block; font-weight: 600; margin-bottom: 8px; }
.finder-row { display: flex; gap: 8px; }
.finder input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-m);
  background: var(--paper); }
.finder input:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.finder .btn { height: 50px; padding: 0 16px; }
.finder-msg { min-height: 1.5em; margin-top: 6px; font-size: 0.9375rem; color: var(--warn); }
.ag-country-name { font-size: 1.5rem; margin-top: 28px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ag-country-name { border-color: var(--sky); } }
.ag-city { padding-top: 18px; scroll-margin-top: calc(var(--top-h) + 12px); }
.ag-city:target .ag-city-head h3, .ag-city.is-hit .ag-city-head h3 { color: var(--orange); }
.ag-city-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.ag-city-head h3 { font-size: 1.25rem; }
.ag-city-head .muted { font-size: 0.9375rem; font-weight: 400; }
.ag-city .agency { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }

/* Suivi */
.track-out { padding-block: 8px 72px; }
.parcel { margin-top: 32px; }
.parcel-no { font-size: 0.9375rem; color: var(--muted); letter-spacing: .04em; }
.parcel-status { margin-top: 6px; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.tone-ok { color: var(--ok); }
.tone-warn { color: var(--warn); }
.tone-go { color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tone-go { color: #fff; } }
.parcel-route { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 1.25rem; font-weight: 500; }
.parcel-route .ic { color: var(--orange); width: 24px; height: 24px; }
.parcel-head .muted { margin-top: 6px; font-size: 0.9375rem; }
.stepper { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.stepper li { position: relative; display: flex; align-items: center; gap: 12px; padding-block: 8px; color: var(--muted); }
.stepper .dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); flex: none; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 7px; top: 24px; bottom: -8px; width: 2px; background: var(--line); }
.stepper .done { color: var(--ink); }
.stepper .done .dot { background: var(--navy); border-color: var(--navy); }
.stepper .done::after { background: var(--navy) !important; }
.stepper .current { color: var(--ink); font-weight: 600; }
.stepper .current .dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(242, 105, 5, .2); }
@media (min-width: 680px) {
  .stepper { grid-template-columns: repeat(5, 1fr); }
  .stepper li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; font-size: 0.9375rem; }
  .stepper li:not(:last-child)::after { inset-inline-start: 16px; inset-inline-end: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
}
.eta { margin-top: 22px; font-size: 1.0625rem; }
.pickup { margin-top: 32px; padding: 20px; border-radius: var(--radius-l); background: var(--mist); }
.pickup h3 { font-size: 0.9375rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.pickup .muted { margin-top: 12px; font-size: 0.9375rem; }
.history { margin-top: 36px; }
.history h3 { font-size: 1.25rem; }
.history ol { list-style: none; margin: 12px 0 0; padding: 0; }
.history li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.h-status { font-weight: 500; }
.h-date { color: var(--muted); font-size: 0.9375rem; }
.help { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Entreprises */
.biz-grid { display: grid; gap: 40px; padding-block: 40px 80px; }
@media (min-width: 900px) { .biz-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.biz-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; align-content: start; }
.biz-points li { display: flex; gap: 12px; font-size: 1.125rem; }
.biz-points .ic { color: var(--orange); width: 26px; height: 26px; stroke-width: 2.2; }
.biz-points .biz-wa { display: grid; gap: 14px; justify-items: start; margin-top: 18px; padding-top: 22px;
  border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.biz-points .biz-wa .ic { color: inherit; width: 1.15em; height: 1.15em; stroke-width: 1.8; }
.biz-points .biz-wa .btn { color: var(--ink); }
.biz-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { grid-column: 1 / -1; }
@media (min-width: 560px) { .field.half { grid-column: auto; } }
.field label { display: block; font-weight: 500; font-size: 0.9375rem; margin-bottom: 6px; }
.req { color: var(--orange); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); background: var(--paper); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.has-err input, .has-err textarea { border-color: var(--warn); }
.err { margin-top: 6px; color: var(--warn); font-size: 0.875rem; font-weight: 500; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--navy); }
.check label { font-weight: 400; margin: 0; }
.check .err { grid-column: 2; }
.biz-form .btn { grid-column: 1 / -1; justify-self: start; }
.biz-form .notice { grid-column: 1 / -1; margin: 0; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { padding: 28px; border-radius: var(--radius-l); background: var(--mist); border-inline-start: 4px solid var(--ok); }
.success h2 { font-size: 1.5rem; }
.success p { margin-top: 10px; }

/* Mentions légales */
.prose { padding-block: 24px 80px; }
.prose h2 { font-size: 1.25rem; margin-top: 36px; }
.prose p { margin-top: 10px; max-width: 70ch; }
.facts { margin: 14px 0 0; display: grid; gap: 0; }
.facts > div { display: grid; gap: 2px 24px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .facts > div { grid-template-columns: 240px 1fr; } }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* --- pied de page */
.foot { background: var(--navy-night); color: #c3cdf2; font-size: 0.9375rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-in { display: grid; gap: 32px; padding-block: 48px 32px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.foot-brand img { height: 44px; width: auto; }
.foot-slogan { margin-top: 14px; color: #fff; font-weight: 500; }
.foot-brand p:last-child { margin-top: 6px; max-width: 34ch; }
.foot-nav { display: grid; gap: 10px; align-content: start; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 10px 16px; align-content: start; }
.foot-langs a[aria-current] { color: var(--orange); }
.foot-base { padding-block: 18px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
