/* ==========================================================================
   Page publicitaire /fr/proposer-mon-local/ (campagne Facebook, 2026-10-16).
   Mobile d'abord : la majorité du trafic Facebook arrive sur téléphone.
   ========================================================================== */

.lp-local { background: var(--c-bg-hero); color: var(--c-body); }

.lp-conteneur {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Barre du haut : logo seul, pas de menu qui fasse fuir ---------- */
.lp-barre { background: var(--c-white); border-bottom: 1px solid var(--c-border-soft); }
.lp-barre__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.lp-barre__inner > img { width: 104px; height: auto; }
.lp-barre__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
  text-decoration: none;
}

/* ---------- Héros : argumentaire + questionnaire ---------- */
.lp-hero { padding: 24px 0 40px; }
.lp-hero__grille { display: grid; gap: 24px; }

.lp-pitch__zone {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--c-primary);
}
.lp-pitch__titre {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 6.5vw, 44px);
  line-height: 1.12;
  color: var(--c-ink);
}
.lp-pitch__titre span { color: var(--c-primary); }
.lp-pitch__lead { margin: 0 0 16px; font-size: 16px; line-height: 1.55; }
.lp-pitch__atouts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.lp-pitch__atouts li { position: relative; padding-left: 26px; }
.lp-pitch__atouts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background: url("/assets/icons/af-icon-atout.svg") center / contain no-repeat;
}
.lp-pitch__atouts b { color: var(--c-ink); }

/* Sur téléphone, l'argumentaire long passe après le formulaire : on garde
   seulement le titre et la phrase d'accroche au-dessus. */
@media (max-width: 899px) {
  .lp-pitch__atouts { display: none; }
}

/* ---------- Carte du questionnaire ---------- */
.lp-carte {
  background: var(--c-white);
  border-radius: 24px;
  box-shadow: var(--sh-card);
  padding: 20px 16px 18px;
  scroll-margin-top: 16px;
}
.lp-carte__tete { display: grid; gap: 8px; margin-bottom: 16px; }
/* Critères du local, visibles à toutes les questions (2026-11-05). */
.lp-criteres { display: grid; gap: 8px; margin: 0 0 10px; padding: 14px; border-radius: 16px; background: var(--c-bg-hero); border: 1.5px solid var(--c-border); }
.lp-criteres__titre { margin: 0 0 2px; font-family: var(--f-display); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--c-label); }
.lp-criteres__oui, .lp-criteres__non { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; color: var(--c-body); }
.lp-criteres__oui { background: #ECFDF3; border: 1px solid #ABEFC6; }
.lp-criteres__non { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; }
.lp-criteres__oui > span:first-child, .lp-criteres__non > span:first-child { flex: none; font-size: 16px; line-height: 1.3; }
.lp-criteres b { font-weight: 700; }
.lp-criteres__ar { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px dashed currentColor; border-top-color: rgba(0,0,0,.12); text-align: right; font-size: 15px; line-height: 1.6; }
.lp-carte__etape {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--c-muted);
}
.lp-carte__jauge {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: var(--c-bg-ghost);
  overflow: hidden;
}
.lp-carte__jauge i {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: var(--grad-brand);
  transition: width var(--dur) var(--ease);
}

.lp-q { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 14px; }
.lp-q[hidden] { display: none; }
.lp-q__titre {
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--c-ink);
}
.lp-q__aide { margin: -4px 0 0; font-size: 14px; line-height: 1.45; color: var(--c-muted); }
.lp-q__aide--centre { text-align: center; margin: 0; }

.lp-choix { display: grid; gap: 10px; }
.lp-choix--2 { grid-template-columns: 1fr 1fr; }
.lp-choix--3 { grid-template-columns: 1fr 1fr; }
@media (min-width: 480px) { .lp-choix--3 { grid-template-columns: repeat(3, 1fr); } }

