/* ================================================================
   🟢 Page publique /statut (web/statut.html, js/statut.js)
================================================================ */
.st-hero {
    background: linear-gradient(to bottom, rgba(0,0,0,.7), var(--bg-deep)), url('/IMG/welcome.png') center/cover no-repeat;
    padding: 5rem 0 2rem; text-align: center;
}
.st-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--bone); margin: 1rem 0 .8rem; }
.st-overall {
    display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1.1rem; min-height: 44px;
    border: 1px solid var(--border-warm); background: rgba(0,0,0,.45); color: var(--bone);
    font-weight: 600; max-width: 100%; text-align: left;
}
.st-dot { width: 12px; height: 12px; border-radius: 50%; background: #95a5a6; flex: 0 0 auto; }
.st-overall.is-ok .st-dot { background: #2ecc71; box-shadow: 0 0 10px #2ecc71; }
.st-overall.is-warn .st-dot { background: #f39c12; box-shadow: 0 0 10px #f39c12; }
.st-overall.is-error .st-dot { background: #e74c3c; box-shadow: 0 0 10px #e74c3c; }
.st-updated { color: var(--bone-dim); font-size: .85rem; margin-top: .7rem; }

.st-main { max-width: 960px; margin: 0 auto; padding: 2rem 1rem 5rem; display: flex; flex-direction: column; gap: 2rem; }
.st-main h2 { font-family: var(--font-display); color: var(--gold); margin: 0; font-size: 1.2rem; }
.st-maint { background: rgba(243,156,18,.1); border: 1px solid #f39c12; border-left-width: 4px; padding: 1rem 1.2rem; color: var(--bone); }
.st-maint p { margin: .4rem 0 0; overflow-wrap: anywhere; }

.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.st-card { background: var(--bg-card); border: 1px solid var(--border); padding: 1.1rem 1.2rem; min-width: 0; }
.st-card > header { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; flex-wrap: wrap; }
.st-pill {
    display: inline-block; padding: .2rem .7rem; border-radius: 999px; border: 1px solid #95a5a6;
    color: #95a5a6; font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.st-pill.is-ok { border-color: #2ecc71; color: #2ecc71; }
.st-pill.is-warn { border-color: #f39c12; color: #f39c12; }
.st-pill.is-error { border-color: #e74c3c; color: #e74c3c; }
.st-rows { margin: 0; }
.st-rows > div { display: flex; justify-content: space-between; gap: .8rem; padding: .35rem 0; border-top: 1px solid rgba(255,255,255,.05); }
.st-rows dt { color: var(--ash); }
.st-rows dd { margin: 0; color: var(--bone); text-align: right; overflow-wrap: anywhere; }
.st-note { color: var(--bone-dim); font-size: .9rem; margin: .5rem 0 0; }
.st-muted { color: var(--ash); }
.st-small { font-size: .82rem; margin-top: .8rem; }

.st-incidents h2 { margin-bottom: 1rem; }
.st-inc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.st-inc {
    display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid #2ecc71; padding: .75rem 1rem;
}
.st-inc.is-ongoing { border-left-color: #e74c3c; }
.st-inc strong { color: var(--bone); }
.st-inc-state { font-size: .8rem; color: #2ecc71; font-weight: 600; }
.st-inc.is-ongoing .st-inc-state { color: #e74c3c; }
.st-inc-meta { grid-column: 1 / -1; color: var(--bone-dim); font-size: .85rem; }

@media (max-width: 520px) {
    .st-hero { padding: 4rem 0 1.5rem; }
    .st-rows > div { flex-direction: column; gap: .1rem; }
    .st-rows dd { text-align: left; }
}
