/* ==========================================================================
   EXECUTIVE WORLD LOGISTICS — Feuille de style unique
   Palette : bleu nuit + orange. Modifiez les couleurs dans :root ci-dessous.
   ========================================================================== */

:root {
  --navy-950: #071427;
  --navy-900: #0A1A33;
  --navy-800: #13294B;
  --navy-700: #1C3A66;
  --orange: #E4571B;        /* boutons et accents (contraste suffisant sur blanc) */
  --orange-600: #C94812;
  --orange-logo: #FF6B2C;
  --orange-100: #FCEFE8;
  --white: #FFFFFF;
  --paper: #F6F5F2;         /* fond des sections alternées */
  --gray-100: #E7E8EB;
  --gray-200: #D3D6DC;
  --gray-500: #5A6274;
  --ink: #0A1A33;
  --success: #0E8A63;

  --font-title: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 3px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(10, 26, 51, .06), 0 8px 24px -12px rgba(10, 26, 51, .16);
  --ease: cubic-bezier(.25, .7, .25, 1);
  --header-h: 72px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.text-accent { color: var(--orange); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--gray-500); max-width: 640px; }

/* Texte à compléter avant la mise en ligne */
.todo { background: #FFF3BF; color: #7A5B00; padding: 0 .3em; font-weight: 600; font-family: var(--font-body); font-size: .9em; letter-spacing: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-600); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn--outline { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn .icon--arrow { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }
.link-arrow .icon { color: var(--orange); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-note { display: none; }
.topbar-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; }
@media (min-width: 768px) { .topbar-note { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--white); color: var(--navy-900);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(10, 26, 51, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.2rem; letter-spacing: -.01em; }
.brand svg { width: 36px; height: 36px; }
.brand b { font-weight: 800; }
.brand span { font-weight: 500; }
.nav { display: none; margin-left: auto; gap: 2px; height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 12px; font-weight: 500; font-size: .94rem; color: var(--gray-500); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--navy-900); border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
  border: 0; background: transparent; color: inherit; font-weight: 600; font-size: .82rem; cursor: pointer;
}
.header-cta { display: none; padding: .75em 1.2em; font-size: .92rem; }
.burger {
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--navy-900);
}
.burger .icon { width: 22px; height: 22px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--white); color: var(--navy-900);
  padding: calc(var(--header-h) + 54px) var(--gutter) 32px; overflow-y: auto;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a:not(.btn) { font-family: var(--font-title); font-size: 1.35rem; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.mobile-nav a[aria-current="page"] { color: var(--orange); }
.mobile-nav .btn { margin-top: 12px; }
.mobile-nav .btn:first-of-type { margin-top: 28px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1120px) {
  .nav { display: flex; }
  .header-actions { margin-left: 12px; }
  .header-cta { display: inline-flex; }
  .burger, .mobile-nav { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
.section--alt { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--tight { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } .section--tight { padding: 64px 0; } }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray-500); font-size: 1.08rem; margin: 0; }
.section--dark .section-head p, .section--dark .lead { color: rgba(255, 255, 255, .72); }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 48px; }
.section-head-row .section-head { margin: 0; }
.eyebrow {
  display: block; margin-bottom: 14px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.section--dark .eyebrow, .hero .eyebrow, .page-banner .eyebrow { color: #FF9A6B; }

/* ---------- Hero photo (accueil) ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  background: var(--navy-900);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 39, .82) 0%, rgba(7, 20, 39, .55) 50%, rgba(7, 20, 39, .2) 100%),
              linear-gradient(0deg, rgba(7, 20, 39, .6) 0%, rgba(7, 20, 39, 0) 45%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 0 64px; max-width: 700px; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: rgba(255, 255, 255, .88); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
@media (min-width: 768px) { .hero-content { padding: 160px 0 96px; } }

/* Diaporama du hero (camion + animaux) */
.hero-grid { position: relative; z-index: 1; display: grid; align-items: end; }
.hero-grid .hero-content { padding-bottom: 150px; }
.hero-slide { opacity: 0; transform: scaleX(var(--flip, 1)); transition: opacity 1.4s ease; }
.hero-slide.is-flip { --flip: -1; }
.hero-slide.is-active { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(var(--flip, 1), 1); } to { transform: scale(calc(var(--flip, 1) * 1.08), 1.08); } }
.hero-slider-ui { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; pointer-events: none; }
.hero-slider-ui > * { pointer-events: auto; }
.hero-tag { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; min-width: 240px; background: rgba(7, 20, 39, .72); border: 1px solid rgba(255, 255, 255, .18); border-left: 3px solid var(--orange-logo); border-radius: var(--radius-sm); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .35s, transform .35s var(--ease); }
.hero-tag.is-changing { opacity: 0; transform: translateY(6px); }
.hero-tag-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF9A6B; }
.hero-tag b { font-family: var(--font-title); font-size: 1.15rem; color: var(--white); }
.hero-tag:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; overflow: hidden; }
.hero-dots button::before { content: ""; position: absolute; inset: -10px 0; } /* zone de clic plus grande */
.hero-dots button::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--white); }
.hero-dots button.is-active::after { width: 100%; animation: dotFill var(--slide-ms, 5500ms) linear; }
.hero-dots.is-paused button.is-active::after { animation: none; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-grid h1 { font-size: clamp(2.6rem, 4.4vw, 3.7rem); }
  .hero-grid .hero-content { padding-bottom: 96px; }
  .hero-slider-ui { bottom: 40px; align-items: flex-end; }
}

