/* ==========================================================================
   Site public (accueil, tarifs, inscription) + espace abonnement
   ========================================================================== */
.site { background: var(--surface); }
.site-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-bottom-color: var(--border); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-nav .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.site-nav .brand { padding: 0; color: var(--text); }
.site-nav a.brand:hover { color: var(--text); }
.site-nav .brand-sub { color: var(--text-3); }
.site-links { display: flex; gap: 26px; margin-left: 12px; }
.site-links a { color: var(--text-2); font-weight: 550; font-size: 14px; }
.site-links a:hover { color: var(--text); }
.site-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-cta .icon-btn { color: var(--text-2); }
.site-cta .icon-btn:hover { background: var(--surface-hover); color: var(--text); }

/* Menu principal : liste déroulante Produit, point de statut, menu mobile */
html { scroll-padding-top: 84px; }
.site-links { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); font-weight: 550; font-size: 14px; cursor: pointer; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--text); }
.nav-drop-btn .icon { transition: transform .2s var(--ease); }
.nav-drop.open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-drop-panel { position: absolute; top: calc(100% + 14px); left: -18px; width: 340px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: none; z-index: 60; }
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop.open .nav-drop-panel { display: block; }
.nav-drop-panel a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: var(--radius); color: var(--text); }
.nav-drop-panel a:hover, .nav-drop-panel a:focus-visible { background: var(--surface-hover); color: var(--text); }
.nav-drop-panel strong { display: block; font-size: 14px; font-weight: 600; }
.nav-drop-panel small { display: block; color: var(--text-3); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.nd-i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.nd-i .icon { width: 18px; height: 18px; }
.nd-i.nd-teal { background: var(--ok-soft); color: var(--ok); }
.nav-drop-panel a.nd-foot { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); padding: 10px 12px 8px; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--brand); }
.nav-statut { display: inline-flex; align-items: center; gap: 7px; }
.dot-statut { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot-statut.dot-degrade, .dot-statut.dot-maintenance { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.dot-statut.dot-panne { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.nav-mobile-cta, .nav-burger { display: none; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 11px; }

.hero { position: relative; overflow: hidden; padding: 84px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 820px; pointer-events: none;
  background: radial-gradient(600px 340px at 20% 30%, rgba(99,102,241,.16), transparent 70%), radial-gradient(520px 300px at 85% 20%, rgba(6,182,212,.12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); font-size: 13px; color: var(--text-2); font-weight: 550; }
.pill b { background: var(--brand-soft); color: var(--brand); padding: 2px 9px; border-radius: 99px; font-size: 12px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; max-width: 900px; margin: 22px auto 0; }
.grad { background: linear-gradient(100deg, #4f46e5 10%, #8b5cf6 50%, #06b6d4 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .grad { background: linear-gradient(100deg, #a5b4fc 10%, #c4b5fd 50%, #67e8f9 95%); -webkit-background-clip: text; background-clip: text; }
.hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 680px; margin: 22px auto 0; line-height: 1.6; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--text-3); font-size: 13px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { color: var(--ok); }

.mock { position: relative; margin: 64px auto 0; max-width: 1080px; border-radius: 18px; padding: 10px; background: linear-gradient(180deg, var(--border), transparent); box-shadow: 0 40px 80px -30px rgba(16, 24, 40, .35); }
.mock-inner { border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.mock-bar span { margin-left: 12px; font-size: 12px; color: var(--text-3); font-family: var(--mono); background: var(--bg-sunken); padding: 3px 12px; border-radius: 6px; }
.mock-body { padding: 20px; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.mock-body .card { box-shadow: none; margin: 0; }
.mock-wide { grid-column: span 3; } .mock-side { grid-column: span 1; }
@media (max-width: 860px) { .mock-body { grid-template-columns: 1fr 1fr; } .mock-wide, .mock-side { grid-column: 1 / -1; } .mock .hide-mock { display: none; } }

.logos { padding: 36px 0 8px; text-align: center; color: var(--text-3); font-size: 13px; font-weight: 550; }
.logos-row { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 16px; }
.logos-row span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 650; font-size: 15px; color: var(--text-2); }
.logos-row .icon { color: var(--text-3); }

.section { padding: 96px 0; }
.section.alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 650; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.section-head p { color: var(--text-2); font-size: 17px; margin-top: 14px; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 20px; }
.feature-icon.c1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 8px 18px -8px #6366f1; }
.feature-icon.c2 { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 8px 18px -8px #10b981; }
.feature-icon.c3 { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 8px 18px -8px #f59e0b; }
.feature h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { color: var(--text-2); line-height: 1.6; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.feature li { display: flex; gap: 9px; align-items: flex-start; color: var(--text-2); font-size: 14px; }
.feature li .icon { color: var(--ok); margin-top: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }
.split h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; line-height: 1.15; font-weight: 700; }
.split p.lead { color: var(--text-2); font-size: 16.5px; margin-top: 14px; line-height: 1.65; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.checks .tick .icon { width: 13px; height: 13px; stroke-width: 3; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps-row { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: 18px; border: 1px dashed var(--border-strong); background: var(--surface); }
.step-n { width: 36px; height: 36px; border-radius: 10px; background: var(--text); color: var(--surface); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); margin-bottom: 18px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-2); }

/* Tarifs */
.center { text-align: center; }
.billing-toggle { display: inline-flex; margin: 0 auto 44px; padding: 4px; border-radius: 12px; background: var(--bg-sunken); border: 1px solid var(--border); gap: 4px; }
.billing-toggle button { border: 0; background: none; font: inherit; font-weight: 600; color: var(--text-2); padding: 9px 18px; border-radius: 9px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: 11.5px; color: var(--ok); background: var(--ok-soft); padding: 2px 7px; border-radius: 99px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; text-align: left; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 24px 48px -20px rgba(79, 70, 229, .45); }
.plan.current { border: 2px solid var(--ok); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 650; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan.current .plan-tag { background: var(--ok); }
.plan h3 { font-size: 18px; }
.plan .pitch { color: var(--text-2); margin-top: 6px; min-height: 42px; }
.price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--text-3); font-weight: 550; }
.price-note { color: var(--text-3); font-size: 13px; min-height: 20px; }
.plan form, .plan > .btn { margin: 22px 0 24px; }
.plan form .btn { width: 100%; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 0; display: grid; gap: 11px; border-top: 1px solid var(--border); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.plan li .icon { color: var(--brand); margin-top: 2px; flex: none; }
[data-periode="mensuel"] .annuel, [data-periode="annuel"] .mensuel { display: none !important; }
.pay-logos { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; color: var(--text-3); font-size: 13px; align-items: center; }
.pay-logos .tag { font-family: var(--font); font-size: 12px; height: 26px; padding: 0 10px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--text-3); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 20px; line-height: 1.65; }

.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 64px 40px; text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 10% 0%, rgba(139,92,246,.55), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(6,182,212,.4), transparent 60%), #0c111d; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; }
.cta-band p { color: #a9b1c0; font-size: 17px; margin: 14px auto 0; max-width: 560px; }
.cta-band .hero-cta { margin-top: 30px; }
.cta-band .btn:not(.btn-primary) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }

.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 13px; margin: 0 0 14px; color: var(--text); }
.footer-grid a { display: block; color: var(--text-2); padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--text); }
.footer-grid a.brand { display: flex; color: var(--text); padding: 0 0 12px; }
.footer-grid .brand-sub { color: var(--text-3); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; color: var(--text-3); font-size: 13px; flex-wrap: wrap; gap: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-burger { display: inline-grid; }
  .site-links { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); max-height: calc(100vh - 68px); overflow-y: auto; }
  .site-links.open { display: flex; }
  .site-links > a, .nav-drop-btn { padding: 13px 4px; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav-drop-btn { width: 100%; justify-content: space-between; }
  .nav-drop-panel { position: static; width: auto; border: 0; box-shadow: none; padding: 4px 0 8px; background: none; }
  .nav-drop-panel::before { display: none; }
  .nav-mobile-cta { display: flex; gap: 10px; padding-top: 16px; }
  .nav-mobile-cta .btn { flex: 1; justify-content: center; }
  .site-cta .btn:not(.btn-primary) { display: none; }
  .hero { padding-top: 56px; }
  .section { padding: 72px 0; }
}

/* Inscription */
.auth-card .check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text-2); font-size: 13.5px; }
.auth-card .check-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); }
.auth-alt { text-align: center; margin-top: 18px; color: var(--text-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* Abonnement (espace client) */
.plan-current { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px; }
@media (max-width: 760px) { .plan-current { grid-template-columns: 1fr; } }
.usage { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.usage > div { padding: 18px 24px; border-right: 1px solid var(--border); }
.usage > div:last-child { border-right: 0; }
@media (max-width: 760px) { .usage { grid-template-columns: 1fr; } .usage > div { border-right: 0; border-bottom: 1px solid var(--border); } }
.result-page { max-width: 560px; margin: 40px auto; text-align: center; }
.result-icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); box-shadow: 0 0 0 10px var(--ok-soft); }
.result-icon.bad { background: var(--bad); box-shadow: 0 0 0 10px var(--bad-soft); }
.result-icon.wait { background: var(--warn); box-shadow: 0 0 0 10px var(--warn-soft); }
.result-icon .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--warn-line); background: var(--warn-soft); color: var(--text); }
.notice .icon { color: var(--warn); flex: none; margin-top: 1px; }
.notice.info { border-color: var(--border); background: var(--brand-soft); }
.notice.info .icon { color: var(--brand); }

