* {
    box-sizing: border-box
}

html,
body {
    overflow-x: hidden
}

@media(max-width:768px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important
    }

    .header {
        height: 70px;
        padding: 0 16px
    }

    .logo img {
        width: 100px
    }

    .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 30px;
    height: 22px;

    background: none !important;   /* garante que remove cor */
    border: none;

    padding: 0;                    /* 🔥 ESSENCIAL */
    border-radius: 0;              /* 🔥 ESSENCIAL */

    cursor: pointer;
    z-index: 1000;


    }

    .menu-toggle span {
        height: 3px;
        background: #fff
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #000;
        padding-top: 90px;
        transition: .3s;
        z-index: 999
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        gap: 20px
    }

    .banner {
        min-height: 100vh;
        padding-top: 70px;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important
    }

    .overlay {
        padding: 20px;
        text-align: center
    }

    .cards,
    .membros,
    .contato-grid,
    .footer-grid {
        grid-template-columns: 1fr !important
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .grid img {
        width: 100%;
        height: 160px;
        object-fit: cover
    }
}

@media(max-width:480px) {
    .overlay h1 {
        font-size: 1.6rem
    }

    .grid img {
        height: 130px
    }
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s;
}

.membro {

    display: flex;
    flex-direction: column;
    align-items: center;

}

.membro img {

    width: 100%;
    max-width: 280px;

    height: auto;

    object-fit: contain;

    border-radius: 12px;

}

@media (max-width: 768px){

    .banner{

        background-image: url('../img/capa.png') !important;

        background-size: cover; 

        background-position: center center;

        background-repeat: no-repeat;

        background-color: #000;

    }
    
}