* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;

}


.wrapper {
    width: 100%;
    height: calc(100vh + 235vh);
    /* background: red; */

}

header {
    max-width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(74, 92, 76, 0.85), rgba(74, 92, 76, 0.85)), url(./assets/escritorioadv.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
}



header p {
    width: 80vw;
    color: #ffffff;
    font-family: "Roboto", Sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1em;
    letter-spacing: 0.4px;
    text-shadow: 0px 0px 10px #000000;
    text-align: center;
    top: 50px;
    margin: 40px auto 0px auto;

}

b {
    font-weight: 700;
    color: #C6A45C;
}

button {
    font-family: "Poppins", Sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    fill: #FFFFFF;
    color: #FFFFFF;
    /* Verde militar */
    background-color: #4A5C4C;
    border-style: solid;
    border-color: #C6A45C; /* Borda dourada */
    border-width: 1px;
    border-radius: 50px 50px 50px 50px;
    box-shadow: 0px 0px 10px 0px #9d9d9d;
    padding: 15px 50px 15px 50px;
    cursor: pointer;
    margin: 80px auto 0px auto;
    display: block;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #C6A45C; /* Dourado */
    color: #1A1A1A; /* Preto */
    border-color: #4A5C4C; /* Verde militar na borda */
    transform: scale(1.02);
}

button:active {
    opacity: 0.8;
}

.link-contact {
    text-decoration: none;
    color: white;

}

.link-contact-sobre {
    text-decoration: none;
    color: white;

}

.img-logo {
    width: 25%;
    display: block;
    margin: 0 auto;
    padding-top: 10%;

}

.section-assuntos {

    padding-top: 50px;
    padding-bottom: 50px;
}

.section-assuntos h1 {
    width: 100%;
    color: #4A5C4C; /* Verde militar */
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1em;
    letter-spacing: -1.4px;
    text-align: center;
}

.container-assuntos {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 80px;
}

.assuntos {
    width: 275px;
}

