
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    /* Colors */
    --c-white: #FAFBFD;
    --c-black: #2B2B2B;
    --c-purple--1: #DFDEFF;
    --c-purple--2: #A2ADFF;
    --c-purple--3: #7A79F3;
    --c-purple--4: #605FF4;
    --c-gold--1: #D7A84F;
    --c-gold--2: #C18514;

    /* Font size */
    --fs-12: 12px;
    --fs-14: 14px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-24: 24px;
    --fs-34: 34px;

    /* Font weight */
    --fw-regular: 400;
    --fw-semi-bold: 600;
    --fw-bold: 700;

    /* Padding */
    --site-padding: 23px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    line-height: 1.75;
}

body {
    min-height: 100vh;
    color: var(--c-black);
    background-color: #7A79F3;
    -webkit-font-smoothing: antialiased;
    font-family: 'Poppins', sans-serif;
    font-size: var(--fs-16);
    line-height: 1.75;
    overflow-y: initial;
}

body::before {
    content: '';
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(122, 121, 243, 1) 0%, rgba(162, 173, 255, 1) 50%, rgba(122, 121, 243, 1) 100%)
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

:is(a, a:hover, button) {
    text-decoration: none;
}

:is(a:visited, a:visited) {
    color:inherit;
}

li {
    list-style: none;
}


h2 {
    font-size: var(--fs-24);
    font-weight: var(--fw-bold);
    line-height: 1.15;
}

h3 {
    margin-bottom: 10px;
    font-size: var(--fs-16);
    font-weight: var(--fw-bold);
}

html.auto-hide-admin-bar.show-wpadminbar, html.auto-hide-admin-bar, html, html body, * html body {
    margin-top: 0!important;
}



main#primary {margin-top: 111px;}


/* Header */

.c-header {
    width: 100vw;
    padding: 23px;
    position: fixed;
    top: 0;
    z-index: 99;
    background-color: transparent;
    transition: all .3s ease-out;
    display: flex;
    justify-content: space-between;
}

.c-header__logo svg {
    fill: var(--c-white);
    transition: all .3s ease-out;
}

.c-header--scrolled {
    background-color: var(--c-white);
}

:is(.c-header--scrolled .c-header__logo svg, .c-header__logo--2 svg) {
    fill: var(--c-purple--3);
}


/* Burger */

.c-burger {
    width: 40px;
    height: 40px;
    padding: 14px 12px;
    border-radius: 10px;
    background-color: var(--c-white);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.c-burger span {
    width: 8px;
    height: 2px;
    background-color: var(--c-purple--3);
    transition: all .3s ease-out;
    pointer-events: none;
}

.c-burger span:nth-of-type(1) {
    background-color: var(--c-gold--1);
}

.c-burger span:nth-of-type(2) {
    width: 16px;
}

.c-burger:hover span:not(:nth-of-type(2)) {
    width: 16px;
}

.c-burger:hover span:nth-of-type(2) {
    width: 8px;
    transform: translateX(8px);
}

.c-burger.open span:nth-of-type(1) {
    width: 8px;
    transform: translate(7px, 1px) rotate(-45deg);
}

.c-burger.open span:nth-of-type(2) {
    width: 16px;
    transform: translateX(0px) rotate(45deg);
}

.c-burger.open span:nth-of-type(3) {
    width: 8px;
    transform: translate(1px, -2px) rotate(-45deg);
}

/* Menu */

.c-menu {
    width: 100%;
    height: 100vh;
    padding: 63px var(--site-padding);
    display: grid;
    grid-template-rows: 1fr auto;
    row-gap: 150px;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98;
    background-color: var(--c-white);
    transform: translateY(-150%);
    transition: transform .45s cubic-bezier(0.39, 0.58, 0.57, 1);
}

.c-menu.open {
    transform: translateY(0);
}

.c-menu__nav ul {
    row-gap: 32px;
}

.c-menu__nav ul>li:not(:last-of-type) a {
    color: var(--c-black);
    font-size: var(--fs-24);
    font-weight: var(--fw-bold);
}

.c-menu__nav ul>li:last-of-type {
    margin-top: 24px;
}

ul.c-menu-ul {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.l-menu__rs {
    display: flex;
    justify-content: center;
    column-gap: 36px;
}


/* CTA */

.c-cta {
    padding: 13px 20px;
    width: 300px;
    max-width: 100%;
    text-align: center;
    background: linear-gradient(45deg, var(--c-gold--2) 0%, var(--c-gold--1) 100%);
    color: var(--c-white);
    box-shadow: 0px 10px 20px 5px rgba(215, 168, 79, 0.36);
    font-weight: var(--fw-bold);
    border-radius: 10px;
    text-transform: uppercase;
}

/* Footer */

.c-footer {
    width: 100%;
    padding: 40px 23px 90px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    background-color: rgba(250, 251, 253, .9);
}

.c-footer > div,
.c-footer > nav {
    max-width:1400px;
    margin:auto;
    width:100%;
}

.c-footer__line {
    display: flex;
    gap: 90px;
}

.c-footer__line--1 {
    justify-content: space-between;
}

.c-footer__line--2 {
    gap: inherit;
}

.c-footer__line--3 {
    justify-content: center;
}

.c-footer__text {
    max-width: 400px;
    line-height: 1.5;
}

.c-footer__nav {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--c-purple--1);
    border-bottom: 1px solid var(--c-purple--1);
    font-size: var(--fs-12);
}

.c-footer__nav>ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-weight: var(--fw-semi-bold);
}

