/* ===== Site interne — Département NT (identité Charisma) ===== */
:root {
    --brand-50: #eff6ff; --brand-100: #dbeafe; --brand-200: #bfdbfe; --brand-400: #60a5fa; --brand-500: #3b82f6; --brand-600: #2563eb; --brand-700: #1d4ed8; --brand-800: #1e40af; --brand-900: #1e3a8a; --brand-950: #0a1424;
    --navy: #0d4977; --gold: #f59e0b; --gold-soft: #fef3c7;
    --bg: #f8fafc; --surface: #ffffff; --surface-2: #f1f5f9; --text: #0f172a; --text-2: #475569; --text-3: #64748b; --border: #e2e8f0; --border-2: #cbd5e1;
    --ok: #15803d; --ok-bg: #dcfce7; --warn: #a16207; --warn-bg: #fef9c3; --off: #94a3b8;
    --shadow-soft: 0 4px 14px -4px rgba(15,23,42,.08); --shadow-lg: 0 12px 32px -8px rgba(15,23,42,.14);
    --ring: 0 0 0 3px rgba(59,130,246,.45);
    --r: 16px; --r-s: 10px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    color-scheme: light;
}
html.dark {
    --bg: #0a1424; --surface: #101c33; --surface-2: #16243f; --text: #e2e8f0; --text-2: #b4c0d3; --text-3: #8b9bb4; --border: #1f2e4d; --border-2: #2b3d61;
    --brand-50: #152649; --brand-100: #1b2f58; --gold-soft: #3b2f0c; --ok-bg: #0f3b22; --warn-bg: #3b300c;
    --shadow-soft: 0 4px 14px -4px rgba(0,0,0,.5); --shadow-lg: 0 12px 32px -8px rgba(0,0,0,.6);
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-600); text-decoration: none; } a:hover { text-decoration: underline; }
html.dark a { color: var(--brand-400); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.15rem; } h4 { font-size: .95rem; }
p { color: var(--text-2); } .lead { font-size: 1.12rem; color: var(--text-2); max-width: 62ch; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--surface); padding: .5rem .9rem; border-radius: 8px; z-index: 100; box-shadow: var(--shadow-lg); } .skip:focus { top: 1rem; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.hide-sm { } .muted { color: var(--text-3); } .small { font-size: .88rem; } .center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
html.dark .eyebrow { color: var(--brand-400); }
.section { padding: 4.5rem 0; } .section.tight { padding: 3rem 0; } .section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 2.4rem; } .section-head p { margin-top: .7rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; } .section-head.center .eyebrow { justify-content: center; }

/* ----- Header ----- */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--surface) 85%, transparent); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none !important; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--shadow-soft); transition: transform .2s; } .brand:hover .brand-logo { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; } .brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--text); } .brand-text small { font-size: .72rem; color: var(--text-3); }
.site-nav { display: flex; gap: .25rem; margin-left: auto; }
.site-nav a { position: relative; padding: .5rem .8rem; border-radius: 8px; font-weight: 500; font-size: .92rem; color: var(--text-2); text-decoration: none !important; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a.active { color: var(--brand-700); } html.dark .site-nav a.active { color: var(--brand-400); }
.site-nav a.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; } .icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
.i-moon { display: none; } html.dark .i-moon { display: block; } html.dark .i-sun { display: none; }
.nav-toggle { display: none; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 12px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand-600), var(--navy)); color: #fff !important; box-shadow: 0 6px 16px -6px rgba(37,99,235,.55); } .btn-primary:hover { box-shadow: 0 10px 22px -8px rgba(37,99,235,.65); }
.btn-outline { background: var(--surface); color: var(--text) !important; border-color: var(--border-2); } .btn-outline:hover { border-color: var(--brand-400); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.25); } .btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: .5rem .95rem; font-size: .86rem; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ----- Hero ----- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 80% -10%, rgba(96,165,250,.35), transparent 60%), linear-gradient(135deg, var(--brand-950) 0%, var(--navy) 55%, var(--brand-700) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; padding: 5rem 0 4.5rem; }
.hero h1, .hero p { color: #fff; } .hero .lead { color: rgba(255,255,255,.82); }
.hero .eyebrow { color: #fcd34d; } .hero .eyebrow::before { background: #fcd34d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-sub { position: relative; color: #fff; padding: 4.2rem 0 3.6rem; max-width: 760px; }
.hero-sub h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); } .hero-sub .lead { margin-top: .9rem; }
.hero-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); border-radius: 20px; padding: 1.4rem; }
.hero-panel h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; opacity: .85; }
.quick { display: grid; gap: .6rem; }
.quick a { display: flex; align-items: center; gap: .9rem; padding: .8rem .95rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none !important; transition: background .15s, transform .15s; }
.quick a:hover { background: rgba(255,255,255,.14); transform: translateX(3px); }
.quick .qi { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; } .quick .qi svg { width: 20px; height: 20px; }
.quick strong { display: block; font-size: .95rem; } .quick small { display: block; font-size: .78rem; opacity: .75; }

