
/*****************************/
/********** BANNERS **********/
/*****************************/


.banners{
    position: relative;
}

.banners .banner-mask{
    height: unset;
    width: 100%;
    object-fit: contain;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
}

.banners .slider {
    height: 100%;
}

.banners .slider .slide {
    position: relative;
}

.banners .slider .slide .description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto 0 auto 11%;
    max-width: 570px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    perspective: 1000px;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-perspective: 1000px;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

.banners .slider .slide .description a.button {
    pointer-events: auto;
    color: var(--white);
    padding: 16px 29px 17px;
}

.banners .slider .slide .description a.button::before {
    opacity: 0.3;
    background-color: var(--white);
}

.banners .slider .slide .description a.button:hover::before {
    opacity: 1;
    background-color: var(--primary);
}


.banners .slider .slide .description h2 {
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: white;
    margin: 0;
    font-family: var(--font-family-title);
}

.banners .slider .slide .description p{
    font-size: 18px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: left;
    color: white;
    margin: 22px 0 0;
}

.banners .slider .slide .description div{
    display: flex;
    position: relative;
    gap: 10px;
    margin-top: 35px;
}

.banners .slider .slide .img {
    overflow: hidden;
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 0;
}

.banners .slider .slide .img::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    mix-blend-mode: multiply;
    background-blend-mode: multiply;
    background-image: linear-gradient(to top, var(--white), #b5b5b5);
    z-index: 1;
    will-change: transform;
}

.banners .slider .slide .img.img2::before{
    background-image: linear-gradient(to top, var(--white), #d9d9d9);
}

.banners .slider .slide:has(.description) .img::before {
    mix-blend-mode: multiply;
    background-image: linear-gradient(to bottom, #b5b5b5, #b5b5b5);
}

.banners .slider .img img{
    position: relative;
    overflow: hidden;
    height: 100%;
}


.slider .slide .img.video video,
.slider .slide .img.video iframe{
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: black;
}

.banners .slider .slide.video .img iframe {
    transform: scale(1.2);
    z-index:-1;
}

.banners .tns-nav {
    background: transparent;
    position: absolute;
    display: flex;
    bottom: 0;
    padding: 20px 30px;
    gap: 26px;
    align-items: center;
    z-index: 2;
    top: 0;
    margin: auto;
    justify-content: center;
    right: 0;
    flex-direction: column;
}

.banners .tns-nav button {
    height: 15px;
    width: 15px;
    z-index: 1;
    transition: var(--transition);
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    background: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banners .tns-nav button:before {
    content: "";
    border-radius: 100%;
    background: #d7d4d4;
    height: 5px;
    width: 5px;
    z-index: 1;
    transition: var(--transition);
    display: block;
    position: absolute;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
}


.banners .tns-nav button.tns-nav-active:before,
.banners .tns-nav button:hover:before {
    height: 9px;
    width: 9px;
}

.banners .img.video{
    background-color: black;
}

.banners .slider .slide.video .description a.play{
    margin: auto;
    width: 40px;
    height: 40px;
    z-index: 1;
    cursor: pointer;
    pointer-events: all;
    position: relative;
}

.banners .slider .slide.video .description a.play:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 12px;
    height: 14px;
    margin: auto;
    -webkit-mask-image: url(/microsites/assets/img/template/play_icon.svg);
    mask-image: url(/microsites/assets/img/template/play_icon.svg);
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: cover;
    -webkit-mask-size: cover;
    background-color: white;
    transition: var(--transition);
    z-index: 2;
}
.banners .slider .slide.video .description a.play:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    transition: var(--transition);
    border-radius: 100%;
    border: 2px solid white;
    z-index: 1;
    background: none;
}

.banners .slider .slide.video .description a.play:hover::after{
    transform: scale(1.05);
}

.banners .img.video.open img {
    opacity: 0;
    pointer-events: none;
}



.banners .video-button {
	opacity: 0;
    min-height: 82px;
    min-width: 82px;
    padding: 7px;
    aspect-ratio: 1;
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banners .video-button.mobile {
	display: none;
}

.banners .video-button.in {
	opacity: 1;
}

.banners:has(.video-button.in) .slider .slide {
	cursor: none;
}

.banners .video-button a {
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: normal;
	color: white;
}


.banners .video-button::before {
    content: "";
    opacity: 0.15;
    height: 100%;
    width: 100%;
    position: absolute;
    pointer-events: none;
    background-color: white;
}

@media (min-width: 768px) {
    
    .banners .slider .slide.video .description a.play{
        width: 55px;
        height: 55px;
    }

    .banners .slider .slide.video .description a.play:after {
        width: calc(100% - 4px);
        height: calc(100% - 4px);
        background: white;
        opacity: .25;
    }

    .banners .slider .slide.video .description a.play:before {
        width: 13px;
        height: 16px;
    }
}

.banners .slider .btn-video{
    display: none;
    position: relative;
    z-index: 10;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--white);
}


@media(max-width: 767px) {
    .banners .slider .btn-video{
        display: inherit;
        align-items: center;

    }
    .banners .video-button{
        display: none;
    }
    .banners .slider{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh;
    }

    .banners .slider > div{
        flex: 1;
    }
    .banners .slider .itens h2{
        margin-bottom: 20px;
    }

    .banners .tns-nav {
        padding: 0px;
        flex-direction: row;
        top: auto;
        left: 20px;
        right: auto;
        bottom: 50px;
        justify-content: center;
        gap: 30px;
    }

    .banners .button{
        text-align: center;
    }

    .banners .slider .slide .description{
        margin-inline: 0px;
        padding-inline: 20px;
        max-width: 100%;
        justify-content: flex-end;
        padding-bottom: 25vw;
    }

    .banners .slider .slide .description h2 {
        font-size: 35px;
        line-height: 1;
    }

    .banners .slider .slide .description p{
        font-size: 16px;
        line-height: 1.38;
        letter-spacing: normal;
        margin-top: 15px;
    }

    .banners .slider .slide .description div .button{
        padding: 11.5px 22px;
        font-size: 14px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: normal;
        align-items: center;
        display: flex;
        width: unset;
    }

    .banners .slider .slide .description div{
        margin-top: 25px;
        justify-content: space-between;
        width: 100%;
    }
    
}

.index section:not(.banners):first-of-type{
    margin-top: 120px;
}

@media(max-width: 767px) {
    .index section:not(.banners):first-of-type{
        margin-top: 70px;
    }  
}



/*****************************/
/**** Homepage Text Image ****/
/*****************************/

.homepage-text-image {
    margin-top: 100px;
}

.homepage-text-image .container {
    display: flex;
    gap: 100px;
    justify-content: space-between;
}

.homepage-text-image .container .homepage-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    max-width: 550px;
}

