@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --first-color: #AFA59B;
    --black-color: #262626;
    --white-color: #fff;

    --font-text: 'Helvetica', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-text);
    cursor: url("../img/cursor.png"), auto;
}

html,
body {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    margin: auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
}


/*INÍCIO HEADER*/

header#header {
    width: 100%;
    padding: 30px;
}

#inside-header {
    width: 100%;
    max-width: max-content;
    margin: auto;
}

#inside-header>a {
    display: block;
    width: 300px;
    padding-bottom: 30px;
}

#inside-header a img {
    width: 100%;
    max-width: 300px;
    filter: invert(61%) sepia(30%) saturate(160%) hue-rotate(16deg) brightness(95%) contrast(85%);
}

@media (max-width: 500px) {
    #inside-header>a {
        width: 240px;
    }
}

/*FIM HEADER*/

#float-wpp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    outline: 5px solid #fff;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.link-float-wpp {
    font-size: 35px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

}


/*INÍCIO DEFINIÇÕES*/

h1 {
    font-size: 40px;
}

h3 {
    font-size: 20px;
}

span {
    color: var(--first-color);
}

p {
    font-size: 20px;
    line-height: 1.5em;
}

.white-color {
    color: var(--white-color);
}

.first-color {
    color: var(--first-color);
}

.text-center {
    text-align: center;
}

.align-center {
    margin: auto;
}

.margin-top {
    margin-top: 30px;
}

.margin-bottom {
    margin-bottom: 30px;
}

.first-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white-color);
    color: var(--first-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    width: max-content;
    font-size: 20px;
}

.second-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    width: max-content;
    font-size: 20px;
}


@media (max-width: 1000px) {
    h1 {
        font-size: 35px;
    }

    .first-btn,
    .second-btn,
    p {
        font-size: 18px;
    }

}

@media (max-width: 500px) {
    h1 {
        font-size: 30px;
    }

    h3 {
        font-size: 18px;
    }

    p,
    .first-btn,
    .second-btn {
        font-size: 16px;
    }
}

/*FIM DEFINIÇÕES*/



/*INÍCIO HOME*/

section#home {
    width: 100%;
    height: auto;
    min-height: 400px;
    background-image: url(../img/consultorio-bk.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#inside-home {
    width: 100%;
    padding: 50px 30px;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.500);
    z-index: 1;
}

#inside-home {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*FIM HOME*/



/*INÍCIO ABOUT*/

section#about {
    width: 100%;
    padding: 50px 30px;
}

#inside-about {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: auto;
}


.item-positive {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}

.item-positive>.icon-item {
    font-size: 3rem;
    color: var(--first-color);
}

.img-about {
    width: auto;
    max-width: 35%;
    overflow: hidden;
    border-radius: 20px;
}

.img-about>img {
    width: 100%;
}

@media (max-width: 1000px) {

    .img-doctor,
    .img-about {
        max-width: 40%;
    }
}

@media (max-width: 900px) {
    #inside-about {
        flex-direction: column;
        gap: 30px;
    }

    .img-about {
        max-width: none;
        max-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 500px) {

    .item-positive>.icon-item {
        font-size: 2.2rem;
    }
}

/*FIM ABOUT*/



/* INÍCIO CLINIC */

section#clinic {
    width: 100%;
    background-color: var(--first-color);
    padding: 50px 30px;
}

#inside-clinic {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}

#inside-clinic h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* Collage mais SIMÉTRICA (quilt repetitivo) */
.photo-collage {
    --gap: 16px;
    --radius: 14px;
    width: 100%;
    max-width: 100%;
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
    grid-auto-flow: dense;
    /* ajuda a preencher “buracos” */
}

.photo-collage img {
    grid-column: span 4;
    /* 3 por linha como base */
    aspect-ratio: 4/3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18);
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
    cursor: zoom-in;
}

.photo-collage img:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

/* PADRÃO que se repete a cada 12 imagens para manter a simetria */