/* ----- Stats ----- */
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1rem; margin-top: -2.4rem; position: relative; z-index: 2; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-soft); }
.stat .n { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1; } html.dark .stat .n { color: var(--brand-400); }
.stat .l { font-size: .85rem; color: var(--text-3); margin-top: .35rem; }

/* ----- Cards ----- */
.grid { display: grid; gap: 1.25rem; } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-soft); transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
a.card { color: inherit; text-decoration: none !important; display: block; } a.card:hover, .card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-400); }
.card h3 { margin-bottom: .5rem; } .card p { font-size: .95rem; }
.card-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--c, var(--brand-600)); margin-bottom: 1.1rem; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); } .card-icon svg { width: 24px; height: 24px; }
.card .more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .9rem; margin-top: 1rem; color: var(--brand-600); } html.dark .card .more { color: var(--brand-400); }
.card.accent { border-top: 4px solid var(--c, var(--brand-600)); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); } html.dark .tag { color: var(--brand-200); }
.tag.gold { background: var(--gold-soft); color: #92400e; } html.dark .tag.gold { color: #fcd34d; }
.list-check { list-style: none; display: grid; gap: .55rem; margin-top: .8rem; } .list-check li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
.list-check li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: .2rem; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ----- Branches (organisation) ----- */
.org { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.branch { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-soft); border-top: 4px solid var(--c); }
.branch h3 { display: flex; align-items: center; gap: .6rem; } .branch h3 .card-icon { width: 38px; height: 38px; border-radius: 10px; margin: 0; } .branch h3 .card-icon svg { width: 20px; height: 20px; }
.branch .role { font-size: .82rem; color: var(--text-3); margin: .3rem 0 .8rem; }
.sub-branches { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--border); display: grid; gap: .7rem; }
.sub-branch { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 12px; background: var(--surface-2); }
.sub-branch .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-top: .45rem; flex-shrink: 0; }
.sub-branch strong { display: block; font-size: .92rem; color: var(--text); } .sub-branch span { font-size: .85rem; color: var(--text-2); }

/* ----- Steps / process ----- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem 1.4rem 1.4rem; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--brand-100); position: absolute; top: 1rem; right: 1.2rem; } html.dark .step::before { color: var(--brand-800); }
.step h3 { font-size: 1.02rem; margin-bottom: .4rem; } .step p { font-size: .92rem; }

/* ----- Tables / service catalogue ----- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding: .85rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); } td strong { color: var(--text); }
tr:last-child td { border-bottom: 0; }
.prio { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .85rem; white-space: nowrap; } .prio::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pc); }

/* ----- Timeline ----- */
.timeline { position: relative; display: grid; gap: 1.2rem; padding-left: 1.8rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border-2); }
.tl { position: relative; } .tl::before { content: ""; position: absolute; left: -1.8rem; top: .45rem; width: 16px; height: 16px; border-radius: 50%; background: var(--c, var(--brand-600)); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--border-2); }
.tl h3 { font-size: 1rem; } .tl p { font-size: .92rem; }

