*, html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html{
    --page-scroll-progress: 0;
}

body {
    margin: 0;
    color: #000;
    transition: background-color 1s;
    background-color: var(--wp--preset--color--base);
}

::-moz-selection {
    background-color:#fff;
    color: #000;
}
/* pour Safari et Chrome */
::selection {
    background-color:#fff;
    color: #000;
}

.nowrap{
    text-wrap: nowrap;
}

.grecaptcha-badge{
    display: none !important;
}

.separator{
    width: 60%;
    height: 1px;
    background-color: var(--wp--preset--color--base-2);
}

.txt-accent{
    color: var(--wp--preset--color--accent);
}

.txt-big{
    font-size: 1.2em;
    text-transform: uppercase;
}

.minus {
    font-size: 0.5em;
}

.flex-align-start{
    align-items: flex-start;
}

.mix-luminosity{
    mix-blend-mode: luminosity;
}

.line{
    width: 50px;
    height: 1px;
    background-color: var(--wp--preset--color--base);
}


.line-flex{
    width: auto;
    flex: 1;
}

.no-results{
    padding: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.pagination-container a.prev,
.pagination-container a.next{
    display: none;
}

a,
.btn{
    transition: all .2s ease-out;
    text-decoration: none;
}

.swiper-container{
    overflow: hidden;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide{
    flex-shrink: 0;
    position: relative;
}


/*****************
MENU
 */

header{
    position: relative;
    padding: 30px 0;
    margin-bottom: 0;
    font-size: 14px;
    z-index: 10;
}

header .wp-block-site-logo img{
    max-width: 250px;
}

.has-modal-open .wp-block-navigation__responsive-close{
    max-width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open{
    padding-top: 30px;
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg{
    width: 44px;
    height: 44px;
}

footer nav ul li a{
    font-family: "Futuro";
    text-transform: uppercase;
}

/********************
HOME
 */

.home-first-container{
    position: relative;
    z-index: 1;
}

.home-first-content figure{
    position: relative;
    z-index: 1;
}

.home-first-content h1{
}

.home-first-content p{
    position: relative;
    z-index: 1;
}

.home-first-content p.abs-center{
    position: absolute;
    top: 0;
    left: 45%;
    font-size: 12em;
    line-height: 1.2em;
    margin-top: 0;
    font-family: "Goliant";
    color: var(--wp--preset--color--contrast-2);
    z-index: 1;
}

.home-first-img{
    position: absolute;
    top: -10vh;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: .1;
    margin: 0;
    overflow-x: hidden;
}

.home-first-img svg{
    max-width: 200%;
}

.home-first-img svg .svg-elem-1 {
    stroke-dashoffset: 26233.08984375px;
    stroke-dasharray: 26233.08984375px;
    -webkit-transition: stroke-dashoffset 6s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    transition: stroke-dashoffset 6s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
}

.home-first-img svg.active .svg-elem-1 {
    stroke-dashoffset: 0;
}



.rounded-bg{
    position: relative;
    color: var(--wp--preset--color--base);
}

.rounded-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: var(--wp--preset--color--contrast);
    z-index: 1;
}

.rounded-bg p{
   z-index: 2;
}

.mix-blend{
    mix-blend-mode: difference;
    z-index: 1;
}

.no-mix-blend {
    mix-blend-mode: normal;
}

i.icon-star{
    display: inline-block;
    width: 15px;
    height: 14px;
    background-image: url(../images/star-rating.webp);
    background-size: cover;
}

i.icon-star.big{
    width: 20px;
    height: 19px;
}

.home-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.home-top h1 {
    font-size: 22vw;
    line-height: 1em;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.home-top h1 .minus {
    font-size: 0.68em;
    line-height: 1em;
}

.home-top-thumbnail {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Met l'espace entre les éléments */
    align-items: center; /* Centrage horizontal des enfants */
    width: 100%;
    height: 30vh;
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

.home-top-thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Couleur noire avec 20% d'opacité */
    z-index: -1; /* Place le pseudo-élément derrière le contenu du conteneur */
    pointer-events: none; /* Empêche toute interaction avec le voile */
}

.skeeper-rewiews{
    display: flex;
    position: relative;
    width: 100%;
}

.skeeper-rewiews .rating__value{
    display: none;
}

.skeeper-rewiews .skeepers_carousel_container{
    justify-content: center;
}

.skeepers_carousel_container .carousel-container .slide-arrow{
    color: var(--wp--preset--color--base) !important;
}

.skeeper-rewiews .skeepers_carousel_container .carousel-content {
    background: transparent !important;
    border: 0 !important;
}

.skeeper-rewiews .skeepers_carousel_container .carousel-content .review__rating {
    color: var(--wp--preset--color--base) !important;
}


.skeeper-rewiews .skeepers_carousel_container .carousel-container{
    width: 100% !important;
}

.skeeper-rewiews .skeepers_carousel_container .carousel-container .carousel__comment p{
    font-family: 'Futuro' !important;
    color: var(--wp--preset--color--base) !important;
}

.skeeper-rewiews .skeepers_carousel_container .carousel-container .carousel__comment p.skeepers-content{
    font-size: 1em !important;
    font-weight: 700 !important;
}

.skeeper-rewiews .skeepers_carousel_container .swiper-pagination-bullet{
    background-color: var(--wp--preset--color--contrast-2);
}

.home-top-thumbnail .slogan {
    font-size: 9vw;
    white-space: nowrap;
    font-family: "Goliant";
    z-index: 1000;
    color: var(--wp--preset--color--base);
    opacity: 0;
    animation:  fadeIn 0.3s ease-out 1.2s forwards;
}

.home-top-thumbnail a{
    z-index: 1000;
    font-size: 13vw;
    font-family: "Goliant";
    color: var(--wp--preset--color--base);
    text-decoration: none;
    line-height: .7em;
    opacity: 0;
    animation:  fadeIn 0.4s ease-out 2s forwards;
}

.home-top-thumbnail a .small-text{
    font-size: 0.5em;
    line-height: 1em;
    display: block;
}

form {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
form label {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
form label span {
    text-transform: uppercase;
}
form input,
form select,
form textarea{
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--black);
    color: var(--wp--preset--color--contrast-2);
    border-radius: 20px;
    padding: 10px 20px;
    width: 100%;
    text-shadow: none;
    -webkit-appearance: none;
    font-size: 1.2em;
    font-weight: 300;
    display: flex;
}

input, select, textarea{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    text-shadow: none;
    -webkit-appearance: none;
}


form input::placeholder,
form textarea::placeholder {
    font-style: italic;
    font-weight: 300;
    color: var(--wp--preset--color--contrast);
}

form .wpcf7-not-valid-tip{
    color: var(--wp--preset--color--accent);
    font-size: .8em;
}

.wpcf7 form .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output{
    margin: 10px 0;
    padding: 10px;
    border: 1px solid var(--wp--preset--color--accent);
}


form input.submit{
    border: 1px solid var(--wp--preset--color--black);
    background: var(--wp--preset--color--contrast-2);
    color: var(--wp--preset--color--base);
    padding-left: 10px;
    padding-right: 10px;
    font-size: 30px;
    font-family: "Goliant";
}

.history .hentry{
    position: relative;
}

.history .hentry .wp-block-post-featured-image {
    isolation: isolate;
}

.history .hentry .history-content{
    position: relative;
}

.history .hentry .wp-block-group{
    z-index: 10;
}

.history .hentry .wp-block-group.big-date{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 0;
}

.history .hentry .wp-block-group.big-date time{
    font-size: 35vw;
    color: var(--wp--preset--color--contrast-2);
}

.post-template-single-history time{
    font-family: "Goliant";
}

.single .wp-block-post-featured-image img{
    border-radius: 80px;
}

@media (min-width: 768px) {
    .history .hentry .history-alternate{
        margin-top: -130px;
        padding-left: 60%;
    }

    .history .hentry:nth-child(even) .history-alternate{
        padding-left: 0;
        padding-right: 60%;
    }
}

/* Au niveau le plus haut du code */
@media screen and (min-width: 1024px) {
    .home-first-img{
        top: -20vh;
    }
    .home-first-img svg {
        max-width: 100%;
    }
}

@media screen and (min-width: 1240px) {
}
