/********** Template CSS **********/
:root {
    /* PALETA ORIGINAL -> NOVA
       primary   #348E38 (verde)      -> #711B43 (roxo da logo)
       light     #E8F5E9 (verde claro)-> #FFC933 (amarelo da logo)
       dark      #0F4229 (verde escuro)-> #3E0F24 (roxo escuro)
       copyright #072A19              -> #2A0716
    */
    --primary: #711B43;
    --secondary: #5C4050;
    --light: #FFC933;
    --light-soft: #FFF6DD; /* amarelo suave, para blocos grandes se precisar */
    --dark: #3E0F24;
    --darkest: #2A0716;

    /* Bootstrap utilities (.bg-primary, .text-primary, .btn-primary...) */
    --bs-primary: #711B43;
    --bs-primary-rgb: 113, 27, 67;
}

.bg-dark {
    background-color: #6e134e !important;
}

h1, h2, h4, .fw-bold{
    color: #6e134e !important;
}

.text-primary {
    color: #fabe28 !important;
}


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

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

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

.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.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--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 {
        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-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(62, 15, 36, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

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

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(62, 15, 36, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(62, 15, 36, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3s;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(62, 15, 36, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

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

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.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;
}

.copyright {
    color: var(--light);
    background: var(--darkest);
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/* =========================================================
   AJUSTE DE HEADER — logo dentro da faixa branca
   Deve ser carregado DEPOIS do CSS do tema.
   ========================================================= */

/* --- 1. Barra superior (barra escura) --- */
.topbar {
    height: 40px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

/* --- 2. Navbar: cresce o necessário, sem cortar nada --- */
.navbar,
.navbar.sticky-top {
    overflow: visible;
    padding: 0;
    min-height: 190px;   /* 170px da logo + 10px de respiro acima/abaixo */
}

.navbar > .container,
.navbar > .container-fluid {
    min-height: 190px;
    align-items: center;
    flex-wrap: nowrap;
}

/* --- 3. A causa do vazamento: altura fixa de 80px no brand --- */
.navbar .navbar-brand {
    height: auto !important;      /* sobrescreve os 80px do tema */
    min-height: 0;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px 24px 10px 24px;
}

/* --- 4. Logo no tamanho atual, sem estourar a faixa --- */
.navbar .navbar-brand img {
    display: block;
    width: 170px;                 /* largura atual preservada */
    height: auto;                 /* proporção original */
    max-width: 170px;
    max-height: none;
    position: static;             /* nada de absolute */
    transform: none;
    margin: 0;
}

/* --- 5. Botão "Fale Conosco" acompanha a altura da navbar --- */
.navbar a.btn {
    height: auto !important;      /* sobrescreve os 80px do tema */
    align-self: stretch;          /* ocupa toda a altura da faixa */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 0 3rem;
    padding-top: 82px !important;
}

/* --- 6. Collapse/menu centralizado verticalmente --- */
.navbar .navbar-collapse {
    align-items: center;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 0;
}

/* --- 7. Mobile: mantém proporção sem quebrar o menu --- */
@media (max-width: 991.98px) {
    .navbar,
    .navbar > .container,
    .navbar > .container-fluid {
        min-height: 0;
    }

    .navbar .navbar-brand {
        padding: 12px 16px;
    }

    .navbar .navbar-brand img {
        width: 130px;
        max-width: 130px;
    }

    .navbar a.btn {
        align-self: stretch;
        min-height: 56px;
        padding: 0 1.5rem;
    }
}

.logo-foot{
    width: 250px;
}

/********** Seção de Acessórios **********/
.accessory-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 35px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(110, 19, 78, 0.15); /* Sombra suave no tom de roxo */
}

/* Área da Imagem */
.accessory-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}

.accessory-img-wrapper .img-main {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.accessory-img-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

/* Efeito Hover na Imagem */
.accessory-card:hover .img-main {
    opacity: 0;
    transform: scale(0.95);
}

.accessory-card:hover .img-hover {
    opacity: 1;
    z-index: 2;
    transform: scale(1.03); /* Leve zoom na imagem secundária */
}

.accessory-title {
    color: #6e134e;
    font-weight: 600;
    font-size: 1.1rem;
}

/********** Seção de Produtos Integrada **********/
.product-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(110, 19, 78, 0.15); /* Sombra suave na cor roxa do tema */
}

/* Área da Imagem */
.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}

.product-img-wrapper .img-main {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.product-img-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Detalhe Redondo / Arqueado no Canto Superior Esquerdo */
.product-corner-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-corner-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Transições no Hover */
.product-card:hover .img-main {
    opacity: 0;
    transform: scale(0.95);
}

.product-card:hover .img-hover {
    opacity: 1;
    z-index: 2;
}

.product-card:hover .product-corner-badge {
    opacity: 0;
    transform: scale(0.8);
}

/* Estilo das listas e ícones nos cards */
.product-attributes li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}

.product-attributes li i {
    font-size: 0.9rem;
    margin-top: 2px;
}

/********** Seção Contato com Mapa e Card Centralizado **********/
.secao-contato-mapa {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    overflow: hidden;
}

/* Container do Mapa de Fundo */
.mapa-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mapa-container iframe {
    filter: grayscale(100%) brightness(85%);
    pointer-events: none; /* Impede que o mapa capture o scroll ou cliques acidentais */
    transform: scale(1.05);
}

/* Camada com o Roxo da Marca (Overlay) */
.overlay-roxo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(110, 19, 78, 0.75); /* Usa o roxo oficial (#6e134e) com opacidade */
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Card Branco Centralizado */
.card-contato-branco {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.card-contato-branco h2 {
    color: #6e134e !important;
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.subtitulo-card {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Grade de Informações Internas */
.grade-informacoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
    margin-bottom: 25px;
}

.item-info {
    background: #fdfafc; /* Fundo sutil combinando com o tom da marca */
    border: 1px solid #f0e6ed;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-linhas-totais {
    grid-column: span 2; /* O endereço ocupa a largura inteira abaixo */
}

.icone {
    font-size: 1.4rem;
}

.texto-info {
    display: flex;
    flex-direction: column;
}

.titulo-label {
    font-size: 0.75rem;
    color: #888888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.link-direto, .texto-endereco {
    font-size: 0.95rem;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

.link-direto:hover {
    color: #6e134e;
    text-decoration: underline;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .grade-informacoes {
        grid-template-columns: 1fr;
    }
    .item-linhas-totais {
        grid-column: span 1;
    }
    .card-contato-branco {
        padding: 25px 20px;
    }
    .secao-contato-mapa {
        padding: 40px 15px;
    }
}

.btn-primary {
    color: #6e134e !important;
    background-color: var(--light) !important;
    border-color: var(--light) !important;
}

.btn-primary:hover {
    color: var(--light) !important;
    background-color: #6e134e !important;
    border-color: #6e134e !important;
}

.btn-link:hover{
    color: var(--light) !important;
}

.h-100 span a{
    color: #fff !important;
}

.h-100 span a:hover{
    color: var(--light) !important;
}


.bg-dark-footer{
    background-color: #180311 !important;
}

