@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* ======== BASE ======== */

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #faf7f2;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* ======== HEADER ======== */

header {
    background: linear-gradient(135deg, #aec7f8, #3778fd);
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.logo {
    height: 60px;
    width: auto;
}

.menu-btn {
    background: transparent;
    padding: 6px 10px;
    color: white;
    font-size: 16px;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.menu-btn:hover {
    opacity: 0.7;
}


.noticias {
    padding: 60px 40px;
}

.noticias h2 {
    font-size: 32px;
    color: #3778fd;
    margin-bottom: 30px;
}

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

.news-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #003366;
}

.news-card p {
    flex-grow: 1;
    font-size: 15px;
    margin-bottom: 15px;
}

.news-card .data {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.btn-news {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    background: #3778fd;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-news:hover {
    background: #2d63d1;
}

.contato-botao {
    text-align: center;
    padding: 60px 0;
}

.btn-contato {
    display: inline-block;
    padding: 14px 28px;
    background: #aec7f8;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-contato:hover {
    background: #3778fd;
}

.contato {
  position: relative;
  padding: 40px 0;
  color: white;
}

footer {
    background: #3778fd;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}
