/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #af9452;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: 1px solid #af9452;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    border: 1px solid #af9452;
    border-radius: 4px;
}

.logo-container {
    width: 100px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.nav-menu-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    /* height: 100%; */
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    padding: 0.2rem 0;
    line-height: 1;
    font-family: 'Lato', sans-serif;
}

.nav-link:hover {
    color: #e0e0e0;
}

.whatsapp-btn {
    background-color: #205d37;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
    font-size: 1rem;
    white-space: nowrap;
    line-height: 1;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
}

/* Carousel */
.carousel {
    margin-top: 100px;
}

.carousel-item img {
    height: 400px;
    object-fit: contain;
}

/* Estilos Gerais das Seções */
.section-title-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    text-align: left;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.title-line {
    flex: 1;
    height: 2px;
    background-color: #333;
    opacity: 0.2;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .navbar {
        border: none;
        padding: 0 2.5rem;
    }

    .logo-container {
        position: static;
        width: 200px;
    }

    .whatsapp-btn {
        position: static;
        width: 100%;
    }

    .nav-menu-container {
        position: fixed;
        justify-content: flex-start;
        padding-top: 60px;
    }

    .logo-container {
        width: 200px;
    }

    .menu-hamburguer {
        display: block;
        margin-left: auto;
        padding: 15px;
    }

    .nav-menu-container {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        max-width: none;
        height: calc(100vh - 60px);
        background-color: #a6a6a6;
        padding: 2rem 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: 1rem 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        /* border-bottom: 1px solid #eee; */
    }

    .nav-link {
        display: block;
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 0;
    }

    /* Ajustar altura do header */
    .header {
        height: 100px;
        padding: 0 1rem;
    }

    /* Ajustar o espaço do carousel */
    .carousel {
        margin-top: 100px;
    }

    .nav-menu {
        margin: 1rem 0;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .carousel-item img {
        height: 70vh;
        object-fit: cover;
    }

    /* Ajustar posição do menu mobile */
    .nav-menu-container {
        top: 100px;
        height: calc(100vh - 100px);
    }

    /* Ajustar tamanho do logo */
    .logo-container {
        width: 200px;
    }

    /* Ajustar tamanho do menu hamburguer */
    .menu-hamburguer {
        height: 70px;
        width: 70px;
    }

    .menu-hamburguer span {
        width: 40px;
        height: 3px;
        margin: 4px 0;
    }

    .header {
        justify-content: space-between;
        gap: 2rem;
    }

    .logo {
        max-height: 80px;
        width: auto;
        object-fit: contain;
    }

    .navbar {
        padding: 0 2rem;
        height: 100px;
        align-items: center;
    }

    .section-title-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
        text-align: center;
        margin: 0;
        margin-bottom: 1rem;
        white-space: normal;
        /* Permite quebra de linha se necessário */
    }

    .title-line {
        width: 80%;
        /* Reduz um pouco a largura da linha */
        height: 2px;
        margin: 0 auto;
        background-color: #333;
        opacity: 0.3;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Seção Procedimentos */
.section-procedimentos {
    background-color: #f8f9fa;
    padding: 5rem 0;
    scroll-margin-top: 80px;
}

.procedimentos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.procedimentos-mobile {
    display: none;
    padding: 1rem;
}

.procedimento-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.procedimento-card:hover {
    transform: translateY(-5px);
}

.procedimento-card img {
    width: 100%;
    object-fit: cover;
    height: 200px;
}

.procedimento-card h3 {
    padding: 1rem;
    margin: 0;
    color: #333;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.procedimento-card p {
    padding: 0 1rem 1rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

/* Seção Sobre Nós */
.section-sobre {
    background-color: #e9ecef;
    padding: 5rem 0;
    scroll-margin-top: 80px;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.sobre-texto {
    padding-right: 2rem;
}

.sobre-texto h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.sobre-texto p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.sobre-destaque {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    gap: 1rem;
    margin-top: 2rem;
}

.sobre-imagem-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profissional-foto {
    text-align: center;
    /* background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); */
}

.profissional-foto img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.profissional-foto h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.profissional-foto p {
    color: #666;
    font-size: 0.9rem;
}

.clinica-foto img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Atualizar a media query para responsividade */
@media (max-width: 768px) {
    .section-sobre {
        padding-top: 2rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sobre-texto {
        padding-right: 0;
    }

    .sobre-imagem-container {
        order: -1;
        margin-bottom: 1rem;
    }

    .profissional-foto img {
        max-width: 400px;
    }

    .procedimentos-grid {
        display: none;
    }

    .procedimentos-mobile {
        display: block;
    }

    .swiper {
        width: 100%;
        padding: 1rem;
    }

    .swiper-slide {
        width: 85%;
        height: auto;
    }

    .swiper-pagination {
        position: relative;
        margin-top: 1rem;
    }
}

/* Adicionar após os estilos existentes do navbar */
.menu-hamburguer {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-hamburguer span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Modificar a media query existente */
@media (max-width: 768px) {
    .header {
        height: 100px;
        display: flex;
        align-items: center;
    }

    .navbar {
        flex-direction: row;
        padding: 0 1rem;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100px;
    }

    .logo-container {
        width: 140px;
        display: flex;
        align-items: center;
    }

    .logo {
        max-height: 100px;
        width: auto;
        object-fit: contain;
    }

    .menu-hamburguer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 50px;
        width: 50px;
        padding: 8px;
        margin: 0;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    .menu-hamburguer span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #333;
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    .nav-menu-container {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 100px);
        background-color: white;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-menu-container.active {
        right: 0;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        /* border-bottom: 1px solid #eee; */
    }

    .nav-link {
        display: block;
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 1rem;
    }

    /* Ajustar o espaço do carousel */
    .carousel {
        margin-top: 100px;
    }

    /* Estilos para o menu hamburguer ativo */
    .menu-hamburguer.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-hamburguer.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-hamburguer.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Overlay para quando o menu estiver aberto */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }
}

/* Estilos do Footer */
.footer {
    background-color: #d9d9d9;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.footer p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link,
.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.social-link:hover,
.contact-link:hover {
    color: #205d37;
}

.social-link i,
.contact-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #ccc;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* Media Query para mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links,
    .footer-contact {
        align-items: center;
    }

    .footer-contact .contact-link {
        justify-content: center;
        /* Centralizar os links de contato */
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-info,
    .footer-social,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Estilos para os controles do carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

/* Adicionar cursor de arrasto */
.carousel-inner {
    cursor: grab;
}

.carousel-inner:active {
    cursor: grabbing;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .carousel-indicators {
        margin-bottom: 1rem;
    }

    .carousel-indicators button {
        width: 6px;
        height: 6px;
        margin: 0 4px;
    }
}

/* Atualizar estilos do carousel */
.carousel {
    touch-action: pan-y pinch-zoom;
}

.carousel-inner {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.carousel-inner:active {
    cursor: grabbing;
}

/* Estilos dos indicadores do carousel */
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.9) !important;
    border: none;
    margin: 0 4px;
    opacity: 1;
    padding: 0;
}

.carousel-indicators .active {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .carousel-indicators [data-bs-target] {
        width: 4px;
        height: 4px;
        margin: 0 3px;
    }
}

/* Estilos para alternar entre versões desktop e mobile do carousel */
@media (min-width: 769px) {
    .mobile-slide {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-slide {
        display: none;
    }

    .mobile-slide {
        display: block;
    }
}

/* Atualizar as regras de pointer-events */
.carousel,
.carousel-inner,
.carousel-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.carousel-img {
    cursor: pointer;
    pointer-events: auto !important;
    /* Forçar pointer-events nas imagens */
}

/* Prevenir seleção e arrasto de imagens */
.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

/* Permitir eventos apenas no container do carousel */
.carousel {
    pointer-events: auto;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .procedimentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .procedimento-card {
        max-width: 100%;
        padding-bottom: 2.5rem;
        margin-bottom: 1rem;
    }

    .swiper-pagination {
        position: relative;
        margin-top: 1.5rem;
        bottom: 0;
    }

    .swiper-slide {
        padding-bottom: 1.5rem;
    }
}

/* Ajuste para tablets */
@media (max-width: 992px) {
    .procedimentos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Ajuste para desktop grande (4 itens) */
@media (min-width: 1201px) {
    .procedimentos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Ajuste para desktop médio (3 itens) */
@media (min-width: 992px) and (max-width: 1200px) {
    .procedimentos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .procedimento-card {
        max-width: 300px;
    }
}

/* Ajuste para tablets (2 itens) */
@media (max-width: 991px) {
    .procedimentos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Ajuste para mobile (1 item) */
@media (max-width: 768px) {
    .procedimentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .procedimento-card {
        max-width: 100%;
    }
}

/* Prevenir seleção e arrasto de imagens no swiper mobile */
.swiper,
.swiper-wrapper,
.swiper-slide,
.swiper-slide img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

/* Permitir eventos apenas no container do swiper */
.swiper {
    pointer-events: auto;
}

/* Cursor de arrasto para o swiper */
.swiper-wrapper {
    cursor: grab;
}

.swiper-wrapper:active {
    cursor: grabbing;
}

/* Estilizar botões de navegação do Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    opacity: 0.7;
    width: 40px;
    height: 40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

/* Ajuste para mobile */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Estilo do botão Conheça agora */
.conheca-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 1rem;
    transition: all 0.3s ease;
    width: calc(100% - 2rem);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.conheca-btn:hover {
    background-color: #000;
    color: white;
    transform: translateY(-2px);
}

.conheca-btn i {
    transition: transform 0.3s ease;
}

.conheca-btn:hover i {
    transform: translateX(5px);
}

/* Ajuste no card para acomodar o botão */
.procedimento-card {
    display: flex;
    flex-direction: column;
}

.procedimento-card p {
    flex-grow: 1;
    margin-bottom: 0;
}

/* Ajustar as propriedades de pointer-events no mobile */
@media (max-width: 768px) {

    /* Permitir interação com o botão */
    .conheca-btn {
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }

    /* Ajustar as propriedades do Swiper */
    .swiper,
    .swiper-wrapper,
    .swiper-slide {
        pointer-events: auto;
    }

    /* Manter apenas as imagens sem interação */
    .swiper-slide img {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-user-drag: none;
        -webkit-touch-callout: none;
        pointer-events: none;
    }
}

/* Seção Avaliação */
.section-avaliacao {
    background-color: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
}

.avaliacao-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.avaliacao-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.avaliacao-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.agendar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.agendar-btn:hover {
    background-color: #000;
    color: white;
    transform: translateY(-2px);
}

.agendar-btn i {
    transition: transform 0.3s ease;
}

.agendar-btn:hover i {
    transform: translateX(5px);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .section-avaliacao {
        padding: 3rem 0;
    }

    .avaliacao-content h2 {
        font-size: 2.2rem;
    }

    .avaliacao-content p {
        font-size: 1.1rem;
    }

    .procedimento-card img {
        height: 250px;
    }

    .section-procedimentos {
        padding-top: 4rem;
    }

    .section-title-container {
        margin-bottom: 1.5rem;
    }
}