/* Pages d'information du site (à propos, contact, état du service, conditions, mentions légales,
   confidentialité) : même habillage que la page d'accueil, lecture confortable. */
:root {
  --navy: #0a1a36;
  --ink: #13213b;
  --muted: #55627a;
  --line: #e3e8f0;
  --gold: #f5cb5c;
  --gold-deep: #d9a62e;
  --bg: #f5f7fb;
  --card: #fff;
  --primary: #1d4ed8;
  --ok: #15803d;
  --ok-bg: #e9f8ef;
  --warn: #a16207;
  --warn-bg: #fff6dc;
  --bad: #b91c1c;
  --bad-bg: #fdecec;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 8px 24px rgba(10, 26, 54, 0.2); transition: top 0.2s; }
.skip:focus { top: 12px; }

/* Barre du haut */
.pg-top { background: var(--navy); color: #fff; }
.pg-top :focus-visible, .pg-foot :focus-visible { outline-color: var(--gold); }
.pg-nav { width: min(960px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 18px; min-height: 64px; }
.pg-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; }
.pg-brand img { width: 32px; height: 32px; border-radius: 8px; }
.pg-links { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.pg-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.pg-links a:hover { color: #fff; }
.pg-links .pg-btn { background: var(--gold); color: var(--navy); padding: 9px 14px; border-radius: 12px; font-weight: 800; }
@media (max-width: 560px) {
  .pg-links .pg-hide { display: none; }
}

/* Contenu */
.pg-main { width: min(760px, 100% - 32px); margin: 0 auto; padding: 30px 0 56px; }
.pg-main h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
.pg-lead { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.pg-date { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.pg-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 14px; }
.pg-card h2 { font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.pg-card p { margin: 0 0 8px; }
.pg-card p:last-child { margin-bottom: 0; }
.pg-card ul { margin: 6px 0; padding-left: 20px; }
.pg-card li { margin: 4px 0; }
.pg-note { background: #fff8e6; border-color: #f2d58a; }
.pg-muted { color: var(--muted); }
.pg-kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.pg-kv dt { color: var(--muted); }
.pg-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .pg-kv { grid-template-columns: 1fr; gap: 0; }
  .pg-kv dd { margin-bottom: 8px; }
}
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; background: var(--gold); color: var(--navy); border: 0; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn svg, .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Contact */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.way h2 { font-size: 16px; margin: 0; }
.way p { margin: 0; color: var(--muted); font-size: 14.5px; }
.way .btn { justify-self: start; margin-top: 6px; padding: 10px 14px; }
.ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #eef3ff; color: var(--primary); }
.ic.green { background: var(--ok-bg); color: var(--ok); }
.ic.gold { background: var(--warn-bg); color: var(--warn); }

/* État du service */
.st-banner { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; margin-bottom: 14px; font-weight: 800; font-size: 18px; border: 1px solid transparent; }
.st-banner small { display: block; font-weight: 600; font-size: 14px; opacity: 0.85; }
.st-ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe8cf; }
.st-warn { background: var(--warn-bg); color: var(--warn); border-color: #f2d58a; }
.st-bad { background: var(--bad-bg); color: var(--bad); border-color: #f5c2c2; }
.st-wait { background: #eef1f6; color: var(--muted); }
.st-dot { width: 14px; height: 14px; border-radius: 50%; background: currentColor; flex: none; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 18%, transparent); }
.pg-card .st-list { list-style: none; margin: 0; padding: 0; }
.st-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-list li:last-child { border-bottom: 0; }
.st-list b { font-weight: 600; }
.st-tag { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.st-tag.st-ok, .st-tag.st-warn, .st-tag.st-bad { border: 0; }

/* Pied de page */
.pg-foot { background: var(--navy); color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.pg-foot .in { width: min(960px, 100% - 32px); margin: 0 auto; padding: 26px 0 32px; display: grid; gap: 12px; }
.pg-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pg-foot a { color: #fff; text-decoration: none; font-weight: 600; }
.pg-foot a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pays (Admin → Site et pays) */
.pg-countries { display: grid; gap: 8px; margin: 8px 0; }
.pg-country-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pg-flag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.pg-flag img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.pg-visitor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-weight: 600; margin: 0 0 10px; }
.pg-visitor.ok { background: var(--ok-bg); color: var(--ok); }
.pg-visitor.soon { background: var(--warn-bg); color: var(--warn); }
.pg-visitor.no { background: #eef1f6; color: var(--muted); }

/* Télécharger : boutons des stores */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; padding: 12px 18px; border-radius: 14px; background: #0b1220; color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(10, 26, 54, 0.18); }
.store svg { width: 26px; height: 26px; fill: currentColor; stroke: none; flex: none; }
.store span { display: grid; line-height: 1.15; font-weight: 800; font-size: 19px; }
.store small { font-size: 11.5px; font-weight: 600; opacity: 0.75; }
.store.off { background: #8b93a5; box-shadow: none; cursor: default; }
.pg-qr { display: flex; align-items: center; gap: 18px; }
.pg-qr img { flex: none; }
.pg-qr p { margin: 0; }
@media (max-width: 640px) {
  .store { flex: 1 1 100%; justify-content: center; }
  .pg-qr { display: none; }
}
