/********** Template CSS **********/
:root {
    --primary: #28368d;
    --secondary: #11b4e9;
    --light: #f8f9fc;
    --dark: #0f172a;
    --text: #334155;
    --white: #ffffff;
    --border: rgba(40,54,141,.10);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: #ffffff;
}

h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6,
.fw-bold {
    font-family: 'Teko', sans-serif;
    letter-spacing: .5px;
    font-weight: 600 !important;
    color: var(--dark);
}

.fw-medium { font-weight: 500 !important; }
.fw-normal { font-weight: 400 !important; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: var(--secondary);
}

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

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s ease-out;
}

/*** Buttons ***/
.btn {
    font-weight: 600;
    transition: .3s;
    border-radius: 0;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

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

.btn-outline-body {
    color: var(--primary);
    border: 1px solid rgba(255,255,255,.35);
}

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

/*** Navbar ***/
.navbar {
    border-bottom: 1px solid rgba(0,0,0,.04);
}

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

.navbar .navbar-nav .nav-link {
    margin-right: 28px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
}

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

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

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

    .navbar .navbar-nav {
        border-top: 1px solid #eee;
    }
}

@media (min-width:992px){
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        opacity: 0;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        transition: .4s;
    }

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

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: transparent;
}

.header-carousel h1,
.header-carousel p {
    color: #fff;
}

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

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

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

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

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

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

.header-carousel .owl-dots .owl-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    opacity: .45;
}

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

/*** Titles ***/
.section-title {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.fact-item:hover {
    transform: none;
    box-shadow: none;
}

.fact-item:hover .fact-icon {
    background: var(--primary); /* mantém a cor original */
}

.fact-item .fact-icon {
    width: 95px;
    height: 95px;
    margin-top: -48px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

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

/*** About ***/
.about-img,
.feature-img {
    position: relative;
    min-height: 420px;
}

.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 {
    content: "";
    position: absolute;
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--secondary);
    z-index: -1;
}

/*** SERVICE SECTION ***/
.service-item {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

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

.service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.45);
    z-index: 2;
    transition: .4s;
}

.service-item .service-text {
    position: relative;
    z-index: 3;
    background: transparent !important;
    height: 100%;
    color: #fff;
}

.service-item .service-text i {
    font-size: 42px;
    color: var(--secondary);
    display: block;
    margin-bottom: 20px;
}

.service-item h3,
.service-item p,
.service-item a,
.service-item .btn i {
    color: #fff !important;
}

.service-item .btn {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(4px);
}

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

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

.service-item:hover::before {
    background: rgba(15,23,42,.65);
}

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

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

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

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

.team-item::after {
    content: "";
    position: absolute;
    inset: 0;
    height: 0;
    background: var(--primary);
    transition: .4s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
}

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

.team-item .team-social .btn {
    margin: 0 2px;
    background: #fff;
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--secondary);
    color: #fff;
}

/*** Footer ***/
.footer {
    background: #0f172a !important;
}

.footer h3,
.footer .text-light {
    color: #fff !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: #cbd5e1;
    font-weight: 400;
}

.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #fff;
    letter-spacing: .5px;
}

.footer .form-control {
    border-color: rgba(255,255,255,.15);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer .copyright,
.footer .copyright a {
    color: #cbd5e1;
}

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

/* BOTÃO NOVO SEM HERDAR BUGS DO TEMPLATE */

.btn-whatsapp-card{
    display:inline-block;
    background:var(--primary);
    color:#ffffff !important;
    text-decoration:none !important;
    padding:12px 28px;
    border-radius:6px;
    font-size:16px;
    font-weight:600;
    line-height:1;
    white-space:nowrap;
    border:none;
    box-shadow:none;
    transition:none; /* sem animação */
    margin-top:15px;
}

/* hover SEM mudar cor */
.btn-whatsapp-card:hover,
.btn-whatsapp-card:focus,
.btn-whatsapp-card:active{
    background:var(--primary); /* mantém igual */
    color:#ffffff !important;
    text-decoration:none !important;
    box-shadow:none;
    transform:none;
}

/* impede quebra */
.service-text .btn-whatsapp-card{
    width:auto;
    min-width:170px;
}

/* REMOVE QUALQUER EFEITO DE HOVER DO CARD */
.fact-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* REMOVE MUDANÇA DO ÍCONE NO HOVER */
.fact-item:hover .fact-icon {
    background: var(--primary) !important;
}

/* GARANTE QUE O ÍCONE FIQUE SEMPRE IGUAL */
.fact-item .fact-icon {
    background: var(--primary) !important;
    transition: none !important;
}

/* REMOVE QUALQUER TRANSIÇÃO DO CARD */
.fact-item {
    transition: none !important;
}

.btn-whatsapp,
.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    box-shadow: none;
    transform: none;
}

.fact-icon img {
    filter: brightness(0) invert(1);
}

/* =========================
   BORDAS ARREDONDADAS GLOBAIS
========================= */

/* Botões */
.btn,
.btn-primary,
.btn-whatsapp,
.btn-whatsapp-card {
    border-radius: 10px !important;
}

/* Cards (serviços / produtos) */
.service-item {
    border-radius: 16px;
}

/* Imagem dentro do card */
.service-item .bg-img {
    border-radius: 16px;
}

/* Overlay acompanha o arredondamento */
.service-item::before {
    border-radius: 16px;
}

/* Conteúdo do card */
.service-item .service-text {
    border-radius: 16px;
}

/* Cards de vantagens */
.fact-item {
    border-radius: 16px;
}

/* Ícone redondo (mantém redondo, mas suaviza borda) */
.fact-item .fact-icon {
    border-radius: 50%;
}

/* Footer botão */
.footer .btn {
    border-radius: 10px;
}

/* Navbar botão */
.navbar .btn {
    border-radius: 10px;
}

/* =========================
   BANNER RESPONSIVO
========================= */

/* Desktop padrão */
.banner-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* imagem padrão (desktop) */
.banner-img {
    content: url('../img/Desktoksite.png');
}

/* troca no mobile */
@media (max-width: 768px) {
    .banner-img {
        content: url('../img/Mobilesite.png');
    }
}

.logo-site{
    height:70px;
    width:auto;
    object-fit:contain;
}