/*
 * Customisation et surcharge du Framework Bulma
 * 
 * 
 * @author LGI Sustainable innovation
 * @version 1
 * 
 */

html {
    scroll-padding-top: 8rem;
}

:root {
    --title-txt-color: #052c4a;
    --main-blue: #1e6091;
    --main-dark-green: #99d98c;
    --main-medium-green: #8ac27e;
    --main-light-green: #d9ed92;
    --main-white: #f7f7f7;
}

@font-face {
    font-family: "Montserrat";
    src: url(../webfonts/Montserrat/static/Montserrat-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: "Poppins-bold";
    src: url(../webfonts/Poppins/Poppins-Bold.ttf);
    font-display: swap;
}
@font-face {
    font-family: "Poppins-regular";
    src: url(../webfonts/Poppins/Poppins-Regular.ttf);
    font-display: swap;
}

::selection {
    color: var(--main-white);
    background-color: var(--main-blue);
}

body {
    overflow-x: hidden;
}

body,
button {
    font-family: "Poppins-regular", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    color: var(--title-txt-color);
}

h1 {
    font-family: "Poppins-bold", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    font-size: clamp(2rem, 7vw, 5rem);
    color: white;
    font-weight: 700;
    line-height: 40px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--title-txt-color);
    text-wrap: pretty;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

h3 {
    font-weight: 500;
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 2rem;
}

main p {
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
    z-index: 10;
    color: var(--main-txt-color);
}

.navbar a {
    font-family: "Montserrat_semibold", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    color: var(--main-white);
}

main a.btn {
    padding: 10px 25px;
    border: 1px solid var(--main-blue-dark);
    border-radius: 50px;
}

/* -------------------------- */
/* Components */
/* -------------------------- */

.title-hr h2 {
    margin-bottom: 0px;
    text-align: left;
}
.title-hr hr {
    height: 4px;
    width: 100%;
    background-color: var(--main-blue);
    margin-top: 14px;
}

.bg-all-hexa {
    background: url(../../images/home/bg-all-hexa.png) top/ cover;
    height: 130vh;
    align-content: center;
}

.green {
    color: var(--main-light-green) !important;
}
.dark-green {
    color: var(--main-dark-green) !important;
}

.white {
    color: white !important;
}

.btn-primary {
    background-color: var(--main-light-green);
    border-radius: 20px;
    padding: 10px 26px;
    color: var(--title-txt-color);
    transition: all 0.1s ease-out;
}
.btn-primary:hover {
    background-color: var(--title-txt-color);
    color: var(--main-light-green);
}
.btn-secondary {
    background-color: var(--title-txt-color);
    border-radius: 20px;
    padding: 10px 26px;
    color: var(--main-light-green);
    transition: all 0.1s ease-out;
}

.footer-btn {
    background-color: var(--main-white);
    color: var(--title-txt-color);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease-out;
}
.footer-btn:hover {
    transform: translate(100px, 0px);
}

@media screen and (max-width: 750px) {
    .bg-all-hexa {
        height: auto;
    }
}

/* -------------------------- */
/* ---video container -------------- */
/* -------------------------- */

.container-video-home {
    max-width: 670px;
    margin: 50px auto;
}

.container-video-home .video-container {
    position: relative;
    padding-bottom: 56.25%;
    border: -1px;
    height: 0;
    background: url(../../images/newsroom/video-bg.webp) center/cover;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
}

.consent-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.671);
    backdrop-filter: blur(5px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.consent-banner p {
    font-size: 17px !important;
    font-weight: 600;
    padding: 50px;
    color: black;
}

.consent-banner a {
    color: var(--main-color-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--main-color-blue);
    transition: 0.1s ease-out;
}

.consent-banner a:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-bottom: 2px solid var(--main-color-blue);
}

.consent-button {
    width: 135px;
    height: 40px;
    color: white;
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 400;
    font-family: "Roboto", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
    background: transparent;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
        7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
    outline: none;
    background: var(--main-color-blue);
    border: none;
    z-index: 1;
    background-image: none !important;
}

.consent-button:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: var(--main-color-lightBlue);
    border-radius: 5px;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
        7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.consent-button:hover {
    color: #fff;
}
.consent-button:hover:after {
    left: 0;
    width: 100%;
}
.consent-button:active {
    top: 2px;
}
@media screen and (max-width: 730px) {
    .container-video-home {
        width: 300px;
    }
    .consent-banner p {
        font-size: 12px !important;
        padding: 20px 30px;
    }
}