.homepage-text-image .container .homepage-text-wrapper h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.58;
    color: var(--primary);
}

.homepage-text-image .container .homepage-text-wrapper .section-title {
    font-family: var(--font-family-title);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: normal;
    color: var(--black);
    margin: 16px 0 33px;
}

.homepage-text-image .container .homepage-text-wrapper .section-title > p{
    margin: 0;
}

.homepage-text-image .container .homepage-text-wrapper ul {
    list-style-type: none;
    margin: 0;
    padding-block: 0px;
    margin-block: 30px;
    counter-reset: item;
    padding-left: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

.homepage-text-image .container .homepage-text-wrapper ul li {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal;
    color: var(--black);
}

.homepage-text-image .container .homepage-text-wrapper ul li b,
.homepage-text-image .container .homepage-text-wrapper ul li strong {
    font-weight: 500;
}

.homepage-text-image .container .homepage-text-wrapper ul li::before {
    content: "";
    display: inline-block;
    height: 16px;
    width: 19px;
    margin-left: -35px;
    margin-right: 15px;
    -webkit-mask-image: url(/assets/img/svg/bullet-arrow.svg);
    mask-image: url(/assets/img/svg/bullet-arrow.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--primary);
}

.homepage-text-image .container .homepage-image-wrapper {
    max-width: 506px;
    flex: 1;
}

.homepage-text-image.round-corner .container .homepage-image-wrapper img {
    border-radius: 210px;
}

.homepage-text-image.left-round-corner .container .homepage-image-wrapper img {
    border-top-left-radius: 210px;
}

.homepage-text-image.right-round-corner .container .homepage-image-wrapper img {
    border-top-right-radius: 210px;
}

.homepage-text-image .container .homepage-image-wrapper img {
    object-fit: cover;
    display: block;
}



@media(max-width: 992px) {
    .homepage-text-image .container {
        gap: 50px;
    }
}


@media(max-width: 767px) {

    .homepage-text-image {
        margin-top: 60px;
    }

    .homepage-text-image .container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .homepage-text-image .container .homepage-image-wrapper,
    .homepage-text-image .container .homepage-text-wrapper {
        max-width: 100%;
    }

    .homepage-text-image .container .homepage-text-wrapper h2 {
        font-size: 16px;
        line-height: 1.42;
    }

    .homepage-text-image .container .homepage-text-wrapper .section-title {
        font-size: 29px;
        line-height: 1.12;
        margin: 14px 0 28px;
    }

    .homepage-text-image .container .homepage-text-wrapper ul li {
        font-size: 18px;
        line-height: 1.33;
    }

    .homepage-text-image.round-corner .container .homepage-image-wrapper img {
        border-radius: 150px;
    }

    .homepage-text-image.left-round-corner .container .homepage-image-wrapper img {
        border-top-left-radius: 150px;
    }

    .homepage-text-image.right-round-corner .container .homepage-image-wrapper img {
        border-top-right-radius: 150px;
    }

    .homepage-text-image .container .homepage-text-wrapper ul {
        padding-left: 27px;
        gap: 15px;
    }

    .homepage-text-image .container .homepage-text-wrapper ul li::before {
        height: 13px;
        width: 16px;
        margin-left: -27px;
        margin-right: 10px;
    }
}



/*****************************/
/***** Homepage Services *****/
/*****************************/


.homepage-services {
    margin-top: 120px;
}

.homepage-services .container:has(.tns-slider){
    max-width: 1300px;
    padding: 0 60px;
}

.homepage-services .container > h2 {
    font-family: var(--font-family-title);
    font-size: 61px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: var(--black);
    margin-block: 30px;
}

.homepage-services .container > p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
    color: var(--black);
    max-width: 675px;
    margin: 30px auto 0;
}

