/* ============================================================
   Auto Plus 01 — page « Vendre sa voiture » (direction A, « le guide du comptoir »)
   En-tête et sommaire, reprise et dépôt-vente côte à côte, 4 étapes, papiers à cocher,
   questions dépliables, puis le bon de reprise (styles communs dans base.css, 9 bis).
   Aucune animation en dehors des survols du site.
   ============================================================ */

/* ---------- En-tête : titre, deux lignes, bouton ; sommaire à droite ---------- */
.vendre-intro { padding-block: 40px 88px; }
.vendre-intro__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 28px clamp(40px, 6vw, 96px); align-items: end;
}
.vendre-intro__crumb { grid-column: 1 / -1; }
.vendre-intro__crumb a { min-width: 24px; }
.vendre-intro__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.vendre-intro__text .display { overflow-wrap: anywhere; }
.vendre-intro__text .lead { max-width: 620px; }
.vendre-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.vendre-intro__tel { font-size: 15px; line-height: 1.5; color: var(--text-dim); }
.vendre-intro__tel a { color: var(--text); font-weight: 800; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-hover); }
.vendre-intro__tel a:hover { color: var(--accent-soft); text-decoration-color: currentColor; }

.sommaire { display: flex; flex-direction: column; gap: 6px; padding-left: 28px; border-left: 1px solid var(--border-strong); }
.sommaire__titre { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.sommaire__list a {
  display: flex; align-items: center; gap: 14px; min-height: 46px;
  border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap;
}
.sommaire__list li:last-child a { border-bottom: 0; }
.sommaire__list a:hover { color: var(--accent-soft); }
.sommaire__num { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.sommaire__list a:hover .sommaire__num { color: inherit; }

/* ---------- Reprise ou dépôt-vente : deux fiches dont les lignes s'alignent (subgrid) ---------- */
.comparer { display: flex; flex-direction: column; gap: 36px; }
.duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(5, auto) auto; column-gap: 24px;
}
.duo__card {
  grid-row: span 7; display: grid; grid-template-rows: subgrid;
  padding: 28px 30px 26px; border: 1px solid var(--border); border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(var(--light), 0.045), rgba(var(--light), 0) 160px), var(--panel);
}
.duo__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; }
.duo__title { font-family: var(--font-display); font-stretch: 115%; font-weight: 900; font-size: 30px; line-height: 1.05; letter-spacing: -0.01em; }
.duo__lead { font-size: 16px; color: var(--text-dim); }
.duo__rows { grid-row: 2 / span 5; display: grid; grid-template-rows: subgrid; }
.duo__row {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 16px; align-items: baseline;
  padding-block: 14px; border-top: 1px solid var(--line);
}
.duo__row dt { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.duo__row dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.duo__price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--border-strong);
}
.duo__price-label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.duo__price strong { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Comment ça se passe : 4 étapes ---------- */
.parcours {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin-top: 40px;
}
.parcours__step { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.parcours__step:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: 52px; right: -16px; height: 1px; background: var(--border-strong);
}
.parcours__title { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 19px; line-height: 1.2; margin-top: 4px; }
.parcours__step p { font-size: 15px; line-height: 1.55; color: var(--text-dim); }

/* ---------- Les papiers à apporter : liste à cocher ---------- */
.papiers {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  gap: 40px clamp(40px, 6vw, 88px); align-items: start;
}
.papiers__text { display: flex; flex-direction: column; gap: 20px; }
.papiers__text .lead { max-width: 480px; }
.papiers__source { font-size: 14px; line-height: 1.55; color: var(--text-dim); max-width: 480px; }
.papiers a, .faq a {
  color: var(--accent-soft); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 107, 91, 0.45);
}
.papiers a:hover, .faq a:hover { color: var(--text); text-decoration-color: currentColor; }
.papiers__panel {
  display: flex; flex-direction: column; gap: 18px;
  padding: 10px 28px 24px; border: 1px solid var(--border); border-radius: var(--radius-panel); background: var(--panel);
}
.coches li + li { border-top: 1px solid var(--line); }
.coche {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; align-items: start;
  padding-block: 16px; cursor: pointer;
}
.coche__box {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0;
  width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--border-hover); background: var(--navy);
  display: grid; place-items: center; cursor: pointer;
}
.coche__box::before {
  content: ""; width: 7px; height: 13px; margin-top: -3px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0;
}
.coche__box:checked { background: var(--accent); border-color: var(--accent); }
.coche__box:checked::before { opacity: 1; }
.coche:hover .coche__box:not(:checked) { border-color: var(--text-dim); }
.coche__box:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.coche__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.coche__text strong { font-weight: 800; font-size: 16px; line-height: 1.35; }
.coche__text > span { font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.coche:has(.coche__box:checked) strong { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--accent-soft); }
.papiers__note {
  display: flex; gap: 12px; align-items: flex-start;
  padding-top: 18px; border-top: 1px solid var(--border-strong);
  font-size: 14px; line-height: 1.55; color: var(--text-dim);
}
.papiers__note .i { font-size: 18px; color: var(--accent-soft); flex-shrink: 0; margin-top: 2px; }

