/* ═══════════════════════════════════════════════════════════
   Emplacements : /trouver-emplacement-distributeur-automatique/ et /proposer-emplacement-distributeur-automatique/ (inc/emplacements.php,
   template-emp-*.php). Hero repris de veille-pro.css (classes zv-). Classes propres préfixées emp-.
   Stepper mobile d'abord : gros boutons, un écran par question (assets/js/emplacements.js).
   ═══════════════════════════════════════════════════════════ */

/* ── HERO : titre sur 2 lignes max en PC (le titre de veille-pro tient sur 1 ligne, pas celui-ci) ── */
.emp .breadcrumb{padding-bottom:4px}
.emp-hero-title{color:var(--white);margin:0 0 .35em}
.emp-hero-title .is-yellow{color:var(--yellow)}
/* Hero sans fond bleu (page Trouver un emplacement, 21/11/2026) : même rendu que l'en-tête Explorer, titre --title et mot clé en bleu */
.emp .zv-hero.is-plain{background:none;border-radius:0;overflow:visible}
.emp .zv-hero.is-plain .emp-hero-title{color:var(--title)}
.emp .zv-hero.is-plain .emp-hero-title .is-yellow{color:var(--blue)}
.emp .zv-hero.is-plain .zv-reassure{color:var(--text)}
.emp .zv-hero.is-plain .zv-reassure svg{color:var(--blue)}
.emp-br-pc{display:none}
@media (min-width:1024px){ .emp-br-pc{display:inline} }

/* ── INTRO : réponse directe sous le hero (SEO / GEO) ── */
.emp .zv-hero-foot{margin-top:clamp(24px,3vw,40px)}   /* espace entre le titre du hero et le bouton */
.emp-intro{padding:20px 0 0}
.emp-lead{font-size:var(--fs-lead);line-height:1.65;color:var(--text);margin:0;text-align:center}

/* ── SECTION FORMULAIRE ── */
.emp-form-sec{padding:60px 0 60px;scroll-margin-top:80px}   /* 60 px au-dessus du titre et sous le formulaire (20/11/2026, avant 56 px / 0) */
.emp-sec-title{font-size:clamp(40px,4.4vw,60px);text-align:center;margin:0 0 28px}
.emp-form-col{max-width:640px;margin:0 auto}
.emp-form-col .zv-note{margin-bottom:16px}

/* ── STEPPER ── */
.emp-stepper{scroll-margin-top:84px}
.emp-stepper [hidden]{display:none !important}
.emp-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:0 10px 30px rgba(13,13,15,.05);padding:24px 28px 26px}
.emp-top{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:10px}
.emp-back{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-family:'Inter',sans-serif;font-size:14px;font-weight:500;color:var(--text);padding:4px 0}
.emp-back svg{width:16px;height:16px}
.emp-back:hover{color:var(--blue)}
.emp-back:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
.emp-back[hidden]{display:none}
.emp-count{margin-left:auto;font-size:13px;font-weight:500;color:var(--text)}
.emp-bar{height:4px;border-radius:2px;background:var(--bg);overflow:hidden;margin-bottom:22px}
.emp-bar span{display:block;height:100%;background:var(--blue);border-radius:2px;transition:width .25s}
.emp-q{font-family:'Archivo',sans-serif;word-spacing:.12em;font-stretch:75%;font-weight:800;font-size:26px;line-height:1.15;color:var(--ink);margin:0 0 6px;outline:none}
.emp-hint{font-size:14px;color:var(--text);margin:0 0 4px}
.emp-body{margin-top:18px}

/* Options : gros boutons pleine largeur (2 colonnes en PC pour les listes courtes) */
.emp-opts{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:768px){ .emp-opts.is-grid{grid-template-columns:repeat(2,1fr)} }
.emp-opt{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:12px 16px;border:1.5px solid #C6CDD6;border-radius:var(--radius-btn);background:var(--white);cursor:pointer;font-family:'Inter',sans-serif;font-size:16px;font-weight:500;line-height:1.3;color:var(--ink);transition:border-color .12s,box-shadow .12s,background .12s;-webkit-tap-highlight-color:transparent}
.emp-opt:hover{border-color:var(--blue)}
.emp-opt:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.emp-opt.is-on{border-color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--blue)}
.emp-mark{width:20px;height:20px;border-radius:50%;border:2px solid #C6CDD6;flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center}
.emp-opt.is-on .emp-mark{border-color:var(--blue)}
.emp-opt.is-on .emp-mark::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--blue)}
/* Choix multiples : case carrée cochée */
.emp-opt.is-multi .emp-mark{border-radius:5px}
.emp-opt.is-multi.is-on .emp-mark{background:var(--blue)}
.emp-opt.is-multi.is-on .emp-mark::after{display:none}
.emp-mark svg{width:13px;height:13px;color:var(--white);opacity:0}
.emp-opt.is-multi.is-on .emp-mark svg{opacity:1}