/* -------------------------- */
/* scroller div */
/* -------------------------- */

.scroller {
    width: 95%;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    height: 140px;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(
        90deg,
        transparent,
        white 20%,
        white 80%,
        transparent
    );
    mask: linear-gradient(
        90deg,
        transparent,
        white 20%,
        white 80%,
        transparent
    );
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s)
        var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 80s;
}

.scroller img {
    height: 100%;
    width: 100%;
    max-height: 80px;
    max-width: 250px;
    object-fit: contain;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

@media screen and (max-width: 750px) {
    .scroller__inner {
        gap: 2rem;
        height: 110px;
    }

    .scroller[data-speed="slow"] {
        --_animation-duration: 60s;
    }
}

/* -------------INTERSECTION OBSEVER------------------------------ */

/* Selecteur sur les atttributs "reveal-" */
[class*="reveal-"] {
    opacity: 0;
    transform: translateY(40px);
}

[class*="revealRL-"] {
    opacity: 0;
    transform: translateX(-80%);
}

[class*="revealR-"] {
    opacity: 0;
    transform: translateX(80%);
}
[class*="revealBig-"] {
    filter: blur(20px);
}

.reveal-visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0px) scale(1);
    transition: 2s cubic-bezier(0.5, 0, 0, 1), filter 0.7s linear;
    transform-origin: bottom left;
}

/* Les elements 2 et plus seront révélés avec un délai, ce qui n'est pas le cas de reveal-1 */
.reveal-2,
.revealRL-2,
.revealR-2 {
    transition-delay: 0.1s;
}
.reveal-3,
.revealRL-3,
.revealR-3 {
    transition-delay: 0.2s;
}
.reveal-4 {
    transition-delay: 0.3s;
}
.reveal-5 {
    transition-delay: 0.4s;
}
.reveal-6 {
    transition-delay: 0.5s;
}
.reveal-7 {
    transition-delay: 0.55s;
}
.reveal-8 {
    transition-delay: 0.6s;
}

/* ------------------ */
/* ------------------------Navbar */
/* ------------------ */

.section.container:has(.navbar) {
    position: absolute;
    top: 0;
    padding: 0rem 2rem;
    width: 100%;
    max-width: 100%;
    z-index: 10;
}

.navbar {
    background-color: transparent;
    z-index: 0 !important;
    height: 100px;
}

.navbar-item {
    padding: 0px 1.3rem;
    transition: color 0.15s ease-out !important;
}

.navbar-item img {
    width: 220px;
    object-fit: cover;
    max-height: none;
}

.navbar-item.is-hoverable:hover .navbar-link {
    background-color: transparent;
    height: 100px;
}

.navbar-menu {
    justify-content: flex-end;
    margin-right: 5rem !important;
}

.navbar-end {
    align-items: center;
    gap: 1rem;
    transition: translate 0.5s ease-in-out;
}
.navbar-end .navbar-item,
.navbar-end .navbar-link {
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
    font-weight: 500;
}

.navbar-dropdown {
    padding-block: 0px !important;
    background-color: transparent;
    backdrop-filter: blur(4px);
    border-top: 2px solid #ffffff4a;
}

.navbar-dropdown a.navbar-item {
    padding-block: 0.8rem;
    color: white !important;
}

.navbar-dropdown a.navbar-item:hover {
    background-color: rgba(106, 112, 226, 0.25) !important;
    color: var(--main-txt-color) !important;
}
.navbar-fixed .navbar-dropdown a.navbar-item:hover {
    color: #052c4a !important;
}

.navbar-fixed .navbar-dropdown a.navbar-item {
    color: #052c4a !important;
}

.navbar-link:hover,
.navbar-item:hover {
    background-color: transparent !important;
    color: var(--main-light-green) !important;
}

.navbar-link {
    cursor: context-menu;
}

.navbar-link:not(.is-arrowless)::after {
    height: 0.45em;
    width: 0.45em;
    border-color: var(--main-white);
}
.navbar-item:hover .navbar-link:not(.is-arrowless)::after {
    height: 0.45em;
    width: 0.45em;
    border-color: var(--main-light-green);
}

#btn-lang {
    border: 1px solid white;
    padding: 10px 15px;
    border-radius: 8px;
}

