/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.header-page::before{
    content:"";
    position: absolute;
    background-image: url('/wp-content/uploads/2023/10/bruit.webp');
    z-index: -1;
    opacity: 0.2;
    background-size: 175px;
    animation: grain 1s steps(1) infinite;
    height: 200%;
    left: -25%;
    top: -50%;
    width: 200%;
}
@keyframes grain {
    0%, 100% { transform:translate(0, 0) }
    10% { transform:translate(-2%, -2%) }
    20% { transform:translate(-3%, 2%) }
    30% { transform:translate(2%, -2%) }
    40% { transform:translate(-2%, 1%) }
    50% { transform:translate(-2%, 2%) }
    60% { transform:translate(2%, 2%) }
    70% { transform:translate(1%, 1%) }
    80% { transform:translate(2%, 1%) }
    90% { transform:translate(-1%, 2%) }
}
@media screen and (max-width:500px){
    .header-page::before{
        background-size: 115px;
    }
}

/** BTN **/
.bricks-button{
    position: relative;
    justify-content: space-between;
    z-index: 0;
    transition: all .5s ease;
    gap:1em;
}
/*** line ***/
.bricks-button::before,
.bricks-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: .5s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0s;
}
.bricks-button::before {
    transform: scaleX(0);
    transform-origin: left;
}
.bricks-button::after {
    transform-origin: right;
    transition-delay: 0.15s;
}
.bricks-button:focus::before,
.bricks-button:hover::before {
    transform: scaleX(1);
    transition-delay: 0.15s;
}
.bricks-button:focus::after,
.bricks-button:hover::after {
    transform: scaleX(0);
    transition-delay: 0s;
}
/*** icon ***/
.bricks-button i{
    font-size: 1em;
    overflow: hidden;
    z-index: -1;
    color:currentColor;
}
.bricks-button i::before,
.bricks-button i::after{
    transition: all .5s cubic-bezier(0.19, 1, 0.22, 1);
}
.bricks-button i::before{
    position: absolute;
    transform: translateX(-100%);
}
.bricks-button i::after{
    content: "\f28a";
    font-family: Ionicons;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}
.bricks-button:hover i::before,
.bricks-button:focus i::before{
    transform: translateX(0%); 
}
.bricks-button:hover i::after,
.bricks-button:focus i::after{
    margin-left: 100%;
}

/** brxe-post-content WORDPRESS GUTENBERG CONTENT **/
blockquote{
    font-family: inherit;
    font-size:1em;
    border-color:#e2e2e2;
}
main :where(.brxe-text) a,
main :where(a.brxe-text),
.brxe-post-content a{
    font-weight: 700;
    background-size: 100% 100%;
    transition: all 300ms ease-in-out 0ms;
    background-image: linear-gradient(transparent calc(100% - 0.1em), currentColor 1px);
    background-repeat: no-repeat;
}
main :where(.brxe-text) a:hover,
main :where(a.brxe-text):hover,
.brxe-post-content a:hover,
main :where(.brxe-text) a:focus,
main :where(a.brxe-text):focus,
.brxe-post-content a:focus{
    background-color:var(--bricks-color-yjbfhl);
    background-size: 0% 100%;
}
.brxe-post-content a[target="_blank"]::after{
    content: "\f33b";
    font-family: Ionicons;
    position: relative;
    display: inline-block;
    font-size: 0.9em;
    margin-left: 5px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}
