/* Repris de la maquette : fond clair, vert profond pour l'action, jaune pour le prix. Mobile d'abord. */
:root {
  --fond: #FAF8F3; --encre: #1B1F1D; --doux: #4A524F; --bord: #D9D4C8; --bord-clair: #E2DED5;
  --vert: #0B6E4F; --vert-fonce: #084F39; --vert-pale: #E3F1EA; --jaune: #F2D28B; --alerte: #FBF1DC; --rouille: #8A3B12;
  --rayon: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: Manrope, system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: var(--vert); } a:hover { color: var(--vert-fonce); }
.page { max-width: 440px; margin: 0 auto; padding: 20px 20px 32px; min-height: 100vh; display: flex; flex-direction: column; gap: 20px; }
.entete { display: flex; align-items: center; justify-content: space-between; }
.marque { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--encre); }
.logo { width: 28px; height: 28px; border-radius: 8px; background: var(--vert); display: grid; place-items: center; }
.prix { font-size: 13px; font-weight: 700; background: var(--jaune); padding: 6px 10px; border-radius: 999px; }
h1 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.4px; }
h2 { margin: 0; font-size: 16px; font-weight: 800; }
p { margin: 0; }
.doux { color: var(--doux); }
.petit { font-size: 13px; }
.centre { text-align: center; }

.bouton { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px;
  border-radius: var(--rayon); font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 0; background: var(--vert); color: #fff; width: 100%; }
.bouton:hover { background: var(--vert-fonce); color: #fff; }
.bouton.secondaire { background: #fff; color: var(--encre); border: 1.5px solid var(--bord); }
.bouton.secondaire:hover { border-color: var(--vert); color: var(--vert); }
.bouton.contour { background: #fff; color: var(--vert); border: 1.5px solid var(--vert); }
.choix { display: flex; flex-direction: column; gap: 10px; }
.choix .bouton { justify-content: space-between; text-align: left; padding: 14px 18px; }
.choix small { display: block; font-size: 13px; font-weight: 500; opacity: .85; }

.etapes { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; counter-reset: e; }
.etapes li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; counter-increment: e; }
.etapes li::before { content: counter(e); flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--vert-pale);
  color: var(--vert); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.garantie { display: flex; gap: 10px; border-top: 1px solid var(--bord-clair); padding-top: 14px; font-size: 13px; margin-top: auto; }

.progres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.progres span { height: 4px; border-radius: 2px; background: var(--bord); }
.progres span.fait { background: var(--vert); }
.retour { display: flex; align-items: center; gap: 12px; }
.retour a { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--bord); background: #fff; }

form { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #EDE9E0; padding: 4px; border-radius: 12px; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment label { min-height: 44px; display: grid; place-items: center; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--doux); cursor: pointer; }
.segment input:checked + label { background: #fff; color: var(--encre); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.segment input:focus-visible + label { outline: 2px solid var(--vert); }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ > label, .champ > span { font-size: 14px; font-weight: 700; }
.depot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 128px; border: 1.5px dashed #9AA39F; border-radius: var(--rayon); background: #fff; cursor: pointer; padding: 12px; text-align: center; }
.depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.depot strong { color: var(--vert); }
.depot:focus-within { outline: 2px solid var(--vert); }
textarea { min-height: 140px; resize: vertical; border: 1.5px solid var(--bord); border-radius: var(--rayon); padding: 12px 14px;
  font: inherit; font-size: 14px; background: #fff; color: var(--encre); }
textarea:focus { outline: 2px solid var(--vert); border-color: var(--vert); }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; min-height: 44px; }
.case input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--vert); }
.bas { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.erreur { background: #FBEBEB; color: #7A1F1F; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.cache { display: none !important; }

.carte { background: #fff; border: 1px solid var(--bord-clair); border-radius: var(--rayon); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.carte .ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pastille { font-size: 13px; font-weight: 800; background: var(--jaune); padding: 3px 9px; border-radius: 999px; }
.apercu { width: 100%; border-radius: var(--rayon); border: 1px solid var(--bord-clair); box-shadow: 0 2px 10px rgba(27,31,29,.06); display: block; }
.ecart { padding: 12px 0; border-top: 1px solid #EDE9E0; display: flex; flex-direction: column; gap: 2px; }
.ecart:first-of-type { border-top: 0; }
.encadre { background: var(--alerte); border-radius: 12px; padding: 12px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.succes { width: 56px; height: 56px; border-radius: 999px; background: var(--vert-pale); display: grid; place-items: center; margin: 0 auto; }

.attente { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.roue { width: 56px; height: 56px; border-radius: 50%; border: 5px solid var(--vert-pale); border-top-color: var(--vert); animation: tour 1s linear infinite; }
@keyframes tour { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .roue { animation-duration: 3s; } }
.badge-test { background: #EDE9E0; color: var(--doux); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; text-align: center; }
