/* ==========================================================================
   LIVTOO — Feuille de style principale
   Déménagement · Débarras · Livraison — Le Grand-Quevilly (Rouen)
   ========================================================================== */

/* ---------- Polices (auto-hébergées, conformes RGPD) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --ink: #141618;
  --ink-2: #3d4247;
  --muted: #676c72;
  --line: #e4e1db;
  --line-2: #d6d2ca;
  --yellow: #ffc60b;
  --yellow-600: #eab200;
  --yellow-50: #fff6d6;
  --dark: #17191b;
  --dark-2: #222528;
  --dark-line: #34383c;
  --green: #25d366;
  --danger: #c62828;

  --font-head: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 22, 24, .04), 0 8px 24px rgba(20, 22, 24, .06);
  --shadow-lg: 0 2px 4px rgba(20, 22, 24, .04), 0 18px 48px rgba(20, 22, 24, .12);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(56px, 8vw, 104px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, .h1, .h2 {
  text-wrap: balance;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Utilitaires ---------- */
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.text-yellow { color: var(--yellow); }
/* Jaune foncé sur fond clair : contraste lisible (WCAG) */
.section:not(.section--dark) .text-yellow { color: #a87800; }
.dot { color: var(--yellow); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-600); }
.btn--outline { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; color: var(--yellow-600); transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 247, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.logo__word {
  font-family: var(--font-head); font-weight: 900; font-size: 2rem; letter-spacing: -.035em;
  color: var(--ink);
}
.logo__word span { color: var(--yellow); }
.logo__tag {
  margin-top: 5px; font-size: .58rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.logo--light .logo__word { color: #fff; }
.logo--light .logo__tag { color: #a9aeb3; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav__link, .main-nav__toggle {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.main-nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.main-nav__link::after, .main-nav__toggle::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav__link:hover::after, .main-nav__toggle:hover::after,
.main-nav__link[aria-current="page"]::after, .main-nav__toggle.is-current::after { transform: scaleX(1); }

.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px;
  padding: 8px; list-style: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .main-nav__toggle svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1025px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.sub-menu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
}
.sub-menu a small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--bg); }
.sub-menu__icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow-50); color: var(--ink);
}
.sub-menu__icon svg { width: 18px; height: 18px; }
.sub-menu__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1360px) { .main-nav__link, .main-nav__toggle { padding-inline: 10px; font-size: .9rem; } .header-phone span { display: none; } }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--yellow-600); }
.header-phone:hover { border-color: var(--ink); }

