/********** Template CSS **********/
:root {
    --primary: #E31E24;
    --secondary: #1A1A1A;
    --light: #F2F2F2;
    --dark: #0F0F0F;
    --text-muted: #666666;
}

body {
    color: #333333;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
}

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

/* Branding Colors */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

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

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

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

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

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

.whatsapp-float {
    position: fixed;
    right: 90px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}



/*** 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: .5s;
}

.btn-primary {
    padding: 12px 35px;
    border: 2px solid var(--primary);
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: transparent !important;
    color: var(--primary) !important;
}

.btn-outline-light {
    padding: 12px 35px;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background: transparent;
}

.btn-outline-light:hover {
    background: #FFFFFF;
    color: var(--dark) !important;
}

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

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

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

.navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 50px;
}

/*** Environment Switcher ***/
.env-switcher {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.env-switcher a {
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: .5s;
    background: #000000;
}

.env-switcher a:hover {
    color: #FFFFFF;
}

.env-switcher a.active {
    background: var(--primary);
    color: #FFFFFF;
}

.env-switcher a.loja-link.active {
    background: #000000;
    border-bottom: 3px solid var(--primary);
}

.env-switcher a.industria-link.active {
    background: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

/*** Topbar ***/
.bg-dark {
    background-color: #0A0A0A !important;
}

.text-light.opacity-75 {
    font-size: 14px;
    transition: .3s;
}

.text-light.opacity-75:hover {
    opacity: 1 !important;
    color: var(--primary) !important;
}

.btn-sm-square.btn-outline-primary {
    transition: .3s;
}

.btn-sm-square.btn-outline-primary:hover {
    transform: translateY(-3px);
}

/*** Icon Adjustments ***/
.bi {
    vertical-align: middle;
}

@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;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Carousel ***/
.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 700px;
}

.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 0 5%;
}

.header-carousel .owl-carousel-item h1 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.header-carousel .owl-carousel-item h4 {
    letter-spacing: 4px;
    font-weight: 600;
    background: rgba(227, 30, 36, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
}

.header-carousel .owl-carousel-item p {
    max-width: 600px;
    line-height: 1.8;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 40px;
}

/* Estilo dos Botões do Carousel */
.header-carousel .btn-carousel {
    padding: 15px 35px;
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.header-carousel .btn-primary.btn-carousel:hover {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: #fff !important;
}

.header-carousel .btn-outline-light.btn-carousel:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-inner {
        background: rgba(0, 0, 0, 0.6); /* Overlay mais escuro no mobile para contraste */
        text-align: center;
        justify-content: center;
        padding: 0 15px;
    }

    .header-carousel .owl-carousel-item {
        min-height: 550px;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 38px !important;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        margin-bottom: 30px;
    }

    .header-carousel .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .header-carousel .btn-carousel {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    background: rgba(227, 30, 36, 0.5) !important;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary) !important;
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .header-carousel .owl-dots {
        display: none !important;
    }
    
    .navbar {
        padding: 15px 0 !important;
    }
}

/* Owl Carousel Custom Navigation & Dots */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.owl-dots .owl-dot.active {
    background: var(--primary) !important;
}

.owl-dots .owl-dot {
    background: #cccccc !important;
}

.page-header {
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), url(../img/slide-01.png) center center no-repeat;
    background-size: cover;
    margin-bottom: 6rem !important;
}

.page-header h1 {
    font-size: 5rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "|";
    padding: 0 15px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: .3s;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
}

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

.breadcrumb-item.active {
    color: var(--primary);
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
}


/*** Mission Vision Values ***/
.mvv-card {
    background: #FFFFFF;
    border-top: 5px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: .5s;
    position: relative;
    overflow: hidden;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.mvv-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(227, 30, 36, 0.02);
    transition: .5s;
    z-index: 0;
}

.mvv-card:hover::after {
    height: 100%;
}

.mvv-card * {
    position: relative;
    z-index: 1;
}

.mvv-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    font-size: 32px;
    border-radius: 0;
    transition: .5s;
}

.mvv-card:hover .mvv-icon {
    background: var(--primary);
    color: #FFFFFF;
}

.mvv-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
}

/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

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

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

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

/*** JCA Custom Cards (Blog & Related Products) ***/
.jca-card {
    transition: .5s;
    background: #FFFFFF !important;
    border: 1px solid #EEEEEE !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jca-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-bottom: 5px solid var(--primary) !important;
}

.jca-card * {
    transition: .3s;
}

.jca-card:hover h4, 
.jca-card:hover h5 {
    color: var(--primary) !important;
}

.jca-card .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.7);
    transition: .5s;
    opacity: 0;
}

.jca-card:hover .service-overlay {
    opacity: 1;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.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 {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    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;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.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);
}
/*** Splash Screen ***/
.splash-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    background: #000000;
}

.splash-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
}

.splash-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.3);
    transition: 0.8s;
    z-index: -1;
}

.splash-side.industria::before {
    background-image: url('../img/slide-03.jpg');
}

.splash-side.loja::before {
    background-image: url('../img/loja-fachada.jpg');
}

.splash-side:hover {
    flex: 1.5;
}

.splash-side:hover::before {
    filter: grayscale(0%) brightness(0.5);
    transform: scale(1.05);
}

.splash-content {
    padding: 2rem;
    color: #FFFFFF;
}

.splash-content h2 {
    font-family: 'Teko', sans-serif;
    font-size: 6rem;
    margin-bottom: 0;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.splash-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: #FFFFFF;
}

