.M23 {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.M23::after{
    top: -702px;
    transform: rotate(180deg);
    left: -350px;
    content: '';
    position: absolute;
    width: 900.861px;
    height: 1237.577px;
    background: radial-gradient(46.29% 66.66% at 62.65% 64.28%, #EDF2FE 15.96%, rgba(255, 255, 255, 0.00) 78.72%);
}

.M23::before{
    top: -702px;
    transform: rotate(180deg);
    right: -350px;
    content: '';
    position: absolute;
    width: 900.861px;
    height: 1237.577px;
    background: radial-gradient(46.29% 66.66% at 62.65% 64.28%, #EDF2FE 15.96%, rgba(255, 255, 255, 0.00) 78.72%);
}

.M23 .curtain{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    top: 0;
    right: 0;
    transition:all .6s ease-in;
    z-index: 3;
}

.M23.active .curtain{ width: 0%; }

.M23 .contInterior{
    opacity: 0.6;
    position: relative;
    max-width: 1064px;
    width: 100%;
    margin: 0 auto;
    height: 609px;
    display: flex;
    align-items:center;
    flex-direction:column;
    border-radius: 8px;
    box-shadow: 0 4px 12.8px 0 rgba(33, 37, 41, 0.15);
    overflow: hidden;
    padding: 50px;
    justify-content: center;
    transition: all .3s linear;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.M23.active .contInterior{ opacity: 1; }

.M23 .contInterior::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(33, 37, 41, 0.80) 0%, rgba(33, 37, 41, 0.80) 100%);
}

.M23 .interiorCont{
    position: relative;
    z-index: 1;
    max-width: 535px;
    width: 100%;
}

.M23 .interiorCont .superiorTitles .subtitulo,
.M23 .interiorCont .superiorTitles .subtitulo *{
    color: #FFF;
    text-align: center;
    font-family: "FS Emeric";
    font-size: 20px;
    font-style: normal;
    font-weight: 350;
    line-height: 120%; /* 24px */
    margin-bottom: 4px;
}

.M23 .interiorCont .superiorTitles .titulo{
    max-width: 482px;
    width: 100%;
    margin: 0 auto;
}

.M23 .interiorCont .superiorTitles .titulo,
.M23 .interiorCont .superiorTitles .titulo *{
    color: #FFF;
    text-align: center;
    font-family: "Gambetta Variable", "Gambetta", "FS Emeric";
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 43.2px */
    letter-spacing: -0.45px;
    margin-bottom: 24px;
}

.M23 .interiorCont .superiorTitles .texto,
.M23 .interiorCont .superiorTitles .texto *{
    color: #ECECEC;
    text-align: center;
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 350;
    line-height: 140%;
    margin-bottom: 35px;
}

.M23 .buttonBox{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.M23 .buttonBox .btnCta{
    padding: 7px 22px;
    border-radius: 100px;
    border: 1px solid #FFF;
    color: #FFF;
    text-decoration: unset;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background:transparent;
    transition: all .3s linear;
}

.M23 .buttonBox .btnCta:hover{
    background-color: #FFFFFF;
}

.M23 .buttonBox .btnCta span{
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%; /* 16px */
    letter-spacing: -0.25px;
    transition: all .3s linear;
}

.M23 .buttonBox .btnCta:hover span{
    color: #212529;
}

.M23 .buttonBox .btnCta svg{
    width: 14px;
    height: 14px;
}

.M23 .buttonBox .btnCta svg path{
    transition: all .3s linear;
}

.M23 .buttonBox .btnCta:hover svg path{
    stroke: #212529;
}

.M23 .buttonBox .btnCta.videoBtn{
    cursor: pointer;
}

.M23 .btnCta:focus,
.M23 .btnCta:focus-visible{
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
    border-radius: 100px;
}

.M23 .btnCta:active{
    opacity: 0.6;
}

/*Video*/
.M23 .contVideo {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 0 50px;
}

.M23 .contVideo.active {
    display: flex;
}

.M23 .videoPopup {
    position: relative;
    max-width:1148.32px;
    height: 645.93px;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.M23 video {
    width: 100%;
    height: 100%;
    display: block;
}

.M23 .closeVideo {
    color: #fff;
    border-radius: 4px;
    height: fit-content;
    text-align: center;
    line-height: 32px;
    font-size: 18px;
    cursor: pointer;
    background-color: transparent;
    transition: all .3s linear;
    border: unset;
    padding: 8px;
    position: absolute;
    transform: translateX(48px);
}

.M23 .closeVideo:hover {
    background:#FFFFFF;
}

/*Accesible States Btn*/
.M23 .closeVideo:focus,
.M23 .closeVideo:focus-visible{
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
    border-radius: 4px;
}

.M23 .closeVideo svg{
    width: 20px;
    height: 20px;
}

.M23 .closeVideo svg path{
    transition: all .3s linear;
}

.M23 .closeVideo:hover svg path{
    stroke: #303133;
}

.M23 .contVideo .videoCtrl{
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
}

@media screen and (max-width:992px){
    .M23 .closeVideo {
        transform: translateX(43px);
    }

    .M23 .contInterior{
        height: 500px;
        padding: 8px 20px;
    }

    .M23 .videoPopup{
        height: 510px;
    }

    .M23 .interiorCont .superiorTitles .subtitulo,
    .M23 .interiorCont .superiorTitles .subtitulo *{
        font-size: 16px;
        font-style: normal;
        font-weight: 350;
        line-height: 120%;
        margin-bottom: 4px;
    }

    .M23 .interiorCont .superiorTitles .titulo,
    .M23 .interiorCont .superiorTitles .titulo *{
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%; /* 33.6px */
        letter-spacing: -0.45px;
        margin-bottom: 24px;
    }

    .M23 .interiorCont .superiorTitles .texto,
    .M23 .interiorCont .superiorTitles .texto *{
        font-size: 16px;
        font-style: normal;
        font-weight: 350;
        line-height: 140%;
        margin-bottom: 35px;
    }

    .M23::after,
    .M23::before{ content: unset; }
}

@media screen and (max-width: 767px){
    .M23 .contInterior{
        height: 481px;
    }
    .M23 .buttonBox{
        flex-direction: column;
        gap: 12px;
    }
    .M23 .contVideo{
        padding: 0 30px;
    }
    .M23 .videoPopup{
        height: 500px;
    }
    .M23 .closeVideo{
        padding: 4px;
        transform: unset;
        right: 4px;
    }
    .M23 .closeVideo svg{
        width: 14px;
        height: 14px;
    }
    .M23 .interiorCont .superiorTitles .titulo{
        max-width: 75%;
        width: 100%;
    }
}
