/* Carte des balades : fenêtre plein écran avec le tracé GPX */
.btn-carte { display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: 8px 16px; border: 0; border-radius: 8px; background: #2e7d32; color: #fff; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.btn-carte:hover { background: #256428; }
.carte-modal { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; background: rgba(0,0,0,.65); padding: 12px; }
.carte-modal[hidden] { display: none; }
.carte-boite { display: flex; flex-direction: column; flex: 1; min-height: 0; max-width: 1200px; width: 100%; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.carte-entete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-bottom: 1px solid #e3e3e3; }
.carte-entete h3 { flex: 1 1 260px; margin: 0; font-size: 1.1rem; font-weight: 700; }
.carte-entete .stats { color: #495057; font-size: .92rem; }
.carte-entete a.dl, .carte-entete button.fermer { padding: 7px 14px; border-radius: 8px; border: 1px solid #2e7d32; background: #fff; color: #2e7d32; font: inherit; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; }
.carte-entete a.dl { background: #2e7d32; color: #fff; }
.carte-carte { flex: 1; min-height: 320px; }
.carte-info { padding: 8px 16px; font-size: .8rem; color: #6c757d; border-top: 1px solid #e3e3e3; }