.brxe-post-content ul,
.brxe-post-content ol{
    margin: 2em 0;
    padding:1.5em;
    background-color:#f5f5f5;
    list-style-position: inside;
}
.brxe-post-content ul > li:not(:last-child),
.brxe-post-content ol > li:not(:last-child){
    margin-bottom: .75em;
}
.brxe-post-content .wp-block-image, 
.brxe-post-content .wp-block-video,
.brxe-post-content figcaption,
.brxe-post-content figure{
    margin: 0.5em 0;
}
/** blob gradient mesh **/
.blobs{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
}
.blobs .blob{
    position:absolute;
    filter: blur(60px) saturate(200%);
}
.blobs .blob-one{
    background: radial-gradient(circle, var(--bricks-color-cjnvfo) 0%, rgba(244,163,152,0.1) 100%); 
    height: 125%;
    aspect-ratio: 1/1;
    right: 0;
    top: -10%;
    z-index: 1;
    mix-blend-mode: lighten;
    transform: translate(50%, -50%);
    border-radius: 100%;
}
.blobs .blob-two{
    background: radial-gradient(circle, rgb(159, 237, 215) 0%, rgba(159,237,215,0) 85%);
    height: 90%;
    aspect-ratio: 1/1;
    right: 5%;
    bottom: -10%;
    z-index: -1;
    border-radius: 100%;
}
.blobs .blob-three{
    background: radial-gradient(circle, rgb(90, 131, 247) 0%, rgba(129,160,247,0.3) 100%);
    height: 68%;
    aspect-ratio: 1/1;
    right: -6%;
    bottom: 7%;
    mix-blend-mode: color-burn;
}
.blobs .blob-four{
    height: 15%;
    width: 60%;
    right: -3%;
    bottom: -6%;
    background-color: #8735b3;
    border-top-left-radius: 100%;
    opacity: .8;
    rotate: -2deg;
}
@media screen and (max-width:500px){
    .blobs .blob{
        filter: blur(35px) saturate(150%);
    }
    .blobs .blob-two{
        right: 25%;
        bottom: 5%;
        height:75%;
    }
    .blobs .blob-three{
        right: -10%;
        background:var(--bricks-color-yskftu);
    }
    .blobs .blob-four{
        width: 100%;
        opacity: .9;
        rotate: 0deg;
    }
}

/** PROJETS **/
/*** listing projets ***/


/*** single projet ***/
.infos-client:last-child{
    margin-bottom:0 !important;
}


/** PAGE CONTACT **/
/*** contact form ***/
.input, 
input:not([type="submit"]), 
select, 
textarea{
    line-height: normal;
}
.brxe-form-multistep label{
    margin-bottom:10px;
}
.brxe-form-multistep .brf-steps::before{
    content:'';
    position:absolute;
    top:1.5em;
    left:0;
    width:100%;
    height:3px;
    background-color: var(--bricks-color-lunujd);
    z-index: -1;
}
.brxe-form-multistep .brf-steps .brf-step{
    counter-increment: step;
    display:flex;
    flex-direction:column;
    align-items: center;
    background-color:#fff;
    border-left: 1em solid #fff;
    border-right: 1em solid #fff;
}
@media screen and (max-width:1130px){
    .brxe-form-multistep .brf-steps .brf-step{
        border-left: .4em solid #fff;
        border-right: .4em solid #fff;
    }  
}
.brxe-form-multistep .brf-steps .brf-step:first-child{
    border-left: none;
}
.brxe-form-multistep .brf-steps .brf-step:last-child{
    border-right: none;
}
.brxe-form-multistep .brf-steps .brf-step::before{
    content: counter(step);
    justify-content: center;
    align-items: center;
    display: flex;
    height: 1.5em;
    width: 1.5em;
    font-size: 2em;
    color:#fff;
    line-height: 1;
    margin-bottom: .2em;
}
@media screen and (max-width:478px){
    .brxe-form-multistep .brf-steps::before{
        top:1.2em;
    }
    .brxe-form-multistep .brf-steps .brf-step::before{
        height: 1.2em;
        width: 1.2em;
    }
}
.brxe-form-multistep .brf-steps .brf-step:nth-child(1)::before{background-color:var(--bricks-color-yskftu);}
.brxe-form-multistep .brf-steps .brf-step:nth-child(2)::before{background-color:var(--bricks-color-yjbfhl);}
.brxe-form-multistep .brf-steps .brf-step:nth-child(3)::before{background-color:var(--bricks-color-cjnvfo);}
.brxe-form-multistep .brf-steps .brf-step:nth-child(4)::before{background-color:var(--bricks-color-iyjcgw);}

.brxe-form-multistep .brf-steps .brf-step.current::before{
    border: 2px solid var(--bricks-color-lunujd);
}
.brxe-form-multistep .step-progress{
    margin-left: auto;
}
.brxe-form-multistep .bricks-button.summary,
.brxe-form-multistep .submit-button-wrapper{
    order: 1;
    margin-left: 20px;
    width: auto;
}
.brxe-form-multistep #brf-summary{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.brxe-form-multistep .message.success{
    order: 2;
}