@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --azul: #051d40;
    --branco: #fff;
    --cinza: #e8e8e8;
    --heightHeader: 120px;
    --borda: 12px 0px;
    --negrito: 600;
    --fontP: 16px;
    --fontM: 18px;
    --fontG: 22px;
    --fontT: clamp(28px, 5vw, 32px);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
}

html {
    font-family: "Roboto", sans-serif;
    color: var(--branco);
}

header {
    width: 100%;
    height: var(--heightHeader);
    background-color: var(--azul);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logoH {
    height: var(--heightHeader);
    aspect-ratio: 1/1;
    margin-left: 2.5%;
}

#botaoMenuH {
    width: 40px;
    aspect-ratio: 1/1;
    margin-right: 2.5%;
    cursor: pointer;
}

.menuH {
    position: absolute;
    top: var(--heightHeader);
    background-color: var(--azul);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: var(--fontM);
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.menuH.ativo {
    max-height: 300px;
}

.menuH p {
    cursor: pointer;
    position: relative;
}

.menuH p:last-child {
    display: flex;
    align-items: center;
    margin: 20px 0px;
}

.menuH p:last-child img {
    width: 30px;
}

.menuH p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--branco);
    transition: 0.2s;
}

.menuH p:hover::after {
    width: 100%;
}

#imgCapaM {
    background: url(imgCapa.jpg) no-repeat center/cover;
    width: 100%;
    aspect-ratio: 16/11;
    max-height: 400px;
}

#divEscura {
    background-color: rgba(5, 29, 64, 0.5);
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0px 5%;
    box-sizing: border-box;
}

#divEscura h1 {
    padding-top: 6vw;
    font-weight: 400;
    font-size: var(--fontT);
}

#divEscura p {
    font-size: var(--fontP);
    font-weight: 300;
    letter-spacing: 2px;
    padding: 15px;
}

#divEscura button {
    margin-top: 15px;
    width: 200px;
    height: 60px;
    background-color: var(--branco);
    font-size: var(--fontP);
    color: var(--azul);
    cursor: pointer;
    font-style: italic;
    border-radius: var(--borda);
    transition: 0.2s;
}

#divEscura button:hover {
    background-color: var(--cinza);
}

#divConhecaM {
    background-color: var(--cinza);
    width: 100%;
}

#divSobreNosM {
    width: 100%;
    background-color: var(--azul);
}

iframe {
    width: clamp(250px, 35vw, 500px);
    aspect-ratio: 16/9;
}

.titulo {
    font-size: var(--fontT);
    font-weight: var(--negrito);
    padding-bottom: 20px;
}

.container {
    text-align: center;
    padding: 20px 5%;
    box-sizing: border-box;
}

.azul {
    color: var(--azul);
}

#divFlexSobreNos p {
    padding-bottom: 20px;
}

#divSobreNosM div div {
    background: url(imgs/sobreNos.jpg) no-repeat 25% / cover;
    width: 200px;
    aspect-ratio: 9/16;
    border-radius: var(--borda);
    margin: auto;
}

#divDentistasM {
    background-color: var(--cinza);
}

#gridDentistas {
    width: 100%;
    padding: 0px 5%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px);
    justify-content: center;
    gap: 15px;
}

.divDentista {
    color: var(--azul);
}

.divDentista div {
    width: 100%;
    border-radius: var(--borda);
    aspect-ratio: 9/12;
}

.pNomeD {
    font-size: var(--fontG);
    font-weight: var(--negrito);
    padding: 10px 0px;
}

.pDescD,
.pCROD {
    color: black;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 300;
    padding-bottom: 5px;
}

#divTratamentosM {
    background-color: var(--azul);
}

#divTratamentos {
    width: 90%;
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.divTratamento {
    background-color: var(--cinza);
    color: var(--azul);
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 5%;
    box-sizing: border-box;
    border-top: 2px solid var(--azul);
}

#semBorda {
    border: none;
}

.divTratamento p {
    font-size: var(--fontM);
    font-weight: var(--negrito);
}

.divTratamento div {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--azul);
    font-size: 16px;
    cursor: pointer;
}

.iconeTratamento {
    width: 30px;
    height: 30px;
    stroke: var(--branco);
    position: relative;
    top: 5%;
    transition: 0.2s;
}

.virar {
    transform: rotate(180deg);
}

.divDescTratamento {
    background-color: var(--cinza);
    color: var(--azul);
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.divDescTratamento p {
    font-size: var(--fontM);
    padding: 15px 5%;
}

#divDepFaqM {
    background-color: var(--cinza);
}

#divDepoimentos {
    text-align: left;
    padding: 0px 5%;
    color: var(--azul);
    font-size: var(--fontM);
    letter-spacing: 1px;
    margin: 0px auto 40px auto;
    max-width: 700px;
}

#divDepoimentos p:not(:last-child) {
    border-bottom: 1px solid var(--azul);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#divFaq {
    text-align: left;
    max-width: 1100px;
    margin: auto;
}

#divTratamentoFaq:first-child {
    border: none;
}

.divIconeTratamentoFaq {
    background-color: transparent !important;
    margin-left: 5%;
}

.divIconeTratamentoFaq svg {
    stroke: var(--azul);
}


footer {
    background-color: var(--azul);
    width: 100%;
    padding: 0px 10% 20px 10%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#logoF {
    width: 190px;
}

#divContatosF p, a {
    color: var(--branco);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    gap: 10px;
    font-size: var(--fontM);
}

#divContatosF p:last-child {
    padding-bottom: 20px;
}

#divContatosF p img {
    width: 20px;
}

#imgWhatsapp {
    width: clamp(70px, 15vw, 100px);
    position: fixed;
    bottom: 1%;
    right: 1%;
    cursor: pointer;
    transition: 0.2s;
}

#imgWhatsapp:hover {
    bottom: 2%;
}

@media (min-width: 800px) {
    #divEscura {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #divEscura h1{
        padding-top: 0;
    }

    #imgCapaM {
        aspect-ratio: 16/5;
        max-height: unset;
    }

    #divFlexSobreNos {
        display: flex;
        flex-direction: row-reverse;
        width: 60%;
        max-width: 700px;
        margin: auto;
        justify-content: center;
        align-items: center;
        gap: 10%;
        text-align: left;
    }

    #divFlexSobreNos p {
        font-size: var(--fontM);
        padding: 0;
    }

    #divFlexSobreNos div {
        min-width: 200px;
    }

    #botaoMenuH {
        display: none;
    }

    .menuH {
        position: initial;
        top: unset; 
        display: flex;
        flex-direction: row;
        gap: 3vw; 
        justify-content: end;
        max-height: initial;  
        margin-right: 2.5%;
    }  

    .menuH p:last-child {
        margin: 0;
        gap: 5px;
    }
}

@media (min-width: 1000px) {
    #divEscura h1, #divEscura p, #divEscura button {
        scale: 1.2;
    }
}