.modal-backdrop.fade{
    z-index: 1000;
    display: none !important;
}
.project-modal {
    z-index: 2000; /* acima do backdrop do Bootstrap */
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.15);
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 5%;
    border-radius: 25px;
}

.modal-close {
    position: absolute;
    top: 5%;
    right: 2%;
    padding: 6px;
    cursor: pointer;
    --bs-btn-close-bg: none;
    width: 40px;
    height: 40px;
}

.success .modal h4{
    font-weight: 700;
    font-size: 32px;
    line-height: 130%;
    letter-spacing: 0px;
    color: rgba(9, 94, 173, 1);
}

.success .modal h5{
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0px;
    color: rgba(9, 94, 173, 1);
    text-align: left;
}

.success .modal p{
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0px;
}

.success .modal .texto-modal{
    margin-left: 3%;
    width: 47%;
}

.coluna-esquerda-interna{
    padding-left: 0% !important;
}
.why-enclimar h3{
    font-weight: 800;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: center;
    color: #34C1FD;
    margin-top: 3%;
}
.why-enclimar h2{
    font-weight: 800;
    font-size: 62px;
    line-height: 110.00000000000001%;
    letter-spacing: -2px;
    text-align: center;
    color: #FFFFFF;
    margin: 2% 0 4% 0;
}
.icones-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centraliza a última linha */
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 4%;
    text-align: center;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 18px;
    line-height: 130%;
}
.icones-grid li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; 
    width: calc(33.333% - 2rem); 
}
.icones-grid li img {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
    margin-right: 3%;
}
.swiper .swiper-slide{
    padding: 1.2%;
}   
.frases-wrapper {
    background: #34C1FD;
    height: 56px;
    font-weight: 800;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0px;
    color: #102C85;
    overflow: hidden; 
    white-space: nowrap; 
    width: 100%;
    position: relative;
    margin-top: 5%;
}
.frases-divisoria {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    white-space: nowrap;
    vertical-align: middle;
    animation: marquee 25s linear infinite;
}
.frases-divisoria svg {
    display: inline-block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
}
.frases-divisoria::after {
    content: attr(data-duplicate);
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    margin-left: 2rem;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.experience{
    margin-left: 7%;
}
.experience h4{
    font-weight: 800;
    font-size: 62px;
    line-height: 110.00000000000001%;
    letter-spacing: -2px;
    color: #FFFFFF;
    margin-top: -6%;
}
.experience p{
    font-weight: 300;
    font-size: 21px;
    line-height: 130%;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin: 5% 5% 4% 0;
}
.experience-button{
    max-width: 236px;
    height: 56px;
}
.experience img{
    width: 720px;
    height: 504px;
    opacity: 1;
}
.col-imagem-direita {
    display: flex;
    justify-content: flex-end; 
}
.counter{
    width: 60%;
    margin-left: 16%;
    margin-top: -4%;
    z-index: 999;
    position: relative;
}
.counter-top{
    background: #FFFFFF;
    height: 100px;
    padding: 16px 13% 16px 31%;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}
.counter-top p{
    color: #095EAD;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0px;
    margin: 0;
}

.counter-top p span{
    font-weight: 800;
    font-size: 37px;
    line-height: 110.00000000000001%;
    letter-spacing: -2px;
    text-align: center;
}
.counter-bottom{
    height: 125px;
    gap:0;
    opacity: 1;
    padding-right: 64px;
    padding-bottom: 16px;
    padding-left: 64px;
    border-width: 2px;
    border-bottom-right-radius: 32px;
    border-bottom-left-radius: 32px;
    border: 2px solid #FFFFFF;
}
.counter-bottom p{
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: center;
}
.counter-bottom p span{
    font-weight: 800;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: -2px;
    text-align: center;
}
.experience .divisor-img{
    width: 48px;
    height: 48px;
    opacity: 1;
    margin: 5% 44%;
}
.success h5{
    font-weight: 800;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: center;
    color: #34C1FD;
}
.success h6{
    font-weight: 800;
    font-size: 62px;
    line-height: 110.00000000000001%;
    letter-spacing: -2px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 2%;
}

.project-content h6,
.project-content p {
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.success .project-content h6{
    font-weight: 800;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: left;
}

.success .project-content p{
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0px;  
    z-index: 100;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(0);
    opacity: 1;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 1.5%;
}

.swiper-pagination-bullet{
    background: transparent;
    border: 1px solid #FFFFFF;
}

.swiper-pagination-bullet-active{
    background: #FFFFFF;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);   /* slide central maior */
    z-index: 10;           /* slide central acima dos laterais */
}

.project-content {
    position: relative;
    z-index: 20;       /* sempre acima da imagem e overlay */
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.project-content h6,
.project-content p,
.project-content a {
    position: relative; /* para não ser afetado pelo transform do slide */
    z-index: 30;
}
.project-content a {
    font-weight: 800;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0px;
    margin-top: 1%;
}
.project-content p {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.projects-swiper {
    width: 100%;
    padding: 50px 0;
    position: relative;
    overflow: hidden; /* corta tudo que está fora do container */
    box-sizing: border-box;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide.project {
    width: 300px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: grab;
    border: 2px solid white;
    background: transparent;
}

/* .swiper-slide.project:hover .project-content p {
    opacity: 0;
    transform: translateY(10px);
}
.swiper-slide.project:hover .project-content h6 {
    transform: translateY(45px); 
} */
.swiper-slide.project::before {
    content: "";
    position: absolute;
    inset: 0;                    
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    transform-origin: center;
    transform: scale(1);
    transition: transform 1s cubic-bezier(.2,.9,.2,1);
    z-index: 0;
}

.swiper-slide.project::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%; 
    background:  linear-gradient( to top, rgba(16, 44, 133, 0.7), rgba(16, 44, 133, 0.7));
    transition: height 0.45s ease, bottom 0.45s ease, background 0.45s ease;
    z-index: 1;
    pointer-events: none;
}

.swiper-slide.project:hover::before {
    transform: scale(1.15);
}

.swiper-slide.project:hover::after {
    background: linear-gradient(
        to top,
        rgb(16, 43, 133) 0%,
        rgba(16, 43, 133, 0.144) 60%,
        rgba(16,44,133,0.0) 100%
    );
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1); 
}

.project-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.project-content p {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.passador{
    display: flex;
    margin-left: 1%;
    margin-top: -18%;
    margin-bottom: 10%;
    gap: 86%;
    position: relative;
    z-index: 10;
}

.div-img-passador{
    cursor: pointer;
}

.div-img-passador img{
    height: 80px;
}

/* MOBILE */
@media screen and (max-width: 1020px) {      
    .banner {
        padding: 30% 7% 23% 9%;
        height: 534px;
    }
    .banner h1{
        font-size: 28px;
        line-height: 130%;
        letter-spacing: 0px;
    }
    
    .banner p {
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0px;
        text-align: left;
        width: 100%;
        margin: 2% 0 4% 0 !important;
    }

    .p-3{
        padding: 0 !important;
    }

    .banner-button{
        width: 305px;
        height: 40px;
        font-size: 16px;
        align-self: flex-start;
    }
    .why-enclimar{
        width: 90%;
        margin-left: 5%;
    }
    .why-enclimar h2{
        font-size: 28px;
        line-height: 130%;
        letter-spacing: 0px;
        margin: 0 0 10% 0;

    }
    .why-enclimar h3{
        font-size: 16px;
        margin: 9% 0 3% 0;
    }

    .icones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem; 
        font-size: 16px;
    }
    .icones-grid li {
        flex-direction: column; 
        align-items: flex-start;    
        text-align: left;     
        width: calc(50% - 2rem);
    }

    .icones-grid li img {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
        margin-right: 0;
    }

    .icones-grid .centralizada{
        margin-left: 0;
    }

    .why-enclimar .swiper-topics{
        width: 112%;
        margin-left: -6%;
    }
    .frases-wrapper{
        height: 48px;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0px;

    }

    .experience{
        margin: 0%;
    }
    .experience > .row:first-child {
        display: flex;
        flex-direction: column; 
    }
    .experience > .row:first-child .col-imagem-direita {
        order: -1;
    }

    .experience img{
        height: 319px;
    }

    .conteudo-experiencia{
        padding: 10%;
    }
    .experience h4{
        font-size: 28px;
        line-height: 130%;
        letter-spacing: 0px;
    }

    .experience p{
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0px;
    }
    .experience-button{
        width: 160px;
        height: 40px;
        gap: 16px;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0px;
    }

    .counter {
        width: 68%;
        margin-left: 15%;
        margin-top: 0;
    }

    .counter-top {
        height: 96px;
        padding: 16px 0% 16px 2%;
    }

    .counter-top .mb-4 {
        margin-bottom: 0 !important;        
        padding-left: 0;
        text-align: center !important;
    }

    .counter-top .texto_obra {
        margin: 0;
        font-size: 14px;
    }

    .texto_obra br, .counter-bottom p br:not(.exceto) {
        display: none;
    }
    .counter-top p span{
        font-size: 30px;
        line-height: 110.00000000000001%;
        letter-spacing: 0px;
    }

    .counter-bottom{
        height: auto;
        padding: 3% 10% 3% 10%;
    }

    .counter-bottom .mb-4{
        margin-bottom:0 !important;
    }
    .counter-bottom p{
        font-size: 12px;
        line-height: 130%;
        letter-spacing: 0px;
    }

    .counter-bottom p span{
        font-size: 21px;
        line-height: 130%;
        letter-spacing: 0px;
    }

    .experience .divisor-img{
        margin: 8% 44%;
        width: 36px;
        height: 36px;
    }

    .success h5{
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0px;
    }

    .success h6{
        font-size: 28px;
        line-height: 130%;
        letter-spacing: 0px;
        width: 86%;
        margin-left: 7%;
    }

    .success .swiper-wrapper{
        margin-left: -7%;
        margin-bottom: 5%;
    }
    .swiper-slide.project {
        width: 70% !important;
        height: 218px;
        margin-left: 1.2%;
        margin-right: 34px !important;
    }

    .project-content h6{
        font-size: 19.21px !important;    
        margin-left: 0;        
    }
    .project-content p{
        font-weight: 400;
        font-size: 10.98px !important;            
    }

    .project-content a{
        font-weight: 800;
        font-size: 18px;
        line-height: 130%;
        letter-spacing: 0px;
        margin-top: 2%;
    }

    .modal-img{
        width: 90%;
        margin-top: 17%;
    }
    .success .modal .texto-modal{
        width: 100%;
        margin-left: 0;
    }

    .success .modal h4, .success .modal h5 {
        font-size: 16px;
    }

    .coluna-direita-interna{
        padding-left: 0 !important;
        padding-top: 0 !important;
    }

    .modal-close {
        top: 2%;
    }

    .counter {
        z-index: 999;
    }
    html{
        width: 102%;
    }

    .passador{
        margin-left: 3%;
        margin-top: -36%;
        margin-bottom: 24%;
        gap: 72%;
    }
    
    .div-img-passador img{
        height: 50px;
    }

    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
        margin-bottom: -9% !important;
    }
}