#btn-lang:hover,
#contact-cta:hover {
    background-color: white;
    color: var(--txt-color-title);
}

#btn-lang {
    border: 1px solid red;
    padding: 10px 15px;
    border-radius: 13px;
    position: relative;
}

#btn-lang:hover {
    background-color: white;
}

#btn-lang:hover .btn-lang-card {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%);
}

.btn-lang-card {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 200%;
    left: 50%;
    transform: translate(-50%, -80%);
    width: 200px;
    color: var(--main-blue-dark);
    font-size: 13px;
    border-radius: 0px 0px 6px 6px;
    padding: 16px 15px;
    user-select: none;
    /* transition: transform 0.15s ease-out, opacity 0.2s ease; */
    text-transform: capitalize !important;
    /* box-shadow: 7px 5px 4px 0 rgba(0, 0, 0, 0.17); */
    z-index: 100;
    background-color: #ffffffab;
    backdrop-filter: blur(4px);
    border-top: 2px solid #ffffff4a;
    margin-top: 11px;
}

.btn-lang-card i {
    font-size: 16px;
    padding-right: 5px;
}

.navbar-menu-burger #btn-lang {
    border: 2px solid white;
    color: white;
}
.navbar-menu-burger #btn-lang i {
    margin-right: 6px;
}

#btn-lang {
    display: none;
    position: relative;
    padding: 10px 15px;
    border-radius: 8px;
    height: 45px;
    width: 45px;
    cursor: pointer;
    transition: border.15s ease-out;
    border: 1px solid white;
}

@media (min-width: 768px) {
    #btn-lang > i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 22px;
        color: var(--main-white);
        transition: color 0.15s ease-out;
    }
}

/* ------------------ */
/* ------------------------Navbar-Mobile */
/* ------------------ */

.navbar-menu-burger.is-active {
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
}

