/* Overbooké · funnel. Univers : devis papier, bleu de travail, tampon encreur.
   Encre + bleu = structure. Rouge = une seule voix : tampon, garantie, action. */
:root {
  --papier: #ffffff;
  --beton: #eef0ee;
  --encre: #181d22;
  --bleu: #2e4a68;
  --rouge: #c22f1c;
  --gris: #5c6873;
  --ligne: #d9dcd9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Archivo", -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--papier);
  color: var(--encre);
  line-height: 1.55;
  font-size: 17px;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Optin : une colonne sur mobile, deux colonnes sur grand écran
   (promesse à gauche, formulaire encadré à droite, visibles sans scroller) */
@media (min-width: 980px) {
  .wrap-large { max-width: 1080px; }
  .duo {
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px;
    align-items: start; padding-bottom: 40px;
  }
  .duo .hero { padding: 56px 0 24px; }
  .duo h1.display { font-size: 34px; }
  .duo .eyebrow { white-space: nowrap; font-size: 10.5px; letter-spacing: .02em; }
  .duo .section {
    border: 2px solid var(--encre); background: var(--papier);
    padding: 8px 28px 28px; margin-top: 64px;
  }
}
.display {
  font-family: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

/* ---------- Barre haute ---------- */
.topbar { background: var(--papier); border-bottom: 3px solid var(--encre); padding: 16px 0; }
.topbar .wrap, .footer .wrap { max-width: 1080px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; }

/* Logo image : centré dans le bandeau, adapté PC et mobile */
.topbar .wrap { justify-content: center; }
.logo-img { height: 30px; display: block; }
@media (min-width: 640px) { .logo-img { height: 38px; } }

/* Footer légal */
.footer { text-align: center; }
.logo-footer { height: 26px; display: inline-block; }
.footer p { margin-top: 10px; }
.footer-liens a { color: #9aa6af; }
.disclaimer-meta { font-size: 10px; line-height: 1.6; color: #454f59; margin-top: 16px; }

/* Bandeau de consentement */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--encre); color: #cfd8df;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 16px; font-size: 13px; line-height: 1.4;
}
.cookie-bar a { color: #cfd8df; }
.cookie-bar button {
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 8px 16px; cursor: pointer; border-radius: 0;
}
.cookie-accept { background: var(--rouge); color: #fff; border: none; }
.cookie-refuse { background: transparent; color: #cfd8df; border: 1px solid #4a545d; }

/* Pages légales */
.legal h2 { margin-top: 30px; font-size: 26px; }
.legal p, .legal ul { margin-top: 10px; font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--bleu); }

/* ---------- Hero ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  line-height: 1.7; text-wrap: balance;
  color: var(--bleu); margin-bottom: 14px;
}
.une-ligne { white-space: nowrap; font-size: clamp(12px, 3.7vw, 16px); }
.hero-points { margin-top: 22px; }
.hero-points li { max-width: 56ch; }
.hero { padding: 44px 0 12px; }
h1 { font-weight: 800; font-size: 42px; color: var(--encre); }
h1.display { font-size: 36px; line-height: 1.04; text-wrap: balance; }
@media (min-width: 640px) { h1.display { font-size: 54px; } .hero { padding-top: 60px; } }
.sous-titre { margin-top: 18px; color: var(--gris); font-size: 18px; max-width: 54ch; }

/* ---------- Tampon (signature) ---------- */
.tampon {
  display: inline-block;
  margin: 26px 0 8px;
  padding: 10px 18px 12px;
  border: 3px solid var(--rouge);
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--papier), inset 0 0 0 4px var(--rouge);
  color: var(--rouge);
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.05;
  transform: rotate(-4deg);
  animation: tamponner .38s cubic-bezier(.2, 1.4, .4, 1) both;
}
.tampon small {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .3em;
  border-top: 2px solid var(--rouge); margin-top: 5px; padding-top: 4px;
}
/* Version miniature du tampon, pour la barre de garantie sombre */
.tampon-mini {
  margin: 0; padding: 5px 12px 7px; font-size: 16px; letter-spacing: .08em;
  border-width: 2px; animation: none; flex: none;
  box-shadow: inset 0 0 0 2px var(--encre), inset 0 0 0 3.5px var(--rouge);
}
.tampon-mini small { font-size: 9px; letter-spacing: .22em; border-top-width: 1.5px; margin-top: 3px; padding-top: 3px; }

@keyframes tamponner {
  from { opacity: 0; transform: rotate(-4deg) scale(1.8); }
  70%  { opacity: 1; transform: rotate(-4deg) scale(.95); }
  to   { opacity: 1; transform: rotate(-4deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .tampon { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 34px 0 10px; }
.section-titre {
  border-top: 3px solid var(--encre); padding-top: 14px; margin-bottom: 18px;
}
.section-titre h2, .fiche h2 {
  font-family: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  font-weight: 800; font-size: 30px; color: var(--encre);
  text-transform: uppercase; line-height: 1; letter-spacing: .01em;
}
.bande-beton { background: var(--beton); padding: 30px 0 36px; margin: 34px 0; }

/* ---------- Fiche (blocs) ---------- */
.fiche { background: var(--papier); border: 2px solid var(--encre); padding: 24px 20px; margin: 18px 0; }
.bande-beton .fiche { border-color: var(--encre); }
.points { list-style: none; }
.points li { position: relative; padding-left: 26px; margin: 12px 0; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; background: var(--bleu);
}

/* Headline compacte de la page VSL : la vidéo doit rester proche du pli */
h1.h1-vsl { font-size: 28px; }
@media (min-width: 640px) { h1.h1-vsl { font-size: 40px; } }

/* Titre court forcé sur une seule ligne, la taille s'adapte à l'écran */
h1.h1-uneligne { white-space: nowrap; font-size: clamp(22px, 6.3vw, 48px); }
/* Sous 360 px, les bornes basses des clamp ne suffisent plus : on autorise
   le retour à la ligne plutôt que de faire défiler toute la page en largeur */
@media (max-width: 359px) {
  h1.h1-uneligne, .une-ligne { white-space: normal; }
}

/* Sous-titre forcé sur une ligne en desktop (le mobile garde le retour à la ligne) */
@media (min-width: 640px) { .sous-uneligne { white-space: nowrap; font-size: 16px; } }

/* Badge du créneau choisi sur la page de confirmation */
.creneau-badge {
  display: inline-block; margin-top: 18px; padding: 14px 22px;
  border: 2px solid var(--encre); background: var(--beton);
  color: var(--encre); font-weight: 700; font-size: 19px;
}

/* ---------- Étapes (VSL) ---------- */
.etape {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; border-top: 1px solid var(--ligne); background: var(--papier);
}
.etape .num {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800; font-size: 42px; line-height: .9; color: var(--bleu);
  min-width: 34px; text-align: center; flex: none;
}
.etape p { font-size: 16px; }
.etape p strong { display: block; margin-bottom: 3px; }
.devis .etape:first-child { border-top: none; }

/* ---------- Tableau devis (VSL) ---------- */
.devis { border: 2px solid var(--encre); margin: 18px 0; }
.devis-total {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--encre); color: #fff; padding: 16px;
  font-weight: 700; border-top: 2px solid var(--encre);
}
.devis-total .display { font-size: 20px; letter-spacing: .05em; }

/* ---------- Résultats clients ---------- */
.resultats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .resultats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.resultat {
  border: 2px solid var(--encre); background: var(--papier); padding: 22px 18px;
  min-width: 0; text-align: center;
}
.resultat-marque {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  min-height: 100px;
  border-bottom: 1px solid var(--ligne); padding-bottom: 14px; margin-bottom: 16px;
}
.resultat-marque img { height: 62px; width: 180px; object-fit: contain; }
.resultat-marque span {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--encre);
}
.resultat-metier {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gris); margin-bottom: 8px; min-height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.resultat-chiffre {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800; font-size: 30px; line-height: 1; color: var(--bleu);
  text-transform: uppercase; margin-bottom: 10px; min-height: 92px;
  display: flex; align-items: center; justify-content: center;
}
.resultat p { font-size: 15px; color: var(--encre); }

/* ---------- Choix de créneau ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  border: 2px solid var(--ligne); background: var(--papier); color: var(--encre);
  padding: 11px 14px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; border-radius: 0;
}
.chip.actif { border-color: var(--bleu); background: var(--bleu); color: #fff; }
.chip:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

/* ---------- Formulaires ---------- */
label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 20px 0 8px; color: var(--encre); }
input[type=text], input[type=tel], input[type=email], select {
  width: 100%; padding: 14px; font-size: 16px; font-family: inherit;
  border: 2px solid var(--encre); border-radius: 0; background: var(--papier); color: var(--encre);
}
input:focus, select:focus { outline: 3px solid var(--bleu); outline-offset: 1px; }
.radios { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.radios label {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-weight: 500; font-size: 16px; letter-spacing: 0; text-transform: none;
  border: 2px solid var(--ligne); padding: 13px 14px; background: var(--papier); cursor: pointer;
}
.radios label:has(input:checked) { border-color: var(--bleu); background: var(--beton); }
.radios input { accent-color: var(--bleu); width: 18px; height: 18px; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: block; width: 100%; margin-top: 26px; padding: 17px 24px;
  background: var(--rouge); color: #fff; border: none; border-radius: 0; cursor: pointer;
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: .07em; text-transform: uppercase;
  text-align: center; text-decoration: none;
  box-shadow: 5px 5px 0 var(--encre);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--encre); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--encre); }
.btn:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.btn-note { text-align: center; font-size: 13px; color: var(--gris); margin-top: 12px; }

/* ---------- Vidéo ---------- */
.video-cadre {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--encre);
  border: 2px solid var(--encre); margin: 24px 0;
}
.video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #9aa6af; gap: 14px; padding: 20px; text-align: center; font-size: 14px;
}
.video-placeholder .rond { width: 68px; height: 68px; background: var(--rouge); display: flex; align-items: center; justify-content: center; }
.video-placeholder .rond::after {
  content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px;
}

/* ---------- Confirmation ---------- */
.centre { text-align: center; }
.centre .sous-titre { margin-left: auto; margin-right: auto; }
.centre .tampon { margin: 8px 0 26px; }

/* ---------- Pied ---------- */
.footer { background: var(--encre); color: #9aa6af; margin-top: 48px; padding: 28px 0 36px; font-size: 13px; }
.footer a { color: #9aa6af; }

[hidden] { display: none !important; }
.erreur { color: var(--rouge); font-size: 14px; font-weight: 600; margin-top: 12px; display: none; }
