/* Le panneau de l'entrée par clé (js/entree-cle.js), 01/10/2026. Il passe devant tout le reste. */
.entree-porte { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(30, 15, 25, 0.72); }
.entree-porte__carte { max-width: 420px; background: #fffaf6; border-radius: 14px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.entree-porte__texte { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #3a2530; }
.entree-porte__bouton { display: inline-block; padding: 12px 20px; border-radius: 999px; background: #c9577f; color: #ffffff; text-decoration: none; font-weight: 500; }
.entree-porte__bouton:focus-visible { outline: 3px solid #3a2530; outline-offset: 3px; }
.entree-porte__lien { color: #8a3a5c; font-size: 0.95rem; }

/* Le choix sur iPhone, 06/10/2026. Ses actions sont des boutons : sans ces règles, ils
   garderaient la bordure, la police et le fond que le navigateur donne à tout bouton. */
.entree-porte__carte { max-height: 100%; overflow-y: auto; }
button.entree-porte__bouton, button.entree-porte__lien { border: 0; font-family: inherit; cursor: pointer; }
button.entree-porte__bouton { font-size: 1rem; }
.entree-porte__bouton--second { background: transparent; color: #8a3a5c; box-shadow: inset 0 0 0 2px #c9577f; }
button.entree-porte__lien { background: none; padding: 6px; text-decoration: underline; }
.entree-porte__lien:focus-visible { outline: 3px solid #3a2530; outline-offset: 3px; }
/* La première phrase reçoit le focus pour le lecteur d'écran ; un cadre autour d'elle ne guiderait personne. */
.entree-porte__texte:focus { outline: none; }
.entree-porte__gestes { margin: 0; padding-left: 1.4em; text-align: left; font-size: 1rem; line-height: 1.6; color: #3a2530; }
.entree-porte__gestes li + li { margin-top: 8px; }
.entree-porte__note { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #6b4a58; }

/* Les dessins devant les boutons et les gestes, 06/10/2026 : un trait de la couleur du texte,
   à la taille d'une lettre et demie, pour qu'ils se lisent sans prendre la place des phrases. */
.entree-porte__icone { width: 1.4em; height: 1.4em; flex: none; vertical-align: -0.3em; margin-right: 0.5em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button.entree-porte__bouton { display: inline-flex; align-items: center; justify-content: center; }

/* Les étapes d'installation en petites cartes douces, 06/10/2026 : une pastille ronde porte le
   dessin et le numéro, la consigne suit sur la même ligne. Elles remplacent la liste numérotée. */
.entree-porte__gestes { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.entree-porte__gestes li + li { margin-top: 0; }
.entree-porte__geste { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; background: #fbeef3; }
.entree-porte__pastille { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #f2d3df; color: #8a3a5c; display: flex; align-items: center; justify-content: center; }
.entree-porte__pastille .entree-porte__icone { margin-right: 0; width: 24px; height: 24px; vertical-align: middle; }
.entree-porte__numero { position: absolute; top: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; background: #c9577f; color: #ffffff; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
button.entree-porte__lien { display: inline-flex; align-items: center; justify-content: center; }
