/* Variáveis de Cores */
:root {
    --primary-color: #1b75d0; /* Azul principal (OpenGest) */
    --secondary-color: #004d99; /* Azul escuro para hover */
    --accent-color: #38c172; /* Verde para destaque/sucesso */
    --text-color: #222;
    --light-text-color: #555;
    --background-light: #f4f7f9; /* Cinza claro suave */
    --background-white: #ffffff;
    --shadow-light: 0 4px 12px rgba(0,0,0,0.08);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-white);
    scroll-behavior: smooth;
}

/* Layout Comum */
.container {
    max-width: 1200px; /* Aumentando um pouco o container */
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0; /* Mais padding para seções */
}

.section-title {
    font-size: 38px;
    color: var(--text-color);
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    color: var(--light-text-color);
    font-size: 18px;
    margin-bottom: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Botões */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 14px 30px;
    border-radius: 50px; /* Botão mais arredondado */
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 1. Cabeçalho/Navegação */
header {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* 2. Seção Hero/Destaque */
.hero-section {
    background: linear-gradient(rgba(27, 117, 208, 0.85), rgba(27, 117, 208, 0.85)), url('https://picsum.photos/1920/1080?random=2') no-repeat center center/cover;
    color: var(--background-white);
    padding: 150px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-section p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 3. Seção MVV */
.mvv-section {
    background-color: var(--background-white);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.mvv-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-5px);
}

.mvv-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mvv-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.mvv-card ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.mvv-card ul li {
    margin-bottom: 10px;
    color: var(--light-text-color);
    font-weight: 600;
}

.mvv-card ul li i {
    font-size: 16px;
    margin-right: 10px;
    color: var(--accent-color);
}

/* 4. Seção Diferenciais */
.diferenciais-section {
    background-color: var(--background-light);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diferencial-item {
    background: var(--background-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.diferencial-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.diferencial-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.diferencial-item p {
    color: var(--light-text-color);
    font-size: 15px;
}

/* 5. Seção de Sistemas */
.systems-section {
    background-color: var(--background-white);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.system-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: left;
    transition: background-color 0.3s ease;
}

.system-card:hover {
    background-color: #e9edf0;
}

.system-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.system-card p {
    color: var(--light-text-color);
    font-size: 15px;
}

/* 6. Seção de IA em Ação */
.ia-section {
    background-color: var(--primary-color);
    color: var(--background-white);
}

.ia-section .section-title,
.ia-section .section-subtitle {
    color: var(--background-white);
}

.ia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.ia-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ia-item i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.ia-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ia-item p {
    font-weight: 300;
}

/* 7. Seção de Contato */
.contact-section {
    background-color: var(--background-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    align-self: center;
}

/* 8. Rodapé */
footer {
    background-color: var(--text-color);
    color: var(--background-light);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin: 5px 0;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 44px;
    }
    .section-title {
        font-size: 32px;
    }
    .mvv-grid, .diferenciais-grid, .systems-grid, .ia-grid {
        grid-template-columns: 1fr;
    }
    header .container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 36px;
    }
    .section-title {
        font-size: 28px;
    }
    section {
        padding: 60px 0;
    }
}
