/* ============================================================
   Calculette Déménagement · comparateur de déménagement
   ============================================================ */

:root {
  --bg: #f7f6f2;
  --surface: #fff;
  --surface-alt: #f2f1ec;
  --ink: #17203a;
  --muted: #5b6478;
  --faint: #8a92a6;
  --border: #e6e5df;
  --border-strong: #d9d8d1;
  --blue: #2557d6;
  --blue-dark: #1c44b0;
  --blue-light: #eef2fd;
  --blue-lighter: #e0e8fc;
  --blue-border: #d5def6;
  --track: #e2e6f2;
  --green: #0f7355;
  --green-bg: #e9f5f0;
  --amber: #8a6d00;
  --amber-bg: #fbf3d9;
  --dark: #17203a;
  --dark-muted: #aeb6cc;
  --display: "Bricolage Grotesque", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 24px 60px -30px rgba(20, 30, 60, 0.25);
  --shadow-panel: 0 20px 50px -30px rgba(20, 30, 60, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

input,
button,
select,
textarea {
  font-family: inherit;
}

::selection {
  background: #cfdcfa;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

img {
  max-width: 100%;
}

/* ---------- Typographie ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  margin-top: 8px;
  max-width: 640px;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.wrap--narrow {
  max-width: 1000px;
}

.wrap--prose {
  max-width: 820px;
}

main {
  flex: 1;
}

.page {
  padding: 44px 0 72px;
}

.section {
  padding: 48px 0;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

/* Second mot de la marque : présent mais en retrait, pour que
   « Calculette » reste le point d'accroche visuel. */
.brand__name-alt {
  font-weight: 500;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  font-weight: 600;
  color: var(--ink);
  background: var(--blue-light);
}

/* Dropdown "Calculateurs" : regroupe les 4 outils sous une seule
   entrée de nav pour ne pas surcharger le header. */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-dropdown__trigger:hover {
  color: var(--ink);
}

.nav-dropdown__trigger[aria-expanded="true"],
.nav-dropdown__trigger[data-active="true"] {
  font-weight: 600;
  color: var(--ink);
  background: var(--blue-light);
}

.nav-dropdown__caret {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.15s;
}

.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-dropdown__panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  min-width: 290px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-panel);
}

.nav-dropdown.is-open .nav-dropdown__panel {
  display: flex;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  color: inherit;
}

.nav-dropdown__item:hover {
  background: var(--bg);
  color: inherit;
}

.nav-dropdown__item[aria-current="page"] {
  background: var(--blue-light);
}

.nav-dropdown__item-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
}

.nav-dropdown__item-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.nav-dropdown__item-desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.header-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 9px 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 16px 26px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-align: center;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--sm {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--soft {
  background: var(--blue-light);
  color: var(--blue);
  border: none;
  border-radius: 9px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.btn--soft:hover {
  background: var(--blue-lighter);
}

.btn--block {
  width: 100%;
}

.btn--link {
  background: none;
  border: none;
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
}

.btn--link:hover {
  color: var(--ink);
}

.back-link {
  display: inline-block;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 14px;
  padding: 0;
}

.back-link:hover {
  color: var(--blue);
}

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 100px;
}

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.pill--green {
  color: var(--green);
  background: var(--green-bg);
}

.pill--amber {
  color: var(--amber);
  background: var(--amber-bg);
}

.pill--blue {
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--blue-border);
}

