:root {
  --bleu: #0b5fa5;
  --vert: #0e7c66;
  --fond: #eef1f5;
  --carte: #ffffff;
  --texte: #14212e;
  --gris: #5b6b7d;
  --bord: #d7e0e9;
  --ambre: #fff7e6;
  --ambre-bord: #f0d48a;
  --rayon: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--fond); color: var(--texte);
  min-height: 100vh; display: flex; flex-direction: column;
}
header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; background: var(--carte); border-bottom: 1px solid var(--bord);
  position: sticky; top: 0; z-index: 10;
}
.logo {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--bleu), var(--vert));
  color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.marque { font-weight: 800; font-size: 18px; }
.marque small { display: block; font-weight: 500; font-size: 11.5px; color: var(--gris); }
.lang { margin-left: auto; display: flex; gap: 6px; }
.lang button {
  border: 1.6px solid var(--bord); background: #fff; border-radius: 999px;
  padding: 6px 13px; font-weight: 700; font-size: 13.5px; cursor: pointer; color: var(--gris);
}
.lang button.actif { background: var(--bleu); border-color: var(--bleu); color: #fff; }
main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 22px 16px 40px; }
footer { padding: 16px; text-align: center; font-size: 12px; color: var(--gris); line-height: 1.55; }
h1 { font-size: 27px; line-height: 1.25; font-weight: 800; letter-spacing: -0.3px; }
h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
p.sous { color: var(--gris); font-size: 15px; line-height: 1.55; margin-top: 8px; }
.carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 18px; margin-top: 16px;
}
.carte.trouvaille {
  background: linear-gradient(150deg, var(--bleu), var(--vert)); color: #fff; border: none;
}
.carte.trouvaille .meta { opacity: 0.92; font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
.gros-chiffre { font-size: 34px; font-weight: 800; margin-top: 4px; }
label { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; }
input, select {
  width: 100%; padding: 13px 14px; font-size: 16px; border: 1.6px solid var(--bord);
  border-radius: 12px; background: #fff; color: var(--texte);
}
input:focus, select:focus { outline: none; border-color: var(--bleu); }
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; text-align: center; border: none; cursor: pointer;
  background: var(--bleu); color: #fff; font-weight: 700; font-size: 16.5px;
  padding: 15px; border-radius: var(--rayon); margin-top: 18px; min-height: 56px;
}
.btn.vert { background: var(--vert); }
.btn.geant { min-height: 68px; font-size: 19px; }
.btn.fantome { background: #e4ebf1; color: #33475c; }
.btn:disabled { opacity: 0.55; cursor: default; }
.lien-btn {
  background: none; border: none; color: var(--bleu); font-weight: 600;
  font-size: 14.5px; cursor: pointer; padding: 8px 4px; display: inline-flex; align-items: center; min-height: 44px;
}
.note { font-size: 13px; color: var(--gris); line-height: 1.55; margin-top: 10px; }
.note.centre { text-align: center; }
.badge {
  display: inline-block; background: #e7f5ef; color: #0b6b52; font-weight: 700;
  font-size: 12.5px; border-radius: 999px; padding: 5px 11px; margin-top: 12px;
}
.badge.test { background: #fdeeda; color: #8a4b0f; }
.divulgation {
  background: var(--ambre); border: 1.4px solid var(--ambre-bord); border-radius: var(--rayon);
  padding: 14px 16px; font-size: 13px; line-height: 1.6; color: #5c4a12; margin-top: 16px;
  max-height: 300px; overflow-y: auto; white-space: pre-line;
}
.ligne-prix { display: flex; justify-content: space-between; font-size: 15px; padding: 9px 2px; border-bottom: 1px solid #e3eaf0; }
.ligne-prix.total { font-weight: 800; font-size: 17px; border-bottom: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  border: 1.6px solid var(--bord); background: #fff; border-radius: 999px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; min-height: 44px;
}
.chip.choisi { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.rang { display: flex; gap: 8px; }
.rang > * { flex: 1; }
.erreur {
  background: #fdecec; border: 1.4px solid #f0b3b3; color: #7d1f1f;
  border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 14px; line-height: 1.5;
}
.succes {
  background: #e7f5ef; border: 1.4px solid #a8dcc8; color: #0b5138;
  border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 14px; line-height: 1.5;
}
.progres { height: 8px; background: #dfe7ee; border-radius: 99px; overflow: hidden; margin-top: 14px; }
.progres i { display: block; height: 100%; background: var(--vert); }
.question { font-size: 18px; font-weight: 700; line-height: 1.45; margin-top: 14px; }
.reponses { display: flex; gap: 8px; margin-top: 16px; }
.reponses button {
  flex: 1; padding: 14px 6px; font-size: 15.5px; font-weight: 700; border-radius: 12px;
  border: 1.6px solid var(--bord); background: #fff; cursor: pointer; min-height: 56px;
}
.reponses button:hover { border-color: var(--bleu); }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 8px 0; border-bottom: 1px solid #e7edf2; }
.kv .k { color: var(--gris); flex: none; }
.kv .v { font-weight: 600; text-align: right; word-break: break-word; }
.etapes { font-size: 14px; line-height: 1.7; margin-top: 10px; }
.etapes li { margin-left: 18px; }
.pas-moi {
  margin-top: 16px; text-align: center; font-size: 14px; color: #8a4b0f; font-weight: 600;
  background: #fbf1e4; border-radius: 12px; padding: 12px; cursor: pointer; border: none; width: 100%;
}
.etapes-profil { display: flex; gap: 6px; margin-top: 4px; }
.etapes-profil i { flex: 1; height: 5px; border-radius: 99px; background: #dfe7ee; }
.etapes-profil i.fait { background: var(--vert); }
.petite-ligne { font-size: 12.5px; color: var(--gris); margin-top: 6px; }
code.lien { word-break: break-all; font-size: 12.5px; }

/* Emplacements publicitaires — volet gratuit seulement. Conteneur
   discret, toujours étiqueté « Publicité ». */
.pub {
  border: 1.6px dashed var(--bord); border-radius: var(--rayon);
  padding: 14px 16px; margin-top: 16px; background: #fbfcfe;
}
.pub .pub-label {
  font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gris); font-weight: 700;
}
.pub .pub-titre { font-weight: 800; font-size: 15.5px; margin-top: 6px; }
.pub .pub-texte { font-size: 13.5px; color: var(--gris); line-height: 1.5; margin-top: 4px; }
