*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
background:#f5f7fb;
color:#222;
line-height:1.6;
}

a{
text-decoration:none;
}

img{
max-width:100%;
display:block;
}

/* TOPO */

.top-bar{
background:#111;
color:#fff;
font-size:13px;
padding:8px 0;
}

.container{
width:100%;
max-width:1280px;
margin:auto;
padding:0 20px;
}

/* HEADER */

.header{
background:#fff;
box-shadow:0 2px 10px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:999;
}

.header-content{
display:flex;
align-items:center;
justify-content:space-between;
height:90px;
}

.logo img{
height:65px;
width:auto;
}

.menu{
display:flex;
gap:25px;
}

.menu a{
color:#222;
font-weight:600;
transition:.3s;
}

.menu a:hover{
color:#e53935;
}

.btn-login{
background:#e53935;
color:#fff;
padding:12px 20px;
border-radius:8px;
font-weight:600;
}

/* HERO */

.hero{
position:relative;
height:650px;
overflow:hidden;
}

.hero img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-overlay{
position:absolute;
left:0;
right:0;
bottom:0;
padding:60px;
background:linear-gradient(
to top,
rgba(0,0,0,.85),
rgba(0,0,0,.3),
transparent
);
color:#fff;
}

.badge{
display:inline-block;
background:#e53935;
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:700;
margin-bottom:15px;
}

.hero-overlay h1{
font-size:54px;
line-height:1.1;
max-width:900px;
margin-bottom:20px;
}

.hero-overlay p{
font-size:18px;
max-width:850px;
}

/* TITULOS */

.section-title{
font-size:32px;
font-weight:700;
margin:50px 0 30px;
}

/* GRID NOTICIAS */

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-bottom:50px;
}

.news-card{
background:#fff;
border-radius:15px;
overflow:hidden;
box-shadow:0 4px 15px rgba(0,0,0,.08);
transition:.3s;
}

.news-card:hover{
transform:translateY(-5px);
}

.news-card img{
height:230px;
width:100%;
object-fit:cover;
}

.news-content{
padding:20px;
}

.category{
display:inline-block;
font-size:12px;
font-weight:700;
background:#f1f1f1;
padding:6px 12px;
border-radius:20px;
margin-bottom:10px;
}

.news-content h3{
font-size:22px;
margin-bottom:10px;
}

.news-content p{
font-size:15px;
color:#666;
}

/* SOBRE */

.about{
background:#fff;
padding:40px;
border-radius:16px;
margin-bottom:60px;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.about h2{
font-size:32px;
margin-bottom:20px;
}

.about p{
margin-bottom:15px;
color:#555;
}

/* NEWSLETTER */

.newsletter{
background:#0d2f66;
padding:70px 0;
color:#fff;
text-align:center;
}

.newsletter h2{
font-size:40px;
margin-bottom:15px;
}

.newsletter p{
margin-bottom:30px;
}

.newsletter form{
display:flex;
justify-content:center;
gap:10px;
max-width:700px;
margin:auto;
}

.newsletter input{
flex:1;
padding:15px;
border:none;
border-radius:8px;
font-size:16px;
}

.newsletter button{
padding:15px 30px;
border:none;
background:#e53935;
color:#fff;
font-weight:700;
border-radius:8px;
cursor:pointer;
}

/* FOOTER */

.footer{
background:#111;
color:#fff;
margin-top:0;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:40px;
padding:60px 0;
}

.footer-logo{
max-width:250px;
margin-bottom:15px;
}

.footer h4{
margin-bottom:15px;
}

.footer ul{
list-style:none;
}

.footer li{
margin-bottom:10px;
}

.footer a{
color:#ddd;
}

.footer a:hover{
color:#fff;
}

.copyright{
text-align:center;
padding:25px;
border-top:1px solid #333;
color:#aaa;
}

/* RESPONSIVO */

@media(max-width:1024px){

.news-grid{
grid-template-columns:repeat(2,1fr);
}

.hero-overlay h1{
font-size:42px;
}

.footer-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

.header-content{
flex-direction:column;
height:auto;
padding:20px 0;
gap:15px;
}

.menu{
flex-wrap:wrap;
justify-content:center;
}

.hero{
height:500px;
}

.hero-overlay{
padding:30px;
}

.hero-overlay h1{
font-size:32px;
}

.news-grid{
grid-template-columns:1fr;
}

.newsletter form{
flex-direction:column;
}

.footer-grid{
grid-template-columns:1fr;
}

}