.assuntos p {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

.img-assunto {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #C6A45C; /* Dourado */
    border-radius: 50%;
    opacity: 0.9;
    width: 120px;
    height: 120px;
    margin: 50px auto 30px auto;
    transition: all 0.3s ease;
}
.img-assunto:hover {
    transform: scale(1.2);
    transition: 0.5s;
    background-color: #4A5C4C; /* Verde militar */
}
/* .container-assuntos-button {
    padding-top: 30px;
} */

.section-flavia {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 607px;
    /* Gradiente com verde militar */
    background: rgb(74, 92, 76);
    background: linear-gradient(90deg, rgba(74, 92, 76, 1) -59%, rgba(74, 92, 76, 1) 0%, rgba(74, 92, 76, 0.95) 45%);
    padding: 30px;
}

.img-flavia {
    width: 22%;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 10px 0px #f7f7f7;
}

.sobre-text{
    width: 670px;
    height: auto;
    padding: 10px;
    height: auto;
}

.sobre-text h2 {
    color: #C6A45C; /* Dourado */
    font-family: "Roboto", Sans-serif;
    font-size: 43px;
    font-weight: 600;
}

.sobre-text p {
    color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2em;
    margin-top: 20px;
}

.button-sobre {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: #4A5C4C; /* Verde militar */
    border-style: solid;
    border-color: #C6A45C; /* Dourado */
    border-radius: 50px 50px 50px 50px;
    transition: all 0.3s ease;
}


.button-sobre:hover {
    background-color: #C6A45C;
    color: #1A1A1A;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 480px;
    gap: 50px;
    background: #2C2C2C; /* Cinza escuro/preto elegante */
}

.social{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social a {
    width: 50px;
    height: 50px;
    background-color: #4A5C4C; /* Verde militar */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social a:hover{
    transform: scale(1.3);
    background-color: #C6A45C; /* Dourado */
    transition: 0.5s;
}

.footer-img{
    background: blue;
}

footer .img-logo-footer{
    margin-top: 20px;
    height: 40%;
}

.texto-footer{
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.texto-footer h2{
    font-size: 30px;
    color: #C6A45C; /* Dourado */
    font-weight: 500;
}

.img-contatos {
    position: relative;
    top: 7px;
    right: 5px;
    filter: invert(75%) sepia(42%) saturate(550%) hue-rotate(2deg) brightness(92%) contrast(90%);
}

.texto-footer p{
    font-size: 17px;
   color: #E0E0E0; /* Cinza claro */
    margin-top: 10px;
}

.social-footer{
    display: flex;
    flex-direction: column;
}

.texto-footer p:hover{
    color: #C6A45C; /* Dourado */
    transition: 0.5s;
    cursor: pointer;
    text-decoration: none;
}


.link-whatsapp img {
    height: 60px;
    position: fixed;
    right: 20px;
    bottom: 20px;
}

.link-whatsapp img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

@media screen and (max-width:1680px) {

    .img-flavia {
        width: 25%;
    }

}

@media screen and (max-width:1300px) {

    .img-flavia {
        width: 32%;
    }

}

@media screen and (max-width:950px) {

    header {
        width: 100%;
        height: 42%;
        background-size: cover;
    }

    h1 {
        font-size: 40px;
    }

    p {
        font-size: 25px;
    }

    .img-logo {
        width: 80%;

    }

    .section-flavia{
        height: auto;
        flex-direction: column;
    }

    .img-flavia {
        width: 70%;
    }

    .button-sobre{
        display: block;
        position: relative;

    }

    .sobre-text h2{
        text-align: center;
        
    }


}

@media screen and (max-width:850px) {

    header {
        width: 100%;
        height: 35%;
        background-size: cover;
        background-position: center;
    }

    h1 {
        font-size: 35px;
    }

    p {
        font-size: 25px;
    }

    .img-logo {
        width: 60%;

    }

    .sobre-text{
        width: 100%;
    }

    .sobre-text p{
        text-align: center;
    }




}

@media screen and (max-width:790px) {

    header {
        width: 100%;
        height: 37%;
        background-size: cover;
        background-position: center;
    }

    h1 {
        font-size: 40px;
    }

    p {
        font-size: 25px;
    }

    .section-assuntos h1 {
        font-size: 40px;
    }

    .container-assuntos {
        display: flex;
        flex-direction: column;

    }

    .assuntos {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .img-logo {
        width: 70%;

    }

        footer{
        display: flex;
        flex-direction: column;
        gap: 0px;
        align-items: center;
    }

    footer .img-logo-footer{
        width: 40%;
    }

    .texto-footer {
        width: 100%;
    }

    .texto-footer p{
        font-size: 20px;
        text-align: center;
        margin-top: 10px;
    }

    .texto-footer h2{
        text-align: center;
        font-size: 40px;
    }
    .social {
        justify-content: center;
    }

}


@media screen and (max-width:584px) {

    header {
        width: 100%;
        height: 37%;

        background-size: cover;
        background-position: center;
    }

    h1 {

        font-size: 30px;
    }

    p {
        width: 90%;
        font-size: 20px;
    }

    button {
        width: 95%;
        margin: 40px auto;
    }

    .link-contact {
        font-size: 17px;
    }

    .assuntos {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }



}

@media screen and (max-width:400px) {

    header {
        width: 100%;
        height: 20%;
        background-size: cover;
        background-position: center;
    }

    h1 {

        font-size: 27px;
    }

    p {
        width: 90%;
        font-size: 20px;
    }

    button {
        margin: 40px auto;
        font-size: 15px;
    }

    .img-logo {
        width: 0%;

    }

    .assuntos {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .button-sobre{
        padding: 5px 5px 5px 5px;
    }

    .link-contact-sobre{
        font-size: 15px;
    }

    .sobre-text{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .sobre-text p{
        text-align: center;
    }

        footer{
        display: flex;
        flex-direction: column;
        gap: 0px;
        
    }

    footer .img-logo-footer{
        width: 75%;
    }

    .texto-footer {
        width: 100%;
    }

    .texto-footer p{
        font-size: 17px;
        text-align: center;
        margin-top: 10px;
    }

    .texto-footer h2{
        text-align: center;
    }


}

@media screen and (max-width:415px) {
    footer .img-logo-footer{
        width: 70%;
    }

        .texto-footer p{
        font-size: 17px;
        text-align: center;
        margin-top: 10px;
    }

        .sobre-text{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .sobre-text p{
        text-align: center;
    }

}

@media screen and (max-width:350px) {

    header {
        width: 100%;
        height: 30%;
        background-size: cover;
        background-position: center;
    }

    h1 {

        font-size: 22px;
    }

    p {
        width: 90%;
        font-size: 20px;
    }

    button {
        margin: 40px auto;
        font-size: 12px;
    }

    .link-contact {
        font-size: 15px;
    }

    .assuntos {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .img-flavia {
        width: 100%;
    }

        .texto-footer p{
        font-size: 13px;
    }

}


/* ===== CORREÇÃO: Primeira seção ocupa a tela toda no celular ===== */

/* Ajuste principal para tablets e celulares */
@media screen and (max-width: 950px) {
    header {
        height: 100vh !important;  /* Força a altura total da tela */
        min-height: 100vh !important;
        max-height: 100vh !important;  /* Impede que ultrapasse */
        overflow-y: auto !important;   /* Permite rolar se necessário */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;  /* Centraliza verticalmente */
    }
    
    .img-logo {
        width: 60% !important;
        padding-top: 0 !important;
        margin-top: -50px !important;  /* Ajuste para centralizar melhor */
    }
    
    header p {
        width: 85vw !important;
        font-size: 22px !important;
        margin: 20px auto 0px auto !important;
        padding: 0 15px !important;
    }
    
    header button {
        margin: 30px auto 40px auto !important;
        width: 80% !important;
        padding: 12px 20px !important;
    }
}

/* Ajuste para celulares médios (584px) */
@media screen and (max-width: 584px) {
    header {
        justify-content: center !important;
    }
    
    .img-logo {
        width: 75% !important;
        margin-top: -30px !important;
    }
    
    header p {
        font-size: 20px !important;
        width: 90% !important;
    }
    
    header button {
        width: 85% !important;
        margin: 25px auto 30px auto !important;
    }
}

/* Ajuste para celulares pequenos (400px) */
@media screen and (max-width: 400px) {
    header {
        justify-content: center !important;
    }
    
    .img-logo {
        width: 80% !important;
        margin-top: -20px !important;
    }
    
    header p {
        font-size: 18px !important;
        width: 95% !important;
    }
    
    header button {
        width: 90% !important;
        padding: 10px 15px !important;
    }
    
    .link-contact {
        font-size: 14px !important;
    }
}

/* Ajuste para celulares muito pequenos (350px) */
@media screen and (max-width: 350px) {
    .img-logo {
        width: 85% !important;
        margin-top: -10px !important;
    }
    
    header p {
        font-size: 16px !important;
    }
    
    header button {
        padding: 8px 12px !important;
    }
}
