/* La journée du coach : l'écran verrouillé et ses alertes. Styles propres à cette page. */
.al-page { max-width: 1140px; margin: clamp(24px, 6vh, 56px) auto 60px; padding: 0 clamp(16px, 4vw, 40px); }
.al-barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.al-temps { display: grid; gap: 6px; background: var(--white); box-shadow: var(--shadow); border-radius: 16px; padding: 12px 16px; }
.al-temps .mini { margin: 0; }
.al-temps b { font: 600 30px/1 var(--sans); letter-spacing: -.03em; color: #2f7d47; }
.al-cmd { display: flex; gap: 10px; align-items: center; }
.al-cmd .btn { margin-top: 0; }
.al-scene { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 16px; align-items: start; }

.al-tel { border: 10px solid var(--ink); border-radius: 48px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(15,15,14,.35); }
.al-ecran { position: relative; height: 700px; overflow: hidden; border-radius: 38px; padding: 46px 14px 14px; color: #fff; background: radial-gradient(120% 70% at 50% 0%, #3a3631 0%, #1b1a18 55%, #0f0f0e 100%); }
.al-date { text-align: center; font-size: 15px; color: #d9d6d0; }
.al-grande { text-align: center; font: 300 78px/1 var(--sans); letter-spacing: -.04em; margin: 2px 0 26px; }
.al-pile { display: grid; gap: 8px; }
.al-notif { background: #34322e; border-radius: 20px; padding: 12px 14px; animation: notif .5s var(--ease) both; transition: opacity .4s, transform .4s; }
@keyframes notif { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.al-notif.touche { transform: scale(.97); background: #45433e; }
.al-ici { margin-top: 8px; font: 500 11px/1 var(--mono); letter-spacing: .04em; color: #9a968e; }
/* L'application ouverte par le toucher : elle monte par-dessus l'écran verrouillé, puis redescend. */
.al-appli { position: absolute; inset: 0; z-index: 2; padding: 56px 18px 18px; background: #f4f2ee; color: var(--ink); animation: monte .4s var(--ease) both; }
.al-appli.ferme { animation: descend .4s var(--ease) both; }
@keyframes monte { from { transform: translateY(100%); } }
@keyframes descend { to { transform: translateY(100%); } }
.al-appli .al-app { color: var(--soft); }
.al-appli .al-ico { background: var(--ink); }
.al-appli .al-t { font-size: 22px; letter-spacing: -.02em; margin-top: 18px; }
.al-appli .al-x { color: var(--soft); font-size: 15px; }
.al-appli .al-b { margin-top: 22px; }
.al-appli .al-btn, .al-appli .al-nom { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.al-appli .al-btn { padding: 14px; font-size: 15px; }
.al-appli .al-btn.touche, .al-appli .al-nom.touche { background: #3f9a5a; color: #fff; box-shadow: 0 0 0 6px rgba(63,154,90,.25); }
.al-appli .al-dicte { color: var(--ink); }
.al-notif.ancienne { opacity: .45; transform: scale(.97); }
.al-app { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .04em; color: #b9b5ad; }
.al-app span:last-child { margin-left: auto; }
.al-ico { width: 16px; height: 16px; border-radius: 5px; background: var(--white); position: relative; }
.al-ico::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }
.al-t { font-size: 15px; font-weight: 600; margin-top: 8px; }
.al-x { font-size: 14px; line-height: 1.4; color: #e8e5df; margin-top: 2px; }
.al-b { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.al-btn { text-align: center; padding: 10px; border-radius: 12px; background: #4a4842; font-size: 14px; font-weight: 500; transition: background-color .2s, transform .2s; }
.al-btn.touche, .al-nom.touche { background: #3f9a5a; transform: scale(.95); box-shadow: 0 0 0 6px rgba(63,154,90,.25); }
.al-choix { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; animation: notif .35s var(--ease) both; }
.al-nom { padding: 8px 12px; border-radius: 99px; background: #4a4842; font-size: 13px; transition: background-color .2s, transform .2s; }
.al-dicte { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; color: #fff; }
.al-onde { flex: none; width: 28px; height: 16px; background: repeating-linear-gradient(90deg, var(--clay) 0 3px, transparent 3px 6px); border-radius: 3px; animation: onde .6s ease-in-out infinite alternate; }
@keyframes onde { to { transform: scaleY(.4); } }
.al-fait { margin-top: 10px; font-size: 14px; color: #9fd6ae; font-weight: 500; animation: notif .35s var(--ease) both; }

/* Sur téléphone, le panneau des coulisses passe sous chaque alerte. */
.al-ag { display: none; }
.al-coulisses { min-height: 700px; }
.al-coulisses .mini { margin: 0; }
.al-log { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.al-log li { font-size: 14px; line-height: 1.45; color: #d9d6d0; padding-left: 12px; border-left: 2px solid #3a3833; animation: apparait .45s var(--ease) both; }
.al-log li:first-child { color: #fff; border-left-color: var(--clay); }

@media (max-width: 900px) {
  .al-scene { grid-template-columns: minmax(0, 1fr); }
  .al-tel { max-width: 390px; width: 100%; margin: 0 auto; }
  .al-coulisses { display: none; }
  .al-ag { display: block; font-size: 13px; line-height: 1.4; color: #c9c5bd; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); animation: notif .35s var(--ease) both; }
  .al-ag span { display: block; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #eba283; margin-bottom: 4px; }
}
@media (max-width: 640px) {
  .al-tel { border-width: 6px; border-radius: 34px; }
  .al-ecran { height: 640px; border-radius: 28px; }
  .al-grande { font-size: 64px; }
  .al-barre { flex-wrap: nowrap; align-items: stretch; }
  .al-temps { padding: 10px 12px; min-width: 0; }
  .al-temps b { font-size: 24px; }
  .al-cmd .rt-horloge { display: none; }
}
