/* =====================================================================
   CSIRT Universitaire - Design system 2026
   Palette issue du logo : vert #009640, jaune #FFED00, rouge #E30613
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --green: #009640;
  --green-600: #007a34;
  --green-700: #00612a;
  --green-50: #e9f7ef;
  --green-100: #ccefd9;
  --yellow: #ffed00;
  --yellow-soft: #fff7a8;
  --red: #e30613;
  --red-600: #c00510;
  --red-50: #fdecee;
  --orange: #f5730a;
  --orange-50: #fff3e8;
  --blue: #2563eb;
  --blue-50: #eaf1ff;

  --ink: #0a1410;          /* fonds sombres (header, hero, footer) */
  --ink-2: #0f1f19;
  --ink-3: #16302a;
  --line-dark: rgba(255, 255, 255, .09);

  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #0f1a16;
  --text-2: #42524c;
  --muted: #6b7a74;
  --line: #e3e9e6;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 16, .06), 0 1px 3px rgba(10, 20, 16, .05);
  --shadow: 0 6px 24px -8px rgba(10, 20, 16, .16), 0 2px 6px rgba(10, 20, 16, .05);
  --shadow-lg: 0 24px 60px -20px rgba(10, 20, 16, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.ic-lg { width: 28px; height: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.mono { font-family: var(--font-mono); font-size: .9em; }
.muted { color: var(--muted); }
.flag-bar { height: 4px; background: linear-gradient(90deg, var(--green) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--red) 66.6%); }

/* ------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78em 1.3em;
  border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap; font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 150, 64, .7); }
.btn-primary:hover { background: var(--green-600); color: #fff; }
.btn-danger { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(227, 6, 19, .7); }
.btn-danger:hover { background: var(--red-600); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff36b; color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--green); color: var(--green-700); }
.btn-whatsapp { background: #25d366; color: #06260f; }
.btn-whatsapp:hover { background: #1fbe5b; color: #06260f; }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.link-arrow .ic { transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ------------------------------------------------------------ ticker d'alertes */
.ticker { background: var(--ink); color: #dfe9e4; font-size: .84rem; border-bottom: 1px solid var(--line-dark); }
.ticker .container { display: flex; align-items: center; gap: 16px; height: 38px; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; flex: none;
}
.ticker-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: inline-flex; gap: 42px; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker-items:hover { animation-play-state: paused; }
.ticker a { color: #dfe9e4; }
.ticker a:hover { color: var(--yellow); }
.ticker .sev { font-family: var(--font-mono); font-size: .72rem; color: var(--yellow); margin-right: 6px; }
.ticker-tools { display: flex; gap: 14px; align-items: center; flex: none; }
.ticker-tools a { color: #aebdb6; display: inline-flex; gap: 6px; align-items: center; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > .nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--text);
  font-weight: 500; font-size: .93rem; background: none; border: 0; cursor: pointer; font-family: var(--font);
}
.nav-link:hover, .nav-item.open > .nav-link, .nav-link.active { background: var(--green-50); color: var(--green-700); }
.nav-link .ic { width: 15px; height: 15px; transition: transform .2s; }
.nav-item.open > .nav-link .ic { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.mega.cols-1 { grid-template-columns: 1fr; min-width: 320px; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--text); align-items: flex-start; }
.mega a:hover { background: var(--bg); }
.mega .mi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; }
.mega .mi.red { background: var(--red-50); color: var(--red); }
.mega .mi.yellow { background: #fffbd1; color: #8a7a00; }
.mega strong { display: block; font-size: .93rem; font-weight: 600; }
.mega small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.mega-foot { grid-column: 1 / -1; margin-top: 6px; padding: 12px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mega-foot span { font-size: .88rem; color: #c9d6d0; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: .78rem; cursor: pointer; color: var(--muted); font-family: var(--font); }
.lang-switch button.on { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--text); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 80% -10%, rgba(0, 150, 64, .35), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(227, 6, 19, .18), transparent 60%), var(--ink);
  padding: 88px 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #d9e6df; margin-bottom: 22px;
}
.eyebrow .pill { background: var(--yellow); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 2px 8px; font-size: .72rem; }
.hero h1 { color: #fff; }
.hero h1 .hl { background: linear-gradient(90deg, #3ddc84, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: #c3d3cc; max-width: 600px; margin-bottom: 30px; }
.hero-search {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 600px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.hero-search .ic { color: var(--muted); }
.hero-search input { flex: 1; border: 0; outline: 0; font-size: 1rem; padding: 12px 6px; font-family: var(--font); color: var(--text); background: transparent; min-width: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-chips button, .hero-chips a {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #d6e3dd; border-radius: 999px;
  padding: 6px 12px; font-size: .82rem; cursor: pointer; font-family: var(--font);
}
.hero-chips button:hover, .hero-chips a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.threat-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(8px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.threat-panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.threat-panel header h3 { font-size: 1rem; margin: 0; color: #fff; display: flex; gap: 8px; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: #8ff0b6; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: pulse 1.6s infinite; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: #fff; }
.kpi span { font-size: .74rem; color: #9fb3aa; }
.kpi.red b { color: #ff6b74; }
.kpi.yellow b { color: var(--yellow); }
.threat-list { display: flex; flex-direction: column; gap: 8px; }
.threat-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; color: #e6efea; transition: border-color .15s, background .15s; }
.threat-row:hover { border-color: rgba(255, 237, 0, .4); background: rgba(255, 255, 255, .07); color: #fff; }
.threat-row .t { font-size: .87rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.threat-row small { color: #93a79e; font-size: .74rem; }

/* ------------------------------------------------------------ sections */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--ink); color: #e3ece8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { color: var(--text-2); max-width: 640px; margin: 0; font-size: 1.05rem; }
.section-dark .section-head p { color: #a9bbb3; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--green-600); margin-bottom: 12px; }
.kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; flex: none; }
.section-dark .kicker { color: var(--yellow); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------ cartes */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; display: flex; flex-direction: column;
}
a.card { color: var(--text); }
a.card:hover, .card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0d7; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.3; }
.card p { color: var(--text-2); font-size: .93rem; }
.card .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: 12px; }
.card .clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-media { margin: -22px -22px 16px; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--ink-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); margin-bottom: 16px; }
.card-icon .ic { width: 22px; height: 22px; }
.card-alert { border-left: 4px solid var(--red); }
.card-dark { background: var(--ink-2); border-color: var(--line-dark); color: #e3ece8; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #a9bbb3; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; line-height: 1.5; }
.badge .ic { width: 12px; height: 12px; }
.sev-critical { background: var(--red); color: #fff; }
.sev-high { background: var(--orange-50); color: #b45309; }
.sev-medium { background: #fff8db; color: #8a6d00; }
.sev-low, .sev- { background: #eef2f0; color: var(--muted); }
.badge-kev { background: #2b0a0d; color: #ff8a92; border: 1px solid rgba(227, 6, 19, .5); }
.badge-kind { background: #eef2f0; color: var(--text-2); }
.badge-green { background: var(--green-50); color: var(--green-700); }
.badge-yellow { background: var(--yellow); color: var(--ink); }
.badge-lang { background: #fff; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-weight: 500; }
.cve { font-family: var(--font-mono); font-size: .78rem; background: #0f1f19; color: #9ff0c0; padding: 2px 8px; border-radius: 6px; }

/* ------------------------------------------------------------ bandeau statistiques */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: -44px; position: relative; z-index: 2; }
.stat { padding: 24px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1.1; color: var(--ink); }
.stat span { color: var(--muted); font-size: .88rem; }
.stat .ic { color: var(--green); margin-bottom: 8px; width: 22px; height: 22px; }

/* ------------------------------------------------------------ chatbot promo */
.ai-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chat-mock { background: #0d1a15; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); }
.chat-mock .bubble { padding: 12px 14px; border-radius: 14px; font-size: .9rem; margin-bottom: 10px; max-width: 88%; }
.chat-mock .q { background: var(--green); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-mock .a { background: #16302a; color: #dbe7e1; border-bottom-left-radius: 4px; }
.chat-mock .a code { font-family: var(--font-mono); background: rgba(0, 0, 0, .3); padding: 1px 5px; border-radius: 4px; font-size: .82rem; color: var(--yellow); }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.topic-cloud span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #d6e3dd; padding: 7px 12px; border-radius: 999px; font-size: .85rem; }
.topic-cloud .ic { color: var(--yellow); width: 15px; height: 15px; }

/* ------------------------------------------------------------ offres */
.offer { padding: 28px; }
.offer.featured { background: linear-gradient(160deg, var(--ink) 0%, #0f2b20 100%); color: #e3ece8; border: 1px solid rgba(255, 237, 0, .35); grid-column: span 2; }
.offer.featured h3 { color: #fff; font-size: 1.5rem; }
.offer.featured p { color: #b8cac2; }
.offer ul { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; }
.offer li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-2); }
.offer.featured li { color: #d3e0da; }
.offer li .ic { color: var(--green); margin-top: 3px; }
.offer.featured li .ic { color: var(--yellow); }
.offer.featured ul { grid-template-columns: 1fr 1fr; }

/* ------------------------------------------------------------ newsletter / whatsapp */
.cta-band { border-radius: var(--radius-lg); padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: linear-gradient(120deg, var(--green-700), var(--green) 60%, #18b35a); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 237, 0, .35), transparent 65%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e2f5e9; }
.inline-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; position: relative; z-index: 1; }
.inline-form input { flex: 1; border: 0; outline: 0; padding: 10px 16px; font-size: 1rem; border-radius: 999px; font-family: var(--font); min-width: 0; }
.wa-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.qr { width: 168px; height: 168px; background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); position: relative; }
.qr img { width: 100%; height: 100%; }
.qr .wa-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 10px; background: #25d366; color: #fff; display: grid; place-items: center; border: 4px solid #fff; }
.qr .wa-dot .ic { width: 22px; height: 22px; }

/* ------------------------------------------------------------ logos */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.logo-strip a { display: flex; align-items: center; justify-content: center; height: 64px; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-strip a:hover { filter: none; opacity: 1; }
.logo-strip img { max-height: 58px; width: auto; max-width: 120px; object-fit: contain; }

/* ------------------------------------------------------------ pages intérieures */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0%, rgba(0, 150, 64, .35), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; max-width: 900px; }
.page-hero p { color: #b8cac2; max-width: 720px; font-size: 1.07rem; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #8fa59b; margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: #c3d3cc; }
.crumbs a:hover { color: var(--yellow); }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.prose { font-size: 1.03rem; line-height: 1.75; color: #1f2d28; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); }
.prose pre, .prose code { font-family: var(--font-mono); font-size: .88em; }
.prose pre { background: var(--ink); color: #d7e6df; padding: 16px; border-radius: 12px; overflow-x: auto; }
.prose blockquote { border-left: 4px solid var(--green); margin: 1em 0; padding: .4em 1em; background: var(--green-50); border-radius: 0 10px 10px 0; }
.prose span[style*="font-size"] { font-size: inherit !important; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 18px; }
.grid > .panel + .panel { margin-top: 0; }
.panel h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; font-family: var(--font); font-weight: 700; }
.list-links { list-style: none; margin: 0; padding: 0; }
.list-links li + li { border-top: 1px solid var(--line); }
.list-links a { display: block; padding: 10px 0; color: var(--text); font-size: .9rem; line-height: 1.4; }
.list-links a:hover { color: var(--green-700); }
.list-links small { color: var(--muted); display: block; font-size: .76rem; margin-top: 2px; }

/* filtres et formulaires */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text-2); font-size: .86rem; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--green); color: var(--green-700); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on-red { background: var(--red); border-color: var(--red); color: #fff; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; flex: 1; min-width: 240px; }
.search-box input { border: 0; outline: 0; flex: 1; font-size: .95rem; padding: 8px 4px; font-family: var(--font); background: transparent; min-width: 0; }
.select { appearance: none; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a74' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 9px 36px 9px 14px; border-radius: 999px; font-size: .88rem; font-family: var(--font); color: var(--text); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--text); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number],
.field select, .field textarea, .form-control {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .97rem; font-family: var(--font);
  background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus, .form-control:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 150, 64, .12); }
.field .help, .helptext { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--red); font-size: .84rem; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.check-card { position: relative; }
.check-card input { position: absolute; opacity: 0; pointer-events: none; }
.check-card label { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; font-size: .9rem; background: #fff; transition: all .15s; margin: 0; }
.check-card label .ic { color: var(--muted); width: 18px; height: 18px; }
.check-card input:checked + label { border-color: var(--green); background: var(--green-50); color: var(--green-700); box-shadow: 0 0 0 3px rgba(0, 150, 64, .1); }
.check-card input:checked + label .ic { color: var(--green); }
.check-card input:focus-visible + label { outline: 3px solid var(--yellow); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg .check-card label { padding: 10px 16px; border-radius: 999px; }
.switch-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--red-50); border: 1px solid #f7c9cd; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }
.switch-row label { margin: 0; font-weight: 600; }
.alert-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; display: flex; gap: 10px; align-items: center; }
.alert-msg.success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.alert-msg.error { background: var(--red-50); color: var(--red-600); border: 1px solid #f7c9cd; }

/* pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--green); color: var(--green-700); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* timeline / événements */
.event { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; }
.event-date { background: var(--ink); color: #fff; border-radius: 14px; text-align: center; padding: 12px 6px; }
.event-date b { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.event-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); }

/* documents (guides, bulletins) */
.doc-card .card-media { aspect-ratio: 3/4; background: var(--bg); }
.doc-card .card-media img { object-fit: cover; object-position: top; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #a9bbb3; padding: 72px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #a9bbb3; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand img { height: 46px; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-qr { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); padding: 14px; border-radius: 14px; }
.footer-qr img { width: 84px; height: 84px; background: #fff; border-radius: 10px; padding: 5px; }

/* ------------------------------------------------------------ widget chatbot */
.cg-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px;
  background: var(--ink); color: #fff; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
  cursor: pointer; font-weight: 600; font-family: var(--font); font-size: .93rem; transition: transform .2s;
}
.cg-fab:hover { transform: translateY(-2px); }
.cg-fab .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), #3ddc84); position: relative; }
.cg-fab .av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.cg-panel {
  position: fixed; right: 22px; bottom: 92px; z-index: 81; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 120px));
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: all .22s;
}
.cg-panel.open { opacity: 1; visibility: visible; transform: none; }
.cg-head { background: var(--ink); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.cg-head .av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), #3ddc84); flex: none; }
.cg-head b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.cg-head small { color: #9fb3aa; font-size: .78rem; }
.cg-head .cg-actions { margin-left: auto; display: flex; gap: 4px; }
.cg-head button, .cg-head a { background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.cg-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg); scroll-behavior: smooth; }
.cg-msg { margin-bottom: 14px; display: flex; }
.cg-msg .b { padding: 11px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.55; max-width: 92%; overflow-wrap: anywhere; }
.cg-msg.user { justify-content: flex-end; }
.cg-msg.user .b { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.cg-msg.bot .b { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.cg-msg .b p { margin: 0 0 .6em; }
.cg-msg .b p:last-child { margin: 0; }
.cg-msg .b ul, .cg-msg .b ol { margin: .3em 0 .6em; padding-left: 1.2em; }
.cg-msg .b h3, .cg-msg .b h4 { font-size: .98rem; margin: .8em 0 .3em; }
.cg-msg .b code { font-family: var(--font-mono); font-size: .82em; background: #eef2f0; padding: 1px 5px; border-radius: 5px; }
.cg-msg .b pre { background: var(--ink); color: #d7e6df; padding: 12px; border-radius: 10px; overflow-x: auto; font-size: .8rem; }
.cg-msg .b pre code { background: none; color: inherit; padding: 0; }
.cg-msg .b a { text-decoration: underline; }
.cg-sources { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.cg-sources a { display: flex; gap: 8px; font-size: .78rem; color: var(--text-2); background: var(--bg); border: 1px solid var(--line); padding: 6px 9px; border-radius: 9px; text-decoration: none !important; }
.cg-sources a:hover { border-color: var(--green); color: var(--green-700); }
.cg-sources .n { font-family: var(--font-mono); color: var(--green-600); font-weight: 700; flex: none; }
.cg-suggest { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.cg-suggest button { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .86rem; cursor: pointer; color: var(--text); font-family: var(--font); transition: border-color .15s; }
.cg-suggest button:hover { border-color: var(--green); color: var(--green-700); }
.cg-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; }
.cg-form textarea { flex: 1; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; resize: none; font-family: var(--font); font-size: .93rem; max-height: 140px; min-height: 44px; outline: 0; }
.cg-form textarea:focus { border-color: var(--green); }
.cg-form button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.cg-form button:disabled { opacity: .5; cursor: default; }
.cg-disclaimer { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* page chatbot plein écran */
.chat-page { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch; }
.chat-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 560px; overflow: hidden; }
.chat-shell .cg-body { padding: 26px; }
.chat-shell .cg-msg .b { max-width: 82%; font-size: .97rem; }

/* animations d'apparition */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-link { padding: 10px 9px; font-size: .9rem; }
  .header-actions .btn-incident span { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + 0px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; gap: 0; margin: 0; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .mega { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 10px; display: none; opacity: 1; visibility: visible; grid-template-columns: 1fr; }
  .nav-item.open .mega { display: grid; transform: none; }
  .mega-foot { display: none; }
  .hero-grid, .ai-promo, .cta-band, .layout-side, .chat-page { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .offer.featured { grid-column: auto; }
  .offer.featured ul { grid-template-columns: 1fr; }
  .chat-page aside { display: none; }
  .ticker-tools { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .hero { padding: 56px 0 64px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .wa-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band { padding: 28px; }
  .inline-form { flex-direction: column; border-radius: 18px; }
  .brand img { height: 32px; }
  .header-actions .btn-incident { display: none; }
  .cg-fab span { display: none; }
  .cg-fab { padding: 12px; }
  .cg-panel { right: 12px; bottom: 84px; }
  .event { grid-template-columns: 64px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ correctifs mobile */
.hero-grid > *, .layout-side > *, .ai-promo > *, .cta-band > *, .chat-page > * { min-width: 0; }
.hero, .page-hero, main { overflow-x: clip; }
.eyebrow { max-width: 100%; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero-search { padding-left: 14px; }
  .hero-search .btn span { display: none; }
  .hero-search .btn { padding: .78em .9em; }
  .hero-lead { font-size: 1.02rem; }
  .hero-cta .btn { width: 100%; }
  .threat-panel { padding: 16px; }
  .kpi b { font-size: 1.35rem; }
  .stats-band { margin-top: -28px; }
  .stat { padding: 18px; }
  .stat b { font-size: 1.5rem; }
  .section-head { margin-bottom: 24px; }
  .page-hero { padding: 40px 0 34px; }
  .lang-switch button { padding: 5px 8px; }
}
.ticker-track { min-width: 0; }
.ticker { overflow: hidden; }
@media (max-width: 960px) {
  .nav { visibility: hidden; }
  body.nav-open .nav { visibility: visible; }
}
body { overflow-x: clip; }
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { top: calc(var(--header-h) + 42px); position: fixed; height: auto; bottom: 0; }
}

/* Très petits écrans (320-360 px) : l'en-tête doit tenir sans débordement horizontal */
@media (max-width: 380px) {
  .header-inner, .site-header .container { gap: 8px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { height: 28px; max-width: 150px; }
  .header-actions { gap: 6px; }
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 4px 7px; font-size: .72rem; }
}

/* Visuels de formations (affiches presque carrées, avec texte) : affichés en entier, jamais rognés */
.card-media.card-media-full { aspect-ratio: auto; background: #fff; border-bottom: 1px solid var(--line); }
.card-media.card-media-full img { height: auto; object-fit: contain; display: block; }
a.card:hover .card-media.card-media-full img { transform: none; }
.detail-figure-full img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); }

/* Présentation détaillée d'un élément de veille */
.analyse .h-sec { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin: 0 0 10px; }
.analyse h3 { font-size: 1.02rem; margin: 22px 0 8px; color: var(--ink); }
.lead-txt { font-size: 1.06rem; line-height: 1.65; color: var(--text); }
.analyse-loading { display: flex; align-items: center; gap: 8px; animation: pulse 1.6s infinite; }
table.kv { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.kv th { text-align: left; font-weight: 600; color: var(--muted); padding: 7px 12px 7px 0; width: 42%; vertical-align: top; }
table.kv td { padding: 7px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
table.kv tr:last-child td { border-bottom: 0; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.plain-list code { font-size: .82rem; overflow-wrap: anywhere; }
details.source-text summary { cursor: pointer; font-weight: 600; }
.source-box { border-left: 4px solid var(--green, #009640); }
.ref-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9rem; }
.ref-list a { overflow-wrap: anywhere; }
.ref-list small { color: var(--muted); }
@media (max-width: 640px) { table.kv th { width: auto; display: block; padding-bottom: 0; } table.kv td { display: block; } }

/* Loader de la fiche détaillée */
.loader-panel { padding: 28px; }
.loader-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.loader-head p { margin: 4px 0 0; font-size: .93rem; }
.spinner { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green-600, #009640); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { display: grid; gap: 12px; }
.skeleton i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef2f0 25%, #e1e8e4 50%, #eef2f0 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton i.gap { margin-top: 12px; height: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .spinner, .skeleton i { animation: none; } }
.badge-red { background: var(--red, #e30613); color: #fff; }