.navbar-menu-burger {
    background-color: #ffffff;
    background-image: linear-gradient(
            to top in lch,
            var(--main-light-green),
            var(--title-txt-color)
        ),
        url();
    background-position: 65% 45%;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateX(100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 150vh;
    padding: 10% 40px;
    transition: transform 0.5s ease-out;
    visibility: hidden;
    opacity: 0;
}

.navbar-menu-burger .navbar-start {
    margin: auto;
    text-align: center;
}

.navbar-menu-burger .navbar-start li {
    list-style: none;
    margin-bottom: 14px;
    text-align: left;
}
.navbar-menu-burger .navbar-start li a {
    color: white;
    font-size: 1.4rem !important;
    letter-spacing: -0.5px !important;
    line-height: 24px !important;
}

.navbar-menu-burger .navbar-start .navbar-link {
    padding-bottom: 0.8rem;
}

.navbar-menu-burger .navbar-start a,
.navbar-menu-burger .navbar-start div {
    font-size: 18px;
    font-weight: 500;
}

.navbar-menu-burger a:hover {
    color: black;
}

.navbar-burger {
    height: 5.25rem;
    scale: 1.5;
    margin-right: 1rem;
}

.title-gray {
    font-size: 1.4rem;
    color: #ffffff36;
}

li:has(.title-gray) ul {
    border-left: 1px solid #ffffff36;
}

@media screen and (max-width: 750px) {
    .navbar-item {
        padding: 0px;
    }
}
@media screen and (min-width: 950px) {
    .navbar-menu-burger.is-active {
        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;
    }
}

/* -------------------------- */
/* Footer */
/* -------------------------- */

footer {
    position: relative;
    font-family: "Montserrat", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #185583, #0b283e);
}

footer .img-bg {
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 0;
}

.EUDisclaimer {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: 30px;
    color: var(--main-white);
    margin-right: 4rem;
    text-align: justify;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer :is(ul a, li, h3) {
    color: var(--main-white);
}

.footer {
    padding: 3rem 1.5rem 2rem;
    padding-top: 80px;
    color: white;
    background: transparent;
}

.footer ul a:hover {
    color: var(--main-light-green);
}
.footer li {
    margin-bottom: 14px;
}

.contact-info-footer a {
    color: var(--main-white) !important;
}

.contact-info-footer a:hover {
    color: var(--main-light-green) !important;
}

.social-icon {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.social-icon i:first-child {
    font-size: 1.8rem;
}

.copyright {
    padding: 1rem 0rem;
}
.copyright a {
    font-weight: 700;
}

@media screen and (max-width: 750px) {
    .copyright {
        flex-direction: column;
        gap: 20px;
    }
    .copyright div {
        text-align: center;
    }

    .EUDisclaimer {
        margin-right: 0rem;
    }
}
/* ------------------------------------------------ */
/* --------------------NEW ARICLE---------------------------- */
/* ------------------------------------------------ */

main article h2 {
    font-size: clamp(18px, 2.5vw, 24px) !important;
    text-align: left;
}

main article span,
main article p {
    text-align: justify;
    line-height: 30px;
    text-wrap: pretty;
}

.news-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

a:has(.news-card) {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}
a .news-card {
    display: flex;
    gap: 2rem;
}
a:nth-child(even) .news-card {
    flex-direction: row-reverse;
}
a .news-card .img-container {
    flex: 2;
}
a .news-card .news-card-txt {
    flex: 3;
    /* padding-block: 2rem; */
    align-content: center;
}

a:has(.news-card) h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
    font-weight: 400;
    text-align: left;
    color: #232536;
    font-family: "Poppins-bold", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a:has(.news-card) strong {
    color: var(--main-blue);
    font-size: 20px;
    font-family: "Poppins-bold", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}
a:has(.news-card) span {
    color: #6d6e76;
}

a:has(.news-card) p {
    font-size: 16px !important;
    color: #6d6e76 !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
    font-weight: 400;
    color: var(--txt-color-title);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a:has(.news-card) img {
    /* aspect-ratio: 16 / 13; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: 0.15s ease-out;
}
a:has(.news-card):nth-child(n + 4) img {
    aspect-ratio: 16 / 10;
}

.news-card-info span {
    font-size: 12px;
}

.sideListNews {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
}
.sideListNews > a {
    flex: 1;
}
.sideListNews h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--main-dark-green);
}
.sideListNews :is(p, span) {
    display: none;
}

.sideListNews img {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 8px;
}

@media screen and (min-width: 750px) {
    .news-container a:has(.news-card):nth-child(N + 4) {
        width: 21%;
    }
    .news-container a:nth-child(N + 4) .news-card {
        flex-direction: column;
        max-height: fit-content;
    }

    .news-container a:nth-child(N + 4) .news-card :is(span, p) {
        display: none;
    }
    .news-container a:nth-child(N + 4) .news-card h3 {
        font-size: 1.1rem !important;
    }
    .news-container a .news-card {
        max-height: 300px;
    }
}

@media screen and (max-width: 750px) {
    a .news-card {
        flex-direction: column;
        gap: 0rem;
    }
    a:nth-child(even) .news-card {
        flex-direction: column;
    }
}

/* ------------------------------------------------ */
/* --------------------HOME---------------------------- */
/* ------------------------------------------------ */

header {
    position: relative;
    align-content: center;
    height: 100vh;
    background: url(../../images/Fond-bleu-flouté/FOND-tout.webp) center / cover;
    position: relative;
    background-attachment: fixed;
    background-position: top center;
}

header .img-bg {
    position: absolute;
    right: 0;
    top: 0;
}

.header {
    position: relative;
    text-align: center;
    z-index: 2;
}

.header-home {
    position: relative;
    margin-inline: 8rem;
    width: 50%;
}

.header-home p {
    color: var(--main-light-green);
    margin-block: 4rem;
    max-width: 500px;
}

.numbers-home {
    background: url(../../images/Fond-bleu-flouté/Rocks.webp) center/cover;
    aspect-ratio: 16 / 7;
    height: 100%;
    align-content: center;
}

.numbers-home .is-4 {
    text-align: center;
}

.numbers-home .is-4 p {
    color: white;
    font-size: clamp(1.4rem, 4vw, 2rem) !important;
}
.numbers-home .counter {
    color: white;
    font-size: clamp(2rem, 5vw, 4rem);
}

.updates-container .columns {
    max-width: 880px;
    margin: 0 auto;
}
.updates-container .is-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}
.updates-container .is-4:nth-child(2) {
    flex-direction: column-reverse;
}
.updates-container .is-4 div {
    border-radius: 24px;
    width: 100%;
}

.updates-container .is-4 div:first-child {
    height: 200px;
}
.updates-container .is-4 div:last-child {
    height: 300px;
}

.news-home-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1rem;
    width: 100%;
    max-width: 900px;
    margin: 0px auto;
    height: 720px;
    margin-bottom: 2rem;
    grid-template-areas:
        "item1 item1 item2 item2 item3 item3"
        "item4 item4 item2 item2 item6 item6"
        "item4 item4 item5 item5 item6 item6";
}

.news-home-container .news-card {
    flex-direction: column !important;
}
.news-home-container > a {
    border-radius: 24px;
    border: 3px solid white;
    transition: border 0.1s ease-out, box-shadow 0.15s ease-out;
}
.news-home-container .news-card {
    height: 100%;
    padding: 2rem;
}
.news-home-container .news-card-txt {
    align-content: end !important;
}
.news-home-container .news-card-txt h3 {
    font-size: clamp(1rem, 2vw, 1.3rem) !important;
    color: white !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-home-container .news-card-txt p {
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
    color: rgba(255, 255, 255, 0.767) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-home-container > a:nth-child(1) {
    grid-area: item1;
    height: 300px;

    z-index: 1;
}
.news-home-container > a:nth-child(1) .news-card {
    background-color: #99d98cb7;
}
.news-home-container > a:nth-child(1):hover {
    border: 3px solid #99d98c;
    box-shadow: 0 0 5px rgba(153, 217, 140, 0.5),
        0 0 10px rgba(153, 217, 140, 0.3), 0 0 15px rgba(153, 217, 140, 0.2),
        0 0 20px rgba(153, 217, 140, 0.1);
}

.news-home-container > a:nth-child(2) {
    grid-area: item2;
    height: 400px;
}
.news-home-container > a:nth-child(2) .news-card {
    background-color: #d9ed92b6;
}
.news-home-container > a:nth-child(2):hover {
    border: 3px solid #d9ed92;
    box-shadow: 0 0 5px rgba(217, 237, 146, 0.5),
        0 0 10px rgba(217, 237, 146, 0.3), 0 0 15px rgba(217, 237, 146, 0.2),
        0 0 20px rgba(217, 237, 146, 0.1);
}
.news-home-container > a:nth-child(3) {
    grid-area: item3;
    height: 300px;
}
.news-home-container > a:nth-child(3) .news-card {
    background-color: #1e5f91b9;
}
.news-home-container > a:nth-child(3):hover {
    border: 3px solid #1e5f91;
    box-shadow: 0 0 5px rgba(30, 95, 145, 0.5), 0 0 10px rgba(30, 95, 145, 0.3),
        0 0 15px rgba(30, 95, 145, 0.2), 0 0 20px rgba(30, 95, 145, 0.1);
}
.news-home-container > a:nth-child(4) {
    grid-area: item4;
}
.news-home-container > a:nth-child(4) .news-card {
    background-color: #052c4abb;
}
.news-home-container > a:nth-child(4):hover {
    border: 3px solid #126fb6;
    box-shadow: 0 0 5px rgba(18, 111, 182, 0.5),
        0 0 10px rgba(18, 111, 182, 0.3), 0 0 15px rgba(18, 111, 182, 0.2),
        0 0 20px rgba(18, 111, 182, 0.1);
}
.news-home-container > a:nth-child(5) {
    grid-area: item5;
    height: 300px;
}
.news-home-container > a:nth-child(5) .news-card {
    background-color: #f7f7f7c9;
}
.news-home-container > a:nth-child(5):hover {
    border: 3px solid #f7f7f7;
    box-shadow: 0 0 5px rgba(128, 128, 128, 0.3),
        0 0 10px rgba(128, 128, 128, 0.2), 0 0 15px rgba(128, 128, 128, 0.1),
        0 0 20px rgba(128, 128, 128, 0.05);
}
.news-home-container > a:nth-child(6) {
    grid-area: item6;
}
.news-home-container > a:nth-child(6) .news-card {
    background-color: #99d98cc0;
}
.news-home-container > a:nth-child(6):hover {
    border: 3px solid #99d98c;
    box-shadow: 0 0 5px rgba(153, 217, 140, 0.5),
        0 0 10px rgba(153, 217, 140, 0.3), 0 0 15px rgba(153, 217, 140, 0.2),
        0 0 20px rgba(153, 217, 140, 0.1);
}

@media screen and (max-width: 768px) {
    .news-home-container {
        grid-template-columns: 1fr; /* Une seule colonne */
        grid-template-rows: repeat(6, auto); /* 6 rangées */
        height: auto; /* Hauteur automatique */
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5"
            "item6";
        gap: 0.8rem; /* Réduire l'espace entre les cartes */
    }

    /* Régler la hauteur de chaque carte pour mobile */
    .news-home-container > a {
        height: 250px !important; /* Forcer la même hauteur pour toutes les cartes */
    }

    /* Réduire le padding à l'intérieur des cartes */
    .news-home-container .news-card {
        padding: 1.5rem;
    }

    /* Ajuster le texte pour qu'il soit plus compact */
    .news-home-container .news-card-txt h3 {
        -webkit-line-clamp: 2; /* Limiter à 2 lignes */
    }

    .header-home {
        position: relative;
        margin-inline: auto;
        width: 80%;
    }

    .img-bg {
        display: none;
    }

    .numbers-home {
        background: url(../../images/Fond-bleu-flouté/Rocks.webp) center/cover;
        aspect-ratio: initial;
        height: 100%;
        align-content: center;
    }
    .numbers-home .is-4 {
        mix-blend-mode: difference;
    }

    .numbers-home .columns {
        display: flex;
    }
}

/* ------------------------------------------------ */
/* --------------------ABOUT---------------------------- */
/* ------------------------------------------------ */

.fixed-bg {
    background: url(../../images/Fond-bleu-flouté/FOND-tout.webp) center/cover;
    position: relative;
    background-attachment: fixed;
    background-position: top center;
}

.europe-map {
    position: relative;
    height: 100vh;
    min-height: 600px;
    align-content: center;
}
.europe-map .img-bg {
    position: absolute;
    top: -10rem;
    right: 0;
    width: 50%;
}
#europeMap {
    position: absolute;
    top: -10rem;
    right: 0;
    width: 50%;
}

.workpackage .columns {
    max-width: 1050px;
    margin-inline: auto;
}
.workpackage .is-6 {
    padding: 3rem 4rem;
    color: white !important;
    background-color: #ffffff40;
    margin: 0.3rem;
    user-select: none;
    filter: blur(4px);
    transition: filter 0.3s ease-out;
}
.workpackage .is-6:hover {
    filter: blur(0px);
}
.workpackage .is-6 h3 {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.roadmap {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    align-content: center;
}
.roadmap .img-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

@media screen and (max-width: 750px) {
    .europe-map,
    .roadmap {
        height: auto;
    }
    .workpackage .is-6 {
        filter: blur(0px);
    }
}

/* ------------------ */
/* ------------------------Accordeon */
/* ------------------ */

/* ------------------ */
/* --- Navbar Scroll Behavior --- */
/* ------------------ */

.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgb(255, 255, 255);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(5, 44, 74, 0.1);
    animation: slideDown 0.3s ease-in-out;
    padding: 0.5rem 0;
    border-bottom: 4px solid var(--main-light-green);
}

.navbar-fixed > * {
    color: var(--title-txt-color);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-fixed a {
    color: var(--main-blue) !important;
    font-weight: 500;
    transition: color 0.2s ease-out;
    z-index: 999;
}
.navbar-fixed a img {
    margin-left: 2rem;
}

.navbar-fixed a:hover {
    color: var(--main-dark-green) !important;
}

.navbar-fixed .navbar-link:not(.is-arrowless)::after {
    border-color: var(--main-blue);
}

.navbar-fixed .navbar-link:hover:not(.is-arrowless)::after {
    border-color: var(--main-dark-green);
}

.navbar-fixed .navbar-dropdown {
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 2px solid var(--main-light-green);
}

.navbar-fixed #btn-lang {
    border-color: var(--main-blue);
}

.navbar-fixed #btn-lang:hover {
    background-color: var(--main-blue);
    color: var(--main-white);
}

/* ------------------ */
/* ------------------------COMMUNICATION */
/* ------------------ */

.newsletter-container {
    position: relative;
    height: 100vh;
    align-content: end;
    overflow: hidden;
    margin-top: -6rem;
}

.newsletter-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../images/Fond-bleu-flouté/Single-rock.webp) top/cover;
    z-index: -1;
}

.newsletter-container .accordion-header {
    height: auto;
}
.newsletter-container :is(h2, li) {
    color: white;
}
.newsletter-container .accordions h4 {
    color: white;
    font-size: 18px;
    letter-spacing: 0.5px;
}
.newsletter-container .accordion {
    background-color: transparent;
    backdrop-filter: blur(0px);
    border: 2px solid white;
    border-radius: 10px;
}

.newsletter-container .accordion-content {
    position: relative;
    padding: 0px 56px;
}
.newsletter-container .accordion-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 47px;
    width: 1px;
    height: 100%;
    background-color: #ffffff9c;
}

