#slq {
  /* Couleurs du branding. */
  --noir:    #0C0C0C;
  --carte:   #151513;
  --carte-2: #1C1C19;
  --ligne:   #2E2E2A;
  --jaune:   #FFD600;
  --blanc:   #F4F4F0;
  --gris:    #8C8C84;
  --rouge:   #FF5C4D;

  --titre: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 2px;
  --t: 180ms cubic-bezier(.2,.8,.2,1);

  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--titre);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
}
#slq *, #slq *::before, #slq *::after { box-sizing: border-box; }

/* ---------- Fond plein ecran ----------
   GHL enferme le bloc dans une colonne centree. Sans ca, des bandes
   blanches apparaissent a gauche et a droite. Ce pseudo-element peint
   le fond sur tout l'ecran, sans toucher a la mise en page ni creer
   de barre de defilement horizontale. */
#slq { position: relative; z-index: 0; }
#slq::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: -1;
}

#slq button, #slq input, #slq label { font: inherit; color: inherit; }

/* ---------- Entete ---------- */
#slq .slq-top {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
}
#slq .slq-brand { display: flex; align-items: center; gap: 11px; }
#slq .slq-mark {
  display: block;
  width: 7px; height: 30px;
  background: var(--jaune);
  transform: skewX(-16deg);
  flex: none;
}
#slq .slq-brand b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--blanc);
}
#slq .slq-brand i {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--gris);
}
#slq .slq-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gris);
  font-variant-numeric: tabular-nums;
}
#slq .slq-count i { font-style: normal; color: var(--blanc); }

/* ---------- Barre de progression en slashs ---------- */
#slq .slq-bar { display: flex; gap: 5px; }
#slq .slq-bar s {
  display: block;
  width: 16px; height: 4px;
  background: var(--ligne);
  transform: skewX(-20deg);
  transition: background var(--t);
}
#slq .slq-bar s.on { background: var(--jaune); }

/* ---------- Scene ---------- */
#slq .slq-scene {
  flex: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
}
#slq .slq-step { animation: slqIn 220ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes slqIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

#slq .slq-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jaune);
  margin: 0 0 14px;
}
#slq h1 {
  font-size: clamp(27px, 6.2vw, 42px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
#slq .slq-help {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--gris);
  margin: 14px 0 0;
  max-width: 46ch;
}

/* ---------- Reponses ---------- */
#slq .slq-answers {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#slq .slq-answer {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
#slq .slq-answer kbd {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gris);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  flex: none;
  transition: color var(--t), border-color var(--t);
}
@media (hover: hover) {
  #slq .slq-answer:hover { border-color: var(--jaune); background: var(--carte-2); transform: translateX(3px); }
  #slq .slq-answer:hover kbd { color: var(--jaune); border-color: var(--jaune); }
}
#slq .slq-answer:focus-visible { outline: 2px solid var(--jaune); outline-offset: 2px; }
#slq .slq-answer.on {
  background: var(--jaune);
  border-color: var(--jaune);
  color: var(--noir);
  transform: none;
}
#slq .slq-answer.on kbd { color: var(--noir); border-color: rgba(0,0,0,.35); }

/* ---------- Retour ---------- */
#slq .slq-back {
  margin-top: 26px;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gris);
  align-self: flex-start;
  transition: color var(--t);
}
#slq .slq-back:hover { color: var(--blanc); }
#slq .slq-back[hidden] { display: none; }

/* ---------- Capture ---------- */
#slq .slq-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--ligne);
  padding-top: 22px;
}
#slq .slq-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--blanc);
}
#slq .slq-list li::before {
  content: "/";
  font-family: var(--mono);
  color: var(--jaune);
  flex: none;
}

#slq form { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
#slq .slq-field { position: relative; }
#slq input[type="text"], #slq input[type="email"] {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  font-size: 16px;
  transition: border-color var(--t);
}
#slq input::placeholder { color: var(--gris); }
#slq input:focus { outline: none; border-color: var(--jaune); }
#slq input[aria-invalid="true"] { border-color: var(--rouge); }
#slq .slq-err {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--rouge);
  margin: 6px 0 0;
}
#slq .slq-err[hidden] { display: none; }

#slq .slq-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 6px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--gris);
}
#slq .slq-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  flex: none;
  margin: 1px 0 0;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t), border-color var(--t);
}
#slq .slq-consent input:checked { background: var(--jaune); border-color: var(--jaune); }
#slq .slq-consent input:checked::after {
  content: "";
  width: 5px; height: 9px;
  border: solid var(--noir);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
#slq .slq-consent input:focus-visible { outline: 2px solid var(--jaune); outline-offset: 2px; }
#slq .slq-consent a { color: var(--gris); text-underline-offset: 3px; }
#slq .slq-consent a:hover { color: var(--jaune); }

#slq .slq-cta {
  height: 58px;
  margin-top: 6px;
  background: var(--jaune);
  color: var(--noir);
  border: 1px solid var(--jaune);
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: filter var(--t), opacity var(--t);
}
#slq .slq-cta:hover { filter: brightness(1.08); }
#slq .slq-cta:focus-visible { outline: 2px solid var(--blanc); outline-offset: 2px; }
#slq .slq-cta[disabled] { opacity: .55; cursor: progress; }

#slq .slq-legal {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--gris);
  margin: 4px 0 0;
}

/* ---------- Confirmation ---------- */
#slq .slq-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--blanc);
  margin: 20px 0 0;
  max-width: 48ch;
}
#slq .slq-body.mute { color: var(--gris); font-size: 15px; }

/* ---------- Petits ecrans en hauteur ----------
   Objectif : les 4 reponses visibles sans scroller, meme sur un vieil iPhone. */
@media (max-height: 720px) {
  #slq { padding-top: 14px; }
  #slq .slq-top { padding-bottom: 16px; }
  #slq .slq-scene { padding-bottom: 12px; }
  #slq h1 { font-size: clamp(22px, 5.4vw, 32px); line-height: 1.08; }
  #slq .slq-help { margin-top: 9px; font-size: 12px; line-height: 1.45; }
  #slq .slq-answers { margin-top: 18px; gap: 6px; }
  #slq .slq-answer { min-height: 52px; padding: 11px 14px; font-size: 15px; }
  #slq .slq-back { margin-top: 14px; }
  #slq .slq-list { margin-top: 18px; padding-top: 16px; gap: 9px; }
  #slq .slq-list li { font-size: 14px; }
  #slq form { margin-top: 18px; gap: 8px; }
  #slq input[type="text"], #slq input[type="email"] { height: 50px; }
  #slq .slq-cta { height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  #slq *, #slq *::before, #slq *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ---------- Pot de miel ----------
   Le champ doit rester dans la page pour qu'un robot le trouve, mais hors
   de vue et hors du parcours au clavier pour une personne. On ne l'efface
   pas avec display:none, que certains robots savent reperer. */
#slq .slq-pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
