/* Thème Xtreamus : look « panel » (fond sombre, accent rouge, cartes blanches arrondies sur gris clair). */
:root {
    --xt-red: #e5383b;
    --xt-red-d: #c92a2d;
    --xt-red-s: #fdecec;
    --xt-ink: #0d0f14;
    --xt-ink2: #141821;
    --xt-bg: #f3f4f6;
    --xt-border: #e6e8ee;
    --xt-muted: #6b7280;
}
html { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { font-family: inherit; background: var(--xt-bg); color: #111827; -webkit-font-smoothing: antialiased; }
body h1, body h2, body h3 { letter-spacing: -.02em; }

/* ---------- surfaces ---------- */
body .bg-gray-50 { background-color: var(--xt-bg) !important; }
body .bg-gray-800 { background-color: var(--xt-ink) !important; }
body header.bg-gray-800 { border-bottom: 1px solid #1c2130; box-shadow: none; }
body .bg-gray-900, body footer.bg-gray-900 { background-color: #0b0d12 !important; }
body .bg-slate-900 { background-color: var(--xt-ink) !important; }
body .bg-white.rounded-xl, body .bg-white.rounded-2xl { border: 1px solid var(--xt-border); }
body .shadow-lg { box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.07) !important; }
body input, body select, body textarea { border-radius: 10px; }
body input:focus, body select:focus, body textarea:focus { outline: none; border-color: var(--xt-red); }
body img[src*="logo_xtreamus"] { height: 48px !important; width: auto !important; max-width: 100%; }
body footer img[src*="logo_xtreamus"] { height: 56px !important; }
@media (max-width: 480px) { body header img[src*="logo_xtreamus"] { height: 38px !important; } }

/* ---------- accent : bleu / indigo / violet / rose -> rouge ---------- */
body .bg-blue-600, body .bg-blue-500, body .bg-indigo-600, body .bg-purple-600, body .bg-rose-600 { background-color: var(--xt-red) !important; }
body .hover\:bg-blue-700:hover, body .hover\:bg-indigo-700:hover, body .hover\:bg-rose-700:hover { background-color: var(--xt-red-d) !important; }
body .text-blue-500, body .text-blue-600, body .text-blue-700, body .text-blue-800,
body .text-indigo-600, body .text-indigo-700, body .text-purple-500, body .text-purple-600, body .text-purple-700, body .text-purple-800,
body .text-pink-500, body .text-rose-500, body .text-rose-600, body .text-rose-700, body .text-rose-800 { color: var(--xt-red) !important; }
body .bg-blue-50, body .bg-blue-100, body .bg-purple-100, body .bg-rose-50 { background-color: var(--xt-red-s) !important; }
body .border-blue-200, body .border-blue-500, body .border-purple-200, body .border-rose-200 { border-color: #f3c1c3 !important; }
body .focus\:ring-blue-500:focus, body .focus\:ring-orange-400:focus { --tw-ring-color: var(--xt-red) !important; }

/* dégradés */
body .from-blue-600, body .from-blue-500, body .from-indigo-600, body .from-purple-600, body .from-red-600 {
    --tw-gradient-from: #0d0f14 var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(13 15 20 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
body .to-purple-700, body .to-purple-600 { --tw-gradient-to: #2a1216 var(--tw-gradient-to-position) !important; }
body .via-fuchsia-600 { --tw-gradient-stops: var(--tw-gradient-from), #3a1519 var(--tw-gradient-via-position), var(--tw-gradient-to) !important; }
body .from-blue-50, body .from-purple-50 { --tw-gradient-from: #fdf3f3 var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(253 243 243 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body .to-purple-50, body .to-indigo-50, body .to-blue-50 { --tw-gradient-to: #fdf3f3 var(--tw-gradient-to-position) !important; }

/* ---------- section hero (accueil) ---------- */
body .mhero {
    background: radial-gradient(ellipse 60% 70% at 92% 0%, rgba(229,56,59,.26) 0%, transparent 62%), linear-gradient(180deg, #0d0f14 0%, #10131a 100%);
    color: #fff;
}
body .mhero-badge { background: linear-gradient(135deg, #ef4444, #c92a2d); color: #fff; box-shadow: 0 8px 24px rgba(229,56,59,.38); }
body .mhero h1 { color: #fff; text-shadow: none; }
body .mhero h1 span { color: #ff6b6e; }
body .mhero-gold { background: var(--xt-red); color: #fff; box-shadow: 0 10px 30px rgba(229,56,59,.38); }
body .mhero-gold:hover { background: #d12f32; }
body .mhero-gold svg { color: #fff; }
body .mhero-line { border: 1px solid rgba(255,255,255,.3); color: #fff; }
body .mhero-line:hover { background: rgba(255,255,255,.08); }

/* ---------- teintes claires restantes (indigo / violet / bleu pâle) ---------- */
body .bg-indigo-50, body .bg-indigo-100, body .bg-purple-50, body .bg-violet-100, body .bg-sky-100, body .bg-blue-200 { background-color: var(--xt-red-s) !important; }
body .text-indigo-500, body .text-indigo-800, body .text-violet-600, body .text-sky-600 { color: var(--xt-red) !important; }
body .border-indigo-200, body .border-blue-100, body .border-purple-100 { border-color: #f3c1c3 !important; }
