* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}


/*--- ESTILOS DO CABEÇALHO ---*/
.header {
    background-color: #003366;
}

.container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 30px;
}

.site-title {
    font-size: 1.5rem;
    color: #E0E0E0;
    margin-bottom: 0;
    font-weight: 700;
}

.navbar-nav {
    gap: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link:hover {
    color: #5da2d3;
}

/*--- ESTILOS DO BANNER E ARTIGOS---*/

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background-color: #ffffff; 
}

.banner-section {
    padding-top: 2rem;
}

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

.banner-container img {
    max-width: 100%;
    height: auto;
    border-radius: 42px;
}

.content-section {
    max-width: 56.5rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.text-content {
    width: 100%;
}

.section-title {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.section-text {
    font-size: 1rem;
    text-align: left;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

/*--estilos pra ir pros proximos artigos--*/

.container-artigos {
    display: flex;
    gap: 60px; 
    flex-wrap: wrap; 
    justify-content: center;
    padding: 30px;
}


.card-wrapper {
    position: relative; 
}


.card-background {
    background-color: #7b9fc6;
    border-radius: 25px;
    position: absolute;
    top: 10px; 
    left: 10px; 
    width: 450px; 
    height: 150px; 
    z-index: 1; 
}


.card-artigo {
    display: flex; 
    align-items: center; 
    background-color: #ffffff;
    border: 2px solid #d3ddeb; 
    border-radius: 25px; 
    padding: 15px;
    width: 450px; 
    height: 150px; 
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; 
    z-index: 2;
}


.card-wrapper:hover .card-artigo {
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-imagem img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px; 
}


.card-texto {
    margin-left: 20px; 
}


.card-texto h2 {
    font-size: 18px;
    color: #0d2c54; 
    margin: 0 0 10px 0;
    font-weight: 700;
}


.card-texto a {
    color: #5a769a; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}


.card-texto a:hover {
    color: #0d2c54; 
}

/* --- ESTILOS DO RODAPÉ --- */

footer {
    background-color: #003366;
    color: #ffffff;
    padding: 40px 20px;
    font-family: Nunito, sans-serif;
    width: 100%;
    margin: 0 auto;
}


.footer-container, .footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
    gap: 20px;
}

.footer-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
}

.footer-legal {
    margin-top: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 40px;
}

.footer-text {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #979797;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    border-color: #ffffff;
    text-decoration: none;
}

.footer-social img {
    height: 18px;
    width: 18px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-legal p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}