/* Linha 1: 50/50 */
.photo-collage img:nth-child(12n + 1),
.photo-collage img:nth-child(12n + 2) {
    grid-column: span 6;
    /* duas peças iguais */
    aspect-ratio: 16/9;
}

/* Linha 2: três peças iguais */
.photo-collage img:nth-child(12n + 3),
.photo-collage img:nth-child(12n + 4),
.photo-collage img:nth-child(12n + 5) {
    grid-column: span 4;
    /* já é o padrão */
}

/* Linha 3: 2/3 + 1/3 */
.photo-collage img:nth-child(12n + 6) {
    grid-column: span 8;
    aspect-ratio: 16/9;
}

.photo-collage img:nth-child(12n + 7) {
    grid-column: span 4;
}

/* Linha 4: três peças iguais */
.photo-collage img:nth-child(12n + 8),
.photo-collage img:nth-child(12n + 9),
.photo-collage img:nth-child(12n +10) {
    grid-column: span 4;
}

/* Linha 5: 50/50 novamente */
.photo-collage img:nth-child(12n +11),
.photo-collage img:nth-child(12n +12) {
    grid-column: span 6;
    aspect-ratio: 16/9;
}

/* Responsividade */
@media (max-width:1024px) {
    .photo-collage {
        max-width: 960px;
        --gap: 14px;
    }
}

@media (max-width:820px) {
    .photo-collage {
        grid-template-columns: repeat(8, 1fr);
    }

    .photo-collage img {
        grid-column: span 4;
        aspect-ratio: 4/3;
    }

    /* 2 por linha base */
    /* repetir padrão proporcional */
    .photo-collage img:nth-child(12n + 1),
    .photo-collage img:nth-child(12n + 2),
    .photo-collage img:nth-child(12n +11),
    .photo-collage img:nth-child(12n +12) {
        grid-column: span 8;
    }

    /* largura total */
    .photo-collage img:nth-child(12n + 6) {
        grid-column: span 8;
    }
}

@media (max-width:560px) {
    .photo-collage {
        grid-template-columns: repeat(6, 1fr);
        --gap: 10px;
    }

    .photo-collage img {
        grid-column: span 6;
        aspect-ratio: 4/3;
    }

    /* 1 por linha */
}

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(2px);
    z-index: 9999;
}

#lightbox.open {
    display: grid;
}

#lightbox .lightbox-content {
    max-width: min(92vw, 1200px);
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
}

#lightbox .close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #000;
    font-size: 26px;
    line-height: 44px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    transition: transform .2s ease, opacity .2s ease;
}

#lightbox .close:hover {
    transform: scale(1.05);
}

/* FIM CLINIC */





/*INÍCIO DOCTOR*/

section#doctor {
    width: 100%;
    padding: 30px 30px 0 30px;
}

#inside-doctor {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: auto;
}

.item-positive {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}

.img-doctor {
    width: auto;
    max-width: 35%;
    overflow: hidden;
}

.img-doctor>img {
    width: 100%;
    margin-bottom: -10px;
}


@media (max-width: 900px) {
    #inside-doctor {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .img-doctor {
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/*FIM DOCTOR*/



/*INÍCIO DEPOIMENTS*/

section#depoiments {
    width: 100%;
    background-color: var(--first-color);
    padding: 50px 30px;
}

#inside-depoiments {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}

.list-depoiments {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.depoiment {
    width: 100%;
    overflow: hidden;
    text-align: center;
    background-color: var(--white-color);
    padding: 50px 30px;
    border-radius: 5px;
}

.img-depoiment {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #d3d3d3;
    margin: 0 auto 20px;
}

.stars-depoiment {
    margin: 20px 0;
    color: #F0DA16;
}


@media (max-width: 1000px) {
    .list-depoiments {
        grid-template-columns: repeat(1, 1fr);
    }
}


/*FIM DEPOIMENTS*/




/*INÍCIO COMPARISON*/

section#comparison {
    width: 100%;
    padding: 50px 30px;
}

#inside-comparison {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}

.cro {
    letter-spacing: 0.5em;
    opacity: .8;
    margin-top: 30px;
}

