/********** Template CSS **********/
:root {
    --primary: #040F28;
    --primary1: #FD5D14;
    --secondary: #FDBE33;
    --light: #F4F6F8;
    --blue:#1F5C9E;
    --dark: #040F28;
    --dark1: #929294;
}
.bg-dark1{background-color: #929294; color:#FFFFFF !important;}
.bg-dark2{background-color: #484840; color:#FFFFFF !important;}
.bg-dark3{background-color: #383830; color:#FFFFFF !important;}
.bg-dark4{background-color: #525253; color:#FFFFFF !important;}
.logo{max-width: 230px; max-height: 90px;}
.fontzero{font-size: 0em; padding: 0em; margin: 0em;}
.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

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

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

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
    .logo{max-width: 170px; max-height: 66px;}
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: -90px;
    }
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}

/* Modular Divisórias - ajustes de layout */
.section-projects {
    position: relative;
    clear: both;
    padding-bottom: 120px !important;
}

.section-projects .portfolio-container {
    margin-bottom: 0;
}

.section-projects .portfolio-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 36px;
}

.section-projects .portfolio-box {
    position: relative;
    overflow: visible;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(4, 15, 40, .12);
}

.section-projects .portfolio-box > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.section-projects .portfolio-title {
    right: 18px;
    left: 18px;
    bottom: -42px;
    height: auto;
    min-height: 84px;
    padding: 16px 20px;
    border-radius: 10px;
}

.section-projects .portfolio-title p {
    margin-bottom: 6px;
    font-size: 1rem;
}

.section-projects .row:last-child {
    position: relative;
    z-index: 4;
    margin-top: 18px;
}

.footer {
    position: relative;
    z-index: 5;
    clear: both;
}

@media (max-width: 767.98px) {
    .section-projects {
        padding-right: 20px !important;
        padding-left: 20px !important;
        padding-bottom: 92px !important;
    }

    .section-projects .portfolio-item {
        margin-bottom: 26px;
    }

    .section-projects .portfolio-title {
        right: 12px;
        left: 12px;
        bottom: -32px;
        min-height: 70px;
        padding: 12px 15px;
    }

    .section-projects .portfolio-title p {
        font-size: .9rem;
    }
}


/* PageSpeed - imagens e CSS */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    content-visibility: auto;
}

.section-projects .portfolio-box > img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


/* Modular Divisórias - identidade azul */
:root {
    --primary: #040F28;
    --primary1: #040F28;
    --bs-primary: #040F28;
    --bs-primary-rgb: 4, 15, 40;
}

.btn-primary,
.bg-primary {
    background-color: #040F28 !important;
    border-color: #040F28 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #020918 !important;
    border-color: #020918 !important;
}

.text-primary,
.text-primary i,
.text-primary svg {
    color: #040F28 !important;
}

.border-primary {
    border-color: #040F28 !important;
}


/* Modular Divisórias - mobile carousel e identidade azul */
:root {
    --primary: #040F28;
    --primary1: #040F28;
    --bs-primary: #040F28;
    --bs-primary-rgb: 4, 15, 40;
}

.btn-primary,
.bg-primary {
    background-color: #040F28 !important;
    border-color: #040F28 !important;
}

.text-primary,
.text-primary i,
.text-primary svg {
    color: #040F28 !important;
}

.border-primary {
    border-color: #040F28 !important;
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        height: 360px;
    }

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

    #header-carousel .carousel-caption {
        padding: 18px;
    }

    #header-carousel .carousel-caption h2 {
        font-size: 1.65rem;
        line-height: 1.15;
    }
}


/* Produtos - cards com altura uniforme */
.service-item {
    height: 100%;
    min-height: 560px;
    overflow: hidden;
}

.service-item > a:first-child {
    display: block;
    width: 100%;
}

.service-item > a:first-child img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-item .service-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 78px;
    min-height: 78px;
    margin-top: -28px;
}

.service-item .service-icon img {
    max-width: 100px;
    max-height: 90px;
    object-fit: contain;
}

.service-item > .px-4 {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    flex-direction: column;
}

.service-item > .px-4 p {
    min-height: 84px;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.service-item > .px-4 .btn {
    margin-top: auto;
}

@media (max-width: 767.98px) {
    .service-item {
        min-height: 520px;
    }

    .service-item > a:first-child img {
        height: 210px;
    }
}


/* Carousel - hover do botão */
#header-carousel .carousel-caption .btn:hover,
#header-carousel .carousel-caption .btn:focus {
    color: #040F28 !important;
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}


/* SEO - página divisória de escritório */
.seo-office-hero {
    background-position: center;
    background-size: cover;
}

.seo-office-highlight,
.seo-office-card,
.seo-office-step {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(4,15,40,.10);
}

.seo-office-highlight li {
    padding: 9px 0;
}

.seo-office-card,
.seo-office-step {
    transition: transform .2s ease, box-shadow .2s ease;
}

.seo-office-card:hover,
.seo-office-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(4,15,40,.14);
}

.seo-office-step strong {
    color: #040F28;
    font-size: 2rem;
}


/* Página divisória de escritório - destaque do texto */
.seo-office-hero .text-white,
.seo-office-hero h1,
.seo-office-hero p,
.seo-office-hero span {
    color: #FFFFFF !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .95), 0 1px 3px rgba(0, 0, 0, .9);
}

.seo-office-hero h1 {
    font-weight: 800;
    letter-spacing: .02em;
}
@media (min-width: 768px) {
.whatv {width: 5%;position: fixed;bottom: 70px;right: 1%;z-index: 9999 !important;}

}

@media (min-width: 768px) and (min-width: 768px) {
.whatv {width: 5%;position: fixed;bottom: 70px;right: 1%;z-index: 9999 !important;}

}


@media (max-width: 768px) {
	.whatv {width: 15%;	position: fixed;bottom: 100px;	right: 1%;z-index: 9999 !important;	}
	
}