﻿/* #Whatsapp contact
================================================== */
.whatsapp-contact {
    position: fixed; 
    bottom: 35px;
    right: 35px;
}

    .whatsapp-contact a {
        background-color: #cc6828;
        width: 50px !important;
       
        height: 50px !important; 
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        box-shadow: 0px 4px 8px rgba(0,0,0,0.25);
        
    }

#servicesCarousel .item img {
    width: 100%;
}

#servicesCarousel .col-md-3 {
    padding: 10px;
}

/* Área externa do carrossel */
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 30px auto;
}
@-moz-document url-prefix() {

    .card {
        flex: 0 0 auto !important;
        width: 24em !important;
        min-width: 24em !important;
    }

        .card img {
            width: 100%;
            height: 220px; /* altura fixa visual */
            object-fit: cover;
            display: block;
        }

    .group {
        flex-wrap: nowrap !important;
        align-items: stretch;
    }
}
/* Config IOS*/
@supports (-webkit-touch-callout: none) {

    .group {
        transform: none !important;
    }

    .carrossel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .card {
        scroll-snap-align: start;
        flex: 0 0 85vw;
        min-width: 85vw;
    }

        .card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
        }
}
.bg-index {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: block;
    position: fixed;
    z-index: 10
}
@media (max-width: 768px) {
    .group {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .card {
        overflow: hidden;
    }

        .card img {
            width: 100%;
            height: auto !important; /* 🔥 remove bug */
            aspect-ratio: 16 / 9; /* 🔥 força mesma proporção */
            object-fit: cover;
            display: block;
        }

    .caption h4 {
        white-space: normal !important;
        line-height: 1.3 !important;
        word-break: break-word;
        margin-bottom: 8px;
    }
}
/* Botões laterais */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.7;
    z-index: 10;
    transition: opacity .2s;
}

    .arrow:hover {
        opacity: 1;
    }

    /* Botão esquerdo */
    .arrow.left {
        left: 20px;
    }

    /* Botão direito */
    .arrow.right {
        right: 20px;
    }

/* Janela de visualização do carrossel */
.carrossel {
    margin: -20px auto;
    width: 90%;
    display: flex;
    overflow: hidden;
    position: relative;
}

    .carrossel::-webkit-scrollbar {
        display: none;
    }
.hover-overlay-carrossel {
    height: 400px; 
    
}
/* Contêiner dos cards */
.group {
    display: flex; /* 🔥 NÃO use inline-flex */
    align-items: stretch;
    gap: 1em;
    padding-right: 1em;
    transition: transform 0.45s ease;
}

.caption h4{
    font-size: 14px;
    font-weight: 800;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Estilo dos cards */
.card {
    flex: 0 0 24em;
    border-radius: .2em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.text-size {
    font-size: 18px;
}


/* =========================
THEME CONTROLLER
========================= */

/* DARK */
.theme-dark {
    background-color: #0e0e0e !important;
    color: #fff;
}

    .theme-dark a {
        color: #fff;
    }

/* LIGHT */
.theme-light {
    background-color: #fff !important;
    color: #111;
}

    .theme-light a {
        color: #111;
    }

/* Navbar específica */
#top-nav.theme-dark {
    background-color: black !important;
}

#top-nav.theme-light {
    background-color: rgba(255,255,255,0.95) !important;
}

/* Page border */
.page-border.theme-dark {
    background-color: black !important;
}

.page-border.theme-light {
    background-color: #fff !important;
}

#top-nav {
    border-bottom: 0px;
}


.page-border.theme-light {
    color: white;
}

.page-border.theme-dark {
    color: black;
}

/* DARK */
body.theme-dark .navbar-toggle .icon-bar {
    background-color: #fff;
}

/* LIGHT */
body.theme-light .navbar-toggle .icon-bar {
    background-color: #000;
}

/* =========================
COOKIE BANNER THEME
========================= */

#cookie-banner {
    display: none;
}

#cookie-banner {
    transition: background-color .3s ease, color .3s ease;
}

/* DARK 
body.theme-dark #cookie-banner {
background-color: #0e0e0e !important;
color: #fff;
}

body.theme-dark #cookie-banner a {
    color: #fff;
}*/

/* LIGHT 
body.theme-light #cookie-banner {
background-color: #fff !important;
color: #111;
}

body.theme-light #cookie-banner a {
    color: #111;
}*/

.theme-light #cookie-banner {
    display: block; /* exibir somente no tema light */
}

.content-service {
    margin-top: 10px;
}

.padding-content {
    padding-top: 500px;
}
