/********** Template CSS **********/
:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: none !important;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar {
    font-family: "futura-light";
    min-height: 75px;
}

.navbar .dropdown-toggle::after {
    border: none;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 10px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        font-size: 2.0rem !important;
    }
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #412F2B;
}

/* Efeito hover estático */
.nav-item {
    position: relative;
}

.nav-item:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #412F2B;
}

/* Correção do botão */
.nav-item-btn .btn,
.nav-item-btn .btn:hover {
    border-bottom: none !important;

    transform: none !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    /* Mobile */
    .navbar-brand {
        display: flex;
        align-items: center;
        height: 100%;
        padding-left: 0.5rem !important;
        flex-grow: 1;
    }

    .navbar-brand h2.Quiche {
        font-size: 2.5rem !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    .navbar-toggler {
        margin-right: 0.5rem !important;
        margin-left: 0 !important;
        align-self: center;
        font-size: 2.5rem;
    }
}

.navbar .navbar-nav .nav-link {
    color: #424746FF;
    font-weight: 500;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }

    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }
}

/*** Header ***/
.header-carousel .owl-carousel-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 3rem;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: url(../img/header-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Service ***/
.service-item {
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
}

.service-item:hover .btn {
    width: 140px;
}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }
    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

@font-face {
    font-family: 'quiche';
    src: url('../fonts/QuicheText-LightItalic.ttf') format('truetype');
}

.Quiche {
    font-family: 'quiche';
    font-weight: normal;
}

.QuicheBold {
    font-family: 'quiche';
    font-weight: bold;
    color: #424746FF;
}

.btn-primary {
    background-color: #C3A07A;
    border-color: #C3A07A;
    color: white;
}

.btn-primary:hover {
    background-color: #412F2B;
    border-color: #412F2B;
}

.btn-primary:active {
    background-color: #412F2B;
    border-color: #412F2B;
}

.btn:focus {
    box-shadow: none;
}

.py-5 {
    padding-top: 4.5rem !important;
    padding-bottom: 3rem !important;
}

.text-primary {
    color: #412F2B !important;
}

/*.circuloTratamento {*/
/*    width: 150px;*/
/*    height: 150px;*/
/*    margin-left: 25%;*/
/*}*/

.fundo-areia {
    background-color: #e6e1db !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
    margin-top: 10px;
}

a .QuicheBold:hover {
    color: #412F2B;
}

.fundo-areia-escuro {
    background-color: #A1948EFF !important;
}

.footer .copyright a:hover {
    color: #412F2B;
}

.footer .btn.btn-social:hover {
    color: #412F2B;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #412F2B;
    border-color: #412F2B;
    box-shadow: 0 0 0 .25rem #A1948EFF;
}

.btn-check:checked+.btn-primary:focus, .btn-check:active+.btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .25rem #A1948EFF;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #412F2B;
}

.footer .btn.btn-link:hover {
    color: #412F2B;
    letter-spacing: 1px;
    box-shadow: none;
}

/* Ajustes específicos para o botão de agendamento */

.btn-agendamento {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: calc(1.5em + 1rem + 2px) !important; /* Altura padrão do Bootstrap */
    line-height: 1.5 !important;
    padding: 0.5rem 1.5rem !important;
    white-space: nowrap !important;
    position: relative;
    top: -0.5px !important; /* Ajuste milimétrico */
}

/* Correções finais para o navbar */
.navbar-nav * {
    transition: none !important;
}


/* Garante que o container não force a quebra */
.nav-item-btn {
    white-space: nowrap !important;
}


/* REMOVE QUALQUER EFEITO DE MOVIMENTO */
.nav-item-btn {
    transition: none !important;
    transform: none !important;
}

/* GARANTE ALINHAMENTO PERFEITO COM OS ITENS DO MENU */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        display: flex;
        align-items: center;
    }

    .btn-agendamento {
        top: 0 !important;
        margin-top: 0 !important;
        transform: translateY(0.5px) !important; /* Ajuste final */
    }
}

/* Ajuste para parágrafos em dispositivos móveis - Versão reforçada */
@media (max-width: 767.98px) {
    body p,
    .service-item p,
    .fundo-areia p,
    .team-text p,
    .testimonial-text p,
    .footer p,
    .header-carousel p,
    .feature p,
    .appointment p {
        font-size: 2rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    /* Ajuste para elementos específicos que podem estar conflitando */
    .service-item .btn,
    .team-text .btn,
    .testimonial-text .btn {
        font-size: 1.8rem !important;
    }
}

/* Ajuste para telas médias */
@media (max-width: 991.98px) {
    .btn-agendamento {
        padding: 0.5rem 0.8rem !important;
        font-size: 2.5rem !important;
    }
}

@media (min-width: 1200px) {
    .navbar h2, .h2 {
        font-size: 3rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand h2.Quiche {
        font-size: 1.4rem !important;
    }
}

/*smartphones retrato*/
@media (max-width: 992px) {
    .text-size {
        font-size: 2.5rem !important;
    }
}

@media (min-width: 1200px) {
    .text-size {
        font-size: 1.0rem !important;
    }
}



.btn-referencia {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-right:1rem !important;
    padding-left:1rem !important;
    height: auto;
}

/* Ajustes para a imagem no mobile (até 991.98px) - MANTIDO COMO ESTAVA */
@media (max-width: 991.98px) {
    .circuloTratamento {
        width: 120px;
        height: 120px;
        margin-left: 0;
    }

    .service-item {
        padding: 1.5rem !important;
    }
}

/* Ajustes para MOBILE (quadrado perfeito) - Até 991.98px */
@media (max-width: 991.98px) {
    .circuloTratamento {
        width: 120px;
        height: 120px;
        margin-left: 0;
        padding-bottom: 0; /* Remove qualquer padding-bottom */
    }

    .circuloTratamento img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        box-shadow: 0 0 0 3px white; /* Borda branca */
    }

    .service-item {
        padding: 1.5rem !important;
    }
}

/* Ajustes para DESKTOP (retangular) - A partir de 992px */
@media (min-width: 992px) {
    .circuloTratamento {
        width: 100%;
        max-width: 100%;
        height: 0;
        padding-bottom: 60%; /* Proporção retangular (60% de altura) */
        position: relative;
        margin: 0 auto;
        border-radius: 10px; /* Cantos arredondados suaves */
        overflow: hidden; /* Garante que a imagem respeite o border-radius */
    }

    .circuloTratamento img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 0;
        left: 0;
        border-radius: inherit; /* Herda o border-radius do container */
        box-shadow: 0 0 0 3px white; /* Mantém a borda branca */
    }

    /* Remove padding lateral no desktop */
    .service-item .row > div:first-child {
        padding-left: 0;
        padding-right: 0;
    }
}
/* Ajuste para o texto do link no mobile */
@media (max-width: 991.98px) {
    .service-item h4.QuicheBold {
        text-align: center; /* Centraliza o conteúdo */

    }

    .service-item h4.QuicheBold a {
        font-size: 2.1rem;
        display: inline-flex; /* Mudamos para flex */
        flex-direction: column; /* Organiza em coluna */
        align-items: center; /* Centraliza horizontalmente */
        line-height: 1.3;
        text-align: center; /* Centraliza o texto */
        margin-left: 5px;
    }
}

@media (max-width: 991.98px) {
    #sobre h4.QuicheBold {
        font-size: 2.5rem; /* Centraliza o conteúdo */

    }
}