.homepage-services .services-wrapper {
    position: relative;
}

.homepage-services .services-wrapper > div:not(.tns-slider, .slider-arrows) {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 4px;
}

.homepage-services .services-wrapper .service {
    text-align: center;
    padding: 60px 6px;
}

.homepage-services .services-wrapper .service .img{
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: 90px;
    width: 90px;
    margin: 0 auto;
    display: block;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-image: linear-gradient(42deg, #001565, #00a9e3);
    pointer-events: none;
}

.homepage-services .services-wrapper .service h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.44;
    letter-spacing: normal;
    text-align: center;
    color: var(--black);
    margin: 25px 0 0;
}

.homepage-services .services-wrapper .service p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.42;
    letter-spacing: normal;
    text-align: center;
    color: var(--grey);
    margin: 12px 0 16px;
}

.homepage-services .services-wrapper .service a.button {
    font-size: 14px;
    padding: 10px 19px 11px;
    line-height: 1.43;
}


@media(max-width: 767px) {

    .homepage-services {
        margin-top:60px;
    }

    .homepage-services .container > h2 {
        font-size: 35px;
        margin-bottom: 25px;
    }

    .homepage-services .container > p {
        font-size: 18px;
        line-height: 1.33;
        margin: 25px auto 0;
    }

    .homepage-services .services-wrapper > div:not(.tns-slider, .slider-arrows) {
        display: grid;
        grid-template-columns: auto auto;
        gap: 8px 20px;
        margin-top: 13px;
    }

    .homepage-services .services-wrapper .service {
        padding: 25px 0 0;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .homepage-services .services-wrapper .service img {
        max-width: 61px;
        max-height: 60px;
    }

    .homepage-services .services-wrapper .service h3 {
        font-size: 16px;
        line-height: 1.42;
        margin-top: 15px;
    }

    .homepage-services .services-wrapper .service p {
        margin: 10px 0 14px;
    }

    .homepage-services .services-wrapper .service a.button {
        width: fit-content;
        margin-top: auto;
    }

    
    .homepage-services .services-wrapper .service .img{
        height: 60px;
        width: 60px;
    }

    .article-section .article-wrapper {
        margin-top: 35px;
    }
}



/*****************************/
/**** Homepage Highlight *****/
/*****************************/

.homepage-highlight {
    /* background-color: var(--primary);
    display: flex; */
    margin-top: 90px;
}

.homepage-highlight img{
    display: block;
    width: 100%;
}
/* 
.homepage-highlight .text-container {
    width: 52%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-highlight h2 {
    font-family: var(--font-family-title);
    font-size: 61px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: var(--white);
    max-width: 72%;
}

.homepage-highlight img {
    width: 48%;
    object-fit: cover;
    display: block;
    object-position: left;
    height: unset;
}


@media(max-width: 992px) {

        
    .homepage-highlight h2 {
        font-size: 35px;
    }

}

@media(max-width: 767px) {


    .homepage-highlight {
        flex-direction: column;
        margin-top: 60px;
    }

    .homepage-highlight h2 {
        max-width: 100%;
        margin-block: 40px;
    }

    .homepage-highlight .text-container {
        width: 100%;
        justify-content: flex-start;
        padding: 0 20px;
    }

    .homepage-highlight img {
        width: 90%;
        margin-left: auto;
    }


} */



/*****************************/
/***** HOMEPAGE NUMBERS ******/
/*****************************/

.homepage-numbers {
    margin-top: 120px;
}

.homepage-numbers .container:has(.tns-slider) {
    max-width: 1340px;
    padding: 0 80px;
}

.homepage-numbers .numbers-wrapper {
    position: relative;
}

.homepage-numbers .numbers-wrapper > div:not(.tns-slider, .slider-arrows) {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.homepage-numbers .numbers-wrapper > div .number {
    position: relative;
    padding: 25px 20px;
}

.homepage-numbers .numbers-wrapper > div .number .number-counter {
    position: relative;
    font-family: var(--font-family-title);
    height: 100px;
    font-size: 61px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: var(--black);
    display: flex;
    align-items: center;
}

.homepage-numbers .numbers-wrapper > div .number .number-counter::before {
    content: "";
    display: inline-block;
    position: absolute;
    height: 100px;
    width: 78px;
    -webkit-mask-image: url(/assets/img/homepage/number-form1.svg);
    mask-image: url(/assets/img/homepage/number-form1.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #eef4fb;
    left: -20px;
    z-index: -1;
}

.homepage-numbers .numbers-wrapper > div .number.form1 .number-counter::before {
    -webkit-mask-image: url(/assets/img/homepage/number-form1.svg);
    mask-image: url(/assets/img/homepage/number-form1.svg);
}

.homepage-numbers .numbers-wrapper > div .number.form2 .number-counter::before {
    -webkit-mask-image: url(/assets/img/homepage/number-form2.svg);
    mask-image: url(/assets/img/homepage/number-form2.svg);
}

.homepage-numbers .numbers-wrapper > div .number.form3 .number-counter::before {
    -webkit-mask-image: url(/assets/img/homepage/number-form3.svg);
    mask-image: url(/assets/img/homepage/number-form3.svg);
}

.homepage-numbers .numbers-wrapper > div .number.form4 .number-counter::before {
    -webkit-mask-image: url(/assets/img/homepage/number-form4.svg);
    mask-image: url(/assets/img/homepage/number-form4.svg);
}

.homepage-numbers .numbers-wrapper > div .number h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.44;
    color: var(--black);
    margin: 5px 0 10px;
}

.homepage-numbers .numbers-wrapper > div .number p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.42;
    color: var(--grey);
    margin: 0; 
}




@media(max-width: 767px) {

    .homepage-numbers {
        margin-top: 40px;
    }

    .homepage-numbers .container:has(.tns-slider) {
        padding: 0 40px;
    }

    .homepage-numbers .slider-arrows > div {
        margin: 30px;
        display: flex;
        justify-content: center;
    }

    .homepage-numbers .numbers-wrapper>div .number .number-counter {
        justify-content: center;
        height: 78px;
        font-size: 46px;
        margin: 0 auto;
        width: fit-content;
    }

    .homepage-numbers .numbers-wrapper>div .number .number-counter::before {
        height: 78px;
        width: 61px;
        left: -16px;
    }

    .homepage-numbers .numbers-wrapper>div .number h3 {
        text-align: center;
        font-size: 18px;
        line-height: 1.36;
        margin: 17px 0;
    }

    .homepage-numbers .numbers-wrapper>div .number p {
        text-align: center;
        font-size: 14px;
        line-height: 1.46;
    }
}




/*****************************/
/******** HOMEPAGE MAP *******/
/*****************************/


.homepage-map {
    padding: 50px 40px;
    background-color: rgba(236, 243, 251, 0.45);
    margin-top: 120px;
}

.homepage-map .homepage-map-wrapper {
    display: flex;
    justify-content: space-between;
}

.homepage-map .locations-list {
    min-width: 460px;
    position: relative;
}

.homepage-map h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.58;
    color: var(--primary) ;
    margin: 20px 0 0 0;
}

