/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url(imagens/fundo.avif) no-repeat center/cover fixed;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    min-height: 100vh;
}

/* Header/Navegação */
header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 130px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #e0e0e0;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* Banner Hero */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 10px;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    height: 190px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2a2a2a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
}

.btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Seção de cards */
.section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e40af;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.card-header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.card-body {
    padding: 25px;
}

.card-body p {
    color: #666;
    line-height: 1.8;
}

/* Seção destaque com cinza escuro */
.highlight-section {
    background-color: #2a2a2a;
    color: white;
    padding: 60px 20px;
    margin: 50px 0;
    border-radius: 8px;
}

.highlight-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1e40af;
}

.highlight-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Footer */
footer {
    background-color: #1e40af;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-top: 4px solid #2a2a2a;
}

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

.footer-content p {
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e0e0e0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

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