/* ==========================================================================
   Nova — page de démonstration statique (HTML/CSS/JS pur)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #14161a;
  --text-muted: #5b6270;
  --accent: #6d5efc;
  --accent-2: #22c1a1;
  --accent-soft: rgba(109, 94, 252, 0.1);
  --ok: #16a34a;
  --danger: #e0345c;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 18, 27, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 18, 27, 0.14);
  --container: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0f1116;
  --bg-alt: #14161d;
  --surface: #181b23;
  --border: #262a35;
  --text: #f1f2f6;
  --text-muted: #9aa1b1;
  --accent-soft: rgba(109, 94, 252, 0.18);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* -------------------- reveal-on-scroll -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  background: var(--surface);
  color: var(--text);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(109, 94, 252, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(109, 94, 252, 0.45); }
.btn-outline { border-color: var(--border); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; font-size: 16px; color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { background: var(--accent-soft); border-color: var(--accent); }

/* -------------------- badges -------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid var(--border); color: var(--text-muted);
}
.badge-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge-ok { background: rgba(22, 163, 74, 0.12); color: var(--ok); border-color: transparent; }

/* -------------------- navbar -------------------- */
.navbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.brand-mark { font-size: 20px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); border-color: var(--accent); }
.navbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 10px 24px 16px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-burger { display: inline-flex; }
  .navbar-actions .btn-sm { display: none; }
}

/* -------------------- hero -------------------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 14px; }
.highlight { color: var(--accent); }
.lead { font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.hero-trust p { margin: 0; font-size: 13.5px; }
.avatars { display: flex; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; object-fit: cover; }
.avatars img:first-child { margin-left: 0; }

.hero-media { position: relative; }
.hero-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.floating-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 14px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.floating-card--top { top: -18px; left: -18px; }
.floating-card--bottom { bottom: -18px; right: -18px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* -------------------- stats -------------------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 36px 0; }
.stat-number { font-size: 30px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; } }

/* -------------------- logo cloud -------------------- */
.logo-cloud { padding: 34px 0; }
.logo-cloud-title { text-align: center; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 16px; }
.logo-row { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; font-weight: 800; color: var(--text-muted); opacity: 0.7; }

/* -------------------- section shell -------------------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }

/* -------------------- card grid -------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 26px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border-radius: 12px; margin-bottom: 14px; }
.card h3 { font-size: 17px; }
.card-link { font-weight: 700; font-size: 13.5px; color: var(--accent); }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

/* -------------------- tabs -------------------- */
.tabs { max-width: 900px; margin: 0 auto; }
.tab-list { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 700; font-size: 13.5px; cursor: pointer; color: var(--text-muted);
}
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.35s ease; }
.tab-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.tab-panel-grid img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
@media (max-width: 760px) { .tab-panel-grid { grid-template-columns: 1fr; } }

.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text); font-size: 14.5px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }

/* -------------------- gallery -------------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 14px;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); cursor: zoom-in; transition: transform 0.25s ease, filter 0.25s ease; }
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.04); }
.gallery-grid img.tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------------------- modal / lightbox -------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(8, 9, 14, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 100;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  padding: 30px; max-width: 480px; width: 100%; box-shadow: var(--shadow-lg);
  transform: scale(0.96); transition: transform 0.2s ease;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-alt); cursor: pointer; font-size: 14px;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.lightbox-modal { max-width: 820px; padding: 12px; background: transparent; box-shadow: none; }
.lightbox-modal img { border-radius: var(--radius-md); max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox-modal .modal-close { background: #fff; color: #111; top: -6px; right: -6px; }

/* -------------------- carousel -------------------- */
.carousel { max-width: 760px; margin: 0 auto; }
.carousel-track { display: flex; overflow: hidden; border-radius: var(--radius-md); }
.testimonial {
  min-width: 100%; margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 34px; text-align: center; transition: transform 0.4s ease;
}
.testimonial p { font-size: 16.5px; color: var(--text); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.testimonial img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption div { text-align: left; font-size: 13px; }
.testimonial figcaption strong { display: block; font-size: 14px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.carousel-dots span.active { background: var(--accent); transform: scale(1.3); }

/* -------------------- pricing -------------------- */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; font-weight: 700; font-size: 14px; }
.switch { position: relative; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; inset: 0; background: var(--border); border-radius: 999px; cursor: pointer; transition: background 0.2s ease;
}
.switch-slider::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff;
  border-radius: 50%; transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.switch input:checked + .switch-slider { background: var(--accent); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card--highlight { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 2px; }
.price-monthly, .price-yearly { font-size: 34px; font-weight: 800; }
.price-period { color: var(--text-muted); font-size: 13px; }
.price-desc { font-size: 13.5px; }
.price-card .check-list { margin: 14px 0 24px; flex: 1; }
.hidden { display: none !important; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .price-card--highlight { transform: none; } }

/* -------------------- accordion -------------------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; padding: 18px 4px; font-size: 15.5px; font-weight: 700;
  color: var(--text); cursor: pointer;
}
.accordion-icon { font-size: 20px; color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-panel p { padding: 0 4px 16px; }

/* -------------------- newsletter banner -------------------- */
.newsletter { background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 50px 0; color: #fff; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h2, .newsletter p { color: #fff; margin: 0; }
.newsletter p { opacity: 0.9; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  padding: 12px 14px; border-radius: var(--radius-sm); border: none; min-width: 240px; font-size: 14px;
}
.newsletter-form .btn-primary { background: #14161a; box-shadow: none; }

/* -------------------- forms -------------------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm); max-width: 720px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label, fieldset legend { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; min-height: 16px; color: var(--danger); font-size: 12px; margin-top: 4px; }
.field-hint { display: block; text-align: right; color: var(--text-muted); font-size: 11.5px; margin-top: 4px; }

fieldset { border: none; padding: 0; margin: 0 0 18px; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-muted);
}
.radio-pill:has(input:checked) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; cursor: pointer; }
.checkbox-row input { margin-top: 3px; }

.spinner {
  width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
.form-success {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(22,163,74,0.12);
  color: var(--ok); font-weight: 600; font-size: 14px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* -------------------- CTA banner -------------------- */
.cta-banner { padding: 70px 0; text-align: center; }
.cta-banner-inner h2 { font-size: clamp(24px, 3vw, 32px); }

/* -------------------- footer -------------------- */
.footer { border-top: 1px solid var(--border); padding-top: 56px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { font-size: 13.5px; max-width: 260px; }
.social-row { display: flex; gap: 8px; margin-top: 14px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 24px; display: flex; align-items: center;
  justify-content: space-between; font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* -------------------- toast -------------------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* -------------------- misc -------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

#backToTop { opacity: 0.85; }

/* ==========================================================================
   Site multipage : composants ajoutés
   ========================================================================== */

.nav-links a.active { color: var(--text); border-color: var(--accent); }
.muted-line { color: var(--text-muted); font-size: 13.5px; margin: 0; }

/* en-tête de page intérieure */
.page-hero { padding: 64px 0 20px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 760px; margin: 6px auto 12px; }
.page-hero .lead { margin: 0 auto; }

/* cloche de notifications */
.bell-wrap { position: relative; }
#bellBtn { position: relative; }
.bell-dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--surface); }
.bell-menu { position: absolute; right: 0; top: 46px; width: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; }
.bell-head { padding: 12px 16px; font-weight: 800; font-size: 13px; border-bottom: 1px solid var(--border); }
.bell-item { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.bell-item:last-child { border-bottom: none; }
.bell-item:hover { background: var(--bg-alt); }
.bell-item span { color: var(--text-muted); }
.bell-item time { font-size: 11.5px; color: var(--text-muted); }
.bell-item.unread { box-shadow: inset 3px 0 0 var(--accent); }
.bell-empty { padding: 14px 16px; margin: 0; font-size: 13px; }
@media (max-width: 480px) { .bell-menu { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; } }

/* pastille « en direct » */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 4px; animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 100% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } }

/* cartes d'articles */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; min-height: 320px; }
a.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card img { width: 100%; height: 160px; object-fit: cover; }
.post-body { padding: 18px; }
.post-meta { font-size: 12px; font-weight: 700; color: var(--accent); }
.post-body h3 { font-size: 16.5px; margin: 6px 0 8px; }
.post-body p { font-size: 13.5px; margin: 0; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* chargement */
.skeleton { background: linear-gradient(90deg, var(--bg-alt) 0%, var(--border) 50%, var(--bg-alt) 100%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-color: transparent; box-shadow: none; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* erreurs */
.error-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); background: color-mix(in srgb, var(--danger) 9%, transparent); color: var(--danger); font-size: 14px; font-weight: 600; }
.empty-state { text-align: center; padding: 40px 0 20px; }
.empty-icon { font-size: 46px; margin-bottom: 10px; }

/* blog */
.blog-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.blog-tools input, .blog-tools select, .currency select, .coupon input {
  padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 14px;
}
.blog-tools input { flex: 1; min-width: 200px; }
.blog-tools input:focus, .coupon input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* article */
.article-title { font-size: clamp(28px, 3.6vw, 40px); margin: 22px 0 10px; }
.article-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
.article-cover { border-radius: var(--radius-md); margin-bottom: 24px; width: 100%; }
.article p { font-size: 16.5px; color: var(--text); }
.article-nav { display: flex; justify-content: space-between; margin-top: 30px; }
.comment { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; }
.comment strong { display: block; font-size: 14px; }
.comment span { font-size: 12px; color: var(--accent); }
.comment p { margin: 6px 0 0; font-size: 14px; }

/* changelog */
.release { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 12px; }
.release-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--text-muted); }
.release p { font-size: 14px; }

/* tarifs */
.pricing-bar { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 10px; }
.currency { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.rate-line { text-align: center; font-size: 12.5px; color: var(--text-muted); min-height: 20px; margin-bottom: 30px; }
.amount { font-size: 34px; font-weight: 800; color: var(--text); }
.coupon { max-width: 420px; margin: 44px auto 0; }
.coupon label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { flex: 1; text-transform: uppercase; }
.coupon-msg { display: block; min-height: 18px; margin-top: 8px; font-size: 13px; color: var(--text-muted); }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.ko { color: var(--danger); }

/* statut */
.status-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.status-list { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.status-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.status-row:last-child { border-bottom: none; }
.status-name { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; min-width: 0; }
.status-name code { grid-column: 2; font-size: 11.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.status-row[data-state="up"] .status-dot { background: var(--ok); }
.status-row[data-state="slow"] .status-dot { background: #f59e0b; }
.status-row[data-state="down"] .status-dot { background: var(--danger); }
.status-bars { display: flex; gap: 3px; height: 26px; align-items: stretch; }
.status-bars i { flex: 1; max-width: 8px; border-radius: 2px; background: var(--border); }
.status-bars i.up { background: var(--ok); }
.status-bars i.slow { background: #f59e0b; }
.status-bars i.down { background: var(--danger); }
.status-info { font-size: 12.5px; font-weight: 700; color: var(--text-muted); text-align: right; min-width: 110px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .status-row { grid-template-columns: 1fr auto; } .status-bars { grid-column: 1 / -1; order: 3; } }