.quick-track { display: flex; max-width: 560px; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.quick-track label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding-left: 16px; color: var(--gray-500); }
.quick-track input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 16px 0; outline: none; font-weight: 500; letter-spacing: .02em; }
.quick-track input::placeholder { color: #8A90A0; }
.quick-track .btn { border-radius: 0; }
.quick-track:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Accès rapides (sous le hero) ---------- */
.quicklinks { border-bottom: 1px solid var(--gray-100); background: var(--white); }
.quicklinks-grid { display: grid; grid-template-columns: 1fr 1fr; }
.quicklink { display: flex; gap: 14px; align-items: center; padding: 22px 16px; border-right: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); transition: background-color .2s; }
.quicklink:hover { background: var(--paper); }
.quicklink > .icon { width: 28px; height: 28px; color: var(--orange); }
.quicklink b { display: block; font-family: var(--font-title); font-size: 1.02rem; }
.quicklink small { display: block; color: var(--gray-500); font-size: .86rem; line-height: 1.4; }
@media (min-width: 900px) {
  .quicklinks-grid { grid-template-columns: repeat(4, 1fr); }
  .quicklink { padding: 28px 24px; border-bottom: 0; }
  .quicklink:first-child { border-left: 1px solid var(--gray-100); }
}

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--gray-100);
}
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--gray-500); }
.card--plain { border: 0; padding: 0; background: transparent; }

/* Carte avec photo en haut */
.photo-card { padding: 0; overflow: hidden; transition: border-color .2s; }
.photo-card:hover { border-color: var(--gray-200); }
.photo-card .photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.photo-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-card:hover .photo img { transform: scale(1.03); }
.photo-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.photo-card h3 { margin: 0 0 8px; }
.photo-card p { font-size: .95rem; }
.photo-card .card-link { margin-top: auto; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); }
.card-link .icon { color: var(--orange); transition: transform .2s var(--ease); }
a:hover .card-link .icon { transform: translateX(3px); }

.icon-box { width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center; flex: none; background: var(--orange-100); color: var(--orange); }
.icon-box .icon { width: 24px; height: 24px; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-sm); font-size: .75rem; font-weight: 600; background: var(--paper); color: var(--gray-500); }
.tag--accent { background: var(--orange); color: var(--white); }

/* ---------- Blocs photo + texte alternés ---------- */
.feature { display: grid; gap: 32px; align-items: center; }
.feature-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray-100); aspect-ratio: 4 / 3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text h2 { margin-bottom: 18px; }
.feature-text > p { color: var(--gray-500); font-size: 1.06rem; }
.feature-text .btn, .feature-text .link-arrow { margin-top: 12px; }
.section--dark .feature-text > p { color: rgba(255, 255, 255, .72); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .feature--reverse .feature-media { order: 2; }
  .feature-media { aspect-ratio: 5 / 4; }
}

