* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif
}

html {
    scroll-behavior: smooth;


}

header {
    width: 100%;
    top: 0;
    background-color: var(--cor-base-site);
    height: 14vh;
    position: fixed;
    z-index: 1000;

}

/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* CORES */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */


:root {
    --cor-texto: #565657;
    --cor-texto-white: #ffffff;
    --cor-link-submenu: #3d311c;
    --cor-base-site: #745520;
    /*#745520*/
    --cor-submenu: #c7ac7c;
    /*#c7ac7c*/
    --cor-div-02: #eef0f0;
    --cor-submenu-clara: #e4dbcb;
    --cor-submenu-clara2: #f7f3ec;
}

.color-container-01 {
    background-color: var(--cor-div-02);
}

.color-container-02 {
    background-color: var(--cor-submenu-clara);
}

.color-container-03 {
    background-color: var(--cor-submenu-clara2);
}


/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* BOTÕES WHATSAPP - COMO CHEGAR - LATTES */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */


/* BOTÃO WHATSAPP */
.whatsapp-button {
    padding: 15px 35px;

}

/* FIM DO BOTÃO WHATSAPP -----------------------------------------------------------------*/

/* BOTÃO LINK LATTES */
.external-button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 30%;
}

/* FIM DO BOTÃO LINK LATTES --------------------------------------------------------------*/

/* BOTÃO COMO CHEGAR */
.btn-maps {
    padding: 12px 50px;
}

/* FIM DO BOTÃO COMO CHEGAR --------------------------------------------------------------*/

/* Estilos comuns para os botões */
.whatsapp-button,
.external-button,
.btn-maps {
    background-color: var(--cor-base-site);
    /*#a17d3d*/
    color: var(--cor-texto-white);
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2em;
}

.whatsapp-button:hover,
.external-button:hover,
.btn-maps:hover {
    background-color: var(--cor-submenu);
    /*#5f461c*/
}

.external-button,
.btn-maps {
    margin-top: 35px;
}

.external-button {
    width: 200px;
}

/* FIM BOTÕES WHATSAPP - COMO CHEGAR - LATTES --------------------------------------------*/



/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* SUB-CLASSES */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */

.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}



/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* DIV BASE */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */

.container {
    width: 100%;
    min-height: 86vh;
    height: auto;
    scroll-margin-top: 14vh;
    display: flex;
    /* -------------*/

}

.container h2 {

    font-size: 2em;
    color: var(--cor-base-site);

}

.container-box {
    width: 75%;
    min-height: 86vh;
    height: auto;
    margin: auto;

    display: flex;
    /* -------------*/
    align-items: center;
    justify-content: space-between;

}

.title {
    width: 75%;
    margin: auto;
    margin-top: 8%;

    display: flex;
    /* ----- */
    justify-content: center;
}




/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/*  ÁREA DE MENU */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */



.sub-menu {
    height: 5vh;
    background-color: var(--cor-submenu);
    font-size: 0.9em;

    display: flex;
    /* ---- */
    align-items: center;
    justify-content: space-evenly;



}

.sub-menu a {
    text-decoration: none;
    display: block;
    color: var(--cor-base-site);
    font-weight: 600;

}

.sub-menu-icons {
    width: 18px;
    height: 18px;
    margin: 0 5px 0 0;

}

.sub-menu-icons img {
    width: 100%;
    height: 100%;
    display: block;

}


.menu {
    height: 9vh;
    background-color: var(--cor-base-site);
    padding: 0 5%;

    display: flex
        /* ---- */
    ;
    align-items: center;
    justify-content: space-between;

}

.menu img {
    max-height: 100%;
    /* Faz a imagem ajustar-se à altura da div */
    max-width: 100%;
    /* Mantém a proporção da imagem */
    height: auto;
    width: auto;

}

.nav-list {
    display: none;
    /* Esconder por padrão */
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #8b5e34;
    /* Cor de fundo do menu */
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px 0;
    z-index: 1000;
    /* Garante que fique acima de outros elementos */
}