.homepage-map h3.section-title {
    font-family: var(--font-family-title);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.14;
    color: var(--black);
    margin: 7px 0 0 0;
}

.homepage-map .locations {
    max-height: 530px;
    overflow: auto;
    gap: 10px;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    margin-top: 35px;
    position: relative;
    padding-bottom: 30px;
}
/* 
.homepage-map .locations-list::before {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #ECF3FB;
    background: linear-gradient(180deg, rgba(236, 243, 251, 0) 0%, rgba(236, 243, 251, 0.3) 41%, rgb(247, 247, 247) 100%);
    z-index: 1;
} */
.homepage-map .locations-list::before {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #ECF3FB;
    background: linear-gradient(180deg, rgba(236, 243, 251, 0) 0%, rgba(236, 243, 251, 0.3) 41%, rgb(247, 247, 247) 100%);
    z-index: 1;
}

.homepage-map .locations-list::before {
    background: linear-gradient(to top, #f6fafd, #f6fafd00);
}

.homepage-map .locations .location {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.04);
    background-color: var(--white);
    scrollbar-width: thin;
    scrollbar-color: #cfd8e225 transparent;
}


.homepage-map .locations::-webkit-scrollbar {
    width: 4px;
}

.homepage-map .locations::-webkit-scrollbar-track {
    background: transparent;
}