/* ---------- Étapes (pictos) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--gray-200); }
.step { position: relative; padding: 28px 0; border-bottom: 1px solid var(--gray-200); display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; }
.step-picto { width: 56px; height: 56px; border: 1.5px solid var(--navy-900); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--navy-900); grid-row: span 3; }
.step-picto .icon { width: 26px; height: 26px; }
.step-num { font-family: var(--font-title); font-weight: 700; font-size: .85rem; color: var(--orange); letter-spacing: .08em; }
.step h3 { margin: 2px 0 6px; }
.step p { color: var(--gray-500); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .step { display: block; padding: 0 28px 0 0; border-bottom: 0; }
  .step + .step { padding-left: 28px; border-left: 1px solid var(--gray-200); }
  .step-picto { margin-bottom: 22px; }
  .step-num { display: block; margin-bottom: 6px; }
}

/* ---------- Réseau (globe) ---------- */
.network { display: grid; gap: 40px; align-items: center; }
.network-globe { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.network-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.region-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .14); }
.region-list li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-weight: 500; }
@media (min-width: 900px) { .network { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

/* ---------- Chiffres et avis ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gray-200); }
.stat { padding: 28px 0; border-bottom: 1px solid var(--gray-200); }
.stat-value { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.4rem); line-height: 1.1; }
.stat-label { margin-top: 8px; color: var(--gray-500); font-size: .95rem; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .stat + .stat { padding-left: 28px; border-left: 1px solid var(--gray-200); } }
.stat-value .todo { font-size: .5em; }
.review { padding: 28px; margin: 0; }
.review blockquote { margin: 0 0 22px; font-size: 1.04rem; line-height: 1.6; }
.review-author { margin-top: auto; font-size: .92rem; }
.review-author b { display: block; }
.review-author small { color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange); }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--orange); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq-body { padding: 0 0 22px; color: var(--gray-500); max-width: 760px; }
.faq-body p:last-child { margin: 0; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1fr 2fr; gap: 72px; } }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; }
.faq-nav { display: none; }
@media (min-width: 900px) {
  .faq-nav { display: block; position: sticky; top: 100px; align-self: start; }
  .faq-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--gray-100); color: var(--gray-500); font-weight: 500; }
  .faq-nav a:hover { color: var(--navy-900); }
}

/* ---------- Bandeau d'appel à l'action (photo) ---------- */
.cta-photo { position: relative; overflow: hidden; color: var(--white); background: var(--navy-900); }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: rgba(7, 20, 39, .72); }
.cta-photo .container { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.cta-photo h2 { max-width: 640px; }
.cta-photo p { color: rgba(255, 255, 255, .85); max-width: 560px; font-size: 1.08rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Bannière des pages intérieures ---------- */
.page-banner { position: relative; overflow: hidden; color: var(--white); background: var(--navy-900); }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 39, .85), rgba(7, 20, 39, .5)); }
.page-banner .container { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.page-banner h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 820px; margin-bottom: 14px; }
.page-banner p { color: rgba(255, 255, 255, .85); font-size: 1.12rem; max-width: 640px; margin: 0; }
@media (min-width: 768px) { .page-banner .container { padding-top: 88px; padding-bottom: 96px; } }
.page-banner--plain::after { display: none; }
.breadcrumb { margin-bottom: 28px; font-size: .86rem; color: rgba(255, 255, 255, .75); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Formules (services) ---------- */
.formulas { display: grid; gap: 24px; }
@media (min-width: 720px) { .formulas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .formulas { grid-template-columns: repeat(4, 1fr); } }
.formula .photo { aspect-ratio: 16 / 10; }
.formula h3 { font-size: 1.25rem; }
.formula-route { display: flex; align-items: center; gap: 8px; margin: 4px 0 18px; font-size: .8rem; font-weight: 600; color: var(--navy-700); }
.formula-route i { flex: 1; height: 1px; background: var(--gray-200); }
.formula-route span { white-space: nowrap; }
.formula h4 { font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-500); margin: 0 0 12px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; }
.checklist .icon { color: var(--success); margin-top: 1px; width: 18px; height: 18px; stroke-width: 2.2; }
.section--dark .checklist .icon { color: #5FD3A8; }
.formula-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--gray-100); }
.formula-meta small { display: block; font-size: .74rem; color: var(--gray-500); }
.formula-meta b { font-family: var(--font-title); font-size: 1.1rem; }
.formula-price b { font-size: 1.4rem; }
.formula .btn { margin-top: 20px; }
.formula--featured { border-color: var(--navy-900); }
.formula-badge { position: absolute; top: 14px; left: 14px; z-index: 1; }