.menu.active .nav-list {
    display: flex;
}

.nav-list li {
    margin: 15px 0;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: var(--cor-texto-white);
    font-size: 12px;
    text-transform: uppercase;
}


/* ÁREA MENU HAMBÚRGUER ------------------------------------------------------- */

.menu-icon {
    position: absolute;
    top: 141px;
    /* Ajuste para alinhar corretamente */
    right: 15px;
    /* Posiciona no canto superior direito */
    z-index: 1000;
    /* Mantém acima de outros elementos */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 30px;
    background: none;
    /* Remove o fundo branco para manter o design limpo */
}

/* Linhas do menu hambúrguer */
.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.4s;
}

.menu.active .menu-icon div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu.active .menu-icon div:nth-child(2) {
    opacity: 0;
}

.menu.active .menu-icon div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-list.active {
    flex-direction: column;
    position: absolute;
    top: 5vh;
    left: 0;
    width: 100%;
    background-color: var(--cor-base-site);
    padding: 20px;
}



/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/*  ÁREA DA IMAGEM DE CAPA */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */


.full-screen {
    background: url("../img/cons.webp") no-repeat center center;
    background-size: cover;
    height: 55vh;
    margin-top: 14vh;
}

.full-container {
    margin: auto;
    width: 75%;
    height: 55vh;

    display: flex;
    /*-----*/

}

.desc-container {
    width: 100%;

    display: flex;
    /*-----*/
    align-items: center;
    flex-direction: column;
    justify-content: center;

}

.desc-container h1 {
    color: var(--cor-texto-white);
    font-size: 5vw;
    margin-bottom: 5%;
    text-align: center;
}



/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* QUEM SOU */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */


.image-container {
    flex: 0 0 40%;
    height: auto;
    max-height: 80vh;
    margin-right: 5%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.text-container {
    flex: 0 0 60%;

}

.text-container p {
    font-size: 1.3vw;
    margin-bottom: 15px;
    line-height: 1.2em;
    color: var(--cor-texto);
    text-align: justify;


}

.text-container h1 {
    font-size: 2em;
    margin-bottom: 0.5vh;
    color: var(--cor-base-site);

}

.text-container h4 {
    font-size: 0.7em;
    font-weight: 200;
    margin-bottom: 4vh;
    letter-spacing: 0.2em;

}


/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* ATENDIMENTOS */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */


.service-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;

}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Necessário para ajustar a linha */
    padding: 10px;
    /* Espaço ao redor do ícone dentro da borda */
    border-radius: 50%;
    /* Borda arredondada */
    border: 3px solid #745520;
    /* Cor da borda */
    background-color: var(--cor-submenu-clara2);
    /* Cor de fundo do ícone */
    margin: 0 10px;
    /* Espaço entre os ícones e as linhas */
}

.service-icon img {
    width: 40px;
    /* Ajuste o tamanho dos ícones conforme necessário */
    height: 40px;
    border-radius: 50%;
    /* Arredonda a imagem para combinar com a borda */
}

.service-line {
    width: 250px;
    /* Ajuste a largura das linhas conforme necessário */
    height: 3px;
    /* Ajuste a espessura da linha */
    background-color: #745520;
    /* Cor da linha */

}

.service-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: auto;
    width: 75%;



}

.service-box {
    color: var(--cor-texto);
    width: 30%;
    height: auto;
    text-align: left;
    display: flex;
    flex-direction: column;



}

.service-box-itens {
    width: 100%;
    min-height: 160px;
    height: auto;


}

.service-box h3 {
    font-size: 1.3em;
    color: var(--cor-base-site);

}

.service-box p {
    margin: 10px 5px 30px 15px;
    text-align: left;

}


/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* GALERIA CONSULTÓRIO */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */

.container-box-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 10px;
    width: 75%;
    margin: auto;
}

