@media(max-width:767px) {
    .button {
        font-size: 0.85rem;
    }

    h2 {
        text-align: center;
        font-size: 1.8rem;
    }

    p {
        font-size: 1.063rem;
    }

    /* ______________________________ */

    #header {
        padding: 0.5rem 4%;
    }

    header .navbar-brand img {
        width: 13rem;
        margin: 0 auto;
    }

    header .navbar-toggler {
        margin-top: -0.8rem;
        border: none;
    }

    header .navbar-toggler-icon {
        width: 1.5rem;
    }

    /* modal navbar */

    .botao_modal_navbar_header {
        width: 3.5rem;
        background-repeat: no-repeat;
        padding-top: 2.2rem;
        height: 1.8rem;
        border: none;
        background-color: transparent;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28123, 33, 148, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .modal-content {
        background-image: url(images/backgrounds/background_navbar.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        flex-direction: column;
    }

    .modal_navbar_textos p {
        font-weight: 400;
        line-height: 2rem;
    }

    .icones_modal_navbar {
        margin: 0 auto;
    }

    /* Slider */

    #banner {
        /*margin-top: 4.5rem;*/
    }

    #slider .btnmodal {
        left: 50%;
        transform: translateX(-50%);
    }

    #slider .btnmodal button {
        width: 17rem;
    }


    #slider .carousel-indicators [data-bs-target] {
        background-color: white;
        width: 0.5rem;
        height: 0.5rem;
    }


    #robbu-whatsapp-button {
        width: 3.3rem !important;
        height: 3.3rem !important;
    }

    #robbu-whatsapp-button>img {
        width: 1.7rem !important;
        height: 1.7rem !important;
    }

    /* Especialidades */

    #especialidades .linha_divisoria_roxa {
        margin: 0 auto;
        width: 5rem;
        padding-bottom: 1rem;
    }

    .textoEspecialidades {
        padding: 0.9rem;
    }

    #especialidades .accordion-button.collapsed {
        color: var(--second-color);
        background-color: transparent;
        background-image: url(images/especialidades/setinha-mobile-up.png);
        background-position: center right 5%;
        background-repeat: no-repeat;
    }

    #especialidades .accordion-button:not(.collapsed) {
        color: var(--second-color);
        background-color: transparent;
        background-image: url(images/especialidades/setinha-mobile.png);
        background-position: center right 5%;
        background-repeat: no-repeat;
    }

    #especialidades .accordion-button::after {
        display: none;
    }

    #especialidades .accordion-button:focus {
        box-shadow: none;
    }


    /* #especialidades .accordion-item:has(.accordion-button:not(.collapsed)) {
        border-color: var(--second-color);
    } */

    /* Exames */

    #exames {
        background-position: 18rem 3rem;
        background-size: 10rem;
    }

    #exames .bloco_exames .linha_um img {
        width: 6rem;
        margin: 0 auto;
        margin-bottom: 1.5rem;
    }

    #exames .coluna-2 ul li {
        font-size: 1.063rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        line-height: 2;
    }

    #exames .bloco_exames .coluna-2 p {
        font-size: 1.063rem;
    }

    .lista_dois_exames {
        margin-top: -1rem;
    }


    /* Diretor Clinico */

    #exames .diretor_clinico .linha_um img {
        width: 6rem;
        margin: 0 auto;
        height: 0.01rem;
    }

    #exames .diretor_clinico .coluna-1 {
        text-align: center;
    }

    #exames .diretor_clinico h3 {
        text-align: left;
    }

    #exames .diretor_clinico p {
        text-align: left;
    }

    #exames .coluna-1 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #exames .coluna-1 h3 {
        font-size: 1.12rem;
    }

    #exames .coluna-1 p {
        font-size: 1.063rem;
        line-height: 2;
        padding-bottom: 1rem;
    }

    #exames .diretor_clinico button {
        width: 15rem;
    }

    #exames .diretor_clinico .coluna-2 img {
        margin-top: 0rem;

    }

    #exames .diretor_clinico .coluna-2 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #exames .diretor_clinico p,
    #corpo-clinico .coluna-1 p {
        font-size: 1.063rem;
    }

    /* A Clinica */

    #a-clinica {
        background-position: -7rem -2rem, 15rem 39rem;
        background-size: 13rem;

    }

    #a-clinica .imgCarousselAclinica {
        height: auto;
    }

    #a-clinica .linha_divisoria_roxa {
        margin: 0 auto;
        width: 5rem;
        padding-bottom: 1rem;
    }

    #a-clinica .coluna-2 {
        margin: 0 auto;
        max-width: 23rem;
    }

    #a-clinica .carousel-indicators [data-bs-target] {
        background-color: #802194;
        width: 0.5rem;
        height: 0.5rem;
    }

    #a-clinica .coluna-1 {
        margin: 0 auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #a-clinica .coluna-1 h3 {
        font-size: 1.13rem;
        font-weight: 700;
    }

    #a-clinica .coluna-1 p {
        font-size: 1.1rem;
    }

    #a-clinica .coluna-1 p.endereco_a_clinica {
        font-size: 1.063rem;
        line-height: 1rem;
    }

    /* Corpo clinico */

    #corpo-clinico .bloco-top {
        background-size: 100% 100%;
        background-attachment: fixed;
    }

    #corpo-clinico .doutores .grid-bloco {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 1rem;
        grid-template-areas: "crm"
            "imagem"
            "texto";
    }

    #corpo-clinico h2 {
        text-align: center;
        font-size: 1.62rem;
        padding: 0%;
    }

    #corpo-clinico .coluna-1 img {
        width: 6rem;
    }

    #slide_corpo_clinico {
        margin: 0 auto;
        max-width: 21rem;
        height: auto;
    }

    #corpo-clinico .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }

    /* Doutores */

    .efeito_background_paulo {
        background-position: -22% 7%;
    }

    #corpo-clinico .imagem {
        margin: auto;
    }

    #corpo-clinico .imagem img {
        max-width: 17rem;
    }

    #corpo-clinico .doutores_background_azul .crm {
        text-align: center;
        margin: 0 auto;
    }

    #corpo-clinico .doutores_background_azul .crm h2 {
        font-size: 1.2rem;
    }

    #corpo-clinico .doutores_background_azul .crm h3 {
        font-size: 0.9rem;
    }

    #corpo-clinico .doutores_background_azul .crm img {
        margin-top: -1rem;
        width: 10rem;
    }

    #corpo-clinico .doutores_background_azul .texto ul li {
        margin: auto;
        padding-bottom: 0.5rem;
        font-size: 1.063rem;
        max-width: 18rem;
        line-height: 2;
    }

    #corpo-clinico .doutores_background_azul .texto p {
        text-align: center;
    }

    #corpo-clinico .doutores_background_branco .crm {
        text-align: center;
        margin: 0 auto;
    }

    #corpo-clinico .doutores_background_branco .crm h2 {
        font-size: 1.2rem;
    }

    #corpo-clinico .doutores_background_branco .crm h3 {
        font-size: 0.9rem;
    }


    #corpo-clinico .doutores_background_branco .crm img {
        margin-top: -1rem;
        width: 10rem;
    }

    #corpo-clinico .doutores_background_branco .texto ul li {
        margin: auto;
        padding-bottom: 0.5rem;
        font-size: 1.063rem;
        max-width: 18rem;
        line-height: 2;
    }

    #corpo-clinico .doutores_background_branco .texto p {
        text-align: center;
    }


    /* contato   */

    #contato .coluna-2 {
        text-align: center;
        max-width: 19rem;
        margin: 0 auto;
    }

    .bloco_convenios h2 {
        font-size: 1.6rem;
    }

    #contato .divisoria_roxa_mobile {
        width: 3.5rem;
        margin-top: -1.5rem;
    }

    .logos_convenios img {
        margin: auto;
        width: 11rem;
        padding-top: 0%;
    }

    .texto_convenios {
        margin: 0 auto;
    }

    .texto_convenios p {
        font-size: 1.063rem;
        max-width: 19rem;
        padding-left: 0.8rem;
    }

    .texto_convenios br {
        display: none;
    }

    .botoes_tel_whats {
        margin-top: 0rem;
    }

    .botao_telefone_convenios {
        width: 17.5rem;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .botao_whatsapp_convenios {
        width: 17.5rem;
        font-size: 1rem;
    }

    /* depoimentos */

    #depoimentos {
        background-position: 6% 96%, 97% 24%;
    }

    #depoimentos {
        padding: 2rem;
    }

    #depoimentos h2 {
        font-size: 1.625rem;
    }



    #depoimentos .card {
        padding: 1rem !important;
    }

    .card {
        width: auto;
    }

    .slick-prev:before,
    .slick-next:before {
        font-size: 1.3rem;
    }



    /* Footer */

    footer {
        background-image: url(images/mobile/background/background_footer_mobile.jpg);
    }

    footer .coluna-1 button {
        width: 17.5rem;
    }

    footer .coluna-3,
    footer .coluna-4 {
        padding-left: 3rem;
    }

    .modal-content {
        flex-direction: column;
    }

    .modal {
        --bs-modal-width: 500px;
    }

    .texto_rodape p {
        margin: 3px;
        font-size: 0.7rem;
    }

    .logoApis {
        width: 7rem;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

}