/* ----- CTA band ----- */
.cta { background: linear-gradient(135deg, var(--navy), var(--brand-700)); color: #fff; border-radius: 24px; padding: 2.6rem 2.4rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta h2, .cta p { color: #fff; } .cta p { opacity: .85; margin-top: .4rem; max-width: 56ch; }
.cta .actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ----- Applications (annuaire) ----- */
.search { position: relative; max-width: 560px; margin-top: 1.4rem; }
.search svg.lens { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.search input { width: 100%; height: 50px; padding: 0 5.5rem 0 2.9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; box-shadow: var(--shadow-lg); }
.search input:focus-visible { border-radius: 999px; box-shadow: var(--shadow-lg), var(--ring); }
.search kbd { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font: 600 .72rem var(--font); color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border-2); border-bottom-width: 2px; border-radius: 6px; padding: .15rem .45rem; }
.search .clear { position: absolute; right: 3.1rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 1.1rem; display: none; padding: .3rem; }
.search.has-value .clear { display: block; } .search.has-value kbd { display: none; }
.apps-section { margin-bottom: 2.4rem; }
.apps-head { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.apps-head h3 { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.apps-head .count { font-size: .75rem; font-weight: 600; color: var(--text-3); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .5rem; }
.apps-head .hint { margin-left: auto; font-size: .82rem; color: var(--text-3); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.app { display: flex; flex-direction: column; gap: .8rem; padding: 1.15rem 1.2rem 1.05rem; }
.app-top { display: flex; align-items: flex-start; gap: .9rem; } .app .card-icon { width: 46px; height: 46px; margin: 0; }
.app-title { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--text); display: flex; align-items: center; gap: .4rem; }
.app-title .ext { width: 13px; height: 13px; color: var(--text-3); opacity: 0; transition: opacity .18s; } .app:hover .ext, .app:focus-visible .ext { opacity: 1; }
.app-sub { font-size: .8rem; color: var(--text-3); } .app-desc { font-size: .9rem; flex: 1; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .75rem; border-top: 1px dashed var(--border); }
.url { font-size: .78rem; color: var(--text-3); font-family: ui-monospace, Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--off); }
.status.ok { color: var(--ok); } .status.ok::before { background: var(--ok); } .status.down { color: var(--warn); } .status.down::before { background: var(--warn); }
.status.checking::before { animation: pulse 1.2s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.app[hidden] { display: none; } main.show-down .app[data-down], .apps-dir[data-hide-down="0"] .app[data-down] { opacity: .6; }
.hidden-note { font-size: .85rem; color: var(--text-3); padding: .9rem 1.1rem; background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--r-s); }
.hidden-note button { font: inherit; color: var(--brand-600); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.empty { display: none; text-align: center; color: var(--text-3); padding: 3rem 1rem; background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--r); }
main.no-results .apps-section { display: none; } main.no-results .empty { display: block; }

/* ----- Footer ----- */
.site-footer { margin-top: 4rem; background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; } .site-footer ul a { color: var(--text-2); font-size: .92rem; } .site-footer ul a:hover { color: var(--brand-600); }
.footer-text { font-size: .9rem; margin-top: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.1rem 1.5rem; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-3); }

/* ----- Reveal ----- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); } .js .reveal.in { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 1024px) { .grid-4, .steps { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(2, 1fr); } .org, .grid-3 { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; padding: 3.5rem 0 3rem; gap: 2rem; }
    .nav-toggle { display: grid; } .hide-sm { display: none !important; }
    .site-nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: .75rem 1rem 1rem; box-shadow: var(--shadow-lg); display: none; margin: 0; }
    .site-nav.open { display: flex; } .site-nav a { padding: .8rem .9rem; font-size: 1rem; } .site-nav a.active::after { display: none; } .site-nav a.active { background: var(--brand-50); }
}
@media (max-width: 640px) {
    .container { padding: 0 1.1rem; } .section { padding: 3rem 0; }
    .grid-2, .grid-3, .grid-4, .org, .steps, .stats { grid-template-columns: 1fr; } .stats { margin-top: -1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.2rem 1.1rem 1.5rem; }
    .cta { padding: 2rem 1.4rem; border-radius: 18px; } .brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ===== Ajouts CMS ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead p + p, .card p + p, .panel-body p + p, .prose p + p { margin-top: .7rem; }
.hero .lead a { color: #fcd34d; text-decoration: underline; }
.hero-sub .lead { margin-top: .9rem; }
.btn-white { background: #fff; color: var(--navy) !important; } .btn-white:hover { box-shadow: var(--shadow-lg); }
.stats.flat { margin-top: 0; padding-top: 2rem; }
.card h3 { margin-top: 0; } .card .tag + h3 { margin-top: .7rem; }
.card.highlight { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--brand-700)); border: 0; }
.card.highlight h3, .card.highlight p { color: #fff; } .card.highlight p { opacity: .85; } .card.highlight .more { color: #fcd34d !important; }
.section-foot { margin-top: 1.5rem; font-size: .92rem; } .section-foot.center { text-align: center; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.split { align-items: start; } .split.center-y { align-items: center; }
.panel-title { margin: .2rem 0 0; } .card .panel-title { margin-top: .8rem; } h2.panel-title + .panel-body, .panel-body { margin-top: .9rem; }
.split .timeline { margin-top: 1.3rem; } .panel-note { margin-top: 1rem; } .panel-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.prose { max-width: 760px; } .prose.center { margin: 0 auto; text-align: center; } .prose h2 { margin-bottom: 1rem; } .prose ul { margin: .8rem 0; }
.prose.center .list-check { display: inline-grid; text-align: left; }
.md-img { border-radius: var(--r-s); margin: 1rem 0; max-width: 100%; height: auto; }
.figure { margin: 0 auto; } .figure-narrow { max-width: 560px; } .figure-normal { max-width: 900px; } .figure-full { max-width: none; }
.figure img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow-soft); } .figure figcaption { text-align: center; font-size: .88rem; color: var(--text-3); margin-top: .7rem; }
.cta p + p { margin-top: .4rem; }
.footer-list { list-style: none; display: grid; gap: .3rem; } .footer-text p + p { margin-top: .6rem; }
.preview-banner { background: #fef3c7; color: #78350f; font-size: .85rem; text-align: center; padding: .45rem 1rem; border-bottom: 1px solid #fcd34d; }
.preview-banner a { color: #78350f; font-weight: 600; text-decoration: underline; }
html.dark .preview-banner { background: #3b2f0c; color: #fde68a; border-color: #78350f; } html.dark .preview-banner a { color: #fde68a; }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(min(var(--n, 4), 2), 1fr); } .steps { grid-template-columns: repeat(min(var(--n, 4), 2), 1fr); } }
@media (max-width: 640px) { .stats, .steps { grid-template-columns: 1fr; } }