/* Onglets */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--gray-200); margin: 0 0 40px; overflow-x: auto; }
.tab { border: 0; background: transparent; padding: 14px 20px; font-weight: 600; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { color: var(--navy-900); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.is-active { display: grid; }

/* Paires clé / valeur */
.kv { display: grid; border-top: 1px solid var(--gray-200); }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--gray-200); font-size: .95rem; }
.kv span { color: var(--gray-500); }
.kv b { text-align: right; overflow-wrap: anywhere; }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--gray-100); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 500; }
.compare thead th { font-family: var(--font-title); font-size: .95rem; background: var(--paper); }
.compare thead th.is-featured { background: var(--navy-900); color: var(--white); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .icon { margin: 0 auto; width: 20px; height: 20px; }
.compare .yes { color: var(--success); stroke-width: 2.2; }
.compare .no { color: var(--gray-200); }
.compare.zones-table { min-width: 0; }
.zones-table td, .zones-table th { text-align: left; padding: 14px 12px; }
.zones-table td:not(:first-child), .zones-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.zones-table td:first-child b { display: block; font-family: var(--font-title); }
.zones-table td:first-child small { color: var(--gray-500); }

/* ---------- Formulaires ---------- */
.form-card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field-label { font-weight: 600; font-size: .9rem; }
.field small { color: var(--gray-500); font-size: .8rem; }
.input, .select, .textarea {
  width: 100%; min-width: 0; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: var(--white);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235A6274' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(10, 26, 51, .12); }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group > span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--gray-200); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--paper); color: var(--gray-500); font-weight: 600; font-size: .9rem; }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); cursor: pointer; transition: border-color .2s, background-color .2s; font-weight: 600; font-size: .95rem; }
.segmented label small { display: block; font-weight: 400; color: var(--gray-500); }
.segmented input:checked + label { border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); background: var(--paper); }
.segmented input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.segmented .icon { color: var(--orange); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gray-500); }
.check input { margin-top: 4px; accent-color: var(--navy-900); width: 18px; height: 18px; flex: none; }
.check a { text-decoration: underline; text-underline-offset: 2px; color: var(--navy-900); }
.hidden { display: none !important; }
.form-error { color: #B42318; margin: 12px 0 0; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .icon-box { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; background: rgba(14, 138, 99, .1); color: var(--success); }

/* Colonne latérale (devis, contact, estimateur) */
.estimator { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .estimator { grid-template-columns: 1.45fr 1fr; gap: 40px; } .side-sticky { position: sticky; top: 100px; } }
.side-panel { border-radius: var(--radius); padding: 30px; background: var(--white); border: 1px solid var(--gray-100); }
.side-panel h2 { font-size: 1.45rem; }
.side-panel .btn + .btn { margin-top: 10px; }
.side-panel .kv { margin-bottom: 24px; }
.side-panel--dark { background: var(--navy-900); color: var(--white); border: 0; }
.side-panel--dark .kv { border-color: rgba(255, 255, 255, .16); }
.side-panel--dark .kv div { border-color: rgba(255, 255, 255, .16); }
.side-panel--dark .kv span { color: rgba(255, 255, 255, .65); }
.side-panel--dark .eyebrow { color: #FF9A6B; }
.side-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; aspect-ratio: 3 / 2; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Estimateur ---------- */
.estimate-price { font-family: var(--font-title); font-weight: 800; font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1; letter-spacing: -.02em; margin: 6px 0 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.estimate-price small { font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .65); letter-spacing: 0; }
.estimate-price .currency { color: #FF9A6B; }
.estimate-note { color: rgba(255, 255, 255, .65); font-size: .86rem; margin-bottom: 22px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--gray-200); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.contact-list .icon { color: var(--orange); width: 22px; height: 22px; margin-top: 2px; }
.contact-list small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 600; font-size: 1.04rem; }
.contact-list a:hover { color: var(--orange); }

/* ---------- Suivi ---------- */
.track-search { display: flex; max-width: 640px; margin-top: 30px; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.track-search label { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 16px; min-width: 0; color: var(--gray-500); }
.track-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 16px 0; font-weight: 600; letter-spacing: .03em; color: var(--ink); background: transparent; }
.track-search .btn { border-radius: 0; }
.track-search:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }

.track-result { display: grid; gap: 24px; }
@media (min-width: 980px) { .track-result { grid-template-columns: 1.15fr 1fr; align-items: start; } .track-side { position: sticky; top: 100px; } }
@media (min-width: 980px) { .track-result.is-single { grid-template-columns: minmax(0, 820px); } }
.panel { border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); padding: 26px; }
@media (min-width: 768px) { .panel { padding: 34px; } }
.status-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: flex-start; }
.status-number { font-size: .85rem; color: var(--gray-500); }
.status-number b { color: var(--ink); letter-spacing: .03em; }
.status-title { font-size: clamp(1.5rem, 4vw, 2rem); margin: 6px 0 0; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: .82rem; background: var(--orange-100); color: var(--orange-600); }
.status-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-badge.is-delivered { background: rgba(14, 138, 99, .1); color: var(--success); }
.demo-flag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--radius-sm); font-size: .7rem; font-weight: 800; letter-spacing: .08em; background: var(--navy-900); color: var(--white); vertical-align: middle; }
.route-line { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 26px 0 8px; }
.route-line .place b { display: block; font-family: var(--font-title); font-size: 1.1rem; }
.route-line .place small { color: var(--gray-500); }
.route-line .place:last-child { text-align: right; }
.route-line .route-mid { height: 1px; background: var(--gray-200); position: relative; }
.route-line .route-mid .icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--white); padding: 0 8px; width: 34px; height: 22px; color: var(--orange); box-sizing: content-box; }
.progress { margin-top: 22px; }
.progress-top { display: flex; justify-content: space-between; font-size: .85rem; color: var(--gray-500); margin-bottom: 8px; }
.progress-top b { color: var(--ink); }
.progress-bar { height: 6px; border-radius: 3px; background: var(--gray-100); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 1s var(--ease); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 22px; border-top: 1px solid var(--gray-100); }
.meta-grid div { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.meta-grid small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); font-weight: 600; }
.meta-grid b { font-size: .95rem; }