/* Tuile = radio caché + étiquette tactile d'au moins 52 px. */
.lp-tuile { position: relative; display: block; cursor: pointer; }
.lp-tuile input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.lp-tuile span {
  display: flex;
  align-items: center;
  min-height: 52px;
  height: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--c-border-4);
  border-radius: 14px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: var(--c-ink);
  background: var(--c-white);
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.lp-tuile:hover span { border-color: var(--c-indigo-200); }
.lp-tuile input:checked + span {
  border-color: var(--c-primary);
  background: var(--c-bg-ghost);
  color: var(--c-primary);
}
.lp-tuile input:focus-visible + span { box-shadow: 0 0 0 3px rgba(68, 76, 237, .25); }

/* Champs : 16 px pour que Safari iOS ne zoome pas. */
.lp-champ .field__control { height: 50px; font-size: 16px; }
.lp-champ.is-erreur .field__control { border-color: var(--c-error); }
/* Menu « Ville » de la question 2 (2026-11-02). */
.lp-champ select.field__control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("/assets/icons/chevron-sm.svg");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}
.lp-ville { margin-bottom: 16px; }

.lp-form .btn--block { width: 100%; min-height: 52px; justify-content: center; font-size: 16px; }

.lp-form__statut { margin: 12px 0 0; font-size: 14px; color: var(--c-error); }
.lp-form__statut:empty { display: none; }
.lp-form__retour {
  display: block;
  margin: 14px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--c-muted);
  cursor: pointer;
}
.lp-form__retour[hidden] { display: none; }

.lp-merci { text-align: center; padding: 12px 4px; outline: none; }
.lp-merci[hidden] { display: none; }
.lp-merci__icone { margin: 0; font-size: 44px; }
.lp-merci__titre {
  margin: 8px 0 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--c-ink);
}
.lp-merci p { margin: 0; line-height: 1.55; }

/* ---------- Comment ça marche ---------- */
.lp-etapes { padding: 8px 0 48px; }
.lp-section-titre {
  margin: 0 0 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--c-ink);
}
.lp-etapes__liste {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.lp-etapes__liste li {
  background: var(--c-white);
  border-radius: 16px;
  padding: 14px 16px;
  line-height: 1.45;
}
.lp-etapes__liste b { color: var(--c-ink); }
.lp-etapes__cta { width: 100%; min-height: 52px; justify-content: center; }

.lp-pied { padding: 20px 0 32px; font-size: 13px; color: var(--c-muted); text-align: center; }
.lp-pied a { color: inherit; }

/* ---------- Ordinateur : argumentaire à gauche, formulaire à droite ---------- */
@media (min-width: 900px) {
  .lp-hero { padding: 56px 0 64px; }
  .lp-hero__grille { grid-template-columns: 1fr 460px; gap: 56px; align-items: start; }
  .lp-pitch { padding-top: 24px; }
  .lp-pitch__lead { font-size: 18px; }
  .lp-carte { padding: 28px; }
  .lp-etapes__liste { grid-template-columns: repeat(3, 1fr); }
  .lp-etapes__cta { width: auto; padding: 0 32px; }
}
.lp-carte__tete[hidden], .lp-form[hidden] { display: none; }

/* 2026-10-16 : le client veut le questionnaire seul, sans argumentaire. */
.lp-hero__grille { grid-template-columns: 1fr !important; max-width: 560px; margin: 0 auto; gap: 16px; }
.lp-titre {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1.2;
  text-align: center;
  color: var(--c-ink);
}
.lp-hero { padding: 20px 0 32px; }
.lp-barre__inner { justify-content: center; }

/* ---------- Question 2 : recherche Google + carte (2026-10-16) ---------- */
.lp-recherche { position: relative; display: grid; gap: 10px; }
.lp-recherche[hidden] { display: none; }
.lp-recherche__champ { height: 52px; font-size: 16px; }
.lp-recherche__liste {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--c-white);
  border: 1px solid var(--c-border-4);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(18, 26, 38, .14);
}
.lp-recherche__liste[hidden] { display: none; }
.lp-recherche__item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.lp-recherche__item:hover, .lp-recherche__item.is-actif { background: var(--c-bg-ghost); }
.lp-recherche__item b { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--c-ink); }
.lp-recherche__item span { font-size: 13px; color: var(--c-muted); }
.lp-recherche__vide { padding: 10px 12px; font-size: 14px; color: var(--c-muted); }