/* ---------- Vos questions : réponses dépliables ---------- */
.faq {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 88px); align-items: start;
}
.faq__head { display: flex; flex-direction: column; gap: 16px; }
.faq__aside { font-size: 15px; line-height: 1.5; color: var(--text-dim); }
.faq__aside a { white-space: nowrap; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 800; line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent-soft); }
.faq__q:focus-visible { outline-offset: 2px; border-radius: 6px; }
.faq__q .i { flex-shrink: 0; font-size: 20px; color: var(--text-dim); }
.faq__item[open] .faq__q .i { transform: rotate(180deg); }
.faq__a { padding: 0 44px 22px 0; }
.faq__a p { font-size: 16px; line-height: 1.6; color: var(--text-dim); max-width: 680px; }

/* ---------- Le bon de reprise : moyens de contact à côté du formulaire ---------- */
.reprise__contact { display: flex; flex-wrap: wrap; gap: 12px; }
.reprise__contact .btn .i { font-size: 20px; }

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) {
  .vendre-intro { padding-block: 32px 64px; }
  .vendre-intro__inner { grid-template-columns: minmax(0, 1fr); }
  .sommaire { display: none; }
  .parcours { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 680px; }
  .parcours__step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding-bottom: 26px; }
  .parcours__step:last-child { padding-bottom: 0; }
  .parcours__step .step-num { grid-row: 1 / span 2; }
  .parcours__title { margin-top: 7px; }
  .parcours__step:not(:last-child)::after { top: 44px; bottom: 8px; left: 17.5px; right: auto; width: 1px; height: auto; }
  .papiers { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .duo { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 16px; }
  .duo__card, .duo__rows { grid-row: auto; grid-template-rows: none; }
  .duo__rows { display: block; }
}
@media (max-width: 640px) {
  .vendre-intro { padding-block: 20px 48px; }
  .vendre-intro__text { gap: 16px; }
  .vendre-intro__text .lead { font-size: 16px; }
  .vendre-intro__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .vendre-intro__actions .btn { width: 100%; min-height: 56px; }
  .comparer { gap: 24px; }
  .duo__card { padding: 22px 18px 20px; }
  .duo__title { font-size: 26px; }
  .duo__row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: 12px; }
  .parcours { margin-top: 28px; }
  .parcours__title { font-size: 17px; }
  .parcours__step p { font-size: 14px; }
  .papiers__panel { padding: 4px 18px 20px; }
  .coche { gap: 14px; padding-block: 14px; }
  .coche__text strong { font-size: 15px; }
  .coche__text > span { font-size: 13px; }
  .faq__q { font-size: 16px; min-height: 60px; }
  .faq__a { padding-right: 0; }
  .faq__a p { font-size: 15px; }
  .reprise__contact .btn { flex: 1 1 100%; }
}
