/* Petits textes en Heebo (police de la charte) : en Poppins 13-14 px, les points des « i » disparaissaient sur l'écran du Mac mini (21/10).
   Formulaire « Demandez votre essai gratuit » (Wailo Entreprise, 14 jours, jusqu'à 5 sièges ; décisions de Vincent du 21/10).
   Fenêtre posée au-dessus de la page, ouverte par tout lien href="#essai" (essai.js). */
.es { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px 16px; background: rgba(11,22,38,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; overflow-y: auto; }
.es.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.es__box { position: relative; width: min(100%, 620px); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--white); border-radius: 28px; padding: 40px 40px 32px;
  box-shadow: 0 30px 80px rgba(11,22,38,.35); transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); font-family: var(--ff-text); color: var(--text); }
.es.on .es__box { transform: none; }
.es__x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #EEF2F7; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.es__x:hover { background: #E2E8F1; }
.es__k { margin: 0 0 6px; font-family: var(--ff-text); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.es h2 { margin: 0 0 8px; font-family: var(--ff-title); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--navy); letter-spacing: -.01em; }
.es__lead { margin: 0 0 22px; font-size: 16px; line-height: 1.6; }
.es__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.es__pills li { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--soft); color: var(--slate-dark); font-family: var(--ff-text); font-size: 15px; font-weight: 600; }
.es__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.es__f { position: relative; margin: 0 0 14px; }
.es__f label, .es__lg { display: block; margin: 0 0 6px; font-family: var(--ff-text); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.es__f input, .es__f textarea { width: 100%; box-sizing: border-box; height: 48px; padding: 0 16px; border: 1.5px solid #D5DEEA; border-radius: 14px; background: #FAFCFF; font: 16px var(--ff-text); color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.es__f textarea { height: 88px; padding: 12px 16px; resize: vertical; }
.es__f input:focus, .es__f textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74,144,226,.15); background: #fff; }
.es__f.bad input { border-color: #D9534F; }
.es__err { display: none; margin: 6px 0 0; font-size: 13px; color: #C0392B; }
.es__f.bad .es__err { display: block; }
.es__hint { margin: 6px 0 0; font-size: 13px; color: #8A94A6; }
/* recherche d'entreprise */
.es__sug { position: absolute; z-index: 2; left: 0; right: 0; top: 76px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(11,22,38,.18); display: none; max-height: 260px; overflow-y: auto; }
.es__sug.on { display: block; }
.es__sug li { padding: 10px 12px; border-radius: 10px; cursor: pointer; line-height: 1.35; }
.es__sug li:hover, .es__sug li.hl { background: var(--soft); }
.es__sug b { display: block; color: var(--navy); font-weight: 600; }
.es__sug small { color: #8A94A6; font-size: 13px; }
.es__sug .none { cursor: default; color: #8A94A6; } .es__sug .none:hover { background: none; }
.es__co { display: none; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #EEF7F1; color: #1E6B36; font-size: 14px; line-height: 1.4; }
.es__co.on { display: flex; }
.es__co b { color: #17532A; }
.es__co button { margin-left: auto; border: 0; background: none; color: var(--slate); font: 600 14px var(--ff-text); cursor: pointer; }
/* choix en pilules */
.es__ch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.es__ch input { position: absolute; opacity: 0; pointer-events: none; }
.es__ch label { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #EEF2F7; color: var(--text); font: 600 15px var(--ff-text); cursor: pointer; transition: background .2s, color .2s; }
.es__ch input:checked + label { background: var(--slate); color: #fff; }
.es__ch input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.es__ok { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 14px; line-height: 1.5; }
.es__ok input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--slate); flex: none; }
.es__ok.bad { color: #C0392B; }
.es__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* piège à robots */
.es .btn { width: 100%; border: 0; cursor: pointer; }
.es .btn[disabled] { opacity: .6; cursor: wait; }
/* entrepreneur individuel : renvoi vers l'essai de l'app */
.es__ei { display: none; margin: 0 0 16px; padding: 16px 18px; border-radius: 16px; background: var(--soft); color: var(--navy); font-size: 15px; line-height: 1.55; }
.es__ei.on { display: block; }
.es__ei p { margin: 0 0 12px; }
.es__stores { display: flex; gap: 10px; flex-wrap: wrap; }
.es__stores a { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 15px var(--ff-text); text-decoration: none; }
/* merci */
.es__done { display: none; text-align: center; padding: 20px 0 8px; }
.es.sent form, .es.sent .es__intro { display: none; }
.es.sent .es__done { display: block; }
.es__done .tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #EEF7F1; display: grid; place-items: center; color: var(--ok); font-size: 32px; }
.es__proto { margin: 22px 0 0; text-align: left; font-size: 12px; color: #8A94A6; }
.es__proto pre { white-space: pre-wrap; margin: 8px 0 0; padding: 12px; border-radius: 12px; background: #F4F7FC; color: var(--navy); font-size: 12px; line-height: 1.5; }
html.es-lock, html.es-lock body { overflow: hidden; }
@media (max-width: 640px) {
  .es { padding: 0; place-items: end center; }
  .es__box { width: 100%; max-height: 94vh; border-radius: 24px 24px 0 0; padding: 32px 20px 24px; }
  .es__row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .es, .es__box { transition: none; } }
.es__send-err { margin: 10px 0 0; color: #C0392B; font-size: 14px; line-height: 1.5; }