/* Reçu imprimable */
.receipt { max-width: 760px; margin: 0 auto; padding: 44px; }
.receipt-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.receipt table td, .receipt table th { padding: 12px 0; background: none; }
.receipt tbody tr:hover { background: none; }
.receipt .total td { font-size: 17px; font-weight: 700; border-top: 2px solid var(--text); }
@media print {
  .sidebar, .topbar, .no-print, .toasts { display: none !important; }
  .app { display: block; } .content { padding: 0; } body { background: #fff; }
  .card { border: 0; box-shadow: none; }
}

.trial-box { display: block; margin: 16px 4px 0; padding: 12px 14px; border-radius: 10px; background: var(--side-surface); border: 1px solid var(--side-border); color: var(--side-text); font-size: 12.5px; }
.trial-box:hover { color: var(--side-text); border-color: #333c4e; }
.trial-box strong { display: block; color: var(--side-text-strong); font-size: 13px; margin-bottom: 2px; }

.split .card h3 { font-size: 14px; letter-spacing: 0; font-weight: 600; line-height: 1.4; }

/* ---------- Pages légales ---------- */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal-head h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.03em; margin: 8px 0 6px; }
.legal-meta { color: var(--text-3); margin: 0 0 22px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 32px; font-size: 14px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal code { font-size: 13px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Onglets sans JavaScript (guide d'installation de l'agent) */
.onglets { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0 4px; }
.onglets > input { position: absolute; opacity: 0; pointer-events: none; }
.onglets > label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 9px 9px 0 0; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--text-2); border: 1px solid transparent; border-bottom: 0; margin: 0; }
.onglets > label:hover { color: var(--text); }
.onglets > input:checked + label { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.onglets > input:focus-visible + label { box-shadow: 0 0 0 3px var(--brand-ring); }
.onglets > .onglet { display: none; grid-column: 1 / -1; grid-row: 2; padding: 16px; border: 1px solid var(--border); border-radius: 0 10px 10px 10px; background: var(--surface-2); }
.onglets > input:nth-of-type(1):checked ~ .onglet:nth-of-type(1),
.onglets > input:nth-of-type(2):checked ~ .onglet:nth-of-type(2),
.onglets > input:nth-of-type(3):checked ~ .onglet:nth-of-type(3) { display: block; }
.onglet .steps { margin-top: 10px; }
.onglet .steps .btn { display: inline-flex; }
@media (max-width: 640px) { .onglets { grid-template-columns: 1fr; } .onglets > label { border-radius: 9px; } .onglets > .onglet { grid-row: auto; border-radius: 10px; } }

/* Documentation de l'API */
.docs pre { margin: 12px 0 16px; padding: 14px 16px; border-radius: 12px; background: #0f1422; color: #dbe2f0; border: 1px solid var(--border); overflow-x: auto; font-size: 12.5px; line-height: 1.6; }
.docs pre code { font-family: var(--mono); font-size: inherit; color: inherit; background: none; padding: 0; border: 0; }
.docs ol { padding-left: 20px; display: grid; gap: 6px; }
.docs-ep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.docs-ep code { font-size: 14px; font-weight: 600; color: var(--text); background: none; border: 0; padding: 0; }
.docs-ep .verbe { font: 700 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; color: #fff; }
.docs-ep .verbe.get { background: #2563eb; } .docs-ep .verbe.post { background: #16a34a; } .docs-ep .verbe.put { background: #c2410c; }
.docs-ep .scope { margin-left: auto; font-size: 12px; color: var(--text-3); }
.docs-table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; }
.docs-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.docs-table th, .docs-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.docs-table th { background: var(--bg-sunken); color: var(--text); font-weight: 600; font-size: 12.5px; }
.docs-table tr:last-child td { border-bottom: 0; }

/* Page de statut publique */
.statut-page h2 { font-size: 18px; margin: 34px 0 12px; }
.statut-global { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); font-size: 17px; }
.statut-global .pastille { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 20%, transparent); }
.statut-global.degrade, .statut-global.maintenance { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.statut-global.degrade .pastille, .statut-global.maintenance .pastille { background: var(--warn); }
.statut-global.panne { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.statut-global.panne .pastille { background: var(--bad); }
.statut-composants { list-style: none; padding: 0; margin: 18px 0 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: block !important; }
.statut-composants li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface); }
.statut-composants li:last-child { border-bottom: 0; }
.statut-composants .etat { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ok); }
.statut-composants .etat i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.statut-composants .etat.degrade, .statut-composants .etat.maintenance { color: var(--warn); }
.statut-composants .etat.panne { color: var(--bad); }
.statut-jours { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 34px; }
.statut-jours span { border-radius: 2px; background: var(--ok); opacity: .85; }
.statut-jours span.maintenance { background: var(--info, #3b82f6); }
.statut-jours span.mineur { background: var(--warn); }
.statut-jours span.majeur { background: var(--bad); }
.statut-legende { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); margin-top: 8px; }
.statut-legende i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 4px 0 10px; background: var(--ok); vertical-align: -1px; }
.statut-legende i.maintenance { background: var(--info, #3b82f6); } .statut-legende i.mineur { background: var(--warn); } .statut-legende i.majeur { background: var(--bad); }
.statut-incident { margin-top: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); border-left: 4px solid var(--warn); }
.statut-incident.majeur { border-left-color: var(--bad); } .statut-incident.maintenance { border-left-color: var(--info, #3b82f6); }
.statut-incident.passe { border-left-color: var(--border-strong); }
.statut-incident .tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.statut-incident .tete span { font-size: 12.5px; color: var(--text-3); }
.statut-incident p { margin: 6px 0 0; font-size: 14px; }
