*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{ background:#f1f5f9; }

/* ===== LAYOUT ===== */
.layout{
    display:flex;
    min-height:100vh;
}

.hero{
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url("/images/fundo.jpeg") center center / cover no-repeat;
    background-color:#000;
    color:#fff;

    height:260px;
    padding:36px 20px;
    border-radius:14px;
    margin-bottom:32px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start; /* ISSO RESOLVE */
}

.hero h1{
    margin-bottom:12px;
}

/* ===== SIDEBAR ===== */
.sidebar{
    width:200px;
    background:#000000;
    color:#ff0000;
    display:flex;
    flex-direction:column;
    flex-shrink:0;
    transition:width .25s ease;
}
.sidebar.collapsed{ width:64px; }

.sidebar-header{
    height:56px;
    padding:0 16px;
    background:#000000;
    display:flex;
    align-items:center;
    gap:12px;
    border-bottom:1px solid #1f1f1f;
}
.sidebar.collapsed .sidebar-header{
    justify-content:center;
    padding:0;
}

.title{
    font-weight:bold;
    white-space:nowrap;
    color:#ff0000;
}
.sidebar.collapsed .title{ display:none; }

.toggle-btn{
    background:none;
    border:none;
    color:#ff0000;
    font-size:20px;
    cursor:pointer;
}

/* ===== MENU ===== */
.menu{
    list-style:none;
    flex:1;
}

.menu > li{
    border-bottom:1px solid #1f1f1f;
}

.menu a,
.menu button{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    width:100%;
    color:#ff0000;
    background:none;
    border:none;
    text-decoration:none;
    cursor:pointer;
    text-transform:uppercase;
    font-size:13px;
}

.menu li:hover{
    background:#1a1a1a;
}

.menu svg{
    width:20px;
    height:20px;
    fill:#ff0000;
    flex-shrink:0;
}

.menu span{
    white-space:nowrap;
}

.sidebar.collapsed .menu span{
    display:none;
}

.sidebar.collapsed .menu a,
.sidebar.collapsed .menu button{
    justify-content:center;
    padding:14px 0;
}

/* ===== SUBMENU ===== */
.submenu{
    list-style:none;
    display:none;
    background:#050505;
}

.submenu li a{
    padding:12px 16px 12px 48px;
    font-size:12px;
    color:#ff0000;
}

/* aberto */
.menu li.open > .submenu{
    display:block;
}

/* ===== CONTENT ===== */
.content{
    flex:1;
    padding:20px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    .sidebar{
        width:20vw;
        min-width:180px;
        max-width:260px;
    }
    .sidebar.collapsed{
        width:64px;
        min-width:64px;
    }
}



.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:56px;
    height:56px;
    z-index:9999;
}

.whatsapp-float img{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* ===== HERO MOBILE ===== */
@media (max-width:768px){

    .hero{
        height:220px;
        padding:24px 16px;
    }

    .hero h1{
        font-size:22px;
        margin-bottom:10px;
    }

    .hero p{
        font-size:13px;
        line-height:1.4;
        max-height:84px;
        overflow:hidden;
    }

    .hero .cta{
        bottom:16px;
        left:16px;
    }
}

.sidebar-header{
    justify-content:space-between;
}

.login-icon{
    display:flex;
    align-items:center;
}

.login-icon svg{
    width:22px;
    height:22px;
    fill:#ff0000;
}

/* quando sidebar estiver fechada */
.sidebar.collapsed .login-icon{
    display:none;
}