.gallery-item {
    width: 32%;

}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 4vh;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    margin-top: 6vh;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: inline-block;
    cursor: default;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    text-decoration: none;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.nav.prev {
    left: 10px;
}

.nav.next {
    right: 10px;
}

.end-local {
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin-bottom: 10vh;


}

.content-end-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.content-end-icon span {
    font-size: 1.2em;
    font-weight: 500;
    color: var(--cor-base-site);
    margin-bottom: 2vh;
}

.content-end-icon img {
    width: 40px;
    height: auto;
    margin-bottom: 10px;

}

.content-end p {
    font-size: 1em;
    color: var(--cor-link-submenu);
    width: 70%;
    margin: auto;
}

/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* DÚVIDAS FREQUENTES */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */

.conteiner-box-questions {
    width: 75%;
    height: auto;
    margin-bottom: 10%;
    margin: auto;
}

.container-question {
    width: 100%;
    margin: 20px auto;
    border: 1px solid var(--cor-submenu);
    /*border-radius: 5px;*/
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 5px;


}

.header-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.header-question h3 {
    margin: 0;
    font-size: 19px;
    color: var(--cor-base-site);

}

.toggle-icon-question {
    font-size: 24px;
    line-height: 1;
    user-select: none;
}

.content-question {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.container-question p {
    padding: 2%;
    color: var(--cor-base-site);

}

/*  ------------------------------------------------------------------------------------- */
/* ↓ ↓ ↓ ↓ */
/* CONTATO / FOOTER */
/* ↓ ↓ ↓ ↓ */
/*  ------------------------------------------------------------------------------------- */


.contact-box {
    width: 100%;
    display: flex;
    margin: auto;
    align-items: center;


}

.itens-contact {
    width: 100%;
    text-align: left;


}

.itens-contact h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 1em;
}

.itens-contact {
    margin: auto;

}

.contact-form {

    width: 50%;
    padding: 50px;
    margin-bottom: 3vh;

}

.contact-form p {
    margin-bottom: 10%;
    color: var(--cor-base-site);
}

.contact-form h2 {
    font-size: 1.7em;
    color: var(--cor-base-site);
}

.content-wrapper {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    text-align: left;

}

.simple-contact-form {
    width: 100%;
    max-width: 500px;

    padding: 0;
    border-radius: 0;
    background-color: transparent;
}

.simple-contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    color: var(--cor-base-site);
}

.simple-contact-form .input-group {
    margin-bottom: 15px;
}

.simple-contact-form .input-group label {
    display: block;
    font-size: 14px;
    color: var(--cor-base-site);
    margin-bottom: 5px;
}

.simple-contact-form .input-group input,
.simple-contact-form .input-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--cor-base-site);
    border-radius: 4px;
    box-sizing: border-box;
    background-color: transparent;
}

.simple-contact-form .input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.simple-contact-form .submit-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: var(--cor-base-site);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.simple-contact-form .submit-btn:hover {
    background-color: var(--cor-link-submenu);
}


/* Responsividade */
@media screen and (max-width: 1024px) {

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: fixed;
        /* Alterado de absolute para fixed */
        top: 0;
        left: 0;
        background-color: var(--cor-base-site);
        justify-content: center;
        /* Centraliza os itens */
        z-index: 999;
        /* Garante que o menu fique acima dos outros elementos */
    }

    .nav-list.active {
        display: flex;
    }

    .container-box {
        flex-direction: column;
        /* Mudar a disposição dos elementos para coluna */
        width: 100%;
        /* Ajustar a largura da caixa principal */
    }

    .title {
        margin-top: 20%;
    }

    .gallery-item {
        width: 48%;
        margin: 1%;
    }
}