/* Tablet */

@media (max-width:991px) and (min-width:768px) {

    /* header */

    header .navbar .nav-link {
        font-size: 0.6rem !important;
    }

    /* especialidade */

    #especialidades h2 {
        text-align: center;
        font-size: 3rem;
    }

    #exames {
        background-position: 38rem 3rem;
        background-size: 10rem;
    }

    #exames .bloco_exames .linha_um h2 {
        text-align: center;
        font-size: 3rem;
    }

    #exames .bloco_exames .linha_um img {
        width: 6rem;
        margin: 0 auto;
        margin-bottom: 1.5rem;
    }

    #exames .bloco_exames .coluna-2 p {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lista_dois_exames {
        margin-top: -1rem;
    }

    /* Diretor Clinico */

    #exames .diretor_clinico .linha_um h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    #exames .diretor_clinico .linha_um img {
        margin: 0 auto;
        width: 12rem;
        height: 0.1rem;
    }

    #exames .coluna-1 {
        text-align: center;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #exames .coluna-1 h3 {
        font-size: 1.5rem;
        text-align: left;
    }

    #exames .coluna-1 p {
        font-size: 1.063rem;
        line-height: 2;
        text-align: left;
    }

    #exames .lista_dois_exames {
        margin-top: -1rem;
    }

    #exames .coluna-1 button {
        margin-top: 2rem;
    }

    #exames .diretor_clinico .coluna-2 img {
        margin-top: 0rem;
        width: 100%;
    }

    #a-clinica {
        background-position: -5rem 7rem, 44rem 54rem;
        background-size: 13rem;
        background-attachment: fixed;
    }

    #a-clinica .imgCarousselAclinica{
        height: auto;
    }

    .efeito_background_paulo {
        background-image: url(images/Forma\ gradiente\ \(pequena\).svg);
        background-repeat: no-repeat;
        background-position: 0% 32%;
        background-size: 6rem;
    }

    .efeito_background_matheus {
        background-image: url(images/Forma\ gradiente\ \(pequena\).svg);
        background-repeat: no-repeat;
        background-position: 31% 2%;
        background-size: 6rem;
    }

    .btnmodal .modal-content {
        flex-direction: column;
    }

    .btnmodal .modal {
        --bs-modal-width: 500px;
    }

    /* footer */

    footer .coluna-1 {
        margin-right: 2rem;
    }
}