.c-footer__nav>ul a {
    color: var(--c-purple--3);
    padding: 0 8px;
}

.c-rs {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--c-purple--3);
}

.c-footer__rs>a {
    flex: 1;
}

.c-footer__copyright {
    color: var(--c-purple--2);
    font-size: var(--fs-12);
}


/* Single post */

body.single-post main#primary article {
    max-width: 1400px;
    margin: auto;
    background: #FFFFFF;
    padding: min(90px, 4vw);
    border-radius: 20px;
}

.post-thumbnail {
    height: 580px;
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px #00000030;
    margin-bottom: 45px;
}

.post-thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

.post-text-container {
    max-width: 810px;
    margin: auto;
}

.post-cats {
    display: flex;
    gap: 10px;
}

.post-cat-box {
    background: #D7A84F;
    color: #FFFFFF;
    padding: 0px 20px;
    border-radius: 5px;
}

h1.entry-title {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #2B2B2B;
    line-height: 1.2;
}

.post-author {
    display: flex;
}


.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
    margin: 30px 0px;
}

.comment-navigation .nav-next a, .posts-navigation .nav-next a, .post-navigation .nav-next a {
    background: #FFFFFF;
    padding: 15px 20px 15px 15px;
    border-radius: 10px 0 0 10px;
    color: initial;
    text-decoration: none;
}


.comment-navigation .nav-previous a, .posts-navigation .nav-previous a, .post-navigation .nav-previous a {
    background: #FFFFFF;
    padding: 15px 15px 15px 20px;
    border-radius: 0px 10px 10px 0px;
    color: initial;
    text-decoration: none;
}

.wp-block-separator {
    border: 0;
    height: 1px;
}

.post-back a {
    text-decoration: none;
    color: var(--c-purple--2);
}

.post-back {
    margin-bottom: 20px;
}



/* Page blog */

.wp-block-uagb-container.rounded-container > .uagb-container-inner-blocks-wrap {
    max-width: 1400px;
    margin: auto;
}

h1.has-text-align-center.mini-center-title {
    margin: -90px 0 60px 0;
}

.actualite-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.actualite-item-content .post-cats {
    margin-bottom: 15px;
}

.actualite-item {
    width: calc(66.6664% - 8px);
}

.actualite-item:nth-child(3n + 2), .actualite-item:nth-child(3n)
{
    width: calc(33.3334% - 8px);
}


.actualite-item {
    position: relative;
    display: block;
    height: 580px;
    border-radius: 20px;
    overflow: hidden;
}

.actualite-item-image {
    width: 100%;
    height: 100%;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.actualite-item:hover .actualite-item-image {
    width:104%;
    height:104%;
    margin-left:-2%;
    margin-top:-2%;
}

.actualite-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.actualite-item-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px;
    z-index: 2;
}

.actualite-item-content h4 {
    color: #FFFFFF;
    font-size: var(--fs-24);
    line-height: 1.2;
    margin-bottom: 10px;
}

.actualite-item-content {
    color: #FFFFFF;
}

.actualite-item:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 45%;
    background: #000000;
    background: rgb(0 0 0);
    background: linear-gradient(0deg, rgb(0 0 0 / 71%) 0%, rgba(62,61,69,0) 100%);
    z-index: 0;
}


/* ---------------------------------------------------------------------------------------
                                   RESPONSIVE
--------------------------------------------------------------------------------------- */


@media screen and (min-width:960px) {
    .c-header__logo svg {
        width: 65px;
        height: 65px;
    }

    .c-prelude {
        margin: 45px auto 50px;
        box-shadow: none;
        background: none;
        column-gap: 50px;
        align-items: flex-start;
    }

    .c-prelude p {
        margin-bottom: 15px;
    }

    .c-prelude__text-container section:last-of-type p {
        margin-bottom: 0;
    }

    .c-prelude__video-container {
        width: 350px;
        height: 325px;
        border-radius: 20px;
    }

    .c-prelude__video-container .video-player {
        height: 400px;
        object-fit: cover;
    }

}


@media screen and (max-width:1700px) {

    .c-footer {
        padding: 40px var(--site-padding) 90px;
    }
}

@media screen and (max-width:1400px) {
    .c-footer__line--1 {
        gap: 50px;
    }
}

@media screen and (max-width:1100px) {

    .actualite-item {
        width: 100%;
    }

    .actualite-item:nth-child(3n + 2), .actualite-item:nth-child(3n)
    {
        width: 100%;
    }

}

@media screen and (max-width:959px) {

    .c-white-container--2 {
        padding: 0px var(--site-padding) 10px;
    }

    .c-footer__line--1 {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .c-footer__nav>ul {
        justify-content: center;
    }
}

@media screen and (max-width:820px) {

    #tns1>.tns-item {
        font-size: 12px;
    }
}


@media screen and (max-width:450px) {

    .c-mails__inner {
        text-align: left;
    }
}