@media screen and (max-width: 580px) {
    .newsletter-container::before {
        background: url(../../images/calendar/calendar-bg.webp) top/cover;
    }
    .newsletter-container {
        height: auto;
    }
}

/* ------------------ */
/* ------------------------DELIVERABLES */
/* ------------------ */

.deliverables-container {
    width: 100%;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.deliverables-header {
    display: flex;
    background-color: var(--main-blue);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.deliverables-content {
    display: flex;
    flex-direction: column;
}

.deliverables-col {
    padding: 12px 15px;
}

.deliverables-header .deliverables-col {
    color: white;
}

.deliverables-accordion {
    margin-bottom: 1px;
}

.deliverables-accordion-header {
    display: flex;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
    border-left: 3px solid #ffffff;
}

.deliverables-accordion-header:hover {
    background-color: rgba(30, 96, 145, 0.05);
}

.deliverables-accordion-header.active {
    background-color: rgba(30, 96, 145, 0.08);
    border-left: 3px solid var(--main-blue);
}

.deliverables-accordion-header.active + .deliverables-accordion-panel {
    /* border-left: 3px solid #ebebeb; */
}

.deliverables-accordion-header.active
    + .deliverables-accordion-panel
    .deliverables-item {
    border-left: none;
}

.deliverables-accordion-header .deliverables-col {
    font-weight: normal;
}

.deliverables-accordion-header .deliverables-col strong {
    font-weight: 600;
}

.deliverables-accordion-panel {
    display: none;
    flex-direction: column;
}

.deliverables-item {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
    border-left: 3px solid #ebebeb !important;
}

.deliverables-item:hover {
    background-color: #f1ffee !important;
    border-left: 3px solid var(--main-medium-green) !important;
}

.deliverables-item:nth-child(odd) {
    background-color: rgba(30, 96, 145, 0.02);
}

.deliverables-item:nth-child(odd):hover {
    background-color: rgba(30, 96, 145, 0.05);
}

.deliverables-header .deliverables-col:nth-child(1),
.deliverables-accordion-header .deliverables-col:nth-child(1),
.deliverables-item .deliverables-col:nth-child(1) {
    flex: 0 0 60px;
}

.deliverables-header .deliverables-col:nth-child(2),
.deliverables-accordion-header .deliverables-col:nth-child(2),
.deliverables-item .deliverables-col:nth-child(2) {
    flex: 1;
}

.deliverables-header .deliverables-col:nth-child(3),
.deliverables-accordion-header .deliverables-col:nth-child(3),
.deliverables-item .deliverables-col:nth-child(3) {
    flex: 0 0 100px;
}

.deliverables-header .deliverables-col:nth-child(4),
.deliverables-accordion-header .deliverables-col:nth-child(4),
.deliverables-item .deliverables-col:nth-child(4) {
    flex: 0 0 100px;
}

@media screen and (max-width: 768px) {
    .deliverables-header {
        display: none;
    }

    .deliverables-accordion-header,
    .deliverables-item {
        flex-direction: column;
        padding: 10px 0;
    }

    .deliverables-accordion-header .deliverables-col,
    .deliverables-item .deliverables-col {
        padding: 5px 15px;
        position: relative;
        padding-left: 40%;
        text-align: right;
    }

    .deliverables-accordion-header .deliverables-col:before,
    .deliverables-item .deliverables-col:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: 600;
    }

    .deliverables-accordion-header .deliverables-col:nth-child(1),
    .deliverables-accordion-header .deliverables-col:nth-child(2),
    .deliverables-accordion-header .deliverables-col:nth-child(3),
    .deliverables-accordion-header .deliverables-col:nth-child(4),
    .deliverables-item .deliverables-col:nth-child(1),
    .deliverables-item .deliverables-col:nth-child(2),
    .deliverables-item .deliverables-col:nth-child(3),
    .deliverables-item .deliverables-col:nth-child(4) {
        flex: 1;
    }

    .accordion-icon {
        float: right;
        margin-top: 0;
    }
}
