@import 'helpers.css';


* {
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

/* 
    Appliquer .gradient-text à un élément de texte pour lui donner un effet.
    Il faut au préalable lui définir son background avec un dégradé.
*/

.gradient-text{
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text !important;
    color: transparent;
}

/* 
    Petit code magique qui empêche les grilles
    de WordPress d'exploser mon layout en mobile
*/
@media screen and (max-width: 1024px){
    .is-layout-grid{
        grid-template-columns: repeat(auto-fill,minmax(100%,1fr));
    }
    .is-layout-grid >*{
        grid-column: auto;
    }
}


/* Pour éviter le padding systématique sur les éléments sur lesquels on applique une couleur de fond */
:where(.wp-block-columns.has-background) {
    padding: 0px;
}



.custom-form {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.custom-form form p{
    display:flex;
    width: 100%;
    background:orange;
}

.wpcf7-form-control-wrap{
    display:block;
    width: 100%;
}

.custom-form label {
    display: block;
}

.custom-form input[type="email"] {
    width: 100%;
    padding: var(--wp--preset--spacing--sm);
    border: 1px solid var(--wp--preset--color--custom-color-4);
}

.custom-form .wpcf7-spinner{
    display:none;
}


/*
.custom-form input[type="submit"] {
    background: #c9ac77;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
*/

input[type="submit"] {
    background: var(--wp--preset--color--custom-color-4);
    color: var(--wp--preset--color--custom-color-3);
    border-radius: 0;
    font-family: var(--wp--preset--font-family--numans);
    border:0px;
    padding:var(--wp--preset--spacing--sm);
}


/* Personnalisation du bloc de recherche */

.wp-block-search__inside-wrapper button{
    background-color: transparent;
}

.wp-block-search__button svg {    
    fill: var(--wp--preset--color--custom-color-4);
}



:root :where(.wp-element-button, .wp-block-button__link){
    display:inline-block;
    padding:12px 24px;
    background:#111;
    color:#fff;
    text-decoration:none;
    font-family:'Bricolage Grotesque',sans-serif;
    border-radius:5px;
    border-radius: 50px;
}




.section-menu-wrapper{
    position:fixed;
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 1;
}

.section-menu{
    background:white;
    margin:0 auto;
    display:flex;
    align-items: center;
    justify-content: center;
    margin:20px 0;
    padding:10px 20px;
    border-radius:25px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.section-menu p a{
    display:block;
    margin:0;
    font-size:20px;
    color:var(--wp--preset--color--custom-color-4);
    text-decoration: none;
}

.cols-2{
    column-gap: var(--gap1);
    column-fill: balance;
   
}
.cols-2 p:first-child{
    margin-top:0;
}

@media screen and (min-width:1024px){
    .cols-2{
        column-count: 2;
       
    }

}

.encart{
    /* padding:25px; */
    list-style-type: none;
    padding:10px;
    border:var(--wp--preset--color--custom-color-3) 1px solid;
    border-radius: 25px;
    max-width: 435px;
    margin:0 auto;
    padding:var(--wp--preset--spacing--sm);
}


.plus-sign{
    display:block;
    text-align: center;
    font-size:512px;
    line-height: 0.5;
}

.currency{
    font-family: 'Bricolage Grotesque', sans-serif;
    font-variation-settings: 'wght' 700;
}