/* Champs : 16 px minimum (pas de zoom automatique sur iPhone), 52 px de haut */
.emp-fields{display:grid;gap:12px}
.emp-field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin:0 0 5px}
.emp-input{display:block;width:100%;box-sizing:border-box;height:52px;font-family:'Inter',sans-serif;font-size:16px;color:var(--ink);background:var(--bg);border:1.5px solid #C6CDD6;border-radius:var(--radius-btn);padding:0 14px;box-shadow:none;transition:border-color .15s,background .15s}
textarea.emp-input{height:auto;min-height:88px;padding:12px 14px;line-height:1.45;resize:vertical}
.emp-input:focus{outline:none;border-color:var(--blue);background:var(--white)}
.emp-input.is-invalid{border-color:var(--red)}
.emp-field + .emp-opts{margin-top:12px}   /* communes sous le code postal */
/* Précision sous le champ (ex. "On vous rappelle sous 24 h...") : sous le champ pour garder les champs alignés sur 2 colonnes */
.emp-field-hint{font-size:13px;line-height:1.4;color:var(--text);margin:6px 0 0}
/* PC : prénom + nom et email + téléphone sur la même ligne (19/11/2026) */
@media (min-width:768px){
  .emp-fields{grid-template-columns:1fr 1fr;column-gap:12px}
  .emp-fields > .emp-field{grid-column:1 / -1}
  .emp-fields > .emp-field.is-half{grid-column:auto}
}
/* socle.css stylise input[type=text|email|tel] avec une spécificité plus forte que .emp-input :
   on réimpose la hauteur, les bordures et les marges (sinon le champ téléphone ne s'aligne plus sur son préfixe) */
.emp-stepper input.emp-input{height:52px;min-height:0;margin:0;padding:0 14px;line-height:normal;font-family:'Inter',sans-serif;font-size:16px;color:var(--ink);background:var(--bg);border:1.5px solid #C6CDD6;border-radius:var(--radius-btn);box-shadow:none}
.emp-stepper input.emp-input:focus{outline:none;border-color:var(--blue);background:var(--white)}
.emp-stepper input.emp-input.is-invalid{border-color:var(--red)}
/* Mobile : préfixe drapeau français + "+33" collé au champ, même hauteur */
.emp-tel{display:flex;align-items:stretch;width:100%}
.emp-tel-pre{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:0 12px;height:52px;box-sizing:border-box;background:var(--white);border:1.5px solid #C6CDD6;border-right:0;border-radius:var(--radius-btn) 0 0 var(--radius-btn);font-family:'Inter',sans-serif;font-size:16px;font-weight:500;line-height:1;color:var(--ink);white-space:nowrap}
.emp-tel-pre svg{width:22px;height:15px;flex:0 0 auto;border-radius:2px;box-shadow:0 0 0 1px rgba(13,13,15,.12)}
.emp-stepper .emp-tel input.emp-input{flex:1 1 auto;width:auto;min-width:0;border-radius:0 var(--radius-btn) var(--radius-btn) 0}
/* Choix "Autre" : champ de précision sous les options */
.emp-other{margin-top:14px}
.emp-field-err{font-size:13px;font-weight:500;color:var(--red);margin:6px 0 0}
.emp-sub{font-size:14px;font-weight:600;color:var(--ink);margin:18px 0 10px}
.emp-info{font-size:14px;color:var(--text);margin:12px 0 0}

/* Départements : suggestions + pastilles choisies */
.emp-sugg{display:grid;gap:8px;margin-top:10px}
.emp-sugg .emp-opt{min-height:48px}
.emp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.emp-chip{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 10px 6px 14px;border-radius:var(--radius-btn);background:var(--blue);color:var(--white);font-family:'Inter',sans-serif;font-size:15px;font-weight:500;cursor:pointer}
.emp-chip svg{width:16px;height:16px}
.emp-chip:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.emp-all{margin-top:14px}
/* Choix en blocs titrés (types de distributeurs, 19/11/2026) */
.emp-multi > .emp-sub:first-child{margin-top:0}
.emp-excl{margin-top:14px}

/* Consentements */
.emp-consents{display:grid;gap:12px;margin-top:18px}
.emp-consent{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font-size:14px;line-height:1.45;color:var(--text)}
.emp-consent input{position:absolute;opacity:0;pointer-events:none}
.emp-consent .emp-mark{border-radius:5px;margin-top:1px;width:22px;height:22px}
.emp-consent input:checked + .emp-mark{background:var(--blue);border-color:var(--blue)}
.emp-consent input:checked + .emp-mark svg{opacity:1}
.emp-consent input:focus-visible + .emp-mark{outline:3px solid var(--blue);outline-offset:2px}
.emp-consent.is-invalid .emp-mark{border-color:var(--red)}

/* Bouton Continuer / Envoyer, erreurs, mentions */
.emp-actions{margin-top:22px}
.emp-actions .btn{width:100%;justify-content:center;min-height:54px;font-size:16px}
.emp-actions .btn[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.emp-actions .btn.is-busy{opacity:.6;cursor:wait}
.emp-err{font-size:14px;font-weight:500;color:var(--red);margin:12px 0 0}
.emp-err:empty{display:none}
.emp-err a{color:var(--blue);text-decoration:underline}
.emp-legal{font-size:11.5px;line-height:1.5;color:var(--text);margin:14px 0 0}
.emp-legal a{color:var(--blue);text-decoration:underline}
.emp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.emp-thanks{text-align:center;padding:16px 0 6px;outline:none}
.emp-thanks .display{font-size:clamp(34px,3.4vw,46px);font-style:normal;margin:0 0 14px}
.emp-thanks p{font-size:16px;line-height:1.55;color:var(--text);margin:0}
.emp-noscript{font-size:15px;color:var(--text)}

/* ── COMMENT ÇA MARCHE ── */
.emp-steps-sec{padding-bottom:0}
.emp-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.emp-step{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:24px 24px 26px;margin:0}
.emp-step-num{display:block;font-family:'Archivo',sans-serif;font-stretch:62%;font-weight:900;font-style:italic;font-size:56px;line-height:.9;color:var(--blue);margin-bottom:14px}
.emp-step h3{font-family:'Inter',sans-serif;font-size:18px;font-weight:700;line-height:1.3;color:var(--title);margin:0 0 8px}
.emp-step p{font-size:var(--fs-text);line-height:1.6;color:var(--text);margin:0}

/* ── CONTENU ÉDITORIAL ── */
.emp-content{padding-bottom:0}
.emp-h2{font-family:'Inter',sans-serif;font-size:23px;font-weight:700;line-height:1.3;color:var(--title);margin:44px 0 14px}
.emp-content .emp-h2:first-child,.emp-links-sec .emp-h2{margin-top:0}
.emp-content p{font-size:var(--fs-text);line-height:1.65;color:var(--text);margin:0 0 14px}
.emp-checks{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:12px}
.emp-checks li{position:relative;padding-left:28px;font-size:var(--fs-text);line-height:1.6;color:var(--text);margin:0}
.emp-checks li::before{content:"";position:absolute;left:2px;top:5px;width:14px;height:8px;border-left:2.5px solid var(--blue);border-bottom:2.5px solid var(--blue);transform:rotate(-45deg)}

/* ── LIENS VERS LES AUTRES PAGES DU SILO ── */
.emp-links-sec{padding-bottom:0}
.emp-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.emp-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 20px 20px 22px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);text-decoration:none;transition:transform .15s,box-shadow .15s}
.emp-link:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(13,13,15,.08)}
.emp-link b{display:block;font-size:16px;font-weight:700;color:var(--ink);margin-bottom:4px}
.emp-link span:first-child{font-size:14px;line-height:1.5;color:var(--text)}
.emp-link .circle-arrow{width:34px;height:34px}

/* ── GUIDES (template-emp-guide.php) ── */
.emp-g-head{padding:28px 0 8px}
.emp-g-tag{display:inline-block;font-family:'Archivo',sans-serif;font-stretch:62%;font-weight:900;text-transform:uppercase;font-size:15px;letter-spacing:.02em;color:var(--white);background:var(--red);padding:4px 10px 3px;border-radius:3px;margin-bottom:16px}
.emp-g-title{font-family:'Archivo',sans-serif;word-spacing:.12em;font-stretch:62%;font-weight:900;text-transform:uppercase;font-size:clamp(36px,4vw,54px);line-height:.95;letter-spacing:-.005em;color:var(--title);margin:0 0 18px}
.emp-g-chapo{font-size:17px;line-height:1.6;color:var(--ink);margin:0 0 14px}
.emp-g-meta{font-size:13px;color:var(--text);margin:0}
.emp-g-body{padding:32px 0 0}
.emp-g-body .emp-h2:first-child{margin-top:12px}
.emp-content h3{font-family:'Inter',sans-serif;font-size:18px;font-weight:700;line-height:1.35;color:var(--title);margin:26px 0 10px}
.emp-content ol.emp-num{margin:0 0 16px;padding-left:22px;display:grid;gap:10px}
.emp-content ol.emp-num li{font-size:var(--fs-text);line-height:1.6;color:var(--text);padding-left:4px}
.emp-content ol.emp-num li::marker{font-weight:700;color:var(--blue)}
.emp-content strong{color:var(--text);font-weight:700}
.emp-content a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.emp-table-wrap{overflow-x:auto;margin:6px 0 18px;border:1px solid var(--line);border-radius:var(--radius-card)}
.emp-table{width:100%;border-collapse:collapse;font-size:14.5px;background:var(--white)}
.emp-table th{background:var(--ink);color:var(--white);font-weight:600;text-align:left;padding:12px 14px}
.emp-table td{padding:12px 14px;border-top:1px solid var(--line);color:var(--text);line-height:1.5;vertical-align:top}
.emp-table td:first-child{font-weight:600;color:var(--ink);white-space:nowrap}
.emp-note{font-size:14px;line-height:1.55;color:var(--text);background:var(--white);border:1px solid var(--line);border-left:4px solid var(--yellow);border-radius:var(--radius-card);padding:14px 18px;margin:0 0 18px}
.emp-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:var(--white);border:1px solid var(--line);border-left:6px solid var(--blue);border-radius:var(--radius-card);padding:22px 26px;margin:36px 0 0}
.emp-cta p{flex:1;min-width:220px;margin:0;font-size:16px;font-weight:600;line-height:1.45;color:var(--ink)}
.emp-content .emp-cta a.btn{color:var(--white);text-decoration:none}   /* sinon .emp-content a met le texte du bouton en bleu sur bleu */
/* Visuel cliquable en fin de page (page Trouver, 20/11/2026) */
.emp-visu-sec{padding-top:56px}
.emp-visu{display:block;border-radius:var(--radius-card);overflow:hidden;transition:transform .15s}
.emp-visu:hover{transform:translateY(-3px)}
.emp-visu:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.emp-visu img{display:block;width:100%;height:auto}
.emp-sources{padding:8px 0 0}
.emp-sources ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.emp-sources li{font-size:13px;color:var(--text)}
.emp-sources strong{font-weight:600}

@media (prefers-reduced-motion:reduce){
  .emp-bar span,.emp-link,.emp-visu{transition:none}
  .emp-link:hover,.emp-visu:hover{transform:none}
}

@media (max-width:1023px){
  .emp-steps{grid-template-columns:1fr;max-width:640px;margin:0 auto}
}

@media (max-width:767px){
  .emp-lead{text-align:left}
  .emp-form-sec{padding-top:40px}
  .emp-sec-title{font-style:normal;margin-bottom:20px}
  .emp-card{padding:18px 16px 20px}
  .emp-q{font-size:23px}
  .emp-step{padding:20px}
  .emp-step-num{font-size:44px}
  .emp-h2{font-size:21px}
  .emp-g-head{padding-top:16px}
  .emp-g-chapo{font-size:16px}
  .emp-cta{padding:18px}
  .emp-cta .btn{width:100%;justify-content:center}
  .emp-table td:first-child{white-space:normal}
}