/* ---------- Cartes ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-panel);
}

.panel--dark {
  background: var(--dark);
  border: none;
  border-radius: 18px;
  padding: 26px;
  color: #fff;
  box-shadow: none;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 22px 0 0;
}

.hero__text {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 520px;
}

.hero__text strong {
  color: var(--ink);
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stats__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
}

.stats__label {
  font-size: 13px;
  color: var(--muted);
}

.stats__rule {
  width: 1px;
  background: var(--border);
}

.hero__preview {
  position: relative;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.preview-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-card__body {
  margin: 16px 0;
  padding: 20px;
  background: var(--bg);
  border-radius: 14px;
}

.preview-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 4px 2px;
}

.progress {
  height: 8px;
  background: var(--track);
  border-radius: 6px;
  margin-top: 10px;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  background: var(--blue);
  border-radius: 6px;
}

.float-tag {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 16px 40px -18px rgba(20, 30, 60, 0.5);
}

/* ---------- Grille d'outils ---------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tool-card {
  display: block;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  transition: 0.15s;
  color: inherit;
}

.tool-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  color: inherit;
}

.tool-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}

.tool-card__title {
  font-weight: 600;
  font-size: 17px;
  margin-top: 16px;
}

.tool-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}

.tool-card__link {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  margin-top: 14px;
}

/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 44px;
}

.step {
  text-align: center;
}

.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.step h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 19px;
  margin-top: 18px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 8px auto 0;
  max-width: 300px;
}

/* ---------- Liens guides ---------- */

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.guide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  color: inherit;
}

.guide-link:hover {
  border-color: var(--blue);
  color: inherit;
}

.guide-link__title {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.guide-link__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.guide-link__arrow {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- CTA finale ---------- */

.cta {
  background: var(--dark);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(37, 87, 214, 0.35);
  filter: blur(20px);
}

.cta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  color: #fff;
  position: relative;
}

.cta p {
  color: var(--dark-muted);
  font-size: 18px;
  margin-top: 12px;
  position: relative;
}

.cta .btn {
  margin-top: 28px;
  position: relative;
  font-size: 17px;
  padding: 17px 32px;
}

.cta .btn--primary:hover {
  background: #3b6ef0;
}

/* ---------- Calculateurs : mise en page ---------- */

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.calc-layout--wide-aside {
  grid-template-columns: 1fr 360px;
}

.form-stack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.field__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}

.field__label {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.field__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue);
}

.label-block {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Range ---------- */

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--track);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(20, 30, 60, 0.25);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  cursor: pointer;
}

input[type="range"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* ---------- Steppers ---------- */

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: 11px;
  padding: 8px 14px;
  width: fit-content;
}

.stepper__btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.stepper__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.stepper__value {
  font-weight: 700;
  font-size: 17px;
  min-width: 24px;
  text-align: center;
}

/* ---------- Segments (choix) ---------- */

.seg-grid {
  display: grid;
  gap: 10px;
}

.seg-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.seg-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.seg {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 11px;
  padding: 12px 8px;
  cursor: pointer;
  text-align: center;
  transition: 0.12s;
  font-weight: 600;
  font-size: 14px;
}

.seg:hover {
  border-color: var(--blue-border);
}

.seg[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--ink);
}

.seg__title {
  font-weight: 700;
  font-size: 15px;
}

.seg__sub {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 3px;
  font-weight: 400;
}

.toggle {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.toggle[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--ink);
}

/* ---------- Récap panneau ---------- */

.recap__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

.recap__total {
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 6px;
}

