/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.logo img {
  width: auto;
  height: 70px;
}

.header-two .logo img {
  height: 30px;
}


body {
    overflow-x: hidden; /* Previne o scroll lateral indesejado em dispositivos móveis */
}


.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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;
}




.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
    text-align: center;
    
}
.carousel .carousel-caption h1 { 
    /* Coloque a classe do seu título aqui (pode ser um h1 ou h2) */
    
    /* Garante que o texto fique sempre no centro */
    margin-left: auto;
    margin-right: auto;
    
    /* Limita a largura do bloco de texto para forçar a quebra no centro */
    max-width: 90%; 
}

/* 3. Media Query para telas menores (Celular) */
@media (max-width: 768px) {
    .carousel .carousel-caption {
        /* Reduz o padding para não sufocar o texto em telas pequenas */
        padding: 2rem 1rem; 
        padding-left: 1rem; /* Anula o padding-left anterior */
    }
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }


}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }


}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}
html {
    /* Define o preenchimento de rolagem no topo igual à altura da navbar (ex: 90px) + 10px extras de folga */
    scroll-padding-top: 90px;
    /* Adicione -webkit- para maior compatibilidade com navegadores mais antigos */
    -webkit-scroll-padding-top: 900px; 
}

/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}




.footer {
  background-color: #0d0d0d;
  color: #999;
}

.footer-main {
  padding: 80px 0 60px;
}

.footer .widget-title {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  margin: 0 0 30px;
  padding-left: 15px;
  text-transform: uppercase;
  color: #fff;
  border-left: 3px solid #ffb600;
}

/* Footer about us */






.footer-widget ul.list-arrow li:last-child {
  border-bottom: 0;
}

.footer-widget ul.list-arrow li a,
.footer-widget ul.list-arrow li:before {
  color: #747474;
}

.footer-widget ul.list-arrow li:hover a,
.footer-widget ul.list-arrow li:hover {
  color: #ffb600;
}

.working-hours {
  padding-right: 10px;
}

.working-hours .text-right {
  float: right;
}

/*-- Copyright --*/
.copyright {
  background: #ffb600;
  color: #111;
  padding: 25px 0;
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 12px;
}





.contact-grid {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha em telas menores */
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.contact-info, .contact-form-wrapper {
    flex: 1;
    min-width: 300px; /* Tamanho mínimo para os blocos */
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.top-bar .container {
    display: flex;
    justify-content: flex-end; /* Alinha o contato à direita */
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
    min-height: 120px;
}
.section-title.text-gold {
    color: var(#DAA520);
}
.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}
:root {
    --color-primary: #000000; /* Preto principal */
    --color-secondary: #DAA520; /* Dourado/Gold - ajustar ao seu logo */
    --color-text-light: #FFFFFF;
    --color-text-dark: #333333;
    --color-bg-light: #F9F9F9;
    --color-bg-dark: #1a1a1a; /* Preto mais suave para fundos */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Variáveis para alturas de cabeçalho para JS */
    --top-bar-height: 40px; /* Altura aproximada da top-bar */
    --main-header-height: 100px; /* Altura aproximada do main-header */
}

.section-title {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 300;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--color-primary);
}

.contact-info, .contact-form-wrapper {
    flex: 1;
    min-width: 300px; /* Tamanho mínimo para os blocos */
    background-color: var(F9F9F9);
    color: var(--color-text-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info h3, .contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    margin-bottom: 25px;
    color: var(#000000);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
}

.contact-info p i {
    margin-right: 15px;
    color: var(#DAA520);
    font-size: 1.2em;
    padding-top: 3px; /* Alinhamento visual */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
    min-height: 120px;
}



.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

body {
    background-color: white; /* Ou #fff */
}

html {
    /* Define o preenchimento de rolagem no topo igual à altura da navbar (ex: 90px) + 10px extras de folga */
    scroll-padding-top: 70px;
    /* Apenas mantenha a compatibilidade, não aumente o valor. */
    -webkit-scroll-padding-top: 70px; 
}


.section-title {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--color-primary);
}

.section-title.text-gold {
    color: var(--color-secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}


/* CSS para responsividade do Google Maps */
.map-container {
    position: relative;
    padding-bottom: 75%; /* Ajusta a proporção do mapa (500/500 = 100%, 75% é uma boa altura para celular) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    /* Garante que o fundo do container seja branco para destacar o mapa se o body for escuro */
    background-color: white; 
    border-radius: 8px; /* Opcional: para suavizar bordas */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ocupa 100% da largura do container */
    height: 100%; /* Ocupa 100% da altura definida pelo padding-bottom */
}

/* Adicione este CSS para que o contact-grid se comporte como duas colunas em desktop e uma em celular */
.contact-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens quebrem a linha */
    gap: 30px; /* Adiciona um espaço entre as colunas */
}

/* Os filhos (contact-info e contact-form-wrapper) devem ocupar 50% em telas grandes */
.contact-info,
.contact-form-wrapper {
    flex: 1 1 calc(50% - 15px); /* Ocupa metade do espaço, subtraindo metade do gap */
    min-width: 300px; /* Garante que em telas muito estreitas ele empilhe */
}

/* Media Query para forçar o empilhamento em telas pequenas (celular) */
@media (max-width: 768px) {
    .contact-info,
    .contact-form-wrapper {
        flex: 1 1 100%; /* Ocupa 100% da largura, empilhando */
    }
}

/* Garante que o body seja branco, o que é o comportamento correto para seções claras. */
body {
    background-color: white; 
}

/* ZERA A MARGEM NO FINAL DA SEÇÃO DE CONTATO */
#contato {
    /* bg-dark já define a cor de fundo, apenas garantimos que não haja margem externa */
    margin-bottom: 0 !important; 
    /* Você pode manter o padding interno se quiser espaço dentro da seção */
}

/* ZERA A MARGEM NO INÍCIO DO RODAPÉ */
#footer {
    background-color: #0d0d0d; /* Garante a cor escura do footer */
    margin-top: 0 !important; /* ESSENCIAL: Remove qualquer margem acima do footer */
}

.footer-main {
  padding: 80px 0 60px; /* <--- 80px de padding superior aqui! */
}

/* --- Modificação na Seção de Contato --- */

/* A classe section-padding, que você aplica à #contato, já tem um padding alto */
/* Vamos anular o padding-bottom dela forçando a anulação na #contato */
#contato {
    /* Garante que o fundo escuro da seção #contato cubra todo o seu espaço vertical */
    padding-bottom: 0 !important; /* Zera o espaço interno na parte inferior */
    margin-bottom: 0 !important;  /* Zera o espaço externo abaixo da seção */
}

/* --- Modificação no Rodapé --- */

/* Seu footer principal com padding alto */
.footer-main {
    /* Zera o padding-top para que o conteúdo do footer comece imediatamente */
    padding-top: 10; 
    padding-bottom: 60px; /* Mantém o padding inferior original */
}

/* O footer em si, garante a cor e a margem externa */


/* A classe section-padding, se ela estiver aplicada diretamente (o que parece ser o caso) */
.section-padding {
    /* Mantém o padding padrão, mas #contato vai anular o inferior */
    padding-top: 5rem; 
    padding-bottom: 5rem;
}

.contact-grid {
    margin-bottom: 0 !important;
}