.lp-lieu { display: grid; gap: 10px; }
.lp-lieu[hidden] { display: none; }
.lp-lieu__carte {
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-bg-ghost);
  border: 1px solid var(--c-border-4);
}
.lp-lieu__nom { margin: 0; display: grid; gap: 2px; line-height: 1.4; }
.lp-lieu__nom b { font-family: var(--f-display); font-size: 16px; color: var(--c-ink); }
.lp-lieu__nom b::before { content: "✅ "; }
.lp-lieu__nom span { font-size: 14px; color: var(--c-muted); }

/* Repère de la carte : goutte aux couleurs de la marque, sans image. */
.lp-repere span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c-primary);
  border: 3px solid var(--c-white);
  box-shadow: 0 4px 10px rgba(18, 26, 38, .3);
}

.lp-lien {
  justify-self: start;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--c-primary);
  text-decoration: underline;
  cursor: pointer;
}
.lp-lien[hidden] { display: none; }

.lp-champ[hidden] { display: none; }

/* Local absent de Google : repère à poser sur la carte (2026-10-18). */
.lp-manuel { display: grid; gap: 10px; }
.lp-manuel[hidden] { display: none; }
.lp-manuel__aide { margin: 0; display: grid; gap: 2px; line-height: 1.4; }
.lp-manuel__aide b { font-family: var(--f-display); font-size: 16px; color: var(--c-ink); }
.lp-manuel__aide span { font-size: 14px; color: var(--c-muted); }
.lp-manuel__carte { height: 280px; cursor: crosshair; }
.lp-manuel__ok { margin: 0; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.lp-manuel__ok[hidden] { display: none; }

/* Photos de l'emplacement, facultatives (2026-10-18). */
.lp-photos {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border-4);
  border-radius: 16px;
  background: var(--c-bg-ghost);
}
.lp-photos__titre { margin: 0; line-height: 1.4; }
.lp-photos__titre b { font-family: var(--f-display); font-size: 16px; color: var(--c-ink); }
.lp-photos__titre span { font-size: 13px; color: var(--c-muted); }
.lp-photos__aide { margin: 0; font-size: 14px; line-height: 1.4; color: var(--c-muted); }
.lp-photos__liste { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-photos__liste:empty { display: none; }
.lp-photos__vignette { position: relative; width: 84px; height: 84px; }
.lp-photos__vignette img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--c-border-4); display: block; }
.lp-photos__vignette.is-attente img { opacity: .4; }
.lp-photos__retirer {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.lp-photos__ajout {
  position: relative;
  justify-self: start;
  padding: 10px 16px;
  border: 1.5px dashed var(--c-primary);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
}
.lp-photos__ajout[hidden] { display: none; }
.lp-photos__ajout input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* Message libre (étape 5) : coins adoucis plutôt que pilule. */
.lp-champ textarea.lp-msg { height: auto; min-height: 96px; border-radius: 16px; font-size: 16px; padding: 13px 17px; }
.lp-facultatif { color: var(--c-muted); font-weight: 400; }

/* Option « continuer avec ce que j'ai tapé » en fin de liste (2026-10-16). */
.lp-recherche__item--tape { margin-top: 4px; border-top: 1px solid var(--c-border-4); border-radius: 0 0 10px 10px; padding-top: 12px; }
.lp-recherche__item--tape b { color: var(--c-primary); }
.lp-recherche__item--tape b::before { content: "✏️ "; }

/* Précision de « Autre » à la question 1 (2026-10-18). */
.lp-autre { display: grid; gap: 14px; margin-top: 6px; }
.lp-autre[hidden] { display: none; }
.lp-autre .lp-champ { margin: 0; }