.recap__meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.recap__rule {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.recap__rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.recap__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.recap__row span:first-child {
  color: var(--muted);
}

.recap__row span:last-child {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.panel--dark .recap__label,
.panel--dark .recap__meta,
.panel--dark .recap__row span:first-child {
  color: var(--dark-muted);
}

.panel--dark .recap__row span:last-child {
  color: #fff;
}

.panel--dark .recap__rule {
  background: rgba(255, 255, 255, 0.12);
}

.panel--dark .recap__total {
  font-size: 38px;
  line-height: 1.05;
}

.panel--dark .btn--primary:hover {
  background: #3b6ef0;
}

.disclaimer {
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.note {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 13px;
  color: #dfe4f2;
}

.tip {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.tip strong {
  color: var(--ink);
}

/* ---------- Calculateur de volume ---------- */

.rooms {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.room {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.room__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.room__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.room__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.room__subtotal {
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  text-align: right;
}

.room__chevron {
  font-size: 13px;
  color: var(--faint);
  min-width: 46px;
  text-align: right;
}

.room__items {
  padding: 4px 22px 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.room[hidden] .room__items,
.room__items[hidden] {
  display: none;
}

.item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 104px;
  justify-content: space-between;
}

.item:hover {
  border-color: #c7cde0;
}

.item__name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.item__vol {
  font-size: 12px;
  color: var(--faint);
  margin-top: 2px;
}

.item__add {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.item__add:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue-light);
  border-radius: 9px;
  padding: 5px;
}

.qty__btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.qty__btn--dec {
  background: var(--surface);
  border: 1px solid var(--blue-border);
  color: var(--blue);
}

.qty__btn--inc {
  background: var(--blue);
  border: none;
  color: #fff;
}

.qty__value {
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}

/* ---------- Camion ---------- */

.truck-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.truck {
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.truck[data-recommended="true"] {
  border-color: var(--blue);
  background: var(--blue-light);
}

.truck__size {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  min-width: 60px;
}

.truck__name {
  font-weight: 600;
  font-size: 15px;
}

.truck__meta {
  font-size: 13px;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
  border: none;
}

/* ---------- Guides / prose ---------- */

.prose p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 18px;
}

.prose strong {
  color: var(--ink);
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
}

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 26px;
}

.prose ul,
.prose ol {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 14px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose a {
  text-decoration: underline;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.price-card__label {
  font-size: 14px;
  color: var(--muted);
}

.price-card__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  margin-top: 4px;
}

.cta-block {
  background: var(--dark);
  border-radius: 18px;
  padding: 32px;
  margin-top: 32px;
  text-align: center;
}

.cta-block__title {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}

.cta-block .btn {
  margin-top: 18px;
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 11px;
}

.cta-block .btn--primary:hover {
  background: #3b6ef0;
}

/* ---------- Devis ---------- */

.devis-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 50px -34px rgba(20, 30, 60, 0.3);
}

.form-card h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  margin-top: 8px;
}

.form-card > p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px;
}

.form-frame {
  margin-top: 26px;
  border-radius: 14px;
  overflow: hidden;
}

.form-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust__check {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.trust__title {
  font-weight: 600;
  font-size: 15px;
}

.trust__desc {
  font-size: 13px;
  color: var(--muted);
}

.quote {
  background: var(--blue-light);
  border-radius: 16px;
  padding: 22px;
}

.quote__text {
  font-size: 15px;
  line-height: 1.55;
  font-style: italic;
}

.quote__author {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 600;
}

.aside-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-grid {
  padding: 48px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-about p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col__title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom .wrap {
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--faint);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--faint);
}

.footer-bottom a:hover {
  color: var(--blue);
}

/* ---------- Accessibilité ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-layout,
  .calc-layout--wide-aside,
  .devis-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* La marque « Calculette Déménagement » + les entrées de nav (Accueil,
   Calculateurs, Guides) + le CTA ne tiennent plus sur une ligne sous
   ~1150px : on bascule sur le menu déplié bien avant les tailles mobiles. */
@media (max-width: 1150px) {
  .site-header .wrap {
    flex-wrap: wrap;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 10px;
  }

  .nav-dropdown__panel {
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0 0 6px 12px;
  }
}

@media (max-width: 860px) {
  .wrap {
    padding: 0 20px;
  }

  .header-cta {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .room__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .seg-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 36px 22px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .form-card h1 {
    font-size: 27px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 40px 0 24px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__text {
    font-size: 17px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats {
    gap: 18px;
  }

  .stats__value {
    font-size: 22px;
  }

  .float-tag {
    position: static;
    margin-top: 14px;
  }

  .page h1 {
    font-size: 28px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .room__items {
    grid-template-columns: 1fr;
  }

  .seg-grid--3 {
    grid-template-columns: 1fr;
  }

  .form-stack {
    padding: 22px 18px;
  }

  .recap__total {
    font-size: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom .wrap {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta,
  .btn {
    display: none;
  }
}
