/* ==========================================================================
   MK Déménagement — feuille de style unique
   Palette : anthracite, blanc, gris clair, un seul accent orange.
   Aucune police externe : pile système, zéro requête réseau.
   ========================================================================== */

/* --- jetons ------------------------------------------------------------- */
:root {
  --ink: #232121;
  --ink-soft: #2b2928;
  --ink-line: #3a3735;
  --paper: #ffffff;
  --sand: #f3f0ed;
  --line: #ded8d3;
  --line-strong: #cfc8c2;
  --muted: #5d5854;
  --muted-dark: #b9b3ae;
  --accent: #e9560e;
  --accent-deep: #a8430a;   /* orange lisible sur fond clair (AA) */
  --accent-soft: #f0824a;   /* orange lisible sur fond sombre (AA) */

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: 24px;
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 64px;
  --s8: 96px;

  --radius: 4px;
  --header-h: 84px;

  /* illustration du camion */
  --truck-line: #232121;
  --wheel-fill: #ffffff;
  --body-fill: #ffffff;
  --glass: rgba(35, 33, 33, .10);
  --carton: #f8f1e5;
  --carton-line: #bda98f;

  --surface: #ffffff;
  --surface-2: #f7f5f2;
  --shadow-sm: 0 1px 2px rgba(24, 20, 18, .06), 0 8px 24px -16px rgba(24, 20, 18, .35);
  --shadow-md: 0 2px 6px rgba(24, 20, 18, .07), 0 24px 48px -28px rgba(24, 20, 18, .45);
  color-scheme: light;
}

/* --- thème sombre -------------------------------------------------------- */
html[data-theme="dark"] {
  --ink: #f4f1ee;
  --ink-soft: #e9e4df;
  --ink-line: #d6cfc8;
  --paper: #121110;
  --sand: #1a1917;
  --line: #2e2b28;
  --line-strong: #3d3935;
  --muted: #a8a09a;
  --muted-dark: #8d8680;
  --accent: #ff6a1f;
  --accent-deep: #ff8a4d;
  --accent-soft: #ff8a4d;

  --truck-line: #f4f1ee;
  --wheel-fill: #121110;
  --body-fill: #1a1917;
  --glass: rgba(244, 241, 238, .12);
  --carton: #2a2521;
  --carton-line: #6f5f4e;

  --surface: #1a1917;
  --surface-2: #221f1c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -16px rgba(0, 0, 0, .8);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 48px -28px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

/* --- base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--s3);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.4vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

ul, ol { margin: 0 0 var(--s3); padding-left: 1.2em; }
li { margin-bottom: 6px; }

strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* --- mise en page ------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }

.page-head {
  padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-head h1 { margin-bottom: var(--s3); max-width: 20ch; }
.page-head .lead { max-width: 64ch; color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: var(--muted-dark); }

.eyebrow {
  display: block;
  margin: 0 0 var(--s2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.section--dark .eyebrow { color: var(--accent-soft); }

.lead { font-size: 1.1875rem; line-height: 1.6; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent-deep);
  color: var(--paper);
  font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* --- en-tête ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--paper);
  flex: none;
}
.brand img { display: block; width: auto; height: 46px; }
.brand:focus-visible { outline-color: var(--paper); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--ink-line);
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-block;
  padding: 8px 0;
  color: #ddd7d2;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--paper); border-bottom-color: var(--ink-line); }
.site-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--accent); }

.header-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.header-tel:hover { background: #f26a25; color: var(--ink); }
.header-tel svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    padding: var(--s3) var(--gutter) var(--s4);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
  .js .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .header-tel span {
    /* masqué à l'œil, mais conservé comme nom accessible du lien */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .header-tel { padding: 0 12px; min-width: 44px; }
}