.homepage-map .locations::-webkit-scrollbar-thumb {
    background-color: #cfd8e2;
    border-radius: 4px;
}
.homepage-map .locations::-webkit-scrollbar-thumb:hover {
    background-color: #cfd8e2;
}

.homepage-map .locations .location .info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.homepage-map .locations .location img {
    max-width: 96px;
    border-radius: 10px;
}

.homepage-map .locations .location .location-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: left;
    color: var(--black);
    margin: 0;
}

.homepage-map .locations .location .button-wrapper {
    display: flex;
    gap: 5px;
}

.homepage-map .locations .location .button-wrapper .button {
    font-size: 12px;
    line-height: 1.33;
    padding: 7px 10px 7px;
}


.homepage-map .map-wrapper{
    max-width: 805px;
    transform: translate(90px, -65px);
    display: flex;
}

.homepage-map .map-wrapper > div {
    position: relative;
    margin: auto;
}

.homepage-map .map-pin-dialog {
  position: absolute !important;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);

  max-width: 266px;
  pointer-events: none;
}

.homepage-map .map-pin-dialog.is-open {
  display: flex;
}

.homepage-map .map-pin-dialog__img {
  width: 86px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.homepage-map .map-pin-dialog__title {
  margin: 0;
  font-size: 14px;  
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.43;
  letter-spacing: normal;
  text-align: left;
  color: #1a1819;
}

.homepage-map #map-mobile,
.homepage-map #map {
    display: block;
    object-fit: contain;
}

.homepage-map #map-mobile {
    display: none;
}

.homepage-map a.map-pin {
    background-image: url("/assets/img/homepage/map-pin.png");
    width: 4%;
    height: 6%;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    background-size: contain;
    transition: var(--transition);
}

.homepage-map a.map-pin.selected,
.homepage-map a.map-pin:hover {
    background-image: url("/assets/img/homepage/map-pin-hover.png");
    transform: scale(1.15);
    z-index: 1;
}


