/* ============================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0F52BA; /* Sapphire Blue */
    --color-secondary: #C0C0C0; /* Silver Metallic */
    --color-accent: #36454F; /* Charcoal Gray / Antracite */
    --color-dark: #36454F; /* Charcoal Gray */
    --color-gray: #7f8c8d;
    --color-light-gray: #F5F5F5; /* Very light gray for pattern */
    --color-white: #ffffff;
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-system);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    background-image: url(\'../assets/pattern.png\');
    background-repeat: repeat;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.main-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.logo {
    height: 50px;
    margin-right: 1rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-secondary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: \'\';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 82, 186, 0.9), rgba(54, 69, 79, 0.8)); /* Adjusted gradient for new colors */
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ============================================
   SEÇÕES DE CONTEÚDO
   ============================================ */
.content-section {
    padding: 5rem 2rem;
}

.content-section.alternate-bg {
    background-color: var(--color-light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.content-section h3 {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

/* ============================================
   TABELAS
   ============================================ */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

thead {
    background-color: var(--color-primary);
    color: var(--color-white);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-light-gray);
}

th {
    font-weight: 600;
    font-size: 1rem;
}

td {
    font-size: 0.95rem;
}

tbody tr:hover {
    background-color: var(--color-light-gray);
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grid-item {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-system);
    border: 2px solid var(--color-light-gray);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

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

.contact-form button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.8;
}

.main-footer p {
    margin: 0.5rem 0;
}

.main-footer a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: var(--color-white);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 1rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.5rem;
    }
}