.timeline { list-style: none; margin: 30px 0 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 26px 50px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--gray-100); }
.timeline li:last-child::before { display: none; }
.timeline li.is-done::before { background: var(--orange); }
.tl-dot { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--gray-200); border: 2px solid var(--gray-100); }
.tl-dot .icon { width: 18px; height: 18px; }
.timeline li.is-done .tl-dot { background: var(--orange); border-color: var(--orange); color: var(--white); }
.timeline li.is-current .tl-dot { border-color: var(--orange); color: var(--orange); }
.tl-title { font-weight: 700; padding-top: 6px; }
.timeline li.is-pending .tl-title { color: var(--gray-500); font-weight: 500; }
.tl-meta { font-size: .88rem; color: var(--gray-500); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; }
.tl-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tl-meta .icon { width: 14px; height: 14px; }
.tl-note { font-size: .88rem; margin-top: 4px; }

.map-panel { padding: 0; overflow: hidden; background: var(--navy-900); border: 0; color: var(--white); }
.map-panel .map-head { padding: 20px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.map-panel .map-head small { color: rgba(255, 255, 255, .65); }
.map-box { aspect-ratio: 1; position: relative; }
.map-box canvas, .globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-legend { display: flex; gap: 18px; padding: 0 24px 20px; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-logo); }
.map-legend i.is-dest { background: transparent; border: 2px solid #FFB088; }

.track-empty { text-align: center; max-width: 560px; margin: 0 auto; }
.track-empty .icon-box { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; }

/* ---------- Pages légales ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--gray-500); }
.prose mark { background: #FFF3BF; color: #7A5B00; padding: 0 4px; }
.prose a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 2px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { color: var(--orange-logo); margin-top: 3px; width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-bottom button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---------- Bannière cookies ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
  max-width: 560px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); color: var(--ink); border: 1px solid var(--gray-200);
  box-shadow: 0 12px 40px -12px rgba(10, 26, 51, .35); font-size: .92rem;
}
.cookie-banner p { margin: 0 0 14px; color: var(--gray-500); }
.cookie-banner b { display: block; color: var(--ink); margin-bottom: 4px; font-family: var(--font-title); font-size: 1rem; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-banner .btn { padding: .7em 1.2em; font-size: .92rem; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Apparition au défilement (sobre) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* Reçu d'expédition (page Suivi) */
.receipt-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; padding: 16px; border: 1px dashed var(--gray-200); border-radius: var(--radius); background: var(--paper); }
.receipt-box .btn[disabled] { opacity: .6; cursor: wait; }
.receipt-hint { margin: 0; flex: 1 1 220px; font-size: .86rem; color: var(--gray-500); }