.button.map-button {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.button.map-button.mobile {
    display: none;
}

.button.map-button::after {
    content: "";
    position: relative;
    transition: var(--transition);
    -webkit-mask-image: url("/assets/img/homepage/map-pin.svg");
    -webkit-mask-repeat: no-repeat;
    mask-image: url("/assets/img/homepage/map-pin.svg");
    mask-repeat: no-repeat;
    background-color: var(--primary);
    width: 11px;
    height: 13px;
    display: inline-flex;
}

.button.map-button.selected::after,
.button.map-button:hover::after {
    background-color: white;
}

.homepage-map a.map-pin[data-target="#telhal"] {
    top: 26%;
    left: 78%;
}

.homepage-map a.map-pin[data-target="#lisboa"] {
    top: 30%;
    left: 81%;
}

.homepage-map a.map-pin[data-target="#carnaxide"] {
    top: 28%;
    left: 84%;
}

.homepage-map a.map-pin[data-target="#funchal"] {
    top: 84%;
    left: 18%;
}

.homepage-map a.map-pin[data-target="#angra"] {
    top: 44.5%;
    left: 11.5%;
}

.homepage-map a.map-pin[data-target="#barcelos"] {
    top: 8%;
    left: 39%;
}

.homepage-map a.map-pin[data-target="#delgada"] {
    top: 53%;
    left: 17.5%;
}

.homepage-map a.map-pin[data-target="#montemor"] {
    top: 62%;
    left: 42%;
}

.homepage-map a.map-pin[data-target="#areias"] {
    top: 10%;
    left: 42%;
}

.homepage-map a.map-pin[data-target="#gelfa"] {
    top: 1%;
    left: 35.5%;
}

.homepage-map a.map-pin[data-target="#melgaco"] {
    top: -4%;
    left: 42%;
}


@media(max-width: 767px) {

    .homepage-map {
        padding: 35px 0 0;
        margin-top: 60px;
    }

    .homepage-map h2 {
        font-size: 16px;
        line-height: 1.42;
        margin: 0;
    }

    .homepage-map h3.section-title {
        font-size: 25px;
        line-height: 1.16;
        letter-spacing: 0.5px;
        margin: 10px 0 0 0;
    }

    .homepage-map .locations {
        max-height: unset;
        overflow: auto;
        gap: 10px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-right: 0;
        scrollbar-width: thin;
        scrollbar-color: #cfd8e2 transparent;
        margin-top: 25px;
        position: relative;
        padding-bottom: 0;
    }

    .homepage-map .homepage-map-wrapper {
        flex-direction: column-reverse;
        margin-top: 34px;
    }

    .homepage-map .map-wrapper {
        transform: none;
        margin-inline: -20px;
    }

    .homepage-map #map {
        display: none;
    }

    .homepage-map #map-mobile {
        display: block;
    }

    .homepage-map a.map-pin {
        width: 5.6%;
        height: 6%;
    }

        
    .homepage-map a.map-pin[data-target="#telhal"] {
        top: 15%;
        left: 23%;
    }

    .homepage-map a.map-pin[data-target="#lisboa"] {
        top: 19%;
        left: 28%;
    }

    .homepage-map a.map-pin[data-target="#carnaxide"] {
        top: 18%;
        left: 32%;
    }

    .homepage-map a.map-pin[data-target="#funchal"] {
        top: 84%;
        left: 27%;
    }

    .homepage-map a.map-pin[data-target="#angra"] {
        top: 45%;
        left: 17%;
    }

    .homepage-map a.map-pin[data-target="#barcelos"] {
        top: 9%;
        left: 57%;
    }

    .homepage-map a.map-pin[data-target="#delgada"] {
        top: 54%;
        left: 25%;
    }

    .homepage-map a.map-pin[data-target="#montemor"] {
        top: 63%;
           left: 61%;
    }

    .homepage-map a.map-pin[data-target="#areias"] {
        top: 11%;
        left: 61%;
    }

    .homepage-map a.map-pin[data-target="#gelfa"] {
        top: 1%;
        left: 51.5%;
    }

    .homepage-map a.map-pin[data-target="#melgaco"] {
        top: -3%;
        left: 60%;
    }

    .homepage-map .locations-list {
        min-width: unset;
        margin: 0 -20px;
    }

    .homepage-map .locations-list::before {
        display: none;
    }


    .button.map-button {
        display: none;
    }

    .homepage-map .locations .location .button-wrapper .button {
        width: unset;
    }

    .button.map-button.mobile {
        display: flex;
        border-radius: 100%;
        padding: 7px 9.5px 7px;
    }

    .homepage-map .locations .location {
        margin-bottom: 40px;
    }

}






/*****************************/
/*** HOMEPAGE TESTEMONIALS ***/
/*****************************/

.homepage-testemonials {
    margin-top: 120px;
    position: relative;
}

.homepage-testemonials h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.58;
    letter-spacing: normal;
    text-align: center;
    color: var(--primary);
}

.homepage-testemonials h3.section-title {
    font-family: var(--font-family-title);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    color: var(--black);
    margin: 16px 0 30px;
}

.homepage-testemonials .container > p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    color: var(--black);
    max-width: 620px;
    margin: auto;
}

.homepage-testemonials .testemonials-wrapper {
    position: relative;
}

.homepage-testemonials .testemonials-wrapper .article-wrapper {
    padding: 50px 0 50px;
    /* display: flex; */
    flex: 1;
    /* opacity: 0;
    pointer-events: none; */
}

.homepage-testemonials .testemonials-wrapper  #tns5-iw {
    margin: 0px -26px 0px 0px;
    padding: 0 20px;
}