.splash-logo-top {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

.splash-logo-top img {
    height: 60px;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.btn-splash {
    display: inline-block;
    padding: 15px 40px;
    background: #E31E24;
    color: #FFFFFF;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    border: none;
}

.splash-side:hover .btn-splash {
    background: #FFFFFF;
    color: #E31E24;
}

@media (max-width: 768px) {
    .splash-wrapper {
        flex-direction: column;
    }
    .splash-side {
        padding: 20px 10px;
    }
    .splash-content {
        padding: 1rem;
    }
    .splash-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem !important;
    }
    .splash-content h2 {
        font-size: 3.5rem;
    }
    .splash-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .btn-splash {
        padding: 10px 25px;
        font-size: 18px;
    }
    .splash-logo-top {
        top: 15px;
    }
    .splash-logo-top img {
        height: 45px;
    }
    .splash-logo-center {
        display: none;
    }
}


/*** Custom Carousel Height (Banner Style) ***/
.header-carousel .owl-carousel-item {
    height: 500px !important;
    min-height: 500px !important;
}

.header-carousel .owl-carousel-item img {
    height: 100% !important;
    object-fit: cover;
}

.header-carousel .owl-carousel-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Adjusting typography for smaller banner */
.header-carousel .display-1 {
    font-size: 3.5rem !important;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 400px !important;
        min-height: 400px !important;
    }
    .header-carousel .display-1 {
        font-size: 2.5rem !important;
    }
}

/* Page Header (Breadcrumbs) Banner Adjustments */
.page-header {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Slim Internal Page Headers (Breadcrumb Banners) */
.page-header {
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), url(../img/slide-01.png) center center no-repeat !important;
    background-size: cover !important;
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
    min-height: 200px;
    display: flex;
    align-items: center;
    background-attachment: scroll !important; /* Fixed can be too heavy for slim headers */
}

.page-header h1.display-1 {
    font-size: 3.5rem !important;
    margin-bottom: 0.5rem !important;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
        min-height: 180px;
    }
    .page-header h1.display-1 {
        font-size: 2.5rem !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none !important;
    transition: 0.3s;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: translateY(-5px);
}
.whatsapp-float i {
    font-size: 24px;
}
@media (max-width: 576px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 15px; border-radius: 50%; bottom: 20px; left: 20px; }
}

/* Service Overlay for Images */
.service-item .position-relative {
    overflow: hidden;
}
.service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.7);
    transition: .5s;
    opacity: 0;
}
.service-item:hover .service-overlay {
    opacity: 1;
}

/* Mobile Bottom Nav - JCA App Style */
.mobile-nav {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 5px;
    z-index: 9999;
    border-radius: 25px;
    border: 1px solid rgba(227, 30, 36, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-nav a {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-nav i {
    display: block;
    font-size: 22px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.mobile-nav a.active {
    color: #E31E24;
}

.mobile-nav a.active i {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
}

.mobile-nav a:hover {
    text-decoration: none;
    color: #E31E24;
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
}
@media (max-width: 991.98px) {
    body {
        padding-bottom: 90px !important;
    }
    .back-to-top, .whatsapp-float, .navbar-toggler {
        display: none !important;
    }
    
    .navbar-brand {
        margin: 0 auto !important;
        display: block !important;
        text-align: center;
    }
    
    .navbar-brand img {
        height: 40px !important;
        margin: 0 !important;
    }
}

/* Novo Estilo Premium para o Site Switcher (Topo Mobile) */
.top-switcher {
    display: flex;
    width: 100%;
    background: #0f172a;
    padding: 10px;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.top-switcher a {
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: #94a3b8;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.top-switcher a.active {
    background: var(--primary);
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3);
}

/* Melhorias no Carousel Mobile */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-inner {
        background: rgba(0, 0, 0, 0.6); /* Overlay mais escuro no mobile para contraste */
        text-align: center;
        justify-content: center;
        padding: 0 15px;
    }

    .header-carousel .owl-carousel-item {
        min-height: 450px !important;
    }
    
    .header-carousel .owl-carousel-item h1 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }
    
    .header-carousel .owl-carousel-item h4 {
        font-size: 14px !important;
        letter-spacing: 2px !important;
        padding: 4px 10px !important;
    }
    
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
    }
    
    .header-carousel .btn-carousel {
        font-size: 1.1rem !important;
        padding: 10px 20px !important;
    }
}

@media (max-width: 991.98px) {
    .header-carousel .owl-dots {
        display: none !important;
    }
    
    .navbar {
        padding: 15px 0 !important;
    }
}

/* Premium Footer */
.footer-premium {
    background-color: #0f172a;
    border-top: 5px solid var(--primary);
}
.footer-premium .footer-logo {
    height: 50px;
}
.footer-premium .footer-desc {
    color: #94a3b8;
    line-height: 1.6;
}
.footer-premium h5 {
    letter-spacing: 1px;
    font-size: 1.1rem;
}
.footer-premium .footer-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: 0.3s;
}
.footer-premium .d-flex:hover .footer-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.footer-premium span {
    color: #cbd5e1;
    font-size: 0.95rem;
}
.footer-premium .footer-address-link {
    text-decoration: none;
    transition: 0.3s;
}
.footer-premium .footer-address-link:hover span {
    color: var(--primary);
}
.footer-premium .btn-link {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0;
    margin-bottom: 10px;
    display: block;
    text-align: left;
    transition: 0.3s;
}
.footer-premium .btn-link:hover {
    color: var(--primary);
    padding-left: 10px;
}
.footer-premium .social-icons .btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    transition: 0.3s;
}
.footer-premium .social-icons .btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}
.footer-premium .copyright {
    background-color: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-premium .copyright p {
    font-size: 0.9rem;
    color: #64748b;
}