@media screen and (max-width: 768px) {
    .container-box {
        flex-direction: column;
        /* Alterar a disposição para coluna em telas menores */
        width: 100%;
        padding: 20px;
    }

    .text-container p {
        font-size: 1em;
        /* Reduzir o tamanho da fonte para telas menores */
    }

    .text-container h1 {
        font-size: 1.5em;
    }

    .gallery-item {
        width: 100%;
    }

    .nav-list li {
        margin: 15px 0;
        /* Aumentar o espaçamento entre itens do menu */
    }

    .gallery-img p {
        width: 80%;
        margin: auto;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 480px) {
    .nav-list li {
        margin: 0.8em 0;
    }

    .gallery-item {
        width: 100%;
    }

    .gallery-img h1 {
        font-size: 2em;
        padding: 5% 0 0;
    }

    .gallery-img p {
        width: 70%;
        font-size: 1.1em;
    }

    .container-box {
        padding: 10px;
    }

    .text-container p {
        font-size: 0.9em;
        /* Ajustar tamanho da fonte para melhorar a leitura */
    }

    .contact-form {
        width: 90%;
        /* Ajustar o formulário de contato para ocupar mais da tela em dispositivos menores */
        padding: 20px;
        /* Reduzir padding em telas pequenas */
    }

    .simple-contact-form .submit-btn {
        font-size: 14px;
        /* Reduzir tamanho do botão */
    }
}

@media screen and (max-width: 1024px) {
    .service-icons-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        width: 100%;
        margin-bottom: 20px;
        /* Espaço entre as seções */
    }

    .service-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .service-icons-container .service-icon {
        margin-bottom: 20px;
        /* Adiciona um espaçamento entre os ícones */
    }
}

@media screen and (max-width: 768px) {
    .service-box {
        width: 90%;
    }

    .service-icons-container .service-icon {
        width: 60px;
        height: 60px;
        /* Reduzir o tamanho dos ícones em telas menores */
    }

    .service-content h3 {
        font-size: 1.1em;
    }

    .service-content p {
        font-size: 0.9em;
        /* Reduzir o tamanho do texto para melhorar a legibilidade */
    }
}

@media screen and (max-width: 480px) {
    .service-box {
        width: 100%;
    }

    .service-icons-container {
        flex-direction: row;
        gap: 15px;
        margin-top: 40px;
    }

    .service-box-itens {
        text-align: center;
    }

    .service-icons-container .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-line {
        margin-bottom: 12px;
    }
}

/* Responsividade da Seção de Contato */
@media screen and (max-width: 1024px) {
    .contact-box {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        width: 100%;
        margin-bottom: 20px;
    }

    .content-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .simple-contact-form {
        width: 100%;
    }

    .simple-contact-form h2 {
        text-align: center;
    }

    .whatsapp-button {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .contact-box {
        width: 100%;
        flex-direction: column;
    }

    .contact-form {
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    .simple-contact-form h2 {
        font-size: 1.8em;
    }
}

@media screen and (max-width: 480px) {
    .contact-box {
        flex-direction: column;
    }

    .contact-form {
        width: 100%;
        text-align: center;
    }

    .simple-contact-form {
        width: 100%;
        padding: 0 20px;
    }

    .image-container {
        margin-right: 0%;
    }
}

@media screen and (max-width: 768px) {
    .sub-menu {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 10px;
        gap: 15px;
    }

    .sub-menu a {
        width: 100%;
        text-align: left;
    }

    .sub-menu-box {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .sub-menu-icons {
        width: 24px;
        height: 24px;
    }
}

/* Estilo para telas menores */
@media screen and (max-width: 768px) {
    .text-container {
        text-align: center;
    }

    .external-button {
        display: inline-block;
        margin: 20px auto;
    }
}

.centered-text {
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    text-align: center;
    /* Centraliza o texto */
    padding: 20px;
    /* Espaçamento interno */
    background-color: var(--cor-submenu-clara);
    font-size: 1.3em;
    color: var(--cor-base-site);
    width: 100%;
    /* Garante que a div ocupe toda a largura disponível */
}

/* Estilos para mensagens de feedback do formulário */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}