/*
 * Identidade TecSkill (Brand Book): roxo #8C52FF, grafite #231F20,
 * Poppins nos títulos e Open Sans no texto. Carregado por último no layout
 * para valer sobre custom.css e o CSS inline.
 */
:root {
    --primary-color: #8c52ff;
    --primary-dark: #7b39ff;
    --primary-darker: #6a1fff;
    --primary-light: #9d6cff;
    --primary-lighter: #bf9fff;
    --primary-bg: #f3edff;
    --brand-ink: #231f20;
    --brand-lime: #c5ff52;
    --brand-pink: #e352ff;
    --brand-blue: #526fff;
}
html.dark { --primary-bg: rgba(140, 82, 255, 0.18); }

html, body, button, input, select, textarea {
    font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .sb-section-label {
    font-family: "Poppins", "Open Sans", ui-sans-serif, system-ui, sans-serif;
}
h1, h2, h3 { letter-spacing: -0.01em; }
.sb-section-label { letter-spacing: .06em; }

/* Texto principal em grafite da marca (tema claro) */
html:not(.dark) .text-gray-900 { color: var(--brand-ink) !important; }

/* Índigo do Tailwind segue a cor da marca */
.bg-indigo-50 { background-color: var(--primary-bg) !important; }
.bg-indigo-100 { background-color: #e6dbff !important; }
.bg-indigo-500, .bg-indigo-600 { background-color: var(--primary-color) !important; }
.bg-indigo-700, .hover\:bg-indigo-700:hover { background-color: var(--primary-dark) !important; }
.text-indigo-500, .text-indigo-600 { color: var(--primary-color) !important; }
.text-indigo-700, .text-indigo-800 { color: var(--primary-darker) !important; }
.border-indigo-500, .border-indigo-600 { border-color: var(--primary-color) !important; }
.to-indigo-500, .to-indigo-600 { --tw-gradient-to: #5905ff !important; }
.from-blue-500, .from-blue-600 { --tw-gradient-from: #8c52ff !important; }
.ring-blue-500, .focus\:ring-blue-500:focus { --tw-ring-color: rgba(140, 82, 255, .45) !important; }

/* Sidebar: ícone do menu recolhido e item ativo na cor da marca */
.sb-logo-icon { background: var(--primary-color) !important; }
.sb-link.active { box-shadow: inset 3px 0 0 var(--primary-color); }
html.dark .app-sidebar { background: #1c1819; border-color: #2e2a2b; }