.list-comparison {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.case {
    width: 100%;
    overflow: hidden;
}

.case>img {
    width: 100%;
}


@media (max-width: 500px) {

    .cro {
        letter-spacing: 0.3em;
    }

    .list-comparison {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
}

/*FIM COMPARISON*/


/*INÍCIO FAQ*/

section#faq {
    width: 100%;
    padding: 0 30px 50px;
}

#inside-faq {
    width: 100%;
    max-width: 1280px;
    margin: auto;

}

.faq-list {
    width: 100%;
    margin: 20px auto 50px;
}

.faq-item {
    width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    transition: .3s;
    outline: 1px solid rgb(240, 240, 240);
    margin-top: 20px;
}

.faq-item:hover {
    cursor: pointer;
    outline: 1px solid rgb(177, 177, 177);
}

.question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 1.1em;
}

.question>i {
    display: block;
    color: var(--second-color);
}

.answer {
    opacity: 0.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    font-size: 1.1em;
}

.answer.open {
    padding: 20px 0;
}


/*FIM FAQ*/


/*INÍCIO BREAK*/

section#break {
    width: 100%;
    padding: 0 30px;
}

#inside-break {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: end;
    justify-content: center;
    height: max-content;
    gap: 50px;
}

.video-clinica {
    height: 65vh;
}

.video-clinica>video {
    height: 100%;
}

.little-box {
    max-height: 65vh;
    overflow: hidden;
    padding-bottom: -30px;
}

.little-box>img {
    width: 100%;
    height: 100%;
    margin-bottom: -10px;
}

@media (max-width: 800px) {

    #inside-break {
        max-width: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .video-clinica {
        width: 100%;
        height: auto;
        max-width: 400px;
    }

    .video-clinica>video {
        width: 100%;
        height: auto;
    }
}

/*FIM BREAK*/


/*INÍCIO LOCAL*/

section#local {
    width: 100%;
    padding: 50px 30px;
    background-color: var(--black-color);
}

#inside-local {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.local-info>p {
    opacity: .8;
    margin-bottom: 10px;
}

.map {
    overflow: hidden;
    border-radius: 30px;
    max-width: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map>iframe {
    width: 600px;
    height: 450px;
}

@media (max-width: 1000px) {

    #inside-local {
        flex-direction: column;
    }

    .map,
    .local-info {
        max-width: none;
        width: 100%;
    }

    .map>iframe {
        width: 100%;
        height: 450px;
    }
}

@media (max-width: 400px) {

    .map>iframe {
        height: 350px;
    }
}

/*FIM LOCAL*/



/*INÍCIO SESSÃO CONTATO*/
#contato {
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 50px 5vw;
}

#inside-contato {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
}

.email-info {
    max-width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-form {
    width: 100%;
    max-width: 500px;
}

.contact-form>form {
    display: block;
    width: 100%;
    max-width: 500px;
}

.contact-form>form>input,
.contact-form>form>textarea {
    display: block;
    width: 100%;
    background-color: transparent;
    outline: none;
    border-radius: 5px;
    border: 2px solid var(--first-color);
    padding: 12px 20px;
    margin: 20px 0;
    font-size: 16px;
}

.contact-form>form>button {
    display: block;
    width: 100%;
    min-width: max-content;
    text-decoration: none;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: none;
    background-color: var(--first-color);
    color: var(--white-color);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}

@media (max-width: 1000px) {
    #inside-contato {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-form>form {
        margin: auto;
    }

    .email-info {
        width: max-content;
        margin: 30px auto 0;
        gap: 10px;
    }

    .email-info>p {
        font-size: 14px;
    }
}

/*FIM SESSÃO CONTATO*/


/*INÍCIO FOOTER*/

footer {
    background-color: var(--first-color);
    padding: 50px 30px;
}

#inside-footer>a {
    display: block;
    width: 300px;
    padding-bottom: 30px;
    margin: auto;
}

#inside-footer>a>img {
    width: 100%;
}

#inside-footer>p {
    opacity: .8;
}

@media (max-width: 500px) {
    #inside-footer>a {
        width: 240px;
    }
}