/* ---------- Page admin ---------- */
.admin-bar { background: var(--navy-950); color: var(--white); }
.admin-bar .container { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.admin-bar .tag { background: rgba(255, 255, 255, .12); color: var(--white); }
.admin-bar-links { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: .9rem; }
.admin-bar-links a, .admin-bar-links button { color: rgba(255, 255, 255, .8); background: none; border: 0; cursor: pointer; padding: 0; font-size: inherit; }
.admin-bar-links a:hover, .admin-bar-links button:hover { color: var(--white); text-decoration: underline; }
.admin-main { padding-top: 40px; min-height: calc(100vh - 60px); }
.admin-narrow { max-width: 440px; margin: 40px auto; }
.admin-title { font-size: 1.7rem; margin-bottom: 8px; }
.admin-sub { font-size: 1.05rem; margin: 32px 0 14px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.admin-sub small { font-family: var(--font-body); font-weight: 400; color: var(--gray-500); font-size: .85rem; }
.admin-muted { color: var(--gray-500); }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin-head .admin-title { margin: 0 auto 0 0; }
.admin-search { width: 280px; max-width: 100%; }
.admin-table { min-width: 760px; }
.admin-table td, .admin-table th { text-align: left; vertical-align: top; }
.admin-table td small { color: var(--gray-500); }
.admin-table tbody tr { cursor: pointer; }
.admin-table tbody tr:hover, .admin-table tbody tr:focus { background: var(--paper); outline: none; }
.admin-cols { display: grid; gap: 24px; }
@media (min-width: 800px) { .admin-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.admin-status { margin: 12px 0 0; color: var(--gray-500); font-size: .92rem; }
.admin-back { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; color: var(--navy-900); }
.admin-back:hover { color: var(--orange); }
.admin-ok { padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius); background: rgba(14, 138, 99, .1); color: var(--success); font-weight: 600; }
.admin-warn { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius); background: #FFF3BF; color: #7A5B00; font-size: .92rem; }
.admin-number { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.admin-number .admin-actions { margin: 0; }
.admin-number small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-weight: 600; }
.admin-number b { font-family: var(--font-title); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: .04em; }
.admin-parties { display: grid; gap: 16px; }
.admin-parties small { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-weight: 600; }
.admin-parties p { margin: 4px 0 0; }
.admin-events { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.admin-events small { color: var(--gray-500); }
.admin-link { background: none; border: 0; padding: 0; margin-left: 10px; cursor: pointer; color: #B42318; font-size: .85rem; text-decoration: underline; }
.admin-danger { color: #B42318; border-color: #E4B4AE; }
.admin-danger:hover { background: #B42318; border-color: #B42318; color: var(--white); }