/* sans JavaScript : le menu reste visible */
@media (max-width: 960px) {
  .site-nav { margin-top: var(--s3); }
  .site-nav ul { flex-wrap: wrap; gap: var(--s2) var(--s4); }
  .site-header__inner { flex-wrap: wrap; padding-bottom: var(--s3); }
  .header-tel { margin-top: var(--s3); }
}
@media (min-width: 961px) {
  .site-nav { margin-top: 0; }
  .site-header__inner { padding-bottom: 0; }
  .header-tel { margin-top: 0; }
}

/* --- héros -------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--ink-line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: var(--s4); }
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero__lead {
  max-width: 34em;
  color: var(--muted-dark);
  font-size: 1.125rem;
  margin-bottom: var(--s5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
}
.hero__figure { margin: 0; }
.hero__figure svg { display: block; width: 100%; height: auto; }
.hero__caption {
  margin-top: var(--s2);
  color: #8d8783;
  font-size: 0.8125rem;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: 2; max-width: 520px; }
}

/* --- boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn svg { flex: none; width: 18px; height: 18px; }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #f26a25; color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: #575250;
  font-size: 1.0625rem;
}
.btn--ghost:hover { border-color: var(--paper); color: var(--paper); }

.btn--dark { background: var(--ink); color: var(--paper); font-size: 1.0625rem; }
.btn--dark:hover { background: #3a3735; color: var(--paper); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  font-size: 1.0625rem;
}
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }

.btn--block { width: 100%; }

/* --- bandeau de réassurance -------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s4);
  background: var(--sand);
}
.fact svg { flex: none; width: 24px; height: 24px; color: var(--accent-deep); margin-top: 2px; }
.fact b { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.fact span { display: block; font-size: 0.875rem; color: var(--muted); }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
}

/* --- cartes ------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, transform 160ms ease;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--muted); font-size: 0.9375rem; }
.card__link {
  margin-top: auto;
  padding-top: var(--s3);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link::after { content: "→"; transition: transform 160ms ease; }
.card__link:hover::after { transform: translateX(3px); }
.card__icon { width: 32px; height: 32px; margin-bottom: var(--s3); color: var(--accent); }

@media (max-width: 900px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards, .cards--4, .cards--2 { grid-template-columns: 1fr; }
}

/* --- étapes ------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  margin: 0;
  padding-top: var(--s5);
  border-top: 2px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: var(--s3);
  left: 0;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
}
.steps h3 { margin-top: var(--s4); }
.steps p { color: var(--muted); font-size: 0.9375rem; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: var(--s4); }
}

/* --- listes de zones ---------------------------------------------------- */
.zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 var(--s5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.zones li { margin: 0; border-bottom: 1px solid var(--line); }
.zones a {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 14px 0;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.zones a span { color: var(--muted); font-weight: 400; font-size: 0.875rem; }
.zones a:hover { color: var(--accent-deep); }

@media (max-width: 760px) {
  .zones { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .zones { grid-template-columns: 1fr; }
}

/* --- bandeau d'appel ---------------------------------------------------- */
.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding: clamp(40px, 5vw, 64px) 0;
}
.cta-band h2 { margin-bottom: var(--s2); }
.cta-band p { max-width: 42em; font-size: 1.0625rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.cta-band .btn--dark { background: var(--ink); color: var(--paper); }
.cta-band .btn--outline { border-color: rgba(35, 33, 33, 0.45); }

/* --- contenu éditorial -------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s6); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s5); }
.prose ul { padding-left: 1.1em; }
.prose li::marker { color: var(--accent-deep); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.split--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .split--form { grid-template-columns: 1fr; }
}

.panel {
  padding: var(--s5);
  background: var(--sand);
  border: 1px solid var(--line);
}
.panel--dark { background: var(--ink); color: var(--paper); border-color: var(--ink-line); }
.panel h3 { margin-bottom: var(--s2); }
.panel p { font-size: 0.9375rem; color: var(--muted); }
.panel--dark p { color: var(--muted-dark); }

.specs {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.specs div > * { min-width: 0; }
@media (max-width: 420px) {
  .specs div { flex-wrap: wrap; }
  .specs dd { text-align: left; }
}

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-deep);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 62ch; }

/* --- formulaire --------------------------------------------------------- */
.form {
  max-width: 760px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
}
.fieldset { margin: 0 0 var(--s5); padding: 0; border: 0; }
.fieldset legend {
  padding: 0;
  margin-bottom: var(--s3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); }
.grid-2 > .field--wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s3); }
.field label { font-size: 0.9375rem; font-weight: 700; }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.req { color: var(--accent-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field--error input,
.field--error select,
.field--error textarea { border-color: #8f2f06; }
.error {
  display: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8f2f06;
}
.field--error .error { display: block; }

.choice { display: flex; gap: 20px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.choice input { width: auto; min-height: 0; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.form__note { font-size: 0.8125rem; color: var(--muted); max-width: 34ch; }

.form__error-summary {
  display: none;
  margin-bottom: var(--s4);
  padding: var(--s3) var(--s4);
  border-left: 4px solid #8f2f06;
  background: #faf0eb;
  font-size: 0.9375rem;
}
.form__error-summary.is-visible { display: block; }
.form__error-summary ul { margin: var(--s1) 0 0; padding-left: 1.1em; }

.confirm {
  display: none;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--accent);
  background: #fff8f4;
}
.confirm.is-visible { display: block; }
.confirm h2 { margin-bottom: var(--s2); }
.confirm p { max-width: 60ch; }

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* --- pied de page ------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: var(--s7) 0 var(--s5);
  border-top: 1px solid var(--ink-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s5);
}
.site-footer h2 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--s3);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer p { font-size: 0.875rem; }
.site-footer .brand img { height: 30px; }
.site-footer .brand { margin-bottom: var(--s3); }
.footer__legal {
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s3);
  font-size: 0.8125rem;
  color: #8d8783;
}
.footer__legal a { color: #8d8783; }
.footer__legal a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* --- fil d'ariane ------------------------------------------------------- */
.breadcrumb {
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}
.breadcrumb li { margin: 0; display: flex; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* --- divers ------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.note {
  padding: var(--s3) var(--s4);
  border-left: 3px solid var(--accent);
  background: var(--sand);
  font-size: 0.9375rem;
}

.plan {
  margin: 0 auto;
  max-width: 760px;
}
.plan svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
}
.plan figcaption {
  margin-top: var(--s2);
  font-size: 0.8125rem;
  color: var(--muted);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-s3 { margin-top: var(--s3); }
.mt-s4 { margin-top: var(--s4); }
.mt-s5 { margin-top: var(--s5); }

.card__title { font-size: 1.35rem; }
.card__num { color: var(--muted); font-weight: 600; }
.card__meta { font-size: 0.8125rem; color: var(--muted); }

.panel ol,
.panel ul { margin: 0 0 var(--s3); padding-left: 1.1em; }
.panel > :last-child { margin-bottom: 0; }

.contact-tel {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.hint--offset { margin-top: 28px; }

/* --- mouvement ---------------------------------------------------------- */

/* --- animations ---------------------------------------------------------- */
@keyframes truck-in {
  from { transform: translateX(-170px); opacity: 0; }
  55%  { opacity: 1; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes num-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: none; }
}
@keyframes box-in {
  0%   { transform: translate(-150px, -84px) rotate(-16deg); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes door-close {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes seam-draw { to { stroke-dashoffset: 0; } }
@keyframes clack-down {
  0%, 100% { transform: translateX(0); }
  45%      { transform: translateX(-2.5px); }
}

.hero__figure .truck { animation: truck-in 1.15s cubic-bezier(.22, .68, 0, 1) both; }
.hero__figure .wheel {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: wheel-spin .5s linear 2;
}
.hero__figure .ground { animation: fade-up .5s ease-out .75s both; }
.hero__figure .dims   { animation: fade-up .6s ease-out .55s both; }
.hero__figure .hero-num {
  transform-box: fill-box;
  transform-origin: center;
  animation: num-in .5s ease-out .85s both;
}

.hero__figure .box {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  animation: box-in .86s cubic-bezier(.26, .76, .38, 1) both;
}

.hero__figure .box-3 { animation-delay: 1.15s; }
.hero__figure .box-2 { animation-delay: 1.36s; }
.hero__figure .box-1 { animation-delay: 1.57s; }
.hero__figure .box-5 { animation-delay: 1.78s; }
.hero__figure .box-4 { animation-delay: 1.99s; }

.hero__figure .door-panel {
  transform-box: fill-box;
  transform-origin: left center;
  animation: door-close .46s cubic-bezier(.4, 0, .2, 1) 3.05s both;
}
.hero__figure .door-seam { animation: seam-draw .38s linear 3.42s both; }
.hero__figure .truck-svg { animation: clack-down .2s ease-out 3.55s both; }

/* apparition douce au défilement — la classe est posée par app.js,
   donc sans JavaScript le contenu reste visible */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* --- mouvement réduit : on garde des fondus, on retire les translations --- */
@media (prefers-reduced-motion: reduce) {
  .hero__figure .truck,
  .hero__figure .ground,
  .hero__figure .dims,
  .hero__figure .hero-num,
  .hero__figure .door-panel { animation: fade-up .45s ease-out both !important; }
  .hero__figure .wheel { animation: none !important; }
  .hero__figure .box { animation: fade-up .45s ease-out both !important; }
  .hero__figure .box-1 { animation-delay: .45s !important; }
  .hero__figure .box-2 { animation-delay: .60s !important; }
  .hero__figure .box-3 { animation-delay: .75s !important; }
  .hero__figure .box-4 { animation-delay: .90s !important; }
  .hero__figure .box-5 { animation-delay: 1.05s !important; }
  .hero__figure .door-seam { animation: none !important; stroke-dashoffset: 0 !important; }
  .hero__figure .truck-svg { animation: none !important; }
  .reveal { transition: opacity .35s ease; transform: none; }
}

/* --- ?motion=full : séquence complète même si le système demande moins de mouvement --- */
html.force-motion .hero__figure .truck { animation: truck-in 1.15s cubic-bezier(.22, .68, 0, 1) both !important; }
html.force-motion .hero__figure .wheel { animation: wheel-spin .5s linear 2 !important; }
html.force-motion .hero__figure .ground { animation: fade-up .5s ease-out .75s both !important; }
html.force-motion .hero__figure .dims { animation: fade-up .6s ease-out .55s both !important; }
html.force-motion .hero__figure .hero-num { animation: num-in .5s ease-out .85s both !important; }
html.force-motion .hero__figure .box { animation: box-in .86s cubic-bezier(.26, .76, .38, 1) both !important; }
html.force-motion .hero__figure .box-3 { animation-delay: 1.15s !important; }
html.force-motion .hero__figure .box-2 { animation-delay: 1.36s !important; }
html.force-motion .hero__figure .box-1 { animation-delay: 1.57s !important; }
html.force-motion .hero__figure .box-5 { animation-delay: 1.78s !important; }
html.force-motion .hero__figure .box-4 { animation-delay: 1.99s !important; }

html.force-motion .hero__figure .door-panel { animation: door-close .46s cubic-bezier(.4, 0, .2, 1) 3.05s both !important; }
html.force-motion .hero__figure .door-seam { animation: seam-draw .38s linear 3.42s both !important; }
html.force-motion .hero__figure .truck-svg { animation: clack-down .2s ease-out 3.55s both !important; }
html.force-motion .reveal { transition: opacity .55s ease, transform .55s ease; }


/* ==========================================================================
   COUCHE PREMIUM — typographie, rythme, composants, thème sombre
   ========================================================================== */

body {
  background: var(--paper);
  color: var(--ink);
  transition: background-color .35s ease, color .35s ease;
}

h1 { letter-spacing: -.035em; }
h2 { letter-spacing: -.028em; }

/* --- en-tête ------------------------------------------------------------- */
.site-header {
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s4); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { height: 34px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1rem; letter-spacing: -.02em; }
.brand__sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: auto;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { background: var(--sand); border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon, html[data-theme="dark"] .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__moon { display: block; }

.site-nav a { color: var(--ink); font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--accent-deep); }
.site-nav a:hover { color: var(--accent-deep); }
.header-tel { border-radius: 6px; font-weight: 700; }

/* --- héro ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(120% 90% at 88% 8%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 58%),
    var(--paper);
  overflow: hidden;
}
.hero__grid { align-items: center; gap: clamp(28px, 4vw, 56px); }
.hero h1 { font-size: clamp(2.15rem, 1.4rem + 2.6vw, 3.45rem); }
.hero__lead { max-width: 46ch; color: var(--muted); font-size: 1.075rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s5); }

.hero__figure {
  margin: 0;
  padding: clamp(14px, 2vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.hero__figure svg { display: block; width: 100%; height: auto; }
.hero__caption { margin-top: 12px; font-size: .8rem; color: var(--muted); }

/* --- boutons ------------------------------------------------------------- */
.btn {
  border-radius: 6px;
  padding: 16px 30px;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .005em;
  transition: transform .18s ease, box-shadow .22s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--accent:hover { box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--accent) 90%, transparent); }

/* --- sections ------------------------------------------------------------ */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--sand { background: var(--sand); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { max-width: 22ch; }
.section-head p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }

/* --- cartes -------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.card__icon { color: var(--accent); }
.card__title { font-size: 1.06rem; letter-spacing: -.015em; }
.card__link { font-weight: 700; font-size: .9rem; }
.card__num { color: var(--muted); font-weight: 600; }

/* --- chiffres clés ------------------------------------------------------- */
.facts { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.fact { padding: clamp(18px, 2.2vw, 26px); }
.fact strong { display: block; font-size: .98rem; letter-spacing: -.01em; }

/* --- étapes -------------------------------------------------------------- */
.steps { counter-reset: step; }
.steps li { padding: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.steps li h3 { font-size: 1.06rem; }

/* --- panneau sombre ------------------------------------------------------ */
.panel { border-radius: 8px; background: var(--sand); border: 1px solid var(--line); }
.panel--dark { background: var(--ink); color: var(--paper); border-color: transparent; }

/* --- bande d'appel ------------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 10px; }
html[data-theme="dark"] .cta-band { background: var(--surface-2); border: 1px solid var(--line); }

/* --- formulaires --------------------------------------------------------- */
.field input, .field select, .field textarea, .form input, .form select, .form textarea {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* --- pied de page -------------------------------------------------------- */
.site-footer { background: #121110; color: #e8e3de; }
.site-footer a { color: #e8e3de; }
.site-footer a:hover { color: var(--accent-soft); }

/* --- apparition au défilement ------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.cards > .card:nth-child(2) { transition-delay: .07s; }
.cards > .card:nth-child(3) { transition-delay: .14s; }
.cards > .card:nth-child(4) { transition-delay: .21s; }
.cards > .card:nth-child(5) { transition-delay: .28s; }
.cards > .card:nth-child(6) { transition-delay: .35s; }
.steps > li:nth-child(2) { transition-delay: .09s; }
.steps > li:nth-child(3) { transition-delay: .18s; }

.btn--outline { border-width: 1.5px; }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html[data-theme="dark"] .btn--outline:hover { background: var(--paper); color: #121110; border-color: var(--paper); }

@media (max-width: 480px) {
  .brand__sub { display: none; }
  .hero__figure { border-radius: 8px; }
}

/* --- correctifs de contraste (héros clair, boutons posés sur l'accent) --- */
.hero { color: var(--ink); }
.hero h1 { color: var(--ink); }
.hero .btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}
.hero .btn--ghost:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
/* l'orange est une couleur claire : le texte dessus reste sombre dans les deux thèmes */
.btn--accent,
.header-tel,
.btn--accent:hover,
.header-tel:hover { color: #1c1917; }
.panel--dark { background: var(--ink); color: var(--paper); }
html[data-theme="dark"] .panel--dark { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .cta-band { color: var(--ink); }
html[data-theme="dark"] .cta-band .btn--dark { background: var(--ink); color: var(--paper); }


/* --- fonds explicites : jamais de texte couleur de fond ---------------- */
.facts { background: var(--surface); border-color: var(--line); }
.fact { background: var(--surface); color: var(--ink); }
.fact strong { color: var(--ink); }
.fact svg, .fact .card__icon { color: var(--accent-deep); }
html[data-theme="dark"] .fact svg, html[data-theme="dark"] .fact .card__icon { color: var(--accent-soft); }
.hero h1 em { color: var(--accent-deep); }
html[data-theme="dark"] .hero h1 em { color: var(--accent-soft); }

/* menu déroulant mobile : fond et texte cohérents dans les deux thèmes */
.js .site-nav { background: var(--surface); border-color: var(--line); }
.js .site-nav a { color: var(--ink); border-bottom-color: var(--line); }
.js .site-nav a:hover, .js .site-nav a[aria-current="page"] { color: var(--accent-deep); }
html[data-theme="dark"] .js .site-nav { background: var(--surface); }
html[data-theme="dark"] .js .site-nav a { color: var(--ink); }
html[data-theme="dark"] .js .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* ==========================================================================
   EN-TÊTE MOBILE — refonte (2026-11-02)
   Cause des défauts constatés :
   1. `.site-header` portait DEUX valeurs de `height: var(--header-h)` (84px)
      pour trois boutons de 44/40px + le logo à 34px, sans `flex-wrap` ni
      `min-width: 0` : les items étaient écrasés et le menu sortait du cadre.
   2. `.theme-toggle` et `.nav-toggle` portaient tous deux `margin-left: auto`
      → deux poussées concurrentes vers la droite = alignement imprévisible.
   3. Les blocs « sans JavaScript » (flex-wrap + margin-top) s'appliquaient
      AUSSI avec JavaScript, car `.js .site-nav { display:none }` annule le
      `display: block` que le navigateur donne à <nav> : la règle a donc
      toujours priorité et ré-écrasait la mise en page.
   Correctif : un seul point de contrôle (`.site-header__inner`), actions
   groupées à droite, navigation qui sort du flux, hauteur pilotée par le
   contenu.
   ========================================================================== */

/* --- en-tête : correction mesurée, itération 2 (2026-11-02) ------------- */
/* Itération 1 (mesurée) : plus rien hors écran, contraste rétabli, mais
   - `meme_haut: false` : les 3 boutons n'étaient pas alignés. Cause : la
     ligne <=375px réduisait le thème et le burger à 40px SANS réduire
     .header-tel, resté à 44px -> impossible de les centrer sur une ligne.
   - `gouttiere_droite: 0` : le dernier bouton finissait au bord. On ne peut
     pas se reposer sur le padding d'un conteneur flex quand le contenu le
     consomme ; on fixe donc la gouttière des DEUX côtés sur __inner.
   - .header-tel en thème sombre : texte #1c1917 sur fond sombre = 1,08.
     La règle « orange clair -> texte sombre » ne vaut que si le fond reste
     orange. On la fait dépendre du thème.
   Tailles : une seule variable --act pour les trois actions, alignement
   garanti par construction.
*/

:root { --act: 44px; }   /* jamais moins : c'est le minimum tactile */

.site-header { height: auto; min-height: var(--header-h); }
.site-header__inner {
  min-height: var(--header-h);
  height: auto;
  padding-block: 10px;
  padding-inline: var(--gutter);   /* gouttière garantie des deux côtés */
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.brand img.brand__mark { height: 34px; width: auto; flex: none; }
.brand { flex: 0 1 auto; min-width: 0; overflow: hidden; margin-right: auto; min-height: var(--act); }
.brand__text { min-width: 0; }
.brand__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* une seule taille pour les trois actions : alignement garanti */
.theme-toggle, .nav-toggle, .header-tel {
  flex: none;
  height: var(--act);
  min-height: var(--act);
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.theme-toggle, .nav-toggle {
  width: var(--act);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
}
.theme-toggle { order: 2; }
.header-tel   { order: 3; padding: 0 14px; }
.nav-toggle   { order: 4; }
.nav-toggle svg, .theme-toggle svg { width: 20px; height: 20px; }
.site-nav { order: 1; flex: 0 1 auto; min-width: 0; }

@media (max-width: 960px) {
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; width: auto; max-width: none; flex: none;
    padding: var(--s2) var(--gutter) var(--s4);
    box-shadow: var(--shadow-md);
  }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .js .site-nav li { width: 100%; }
  .js .site-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .brand__sub { display: none; }
  html:not(.js) .site-nav { position: static; width: 100%; flex: 1 1 100%; order: 9; margin-top: var(--s2); }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: var(--s2) var(--s4); }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .header-tel { padding: 0 12px; min-width: var(--act); }
  .header-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden;
                     clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 480px) {
  :root { --header-h: 62px; }
  .brand { gap: 9px; }
  .brand img.brand__mark { height: 32px; }
  .brand__name { font-size: .9rem; }
}

@media (max-width: 375px) {
  :root { --gutter: 12px; }
  .brand__name { font-size: .875rem; }
  .site-header__inner { gap: 6px; }
}

@media (max-width: 349px) {
  .brand__text { display: none; }   /* symbol seul */
}

/* le bouton téléphone : texte sombre uniquement quand le fond reste orange ;
   en thème sombre on suit le thème pour rester lisible. */
html[data-theme="dark"] .header-tel { color: #121110; background: var(--accent); }
html[data-theme="dark"] .header-tel span { color: #121110; }

/* ==========================================================================
   DESIGN MOBILE — améliorations mesurées (2026-11-02)
   Chaque règle répond à un défaut relevé au navigateur, pas à un goût :
   - le nom de marque était tronqué (« MK Déménag… ») : logo et corps réduits
     juste ce qu'il faut pour que le texte complet tienne dans la gouttière ;
   - les deux appels à l'action du héros laissaient un vide à droite sur
     téléphone : ils passent en pleine largeur empilée, cible tactile unique ;
   - .card__link mesurait 40px de haut, sous le minimum de 44px ;
   - les ancres passaient sous la barre collante : on décale le point d'arrivée.
   ========================================================================== */

@media (max-width: 480px) {
  .brand { gap: 8px; align-items: center; }
  .brand img.brand__mark { height: 30px; }
  .brand__name { font-size: .9rem; }
}

/* 350-400px : le nom complet ne tient pas a cote des trois actions de 44px.
   On empile symbole + nom DANS le bloc marque, ce qui libere les 133px
   necessaires sans toucher aux cibles tactiles. */
@media (min-width: 300px) and (max-width: 480px) {
  .brand { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .brand img.brand__mark { height: 24px; width: auto; }
  .brand__name { font-size: .82rem; line-height: 1.1; letter-spacing: -.01em; }
}

@media (max-width: 560px) {
  /* appels à l'action du héros : pleine largeur, empilés, 52px de haut */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: var(--s4); }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* cibles tactiles : aucun lien de carte sous 44px */
.card__link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.site-nav a { min-height: 44px; }

/* une ancre ne doit pas se cacher sous la barre collante */
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* sur téléphone, les titres de section respirent moins : moins de vide */
@media (max-width: 560px) {
  html { -webkit-text-size-adjust: 100%; }
  .section { padding-top: var(--s6); padding-bottom: var(--s6); }
}
