/* 
* Multi Marcas - Intranet Corporativa
* Estilos principais para o layout da intranet
* Cores atualizadas conforme identidade visual do grupo
*/

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais baseadas na identidade visual */
    --primary-blue: #0056b3;
    --secondary-blue: #4a90e2;
    --light-blue: #8cc7ff;
    --accent-red: #e63946;
    --accent-pink: #ff5a8c;
    --accent-yellow: #ffd166;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e9ecef;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-3, .col-md-3, .col-sm-6,
.col-lg-4, .col-md-4, .col-sm-6,
.col-lg-6, .col-md-6, .col-sm-12,
.col-md-12 {
    padding: 0 15px;
}

.col-lg-3 {
    width: 25%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-6 {
    width: 50%;
}

.col-md-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.333%;
}

.col-md-6 {
    width: 50%;
}

.col-md-12 {
    width: 100%;
}

.col-sm-6 {
    width: 50%;
}

.col-sm-12 {
    width: 100%;
}

.mt-4 {
    margin-top: 2rem;
}

/* Wrapper */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--primary-blue);
    box-shadow: 0 0 20px var(--shadow-medium);
    position: fixed;
    height: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.sidebar-nav li.active a {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border-left-color: var(--accent-red);
}

.sidebar-nav i {
    margin-right: 10px;
    font-size: 18px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    transition: all 0.3s ease;
}

/* Top Navigation */
.top-nav {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    padding: 15px 0;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-nav-left h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

.top-nav-left h1 span {
    font-weight: 400;
    color: var(--text-light);
    font-size: 16px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 60px 0;
    color: var(--bg-white);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    background-color: var(--primary-blue);
    border: none;
    color: var(--bg-white);
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background-color: var(--secondary-blue);
}

/* Content Area */
.content-area {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Logos do Grupo */
.group-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.logo-item {
    max-width: 120px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

/* Mural Informativo */
.mural-informativo {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    padding: 30px;
    margin-bottom: 30px;
}

.mural-informativo h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.mural-informativo p {
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.mural-informativo .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.mural-informativo .info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mural-informativo .info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.mural-informativo .info-icon i {
    color: var(--bg-white);
    font-size: 18px;
}

.mural-informativo .info-content h4 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.mural-informativo .info-content p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        width: 240px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .col-lg-3, .col-lg-4, .col-lg-6 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .top-nav-left h1 {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h2 {
        font-size: 26px;
    }
    
    .col-md-3, .col-md-4, .col-md-6 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .col-sm-6 {
        width: 100%;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-box input {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    
    .search-box button {
        width: 100%;
        padding: 12px;
        border-radius: 0 0 10px 10px;
    }
}
