/* Wyvo — page de statut (status.wyvo.fr) · même identité que wyvo.fr */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f4f2;
  --ink: #0e1110;
  --soft: #545b58;
  --grey: #767d79;
  --line: #e5e8e3;
  --brand: #35d461;
  /* États (réservés à l'état des services, toujours accompagnés d'un libellé) */
  --ok: #0ca30c;
  --deg: #fab219;
  --down: #d03b3b;
  --none: #dfe2dd;
  --series: #2e8b53;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--soft); }
.tiny { font-size: 13px; color: var(--grey); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* En-tête */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand span { font-weight: 700; font-size: 17px; letter-spacing: -.02em; padding-left: 12px; border-left: 1px solid var(--line); }
.top-link { font-size: 14.5px; font-weight: 600; text-decoration: none; height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 100px; }
.top-link:hover { background: var(--bg-alt); }

/* État général */
.overall { display: flex; gap: 18px; align-items: center; padding: 56px 0 44px; }
.overall h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.overall .muted { font-size: 15px; margin-top: 4px; }
.ov-icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-alt); }
.ov-icon svg { width: 28px; height: 28px; }
.ov-icon.ok { background: #e6f6e6; color: var(--ok); }
.ov-icon.deg { background: #fff4dc; color: #a36b00; }
.ov-icon.down { background: #fbe9e9; color: var(--down); }

section { margin-bottom: 56px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; }

/* Services */
.comps { border: 1px solid var(--line); border-radius: 12px; }
.comp { padding: 20px 22px; }
.comp + .comp { border-top: 1px solid var(--line); }
.comp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.comp-name { font-weight: 700; font-size: 16.5px; letter-spacing: -.015em; }
.comp-desc { font-size: 13.5px; color: var(--grey); }
.comp-state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.comp-state .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.comp-note { font-size: 13.5px; color: var(--soft); margin-top: 8px; }
.bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 34px; margin-top: 14px; }
.bar { border-radius: 2px; background: var(--none); cursor: default; transition: opacity .15s; }
.bars:hover .bar { opacity: .55; }
.bars .bar:hover, .bars .bar:focus-visible { opacity: 1; outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.bar.ok { background: var(--ok); }
.bar.deg { background: var(--deg); }
.bar.down { background: var(--down); }
.bars-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--grey); margin-top: 8px; }
.bars-foot b { color: var(--soft); font-weight: 600; }
@media (max-width: 640px) {
  .bars { grid-template-columns: repeat(45, minmax(0, 1fr)); }
  .bars .bar:nth-child(-n+45) { display: none; }
  .bars-foot .d90 { display: none; }
  .bars-foot .d45 { display: inline !important; }
}
.d45 { display: none; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--soft); margin-top: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.s-ok { background: var(--ok); } .s-deg { background: var(--deg); } .s-down { background: var(--down); } .s-none { background: var(--none); }

/* Performances */
.range { display: inline-flex; padding: 3px; border-radius: 100px; background: var(--bg-alt); }
.range button { height: 32px; padding: 0 14px; border-radius: 100px; font-size: 13.5px; font-weight: 600; color: var(--soft); }
.range button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,19,18,.12); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tiles > div { padding: 18px 16px 18px 0; }
.tiles b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.tiles span { font-size: 13.5px; color: var(--soft); }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
.chart { position: relative; height: 220px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { font-size: 11.5px; fill: var(--grey); font-family: inherit; }
.chart .line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--series); opacity: .08; }
.chart .hair { stroke: var(--ink); stroke-width: 1; opacity: .35; }
.chart .marker { fill: var(--series); stroke: #fff; stroke-width: 2; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13px; line-height: 1.45; box-shadow: 0 0 0 1px rgba(16,19,18,.06), 0 10px 30px rgba(16,19,18,.16); white-space: nowrap; }
.tip b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.tip span { color: var(--soft); }
.tip-bar { position: fixed; white-space: normal; max-width: 260px; }
.tip-bar .row { display: flex; align-items: center; gap: 7px; }
.tip-bar .row i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }

/* Incidents */
.inc-day { padding: 16px 0; border-top: 1px solid var(--line); }
.inc-day:last-child { border-bottom: 1px solid var(--line); }
.inc-date { font-size: 13.5px; font-weight: 700; color: var(--grey); margin-bottom: 6px; }
.inc { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.inc .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: 0 0 auto; }
.inc b { font-weight: 700; }
.inc p { font-size: 14.5px; color: var(--soft); }
.inc .live { color: var(--down); font-weight: 700; }
.none { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--soft); font-size: 15px; }

/* Pied */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13.5px; color: var(--soft); }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.stale { color: #a36b00; font-weight: 600; }
