/* --- Identidade Visual GSI Solutions (Variáveis Locais) --- */
:root {
    /* --- Cores Atuais (Laranja) --- */
    --gsi-primary: #ea580c;   /* orange-600 */
    --gsi-hover: #c2410c;     /* orange-700 */
    --gsi-secondary: #f97316; /* orange-500 */
    
    /* --- Paleta Tailwind Adicional (Para troca manual) --- */
    --lime-600: #65a30d;
    --green-600: #16a34a;
    --sky-600: #0284c7;
    --indigo-600: #4f46e5;
    --violet-600: #7c3aed;
    --purple-600: #9333ea;
    --slate-600: #475569;
    --neutral-600: #525252;
    --pink-600: #db2777;
    --rose-600: #e11d48;
    --rose-300: #fda4af;

    /* --- Cores Base --- */
    --bg-light: #f8f9fa;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --white: #ffffff;
    
    /* --- Sombras --- */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Container específico para não afetar header/footer do layout principal */
.modules-page-wrapper {
    background-color: var(--bg-light);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 0; /* ZERADO: Isso remove o branco em cima e embaixo do banner */
}

.modules-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px; /* O espaçamento agora fica SÓ aqui, nos cards */
}

/* --- Cabeçalho da Seção --- */
.modules-header {
    text-align: center;
    margin-bottom: 60px;
}

.modules-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.modules-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Grid de Módulos --- */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- Card Individual --- */
.module-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gsi-secondary);
}

/* Ícones */
.card-icon {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--gsi-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.module-card:hover .card-icon {
    background: var(--gsi-primary);
    color: var(--white);
}

/* Tipografia do Card */
.module-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.module-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; /* Empurra o botão para baixo */
}

/* Botão Link */
.card-link {
    text-decoration: none;
    color: var(--gsi-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.card-link:hover {
    color: var(--gsi-hover);
    gap: 12px;
}

/* --- Destaques e Responsividade --- */
@media (max-width: 768px) {
    .modules-header h1 {
        font-size: 2rem;
    }
}