@import "https://unpkg.com/swiper/swiper-bundle.min.css";
/* CSS Reset */
html, body {
    margin: 0!important;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-family: 'Montserrat'; /* Define a fonte para títulos */
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Reset list styles */
ol, ul {
    list-style: none;
}

/* Reset quotes */
blockquote, q {
    quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
    content: '';
    content: none;
}

/* Reset tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Box-sizing reset */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Reset anchor tags */
a {
    text-decoration: none;
    color: inherit;
}

/* General reset */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.bg-solutions {
    background-image: url('../image/background-solutions.webp');
    background-repeat: no-repeat;
    background-color: white;
}

.bg-form {
    background-image: url('../image/background-form.webp');
    background-color: #525d6c;
    background-size: cover;
    background-position: center;
}

.bg-ecosystem {
    background-image: linear-gradient(#ffffff 85%, #e9eae3 85%);
}

.bg-hero {
    position: relative;
    background-image: url('../image/hero-page-background.webp');
    background-size: cover;
    background-position: center;
}

.bg-imobiliario {
    position: relative;
    /* background-image: url('../image/homem.webp'); */
    background-size: cover;
}

.contruction {
    background-image: url('../image/background-construction.webp');
    background-size: cover;
    position: relative;
}

.parallax-images img {
    position: absolute;
    will-change: transform;
}

.contruction::after {
    content: "Clientes";
    font-size: 189px;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    right: 1rem;
    bottom: -2.5rem;
    color: #d1d2cc;
    z-index: 1;
}

.img-rotate {
    animation: rotate 4s infinite ease-in-out;
}

.card-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.text-animate {
    opacity: 0;
}

.text-animate.is-visible {
    animation: text_appear 1.5s ease-out both;
}
@keyframes text_appear {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.blog-animate {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.blog-animate.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Cria delay crescente para dar o efeito tipo "staggered" */
#solucoes .card-animate:nth-child(1).is-visible { transition-delay: 0s; }
#solucoes .card-animate:nth-child(2).is-visible { transition-delay: 0.2s; }
#solucoes .card-animate:nth-child(3).is-visible { transition-delay: 0.4s; }
#solucoes .card-animate:nth-child(4).is-visible { transition-delay: 0.6s; }
#solucoes .card-animate:nth-child(5).is-visible { transition-delay: 0.8s; }
#solucoes .card-animate:nth-child(6).is-visible { transition-delay: 1s; }
#solucoes .card-animate:nth-child(7).is-visible { transition-delay: 1.2s; }

#contrucao .card-animate:nth-child(1).is-visible { transition-delay: 0s; }
#contrucao .card-animate:nth-child(2).is-visible { transition-delay: 0.4s; }


.image-animate {
    opacity: 0;
}

.image-animate.is-visible {
    animation: image_appear 1.5s ease-out both;
}

.icon-right-animate.is-visible {
    animation: iconRight 1s ease-out both;
    animation-delay: 0.8s; /* espera meio segundo após imagem começar */
}

.icon-left-animate.is-visible {
    animation: iconLeft 1s ease-out both;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes iconRight {
    from {
      opacity: 0;
      transform: translateX(50px); /* vem da direita agora */
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
}

@keyframes iconLeft {
    from {
      opacity: 0;
      transform: translateX(-50px); /* vem da direita agora */
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
}

@keyframes image_appear {
    from {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

@media (max-width: 1280px) {
    .bg-ecosystem {
        background: #ffffff;
    }
    .bg-imobiliario {
        background-position: center;
    }
    
}
.bg-imobiliario::after {
    content: "";
    background: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.35;
}
@media (max-width: 1080px) {

    .contruction::after {
        content: "";
    }

    .bg-imobiliario::after {
        opacity: 0.50;
    }
}

 /* Estilizando os botões */
 .swiper-navigation {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 10px;
}

.swiper-button {
    color: #28b3b5;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    border-radius: 5px;
}
#clients {
    width: 100%;
    height: 150px; /* Ajuste conforme necessário */
}

#clients swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Faz com que o slide ocupe toda a altura disponível */
}

swiper-slide img {
    max-height: 100%; /* Garante que a imagem fique proporcional */
    max-width: 100%; /* Evita distorções */
    object-fit: contain;
}




#blogSlide {
    width: 100%;
    height: 100%;
}
@media (min-width: 1280px) {
    #blogSlide swiper-slide {
        height: inherit;
    }
    #blogSlide swiper-slide.swiper-slide-active {
        min-width: 680px !important;
    }

    #blogSlide img {
        height: 280px;
        object-fit: cover;
        width: 100%;
    }
}

/* Custom pagination color */
swiper-container::part(pagination) {
    --swiper-pagination-color: #2daadf; /* Your brand blue color */
    --swiper-pagination-bullet-inactive-color: #ccc;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-size: 10px;
    --swiper-pagination-bullet-horizontal-gap: 6px;
    bottom: 0px !important; /* Ensure it stays at bottom */
}

/* Optional: Active pagination bullet size */
swiper-container::part(bullet-active) {
    width: 20px;
    border-radius: 4px;
}