.nav-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto; padding: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; margin: auto; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  /* backdrop-filter casserait le menu plein écran (position: fixed) */
  .site-header { background: var(--surface-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.nav-open .mobile-cta { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn, .header-phone { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 24px var(--gutter) 40px;
    background: var(--surface-2); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li { border-bottom: 1px solid var(--line); }
  .main-nav__link, .main-nav__toggle { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.15rem; font-weight: 600; }
  .main-nav__link::after, .main-nav__toggle::after { display: none; }
  .sub-menu {
    position: static; display: none; min-width: 0; margin: 0 0 12px; padding: 4px;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub.is-open .sub-menu { display: block; }
  .main-nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1025px) { .main-nav__mobile-cta { display: none; } }

/* ---------- Typographie de section ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--white { background: var(--surface-2); }
.section--dark { background: var(--dark); color: #c9cdd1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.eyebrow--plain::before { display: none; }
h1.eyebrow { font-family: var(--font-body); line-height: 1.4; }
.section--dark .eyebrow, .hero--dark .eyebrow { color: #e6e8ea; }

.h1, .h2, .h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
.h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .lead { margin-top: 14px; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end;
}
@media (max-width: 800px) { .section-head--split { grid-template-columns: 1fr; } }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { margin-bottom: 20px; font-size: .85rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
  min-height: clamp(440px, 52vw, 580px);
}
.hero__content { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 72px); }
.hero__title { margin-bottom: 20px; }
.hero:not(.hero--dark) .hero__title { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero__sub { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--ink); font-weight: 500; letter-spacing: -.01em; margin-bottom: 16px; }
.hero__text { max-width: 520px; margin-bottom: 32px; font-size: 1.08rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  position: absolute; inset: 0 0 0 auto; width: 52%; z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
  mask-image: linear-gradient(to right, transparent 0, #000 22%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero--dark { background: var(--dark); color: #c9cdd1; }
.hero--dark .hero__title { color: #fff; }
.hero--dark .hero__text { color: #c9cdd1; }
.hero--dark .hero__media { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { position: relative; width: auto; height: 300px; margin-inline: calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%); }
  .hero--dark .hero__media { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
  .hero__content { padding-bottom: 8px; }
}

/* Barre de recherche devis (accueil) */
.quick-wrap { padding-bottom: clamp(32px, 5vw, 56px); }
.perks { margin-top: clamp(32px, 4vw, 48px); }
.quick-quote {
  position: relative; z-index: 3; margin-top: -48px;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 20px; align-items: end;
  padding: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.quick-quote .field { margin: 0; }
@media (max-width: 900px) {
  .quick-quote { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .quick-quote .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .quick-quote { grid-template-columns: 1fr; } }

/* Atouts */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk__icon {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #ebe8e2; color: var(--ink);
}
.perk__icon svg { width: 24px; height: 24px; }
.perk h2, .perk h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.perk p { font-size: .92rem; color: var(--muted); }

/* ---------- Cartes service ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card { position: relative; text-decoration: none; color: inherit; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #e7e4de; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.service-card__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service-card__title svg { width: 18px; height: 18px; flex: none; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 6px; }
.service-card__link::after { content: ""; position: absolute; inset: 0; }
.service-card__link { text-decoration: none; color: inherit; }

/* ---------- Formules ---------- */
.formula { padding: 28px; gap: 0; }
.formula--featured { border: 2px solid var(--yellow); box-shadow: 0 10px 30px rgba(255, 198, 11, .18); }
.formula__badge {
  align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px;
  background: var(--yellow-50); color: #6b5200; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.formula__icon { width: 64px; height: 64px; margin-bottom: 18px; color: var(--ink); }
.formula__icon svg { width: 64px; height: 64px; }
.formula h3 { margin-bottom: 8px; }
.formula > p { color: var(--muted); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.check-list { display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 32px; font-size: .95rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141618' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.formula .btn { margin-top: 24px; }

/* ---------- Détails matériel ---------- */
.detail-card { gap: 0; border: 0; background: transparent; }
.detail-card__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #e7e4de; }
.detail-card__media img { width: 100%; height: 100%; object-fit: cover; }
.detail-card__body { display: flex; gap: 14px; padding-top: 16px; }
.icon-badge {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
}
.icon-badge svg { width: 20px; height: 20px; }
.detail-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.detail-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Bloc média + texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media { overflow: hidden; border-radius: var(--radius-lg); background: #e7e4de; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.prose-block h2 { margin-bottom: 18px; }
.prose-block p + p { margin-top: 14px; }
.prose-block strong { color: var(--ink); }

/* ---------- À la carte (fond sombre) ---------- */
.option-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
@media (max-width: 900px) { .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .option-grid { grid-template-columns: 1fr; } }
.option-tile { position: relative; display: block; cursor: pointer; }
.option-tile input { position: absolute; opacity: 0; pointer-events: none; }
.option-tile__box {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%;
  padding: 32px 20px 24px; text-align: center;
  border: 1px solid var(--dark-line); border-radius: var(--radius); background: var(--dark-2);
  transition: border-color .2s, background-color .2s;
}
.option-tile__box::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px;
  border: 1.5px solid #9aa0a6; border-radius: 4px; transition: background-color .2s, border-color .2s;
}
.option-tile__icon { width: 56px; height: 56px; color: var(--yellow); }
.option-tile__icon svg { width: 56px; height: 56px; }
.option-tile strong { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.option-tile span { font-size: .9rem; color: #b9bec3; }
.option-tile:hover .option-tile__box { border-color: #6b7177; }
.option-tile input:checked + .option-tile__box { border-color: var(--yellow); background: #2a2a24; }
.option-tile input:checked + .option-tile__box::after {
  border-color: var(--yellow);
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141618' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.option-tile input:focus-visible + .option-tile__box { outline: 3px solid var(--yellow); outline-offset: 3px; }
.center { text-align: center; }
.more-link { margin-top: 32px; }

/* ---------- Processus ---------- */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: step; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.process li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; }
.process__num {
  grid-row: span 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #e8e5df; font-weight: 700; color: var(--ink);
}
.process__icon { width: 32px; height: 32px; color: var(--ink); }
.process h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
.process p { font-size: .93rem; color: var(--muted); }

/* ---------- Valeurs / engagement ---------- */
.value-card { padding: 28px; }
.value-card .icon-badge { margin-bottom: 18px; width: 52px; height: 52px; }
.value-card .icon-badge svg { width: 24px; height: 24px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Bandeau CTA sombre ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--dark); color: #c9cdd1; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 30%, rgba(23, 25, 27, .55)); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-block: var(--section-y); }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { max-width: 520px; margin-bottom: 28px; }
.facts { display: grid; gap: 22px; list-style: none; }
.facts li { display: flex; gap: 16px; align-items: center; color: #e6e8ea; }
.facts svg { width: 30px; height: 30px; flex: none; color: #fff; }

/* Bandeau CTA clair */
.cta-strip {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius-lg); background: #ece9e3;
}
.cta-strip__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); }
.cta-strip__icon svg { width: 24px; height: 24px; }
.cta-strip__text { flex: 1 1 260px; }
.cta-strip h2 { font-size: 1.5rem; margin-bottom: 4px; }
.cta-strip p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item[open] { border-color: var(--line-2); }
.faq__answer { padding: 0 20px 18px; color: var(--muted); }
.faq__answer p + p { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 3; margin-top: -40px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; margin-top: 16px; } }
.contact-card { flex-direction: row; gap: 18px; padding: 26px; box-shadow: var(--shadow); }
.contact-card .icon-badge { width: 52px; height: 52px; }
.contact-card .icon-badge svg { width: 22px; height: 22px; }
.icon-badge--green { background: var(--green); color: #fff; }
.contact-card h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.contact-card p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.contact-card__phone { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.contact-card__phone:hover { color: #000; text-decoration: underline; text-decoration-color: var(--yellow); }

.zone { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }
.zone h2 { margin-bottom: 22px; }
.zone p + p { margin-top: 14px; }
.zone__map img { width: 100%; -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 62%, transparent 100%); }

/* ---------- Formulaires ---------- */
.form-card { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-card__head { margin-bottom: 24px; }
.form-card__head::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 16px; background: var(--yellow); }
.form-card__head h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 8px; }
.form-card__head p { color: var(--muted); }

.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .field .label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field .label small, .field label small { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface-2);
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder, .textarea::placeholder { color: #9a9ea3; }
.input:hover, .select:hover, .textarea:hover { border-color: #b9b4aa; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(255, 198, 11, .45); }
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141618' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field-error { display: none; font-size: .82rem; color: var(--danger); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); }
.field.is-invalid .field-error { display: block; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.checkbox a { color: var(--ink); }
.form-note { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.form-alert { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #8a1c1c; font-size: .92rem; }
.form-alert.is-visible { display: block; }

/* Tuiles de choix (radio / checkbox) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.choices--lg { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%;
  min-height: 92px; padding: 16px 12px; text-align: center;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  font-weight: 600; font-size: .95rem; color: var(--ink); transition: border-color .2s, background-color .2s;
}
.choice__box small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.choice__box svg { width: 24px; height: 24px; }
.choice--row .choice__box { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 0; padding: 16px; text-align: left; }
.choice--row .choice__box > span { display: grid; gap: 2px; }
.choice:hover .choice__box { border-color: var(--line-2); }
.choice input:checked + .choice__box { border-color: var(--yellow); background: var(--yellow-50); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Interrupteur */
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: .92rem; color: var(--ink-2); }
.switch input { position: absolute; opacity: 0; }
.switch__track { position: relative; width: 44px; height: 24px; flex: none; border-radius: 999px; background: #d7d3cb; transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + .switch__track { background: var(--yellow-600); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Zone de dépôt */
.dropzone {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  padding: 28px 20px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--surface-2);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--ink); background: #fff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 34px; height: 34px; color: var(--ink); }
.dropzone strong { display: block; color: var(--ink); }
.dropzone small { display: block; color: var(--muted); font-size: .8rem; }
.file-list { display: grid; gap: 6px; margin-top: 10px; list-style: none; font-size: .85rem; color: var(--ink-2); }

/* ---------- Devis multi-étapes ---------- */
.stepper { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; list-style: none; overflow-x: auto; padding-bottom: 4px; }
.stepper li { display: flex; align-items: center; gap: 10px; flex: 1 0 auto; font-size: .9rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.stepper li:not(:last-child)::after { content: ""; flex: 1; min-width: 24px; height: 1px; background: var(--line-2); }
.stepper__dot { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #d9d6cf; color: #fff; font-weight: 700; }
.stepper__dot svg { width: 16px; height: 16px; }
.stepper li.is-active { color: var(--ink); font-weight: 700; }
.stepper li.is-active .stepper__dot, .stepper li.is-done .stepper__dot { background: var(--yellow); color: var(--ink); }
@media (max-width: 640px) { .stepper__label { display: none; } .stepper li.is-active .stepper__label { display: inline; } }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quote-step legend { padding: 0; margin-bottom: 22px; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.js .quote-step[hidden] { display: none; }
.quote-step + .quote-step { margin-top: 40px; }
.js .quote-step + .quote-step { margin-top: 0; }
.quote-subhead { margin: 8px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.quote-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.quote-nav .btn--primary { margin-left: auto; }
.no-js-submit { margin-top: 28px; }
.js .no-js-submit { display: none; }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
@media (max-width: 600px) { .date-row { grid-template-columns: 1fr; } }

.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.summary__card { padding: 28px; border-radius: var(--radius-lg); background: var(--dark); color: #d3d6d9; }
.summary__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--dark-line); }
.summary__head svg { width: 40px; height: 40px; color: var(--yellow); flex: none; }
.summary h2 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.summary__service { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #fff; }
.summary__route { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: #fff; font-weight: 600; }
.summary__route svg { width: 18px; height: 18px; color: var(--yellow); }
.summary__list { display: grid; gap: 18px; list-style: none; }
.summary__list li { display: flex; gap: 14px; align-items: center; }
.summary__list .icon-circle { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--dark-2); color: #fff; }
.summary__list svg { width: 20px; height: 20px; }
.summary__list a { color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; text-decoration: none; }
.summary__next { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.summary__next h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.summary__next > p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.mini-list { display: grid; gap: 14px; list-style: none; }
.mini-list li { display: flex; gap: 14px; align-items: center; }
.mini-list .icon-circle { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--bg); }
.mini-list svg { width: 18px; height: 18px; }
.mini-list strong { display: block; color: var(--ink); font-size: .95rem; }
.mini-list span { font-size: .85rem; color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--yellow-50); font-size: .85rem; color: #5c4800; }
.notice svg { width: 20px; height: 20px; flex: none; }

/* ---------- Zones d'intervention ---------- */
.prose-block a:not(.link-arrow):not(.btn) { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose-block a:not(.link-arrow):not(.btn):hover { text-decoration-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s;
}
.chip svg { width: 16px; height: 16px; color: var(--yellow-600); }
.chip:hover { border-color: var(--ink); }
.chip--all { background: var(--yellow); border-color: var(--yellow); }
.chip--all svg { color: var(--ink); }
.chip--all:hover { background: var(--yellow-600); border-color: var(--yellow-600); }
.zone-groups { display: grid; gap: 36px; }
.zone-group p { color: var(--muted); margin-top: 8px; }
.svc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
@media (max-width: 900px) { .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-links { grid-template-columns: 1fr; } }
.svc-link { flex-direction: row; align-items: center; gap: 14px; height: 100%; padding: 18px; text-decoration: none; color: inherit; }
.svc-link:hover { border-color: var(--ink); }
.svc-link strong { display: block; color: var(--ink); }
.svc-link small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- Pages légales / texte ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 32px); }
.page-head .lead { margin-top: 16px; max-width: 760px; }
.legal { padding-bottom: var(--section-y); }
.legal > * { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--ink); }
.legal__updated { color: var(--muted); font-size: .9rem; }
.legal__toc { margin: 24px 0 8px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal__toc ol { columns: 2; column-gap: 32px; padding-left: 22px; }
.legal__toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 600px) { .legal__toc ol { columns: 1; } }
.legal h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal__form { margin-top: 12px; padding: 24px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.form-note a { color: var(--ink); }
.todo { background: var(--yellow-50); color: #5c4800; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* Page merci / 404 */
.message-page { display: grid; place-items: center; min-height: 60vh; padding-block: var(--section-y); text-align: center; }
.message-page__icon { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%; background: var(--yellow); }
.message-page__icon svg { width: 36px; height: 36px; }
.message-page h1 { margin-bottom: 16px; }
.message-page .lead { max-width: 560px; margin: 0 auto 32px; }
.message-page .hero__actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: #b9bec3; font-size: .9rem; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-block: 56px 40px; }
@media (max-width: 1024px) { .site-footer__top { grid-template-columns: repeat(3, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer__brand p { margin-top: 16px; max-width: 300px; }
.site-footer h2 { margin-bottom: 14px; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 8px; list-style: none; }
.site-footer a { color: #d3d6d9; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; border-top: 1px solid var(--dark-line); font-size: .82rem; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* Bouton d'appel flottant (mobile) */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; grid-template-columns: auto 1fr; gap: 10px;
  padding: 8px; border-radius: 14px; background: var(--dark); box-shadow: var(--shadow-lg);
}
.mobile-cta .btn { min-height: 46px; }
.mobile-cta .btn--call { background: var(--dark-2); color: #fff; padding-inline: 16px; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 76px; }
}

/* ==========================================================================
   Outils : estimateur de volume, checklist, section d'accueil
   ========================================================================== */
.truck { width: 100%; max-width: 340px; height: auto; margin: 8px 0; overflow: visible; }
.truck__body { fill: #2b2f33; stroke: #4a5056; stroke-width: 2; }
.truck__fill { fill: var(--yellow); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.truck__cab { fill: #3a3f44; }
.truck__window { fill: #8fa3b3; opacity: .55; }
.truck__wheel { fill: #0e0f10; stroke: #4a5056; stroke-width: 2; }
.truck__hub { fill: #9aa0a6; }

.estimate__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a9aeb3; }
.estimate__total { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.estimate__fill { color: #d3d6d9; font-size: .95rem; min-height: 1.5em; }

.estimator { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .estimator { grid-template-columns: 1fr; } }
.inv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .inv { grid-template-columns: 1fr; } }
.inv__group { margin: 0; padding: 18px 18px 8px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.inv__group legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.inv__group legend svg { width: 20px; height: 20px; color: var(--yellow-600); }
.inv__list { list-style: none; }
.inv__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.inv__row:first-child { border-top: 0; }
.inv__name { min-width: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.inv__name small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.stepper-input { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); }
.qty-btn { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 50%; touch-action: manipulation; }
.qty-btn:hover { background: var(--yellow-50); }
.qty { width: 40px; height: 44px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus { outline: 3px solid var(--yellow); border-radius: 6px; }

.estimate { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.estimate__card { display: grid; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--dark); color: #d3d6d9; }
.estimate__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 8px; padding-top: 14px; border-top: 1px solid var(--dark-line); }
.estimate__facts dt { font-size: .8rem; color: #a9aeb3; }
.estimate__facts dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff; }
@media (max-width: 960px) {
  /* Sur mobile, le résultat reste visible en bas de l'écran */
  .estimate { position: sticky; bottom: 0; top: auto; z-index: 20; order: 2; }
  .estimate__card { grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .25); margin-inline: calc(var(--gutter) * -1); }
  .estimate__card .estimate__label { grid-column: 1 / -1; }
  .estimate__card .estimate__total { font-size: 2.2rem; }
  .estimate__card .truck { max-width: 150px; margin: 0; justify-self: end; }
  .estimate__card .estimate__fill { grid-column: 1 / -1; font-size: .88rem; }
  .estimate__card .estimate__facts, .estimate__card [data-reset] { display: none; }
  .estimate__card .btn { grid-column: 1 / -1; }
  .estimate .form-note { display: none; }
  body:has([data-estimator]) .mobile-cta { display: none; }
  body:has([data-estimator]) { padding-bottom: 0; }
}

.tools { overflow: hidden; }
.tools__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .tools__grid { grid-template-columns: 1fr; } }
.tools__text h2 { margin-bottom: 16px; }
.tools__text p { max-width: 540px; margin-bottom: 28px; }
.tools__demo { display: grid; gap: 8px; padding: 28px; border: 1px solid var(--dark-line); border-radius: var(--radius-lg); background: var(--dark-2); }

.guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .guide__side { order: -1; } }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.timeline__step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline__step:last-child::before { display: none; }
.timeline__dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); font-weight: 800; color: var(--ink); }
.timeline__body { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.timeline__body h2 { margin-bottom: 10px; }
.todo-list { list-style: none; display: grid; gap: 2px; }
.todo-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; cursor: pointer; color: var(--ink-2); }
.todo-item input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.todo-item input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--yellow-600); text-decoration-thickness: 2px; }
.guide__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 960px) { .guide__side { position: static; } }
.guide__progress, .guide__cta { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.guide__progress .estimate__label { color: var(--muted); }
.guide__count { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.progress { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .3s; }
.link-reset { justify-self: start; padding: 6px 0; border: 0; background: none; color: var(--muted); font-size: .88rem; text-decoration: underline; cursor: pointer; }
.guide__cta { background: var(--yellow-50); border-color: #f3e3a6; }
.guide__cta p { color: var(--ink-2); font-size: .95rem; }

/* Liens « outils » dans le menu mobile */
.main-nav__tools { display: none; }
@media (max-width: 1024px) {
  .main-nav__tools { display: grid; gap: 8px; margin-top: 20px; list-style: none; }
  .main-nav__tools a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--yellow-50); font-weight: 600; color: var(--ink); text-decoration: none; }
  .main-nav__tools svg { width: 20px; height: 20px; }
}

/* ==========================================================================
   Responsive : finitions toutes tailles d'écran
   ========================================================================== */
h1, h2, .h1, .h2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .h1 { font-size: 2.1rem; }
  .h2 { font-size: 1.75rem; }
  .logo__word { font-size: 1.75rem; }
  .logo__tag { font-size: .55rem; letter-spacing: .1em; }
  .btn { padding-inline: 18px; }
  .hero__actions .btn { width: 100%; }
}

/* Grilles de 3 sur tablette : pas de carte orpheline */
@media (min-width: 601px) and (max-width: 980px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-3 > .service-card:last-child:nth-child(odd) { flex-direction: row; }
  .grid-3 > .service-card:last-child:nth-child(odd) .service-card__media { flex: 0 0 45%; aspect-ratio: auto; }
  .svc-links > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 701px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pied de page tablette : marque sur toute la largeur, 4 colonnes dessous */
@media (min-width: 601px) and (max-width: 1024px) {
  .site-footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* iPhone : zones de sécurité (encoche, barre d'accueil) */
.site-header__inner, .container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.mobile-cta { bottom: calc(12px + env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); }
@media (max-width: 760px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
.site-footer__bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

/* Téléphone à l'horizontale : héros compact */
@media (max-height: 500px) and (orientation: landscape) {
  .hero__media { height: 220px; }
  .hero__content { padding-block: 24px; }
  .main-nav { padding-top: 12px; }
}

/* Très grands écrans */
@media (min-width: 1600px) {
  :root { --container: 1280px; }
  .hero__grid { min-height: 620px; }
}

/* Appareils tactiles : pas d'effet de survol « collé » */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: none; }
  .service-card:hover .service-card__media img { transform: none; }
}

/* ==========================================================================
   Impression (checklist, CGV, mentions légales)
   ========================================================================== */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  .site-header, .site-footer, .mobile-cta, .skip-link, .breadcrumb, .cta-band, .cta-strip, .guide__side, .hero__media, .hero__actions, .section--dark, [data-print], .legal__toc { display: none !important; }
  .page-head, .section, .section--tight { padding-block: 8px; }
  .timeline__body, .card { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .timeline__step::before { display: none; }
  .timeline__dot { background: none; border: 1.5px solid #000; }
  .guide { display: block; }
  a { color: #000; text-decoration: none; }
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  h1, h2 { break-after: avoid; }
  .todo { background: none; }
}
@media (max-width: 600px) {
  .timeline__step { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .timeline__dot { width: 32px; height: 32px; font-size: .9rem; }
  .timeline__step::before { left: 15px; top: 32px; }
  .timeline__body { padding: 16px; }
}
.nav-toggle { flex: none; }
.logo { min-width: 0; }
@media (min-width: 1600px) {
  /* Image du héros limitée pour rester nette sur grand écran */
  .hero__media { width: min(52%, 820px); }
}
.link-reset { min-height: 44px; } .guide__cta .link-arrow { min-height: 44px; }

/* ==========================================================================
   Ordinateurs portables (écran peu haut, souvent mis à l'échelle 125 % / 150 % par Windows)
   Tout est un peu plus compact pour que la page ne paraisse pas « zoomée ».
   ========================================================================== */
@media (min-width: 861px) and (max-height: 820px) {
  :root { --header-h: 64px; --section-y: clamp(48px, 6vw, 80px); }
  .h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
  .hero:not(.hero--dark) .hero__title { font-size: clamp(2.1rem, 3.8vw, 3rem); }
  .h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
  .hero__grid { min-height: clamp(380px, 70vh, 520px); }
  .hero__content { padding-block: 36px; }
  .hero--dark .hero__content { padding-bottom: 84px; }
  .hero__text { margin-bottom: 24px; }
  .page-head { padding-block: 32px 20px; }
  .lead { font-size: 1.05rem; }
  .logo__word { font-size: 1.75rem; }
}

/* ==========================================================================
   Devis : blocs d'adresse et champs conditionnels
   ========================================================================== */
.addr, .cond { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.addr { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.addr__title { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.addr__title svg { width: 20px; height: 20px; color: var(--yellow-600); flex: none; }
.addr > .form-note { margin: -8px 0 12px; }
.addr .input, .addr .select { background-color: #fff; }
.cond--inner { margin: 16px 0 0; padding: 18px; border-radius: var(--radius-sm); background: var(--yellow-50); }
.cond--inner .input { background-color: #fff; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-row--cp { grid-template-columns: 140px minmax(0, 1fr); }
@media (max-width: 600px) {
  .field-row--3 { grid-template-columns: 1fr 1fr; }
  .field-row--3 > :first-child { grid-column: 1 / -1; }
  .field-row--cp { grid-template-columns: 110px minmax(0, 1fr); gap: 0 12px; }
  .addr { padding: 16px; }
}
.date-row { align-items: end; }
.switch { margin-bottom: 8px; }

/* Suggestions d'adresses */
.addr__search { position: relative; }
.addr-suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 4px); margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.addr-suggest li { display: grid; gap: 1px; padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.addr-suggest li strong { color: var(--ink); font-weight: 600; font-size: .95rem; }
.addr-suggest li span { color: var(--muted); font-size: .82rem; }
.addr-suggest li:hover, .addr-suggest li[aria-selected="true"] { background: var(--yellow-50); }

.quick-quote__note { grid-column: 1 / -1; order: 5; margin: -6px 0 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 901px) { .quick-quote { grid-template-columns: 1.2fr 1fr auto; } .quick-quote__note { order: 0; } }
.summary__list a.summary__small { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--yellow); text-decoration: underline; }
.contact-card .link-arrow { margin-top: 4px; font-size: .92rem; }

/* ==========================================================================
   Rendez-vous téléphonique
   ========================================================================== */
.rdv { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .rdv { grid-template-columns: 1fr; } }
.rdv__pick { display: grid; gap: 20px; min-width: 0; }
.rdv__block { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.rdv__h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.rdv__h svg { width: 20px; height: 20px; color: var(--yellow-600); }
.rdv__h small { font-family: var(--font-body); font-weight: 500; font-size: .92rem; color: var(--muted); }
.rdv__days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rdv__day {
  flex: 0 0 auto; display: grid; justify-items: center; gap: 0; width: 66px; padding: 10px 4px; scroll-snap-align: start;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; color: var(--ink);
  font-family: var(--font-body); transition: border-color .15s, background-color .15s;
}
.rdv__day strong { font-family: var(--font-head); font-size: 1.4rem; line-height: 1.2; }
.rdv__dow, .rdv__mon { font-size: .78rem; color: var(--muted); text-transform: capitalize; }
.rdv__day:hover:not([disabled]) { border-color: var(--ink); }
.rdv__day[aria-selected="true"] { border-color: var(--yellow); background: var(--yellow); }
.rdv__day[aria-selected="true"] .rdv__dow, .rdv__day[aria-selected="true"] .rdv__mon { color: var(--ink); }
.rdv__day[disabled] { opacity: .4; cursor: not-allowed; background: transparent; }
.rdv__day.is-closed strong { text-decoration: line-through; }
.rdv__period { margin: 4px 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rdv__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 14px; }
.rdv__slot {
  min-height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; cursor: pointer;
  font: 700 .95rem var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s;
}
.rdv__slot:hover:not([disabled]) { border-color: var(--ink); }
.rdv__slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rdv__slot[disabled] { cursor: not-allowed; color: #b4b0a8; background: repeating-linear-gradient(135deg, #f7f6f3 0 6px, #efede8 6px 12px); text-decoration: line-through; border-color: var(--line); }
.rdv__loading, .rdv__empty { color: var(--muted); font-size: .95rem; padding: 6px 0; }
.rdv__form { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .rdv__form { position: static; } }
.rdv__chosen { margin-top: 6px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg); color: var(--muted); font-size: .95rem; }
.rdv__chosen.is-set { background: var(--yellow-50); color: var(--ink); font-weight: 700; }
.rdv__form .form-card__head { margin-bottom: 16px; }
.rdv__form .form-card__head::before { display: none; }
.rdv__done { grid-column: 1 / -1; padding: clamp(28px, 5vw, 56px); text-align: center; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.rdv__done .lead { max-width: 620px; margin: 12px auto; }
.rdv__done:focus { outline: none; }
.form-alert.is-visible { display: block; }
.quote-step legend.addr__title { margin-bottom: 14px; font-size: 1.15rem; letter-spacing: -.01em; }
.quote-step legend.visually-hidden { margin: -1px; }
.addr > legend.addr__title { float: left; width: 100%; }
.addr > legend.addr__title + * { clear: both; }
.rdv__form .form-card__head .h3 { font-size: 1.15rem; }
