/* Ajouts de l'application à la maquette. styles.css reste intact. */
.champ__saisie { position: relative; }

.paiement__cgv { color: var(--texte-3); font-size: 0.84rem; line-height: 1.5; margin-top: 10px; }
.paiement__cgv a { color: var(--texte-2); text-decoration: underline; text-underline-offset: 2px; }


.option__txt em { color: var(--or-clair); font-style: normal; font-weight: 700; }
.note-delai { margin: -6px 0 22px; }

/* Le tampon vit dans le bloc du total : le pied et ses mentions légales restent toujours lisibles. */
.bon__total { position: relative; }
.bon__total .tampon { left: 44%; right: auto; bottom: -2px; width: 84px; height: 84px; }
@media (max-width: 480px) {
  .bon__total .tampon { left: auto; right: 0; bottom: 100%; }
}

/* Le point disparaît de lui-même quand la mention passe à la ligne : jamais de « · » orphelin. */
.gamme__txt > .gamme__ligne { display: flex; flex-wrap: wrap; column-gap: 0.95em; overflow: hidden; }
.gamme__ligne em { position: relative; }
.gamme__ligne em::before { content: "·"; position: absolute; left: -0.62em; color: var(--texte-2); font-weight: 400; }

.confirmation__aide { margin-top: 18px; color: var(--texte-2); font-size: 0.95rem; }
.confirmation__aide a { color: var(--or-clair); }
.btn.est-attente { opacity: 0.55; pointer-events: none; }

#paiement { margin-bottom: 18px; }
#paiement-express { margin-bottom: 14px; }
.payer__montant { font-family: var(--f-marque); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 600; margin: 8px 0 26px; font-variant-numeric: lining-nums tabular-nums; }
.sans-coupure { white-space: nowrap; }

/* Libellé long (EN/ES) : le bouton du bon reste dans l'écran et passe à la ligne si besoin. */
#imprimer { max-width: 100%; text-align: left; }
#imprimer > span { min-width: 0; }

/* Aperçu de la tablette d'accueil : le client voit ce que son chauffeur tiendra à la sortie. */
.tablette { margin-top: 14px; display: flex; justify-content: center; }
.tablette__cadre {
  width: min(100%, 340px); aspect-ratio: 16 / 10; padding: 9px; border-radius: 16px;
  background: linear-gradient(145deg, #2a2722, #121110); border: 1px solid var(--trait-fort);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.tablette__ecran {
  height: 100%; border-radius: 9px; padding: 8px 14px; container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #26221b 0%, var(--nuit) 70%); border: 1px solid var(--trait);
}
.tablette__logo { width: 15%; min-width: 42px; height: auto; opacity: 0.95; }
.tablette__nom {
  width: 100%; font-family: var(--f-marque); font-weight: 700; line-height: 1.05; color: var(--or-clair);
  font-size: clamp(1.05rem, calc(88cqw / max(var(--n, 6), 6) * 1.55), 2.8rem);
  overflow-wrap: anywhere; letter-spacing: 0.02em; text-shadow: 0 0 22px rgba(216, 175, 99, 0.25);
}
.tablette__marque { font-family: var(--f-logo); font-size: 0.62rem; letter-spacing: 0.32em; color: var(--texte-2); }
.tablette__marque b { color: var(--or); font-weight: 800; }

/* « Choisir sur la carte » (20/11) */
.lien-carte {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 0; min-height: 36px;
  background: none; border: 0; color: var(--or-clair); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(222, 186, 118, 0.35); text-underline-offset: 3px;
}
.lien-carte:hover { text-decoration-color: currentColor; }
.lien-carte svg { flex: none; }

.carte-dialogue {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  background: var(--nuit-2); color: var(--texte); border: 1px solid var(--trait-fort); border-radius: var(--rayon);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.carte-dialogue[open] { display: flex; flex-direction: column; }
.carte-dialogue::backdrop { background: rgba(5, 5, 4, 0.72); }
.carte-dialogue__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 12px 20px; border-bottom: 1px solid var(--trait); }
.carte-dialogue__titre { font-family: var(--f-marque); font-size: 1.35rem; font-weight: 500; margin: 0; }
.carte-dialogue__fermer { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--texte-2); font-size: 1.3rem; cursor: pointer; border-radius: 2px; }
.carte-dialogue__fermer:hover { color: var(--texte); background: var(--nuit-3); }
.carte-dialogue__carte { height: min(56vh, 460px); min-height: 260px; background: #e9e4da; }
.carte-dialogue__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 20px 18px; border-top: 1px solid var(--trait); }
.carte-dialogue__adresse { flex: 1 1 260px; margin: 0; color: var(--texte-2); font-size: 0.95rem; line-height: 1.45; min-height: 2.9em; display: flex; align-items: center; }
.carte-dialogue__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.carte-dialogue__actions .btn svg { flex: none; }
.carte-dialogue__actions .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.carte-epingle { background: none; border: 0; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); }
.carte-dialogue .leaflet-container { font: inherit; }
@media (max-width: 560px) {
  .carte-dialogue { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; margin: 0; }
  .carte-dialogue__carte { flex: 1; height: auto; }
  .carte-dialogue__actions { width: 100%; }
  .carte-dialogue__actions .btn { flex: 1; }
}
