.pole-web-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 var(--container-space);
    & .pole-web-wrapper{
        display: flex;
        width: 100%;
        &:nth-child(1){
            & h2{
                display: flex;
                flex-direction: column;
                margin: 0;
                font-size: 262px;
                font-style: normal;
                font-weight: 700;
                text-transform: uppercase;
                position: relative;
                & span{
                    color: var(--color-primary);
                    &:nth-child(1){
                        position: absolute;
                        background: url(../../../assets/svg/pole.svg) no-repeat;
                        opacity: 0.2;
                        top: 50%;
                        left: 50%;
                        width: 649px;
                        height: 221px;
                    }
                    &:nth-child(2){
                        transform: translate(-20%, -50%);
                        z-index: 1;
                        color: var(--wp--preset--color--violet);
                        opacity: 0.8;
                    }
                }
            }

        }
        &:nth-child(2){
            & .pole-web-image{
                display: flex;
                width: 50%;
                position: relative;
                transform:  rotate(-8deg) rotateY(65deg);
                opacity: 0;
                & img{
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    transition: all .6s ease-in-out;
                    &.phone{
                        width: 266px;
                        height: 589px;
                    }
                    &.curve{
                        width: 266px;
                        height: 250px;
                        z-index: -2;
                        opacity: 0;
                        &.curve1{
                            transform: translate(-50%, -100%);
                            z-index: -4;
                        }
                        &.curve2{
                            transform: translate(-50%, -40%);
                            z-index: -3;
                        }
                        &.curve3{
                            width: 250px;
                            transform: translate(-50%, 10%);
                        }
                    }
                }
                
                & h2{
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, 0%) rotate(-90deg);
                    color: var(--wp--preset--color--blanc);
                    font-size: 110px;
                    font-weight: 300;
                    margin: 0;
                    opacity: 0;
                    z-index: -2;
                    & span{
                        font-weight: 600;
                    }
                }
            }
            & .pole-web-faq{
                display: flex;
                flex-direction: column;
                width: 50%;
                color: var(--wp--preset--color--blanc);
                gap: 2rem;
                & .pole-web-questions{
                    display: flex;
                    flex-direction: column;
                    color: var(--wp--preset--color--noir);
                    gap: 1rem;
                    & .pole-web-question{
                        background-color: var(--wp--preset--color--blanc);
                        border-radius: 20px;
                        & .pole-web-question-title {
                            display: flex;
                            position: relative;
                            & h3{
                                display: flex;
                                width: 85%;
                                padding: 1rem;
                                margin: 0;
                                align-items: center;
                                gap: 1rem;
                                justify-content: space-between;
                                position: relative;
                                cursor: pointer;
                                font-weight: 500;
                            }
                            & span{
                                display: flex;
                                width: 40px;
                                height: 40px;
                                background: url(../../../assets/svg/arrow-faq.svg) no-repeat;
                                transition: transform .6s ease-in-out;
                                position: absolute;
                                right: 1rem;
                                top: 50%;
                                transform: translateY(-50%);
                            }
                        }
                        & .pole-web-question-text{
                            display: grid;
                            grid-template-rows: 0fr;
                            transition: grid-template-rows .6s ease-in-out;
                            color: var(--wp--preset--color--noir);
                            & div{
                                overflow: hidden;
                                & div{
                                    padding: 1rem;
                                }
                            }
                        }
                        &.active{
                            & .pole-web-question-title{
                                & span{
                                    transform: translateY(-50%) rotate(-180deg);
                                }
                            }
                            & .pole-web-question-text{
                                grid-template-rows: 1fr;
                                & div{
                                    padding: 0 1rem;
                                }
                            }
                        }
                    }
                }
                & .wp-block-button{
                    width: fit-content;
                }
            }

        }
    }
}
@media (max-width: 768px) {
    .pole-web-container {
        width: 100vw;
        padding-top: 8rem;
        overflow: hidden;
        & .pole-web-wrapper {
            &:nth-child(1) {
                & h2 {
                    font-size: 200px;
                    & span {
                        &:nth-child(1) {
                            left: 70%;
                        }
                    }
                }
            }
            &:nth-child(2) {
                flex-direction: column;
                gap: 2rem;
                & .pole-web-image {
                    width: 100%;
                    height: 589px;
                }
                & .pole-web-faq {
                    width: 100%;
                }
            }
        }
    }
}
@media (max-width: 576px) {
    .pole-web-container {
        padding-top: 5rem;
        & .pole-web-wrapper {
            &:nth-child(1) {
                & h2 {
                    font-size: 100px;
                    & span {
                        &:nth-child(1) {
                            width: 301px;
                            height: 103px;
                            /* left: 70%; */
                            background: url(../../../assets/svg/pole-mobile.svg) no-repeat;
                        }
                    }
                }
            }
            &:nth-child(2) {
                flex-direction: column;
                gap: 2rem;
                & .pole-web-image {
                    width: 100%;
                    scale: 0.8;
                }
                & .pole-web-faq {
                    width: 100%;
                    align-items: center;
                    & .pole-web-infos{
                        & h2{
                            & span{
                                font-size: 35px!important;
                            }
                        }
                    }
                }
            }
        }
    }
}