.homepage-testemonials .testemonials-wrapper .tns-slider {
    /* padding: 50px 0; */
    display: flex;
}

.homepage-testemonials .testemonials-wrapper .testemonial {
    border-radius: 20px;
    background-color: var(--white);
    padding: 50px 30px 45px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0px 17px 29px 0 rgba(255, 255, 255, 0);
}

.homepage-testemonials .testemonials-wrapper .article-wrapper.tns-slide-active .testemonial {
    box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.04);
}

.homepage-testemonials .testemonials-wrapper .testemonial .quote {
    height: 25px ;
    width: 31px;
    position: relative;
}

.homepage-testemonials .testemonials-wrapper .testemonial .quote::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-mask-image: url("/assets/img/svg/quotes.svg");
    -webkit-mask-repeat: no-repeat;
    mask-image: url("/assets/img/svg/quotes.svg");
    mask-repeat: no-repeat;
    background-color: var(--primary);
    transition: var(--transition);
    inset: 0;
}

.homepage-testemonials .testemonials-wrapper .testemonial p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.58;
    color: var(--grey);
    margin-top: 27px;
    margin-bottom: 10px;
}

.homepage-testemonials .testemonials-wrapper .testemonial p.name {
    color: var(--black);
    font-weight: 500;
    margin: 0;
}

.homepage-testemonials .container:has(.tns-slider) {
    max-width: 1300px;
    padding: 0 40px;
}

.homepage-testemonials .testemonials-wrapper > div:not(.tns-slider, .slider-arrows) {
    display: flex;
    gap: 50px;
    justify-content: center;
}



@media (max-width: 768px) {

    .homepage-testemonials {
        margin-top: 60px;
    }

    .homepage-testemonials .container:has(.tns-slider) {
        padding: 0 25px;
    }

    .homepage-testemonials h2 {
        font-size: 15px;
    }

    .homepage-testemonials h3.section-title {
        font-size: 28px;
        margin: 16px 0 30px;
    }

    .homepage-testemonials .container > p {
        font-size: 18px;
    }

    .homepage-testemonials .testemonials-wrapper {
        margin: 0 -25px;
    }

    .homepage-testemonials .testemonials-wrapper .testemonial {
        box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.04);
    }

    .homepage-testemonials .testemonials-wrapper .article-wrapper {
        padding: 20px 0 30px;
    }

    .homepage-testemonials .testemonials-wrapper .testemonial p {
        font-size: 15px;
        margin-top: 20px;
        line-height: 1.42;
    }

    .homepage-testemonials .testemonials-wrapper .testemonial p.name {
        font-size: 14px;
    }

}
/*****************************/
/******* HOMEPAGE FAQ ********/
/*****************************/

.homepage-faq {
    margin-top: 70px;
}

.homepage-faq h2 {
    font-family: var(--font-family-title);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
    color: var(--black);
    margin-top: 0;
}