@media (max-width:1200px) and (min-width:768px) {


    header .nav-link {
        font-size: 1rem !important;
    }

    #exames {
        background-position: 38rem 3rem;
        background-size: 10rem;
    }

    #exames .bloco_exames .linha_um h2 {
        text-align: center;
        font-size: 3rem;
    }

    #exames .bloco_exames .linha_um img {
        width: 6rem;
        margin: 0 auto;
        margin-bottom: 1.5rem;
    }

    #exames .bloco_exames .coluna-2 p {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lista_dois_exames {
        margin-top: -1rem;
    }

    /* Diretor Clinico */

    #exames .diretor_clinico .linha_um h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    #exames .diretor_clinico .linha_um img {
        margin: 0 auto;
        width: 12rem;
        height: 0.1rem;
    }

    #exames .coluna-1 {
        text-align: center;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #exames .coluna-1 h3 {
        font-size: 1.5rem;
        text-align: left;
    }

    #exames .coluna-1 p {
        font-size: 1.063rem;
        line-height: 2;
        text-align: left;
    }

    #exames .lista_dois_exames {
        margin-top: -1rem;
    }

    #exames .coluna-1 button {
        margin-top: 2rem;
    }

    #exames .diretor_clinico .coluna-2 img {
        margin-top: 0rem;
        width: 100%;
    }

    /* A Clinica */

    #a-clinica h2 {
        text-align: center;
        font-size: 2.5rem;
    }

    #a-clinica .linha_divisoria_roxa {
        margin: 0 auto;
        width: 6rem;
        padding-bottom: 1.5rem;
    }

    #a-clinica .coluna-2 {
        margin: 0 auto;
        max-width: 50rem;
    }

    #a-clinica .coluna-2 img {
        margin-bottom: 2.5rem;
    }

    .carousel-indicators [data-bs-target] {
        width: 0.5rem;
        height: 0.5rem;
    }

    #a-clinica .coluna-1 {
        padding-top: 2rem;
        margin: 0 auto;
        max-width: 42rem;
    }

    #a-clinica .coluna-1 h3 {
        font-size: 1.3rem;
        font-weight: 700;
    }

    #a-clinica .coluna-1 p.endereco_a_clinica {
        line-height: 0.8rem;
    }

    #a-clinica .coluna-1 p {
        font-size: 1.063rem;
    }


    /* contato   */

    #contato .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 0rem !important;
    }

    #contato .coluna-2 {
        max-width: 26rem;
    }

    .bloco_convenios h2 {
        font-size: 1.6rem;
    }

    #contato .divisoria_roxa_mobile {
        width: 4rem;
        margin-top: -1.5rem;
        margin-left: 0.2rem;
    }

    .logos_convenios img {
        width: 8rem;
        padding-top: 0%;
    }

    .bloco_convenios p {
        font-size: 1rem;
    }

    .texto_convenios br {
        display: none;
    }

    .botao_telefone_convenios {
        width: 8rem;
        margin-top: -1rem;
        font-size: 0.6rem;
    }

    .botao_telefone_convenios img {
        width: 0.8rem;
    }

    .botao_whatsapp_convenios {
        width: 8rem;
        margin-top: -1rem;
        font-size: 0.55rem;
        margin-left: 1rem;
    }

    .botao_whatsapp_convenios img {
        width: 1rem;

    }

    .botoes_tel_whats .col-lg-5 {
        width: 30%;
    }

    .botoes_tel_whats {
        margin-top: 0%;
    }

    /* depoimentos */
    #depoimentos {
        padding: 3rem;
    }

    #depoimentos .p-5 {
        padding: 2rem !important;
    }


    /* Footer */

    footer .coluna-1 img {
        width: 10rem;
    }

    footer .coluna-1 button {
        width: 10rem;
        font-size: 0.5rem;
    }

    footer .coluna-2 {
        padding-left: 3rem;
    }

    footer h4 {
        font-size: 0.8rem;
        padding-top: 0.5rem;
    }

    footer img,
    p {
        padding-top: 0.2rem;
    }

    footer .textos_footer {
        font-size: 0.7rem;
    }

    footer .texto_endereco_secundario {
        font-size: 0.64rem;
    }
}