* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #1f2937;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header-top {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo img {
    height: 4rem;
}

.banner-header img {
    max-height: 4.375rem;
}

.main-menu {
    background: #1e3a8a;
    width: 100%;
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 0.125rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.menu-items li a {
    display: block;
    padding: 1rem 0.875rem;
    color: white;
    text-decoration: none;
    font-weight: 400;
    white-space: nowrap;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.menu-items li a:hover,
.menu-items li a:focus {
    background: #3b82f6;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.625rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: #f1f5f9;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    gap: 1rem;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #3b82f6;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section .logo img {
    width: 180px;
    height: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* MAIN */
main.container{
    max-width:75rem;
    margin:2rem auto;
    padding:0 1rem;
}

/* SLIDER */
.main-slider{
    margin-bottom:2rem;
}

.slider-with-sidebar{
    display:flex;
    gap:1.5rem;
}

/* CONTAINER DO SLIDER */
.slider-container{
    position:relative;
    flex:3;
    overflow:hidden;
    border-radius:0.5rem;
}

.slides{
    display:flex;
}

.slide{
    min-width:100%;
    position:relative;
}

.slide img{
    width:100%;
    height:24rem;
    object-fit:cover;
    display:block;
}

/* TEXTO DO SLIDE */
.slide-text{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:1.5rem;
    background:linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color:white;
}

.slide-text h2{
    font-size:1.6rem;
    margin-bottom:0.5rem;
}

.slide-text p{
    font-size:0.95rem;
}

/* BOTÕES DO SLIDER */
.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.6);
    color:white;
    border:none;
    width:2.2rem;
    height:2.2rem;
    cursor:pointer;
    border-radius:50%;
}

.prev{
    left:0.8rem;
}

.next{
    right:0.8rem;
}

/* DOTS */
.dots{
    position:absolute;
    bottom:0.8rem;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:0.5rem;
}

.dot{
    width:0.6rem;
    height:0.6rem;
    border-radius:50%;
    background:rgba(255,255,255,0.6);
}

.dot.active{
    background:white;
}

/* SIDEBAR DO SLIDER */
.slider-sidebar{
    flex:1;
}

.slider-ad img{
    width:100%;
    border-radius:0.4rem;
}

/* ÁREA DE CONTEÚDO */
.content{
    display:flex;
    gap:2rem;
}

/* GRID DE NOTÍCIAS */
.main-content{
    flex:3;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.5rem;
}

/* CARD DE NOTÍCIA */
.news-card{
    background:white;
    border-radius:0.5rem;
    overflow:hidden;
    box-shadow:0 0.1rem 0.4rem rgba(0,0,0,0.08);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover{
    transform:translateY(-0.2rem);
    box-shadow:0 0.3rem 0.7rem rgba(0,0,0,0.12);
}

.news-card a{
    text-decoration:none;
    color:inherit;
    display:block;
}

.news-card img{
    width:100%;
    height:11rem;
    object-fit:cover;
}

.news-card h3{
    font-size:1.1rem;
    padding:0.8rem 0.8rem 0.3rem;
}

.news-card p{
    font-size:0.9rem;
    padding:0 0.8rem 1rem;
    color:#555;
}

/* SIDEBAR */
.sidebar{
    flex:1;
}