.homepage-faq .faq-wrapper {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.homepage-faq .faq-wrapper article.faq {
    padding: 40px 50px 42px;
    box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    background-color: var(--white);
}

.homepage-faq .faq-wrapper article.faq header > a {
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

.homepage-faq .faq-wrapper article.faq header h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: left;
    color: var(--black); 
    margin: 0;
    transition: var(--transition);
    pointer-events: none;
}


.homepage-faq .faq-wrapper article.faq.open header h3 {
    color: var(--primary); 
}

.homepage-faq .faq-wrapper article.faq header .faq-caret {
    height: 18px;
    width: 9px;
    transform: rotate(90deg);
    display: block;
    transition: var(--transition);
    margin-top: 7px;
}

.homepage-faq .faq-wrapper article.faq header .faq-caret::before {
    content: "";
    cursor: pointer;
    display: inline-block;
    height: 18px;
    width: 9px;
    -webkit-mask-image: url(/assets/img/svg/mobile-menu-caret.svg);
    mask-image: url(/assets/img/svg/mobile-menu-caret.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: var(--transition);
    background-color: var(--black);
    object-fit: contain;
}

.homepage-faq .faq-wrapper article.faq.open header .faq-caret {
    transform: rotate(-90deg);
}

.homepage-faq .faq-wrapper article.faq.open header .faq-caret::before {
    background-color: var(--primary);
}

.homepage-faq .faq-wrapper article.faq > div {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.44;
    letter-spacing: normal;
    text-align: left;
    color: var(--black);
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: var(--transition);
}

.homepage-faq .faq-wrapper article.faq.open > div {
    max-height: 300px;
    margin: 42px 0 10px;
}

@media (min-width: 768px) {

    .homepage-faq .faq-wrapper article.faq header a:hover .faq-caret::before  {
        background-color: var(--primary);
    }

    .homepage-faq .faq-wrapper article.faq header a:hover h3 {
        color: var(--primary);
    }
}

@media (max-width: 768px) {

    .homepage-faq  {
        margin-top: 30px;
    }

    .homepage-faq h2 {
        font-size: 28.5px;
        line-height: 1.12;
    }

    .homepage-faq .faq-wrapper {
        margin-top: 25px;
    }

    .homepage-faq .faq-wrapper article.faq {
        padding: 25px 25px 25px;
    }

    .homepage-faq .faq-wrapper article.faq header h3 {
        font-size: 20.5px;
        line-height: 1.2;
    }

    .homepage-faq .faq-wrapper article.faq p {
        line-height: 1.36;
        font-size: 18px;
    }

    .homepage-faq .faq-wrapper article.faq.open p {
        max-height: 500px;
        margin: 20px 0 10px;
    }

    .homepage-faq .faq-wrapper article.faq header > a {
        gap: 25px;
    }

    .homepage-faq .faq-wrapper article.faq header .faq-caret {
        margin: auto;
    }

    .homepage-faq .faq-wrapper article.faq header .faq-caret,
    .homepage-faq .faq-wrapper article.faq header .faq-caret::before {
        height: 14px;
        width: 7px;
        pointer-events: none;
    }

}
/*****************************/
/******* HOMEPAGE CTA ********/
/*****************************/

.homepage-cta {
    margin-top: 100px;
    position: relative;
}

.homepage-cta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(1, 1, 1, 0.5));
    z-index: 0;
}

.homepage-cta img {
    display: block;
}

.homepage-cta .content-wrapper {
    position: absolute;
    inset: 0;
    max-width: 900px;
    padding: 0 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homepage-cta .content-wrapper h2 {
    font-family:var(--font-family-title);
    font-size: 40px;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
    color: var(--white);
    margin: 0;
}

.homepage-cta .content-wrapper .button {
    margin: 35px auto 15px;
    color: var(--white);
}

.homepage-cta .content-wrapper .button::before {
    background-color: var(--primary);
    opacity: 1;
}


@media (min-width: 768px) { 
    
    .homepage-cta .content-wrapper .button:hover {
        color: var(--black);
    }
    
    .homepage-cta .content-wrapper .button:hover::before {
        background-color: #d5e4f6;
    }
}

@media (max-width: 768px) {

    .homepage-cta {
        margin-top: 60px;
    }

    .homepage-cta .content-wrapper h2 {
        font-size: 28px;
        line-height: 1.14;
    }

    .homepage-cta .content-wrapper .button {
        margin: 20px auto 15px;    }
}

/*****************************/
/******* SLIDER ARROWS *******/
/*****************************/




.slider-arrows {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60px;
    right: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    width: calc(100% + 120px);
    justify-content: space-between;
}

.slider-arrows > div {
	position: relative;
	width: 17px;
	height: 37px;
	pointer-events: auto;
	margin: 20px;
	cursor: pointer;
	transition: var(--transition);
}

.slider-arrows > div[aria-disabled="true"] {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}


.slider-arrows>div.prev {
	transform: rotate(180deg);
}

.slider-arrows>div.next {
	right: 0;
}

.slider-arrows > div::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-mask-image: url("/assets/img/svg/homepage-slider-caret.svg");
	-webkit-mask-repeat: no-repeat;
	mask-image:url("/assets/img/svg/homepage-slider-caret.svg");
	mask-repeat: no-repeat;
	background-color: #cecece;
	transition: var(--transition);
	cursor: pointer;
}


.slider-arrows > div:hover::before{
	background-color: var(--black);
}


@media (max-width: 768px){ 

	.slider-arrows > div {
		width: 17px;
		height: 35px;
		margin: 25px;
	}
}



.shape {
    position: absolute;
    width: 1000px;
    z-index: 0;
    --base-x: -70%;
    --y: 0px;
     top: 300px;
    transform: translate(var(--base-x), 0) translate3d(0, var(--y), 0);
    will-change: transform;
    pointer-events: none;

}



.shape.shape2{
  --base-x: -90%;
  top: 700px;
}


@media (prefers-reduced-motion: reduce){
  .shape{ transform: translate(var(--base-x),0) !important; }
}