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

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#ffffff;
    color:#111;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:#111;
    transition:0.3s;
}

a:hover{
    color:#ff7300;
}

img{
    max-width:100%;
    display:block;
}

/* HEADER */

header{
    width:100%;
    background:#fff;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    z-index:999;
}

.topo{
    max-width:1400px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px;
    gap:20px;
}

.logo{
    font-size:34px;
    font-weight:bold;
    color:#ff7300;
}

.menu{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
}

.menu a{
    font-weight:600;
    font-size:15px;
}

.busca input{
    width:220px;
    padding:12px;
    border:1px solid #ccc;
    border-radius:6px;
    outline:none;
}

/* HERO */

.hero{
    background:#f7f7f7;
    padding:80px 20px;
    text-align:center;
}

.hero h1{
    font-size:48px;
    color:#111;
    margin-bottom:20px;
}

.hero p{
    max-width:800px;
    margin:auto;
    font-size:18px;
}

/* LAYOUT */

.container{
    width:100%;
    max-width:1400px;
    margin:50px auto;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:40px;
    padding:0 20px;
}

/* SIDEBAR */

aside{
    background:#fafafa;
    border:1px solid #eee;
    padding:25px;
    border-radius:10px;
    height:max-content;
}

aside h2{
    color:#ff7300;
    margin-bottom:20px;
}

aside ul{
    list-style:none;
}

aside ul li{
    margin-bottom:15px;
    border-bottom:1px solid #eee;
    padding-bottom:10px;
}

/* GRID POSTS */

.posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

/* CARD */

.post{
    border:1px solid #eee;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    transition:0.3s;
    display:flex;
    flex-direction:column;
}

.post:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.article-image{
    width:100%;
    height:220px;
    object-fit:cover;
}

.post h2{
    font-size:22px;
    padding:18px 18px 10px;
    line-height:1.4;
}

.post h2 a{
    color:#ff7300;
}

.post h2 a:hover{
    color:#111;
}

.meta{
    padding:0 18px;
    font-size:13px;
    color:#777;
    margin-bottom:10px;
}

.post p{
    padding:0 18px;
    margin-bottom:15px;
    color:#444;
    flex:1;
}

/* BOTAO LEIA MAIS */

.post .btn-leia-mais{
    margin:0 18px 18px;
    background:#ff7300;
    color:#fff;
    padding:12px;
    border-radius:6px;
    text-align:center;
    font-weight:bold;
    display:block;
}

.post .btn-leia-mais:hover{
    background:#111;
    color:#fff;
}

/* VER MAIS */

#ver-mais{
    display:block;
    margin:40px auto 0;
    background:#ff7300;
    color:#fff;
    border:none;
    padding:14px 30px;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
    transition:0.3s;
}

#ver-mais:hover{
    background:#111;
}

/* BANNER */

.banner{
    width:100%;
    height:320px;
    margin:80px 0;
    background:url('https://i.pinimg.com/736x/10/43/3c/10433c98906331e048c4a9d7cff10e3a.jpg') center center/cover no-repeat;
    position:relative;
    border-radius:12px;
    overflow:hidden;
}

.banner::before{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

.banner-content{
    position:relative;
    z-index:2;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
}

.banner-content h2{
    color:#fff;
    font-size:46px;
    max-width:900px;
}

/* FOOTER */

footer{
    background:#111;
    color:#fff;
    margin-top:80px;
    padding:60px 20px 30px;
}

.footer-container{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.footer-col h3{
    color:#ff7300;
    margin-bottom:20px;
}

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#fff;
}

.footer-col p{
    margin-bottom:15px;
    color:#ddd;
}

.footer-bottom{
    max-width:1400px;
    margin:40px auto 0;
    border-top:1px solid rgba(255,255,255,0.1);
    padding-top:20px;
    text-align:center;
    color:#ccc;
}

/* RESPONSIVO */

@media(max-width:1100px){

    .posts-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:900px){

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

    .topo{
        flex-direction:column;
    }

    .menu{
        justify-content:center;
    }

    .busca input{
        width:100%;
    }

}

@media(max-width:700px){

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

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

    .banner-content h2{
        font-size:30px;
    }

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

}