/*
 * Customisation et surcharge du Framework Bulma
 * 
 * 
 * @author LGI Sustainable innovation
 * @version 1
 * 
 */

html {
    scroll-padding-top: 8rem;
}

:root {
    --title-txt-color: #424242;
    --main-txt-color: #646a78;
    --main-blue-royal: #3e47f0;
    --main-coral: #ef8e8a;
    --main-coral-light: rgba(239, 142, 138, 0.5);
    --secondary-violet: #6a70e2;
    --secondary-yellow: #ffb866;
    --secondary-yellow-light: rgba(255, 184, 102, 0.5);
    --secondary-pink: #d378c3;
}

@font-face {
    font-family: "DM-sans";
    src: url(../webfonts/DM_Sans/DMSans-VariableFont.ttf);
    font-display: swap;
}

@font-face {
    font-family: "Ginora";
    src: url(../webfonts/ginora/Ginóra-Sans-Bold.otf);
    font-display: swap;
}

::selection {
    color: white;
    background-color: var(--secondary-violet);
}

body {
    font-family: "DM-sans", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: var(--title-txt-color);
    background: linear-gradient(
        168deg,
        rgba(239, 142, 138, 0.15) 20.88%,
        rgba(231, 140, 143, 0.15) 60.6%,
        rgba(106, 112, 226, 0.15) 91.71%
    );
}
h1,
h2 {
    font-family: "Ginora", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif !important;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem) !important;
    color: white;
    text-shadow: 0px 4px 4px #383f512b;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3.5rem);
    text-align: center;
    color: var(--secondary-violet);
}

h3 {
    font-weight: 600;
    font-size: clamp(16px, 2vw, 22px);
}

p {
    font-size: clamp(16px, 2vw, 18px) !important;
    z-index: 10;
    color: var(--main-txt-color);
}

main a {
    color: var(--secondary-violet);
    text-decoration: underline;
    transition: 0.15s ease-out;
    font-size: clamp(16px, 2vw, 20px) !important;
    z-index: 10;
}
main a:hover {
    color: var(--secondary-violet);
    text-decoration: none;
}

.button {
    width: fit-content;
    z-index: 10;
}

/* -------------------------- */
/* Components */
/* -------------------------- */

@media screen and (min-width: 1260px) {
    .section.container:has(.navbar) {
        padding: 0rem 0rem !important;
        max-width: fit-content !important;
    }
}
@media screen and (max-width: 1260px) {
    .navbar-brand {
        width: 100%;
    }
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-left {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
}

.flex-mix {
    display: flex;
    justify-content: center;
    align-items: center;
}

.violet {
    color: var(--main-blue-royal);
}
.violet-light {
    color: var(--secondary-violet);
}

.is-primary {
    background-color: var(--main-coral) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.13);
    transition: background-color 0.15s ease-out !important;
}

.is-primary:hover {
    background-color: var(--secondary-violet) !important;
}

.is-large {
    font-size: clamp(16px, 2vw, 19px) !important;
    padding: 23px 40px !important;
}

.colored {
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 730px) {
    .flex-mix {
        flex-direction: column;
    }
}

/* -------------------------- */
/* ---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: "ginora", "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;
    }
}

/* -------------INTERSECTION OBSEVER------------------------------ */

/* Selecteur sur les atttributs "reveal-" */
[class*="reveal-"] {
    opacity: 0;
    transform: translateY(-30px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0px);
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

/* 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 {
    transition-delay: 0.1s;
}
.reveal-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 */
/* ------------------ */

/* Override Bulma breakpoint: afficher le menu mobile à partir de 1260px */
@media screen and (max-width: 1260px) {
    .navbar-menu {
        display: none !important;
    }
    .navbar-burger {
        display: block !important;
    }
}

@media screen and (min-width: 1261px) {
    .navbar-menu {
        display: flex !important;
    }
    .navbar-burger {
        display: none !important;
    }
}

.section.container:has(.navbar) {
    padding: 0rem 0rem;
}

.navbar {
    background-color: transparent;
}

.navbar-item {
    padding: 0px 1.3rem;
}

.navbar-item img {
    height: 100px;
    width: 100px;
    max-height: none;
}

.navbar-item.is-hoverable:hover .navbar-link {
    background-color: transparent;
}

.navbar-menu {
    justify-content: space-between;
}

.navbar-end {
    margin-left: 6%;
}
.navbar-end .navbar-item,
.navbar-end .navbar-link {
    font-size: clamp(14px, 2vw, 16px) !important;
    font-weight: 700;
}

.navbar-dropdown {
    padding-block: 0px !important;
}

.navbar-dropdown a.navbar-item {
    padding-block: 0.8rem;
}

.navbar-dropdown a.navbar-item:hover {
    background-color: rgba(106, 112, 226, 0.25) !important;
    color: var(--main-txt-color) !important;
}

.navbar-link:hover,
.navbar-item:hover {
    background-color: transparent !important;
    color: var(--main-blue-royal) !important;
}

.navbar-link:not(.is-arrowless)::after {
    height: 0.45em;
    width: 0.45em;
}

.header-Social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
nav .header-Social {
    margin-left: 20px;
}

.header-Social a div {
    font-size: 22px;
    color: white;
    background-color: var(--main-blue-royal);
    padding: 5px 11px;
    border-radius: 100px;
    position: relative;
    height: 42px;
    width: 42px;
}

.header-Social a div i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ------------------ */
/* ------------------------Navbar-Mobile */
/* ------------------ */

.navbar-menu-burger.is-active {
    transform: translateX(0%);
}

.navbar-menu-burger {
    background-color: #ffffff;
    background-image: linear-gradient(
            168deg,
            rgb(253 253 253 / 70%),
            rgb(250 199 201 / 81%) 42.6%,
            rgb(196 198 245 / 94%) 67.71%
        ),
        url(../../images/home/Header.webp);
    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: 0% 40px;
    transition: 0.5s ease-out;
}

.navbar-menu-burger .navbar-start {
    margin: auto;
    text-align: center;
}

.navbar-menu-burger .navbar-start li {
    list-style: none;
    margin-bottom: 15px;
}
.navbar-menu-burger .navbar-start li a {
    font-size: 20px !important;
}
.navbar-menu-burger .header-Social a div {
    background: var(--secondary-violet);
}

.navbar-menu-burger .navbar-start .navbar-link {
    padding-bottom: 0.8rem;
}

.navbar-menu-burger .header-Social {
    margin-top: 40px;
}

.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: 6.25rem;
}

@media screen and (max-width: 750px) {
    .navbar-item {
        padding: 0px;
    }
}

/* -------------------------- */
/* Footer */
/* -------------------------- */

.EUDisclaimer {
    text-align: justify;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 30px;
}

.footer-img img {
    width: 100%;
}

footer {
    background-color: var(--secondary-violet) !important;
    padding: 3rem 1.5rem !important;
    margin-top: 80px;
}
footer,
footer a,
footer p,
footer h3 {
    color: white;
}
footer,
footer p,
.copyright a {
    font-size: 14px !important;
}

footer a:hover {
    color: var(--main-coral);
}

footer .columns h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.NewsSuscribe {
    background-color: var(--main-coral);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 45px;
    border-radius: 10px;
    box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.13);
    margin: -88px auto 50px auto;
    width: 70%;
    transition: background-color 0.15s ease-out;
}
.NewsSuscribe:hover {
    background-color: var(--secondary-yellow);
}

.NewsSuscribe h3 {
    font-size: 36px;
    font-weight: 500;
}

.contact-info-footer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
}

.contact-info-footer a {
    font-size: clamp(14px, 2vw, 16px) !important;
    margin-inline: 30px;
}

.footer .header-Social a div {
    font-size: 22px;
    color: var(--secondary-violet);
    background-color: white;
}
.footer .header-Social a div .fa-regular {
    font-size: 22px;
    color: var(--secondary-violet);
}

/* --- FOOTER IMG ANIMATION */

.footer-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

/* footer:hover .footer-img-container img:last-child {
  left: 0%;
  opacity: 1;
}
footer:hover .footer-img-container img:first-child {
  left: 100%;
  opacity: 0;
} */

.footer-img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-img-container img:first-child {
    transition: left 1s ease-out, opacity 0.5s ease-out;
}
.footer-img-container img:last-child {
    left: -100%;
    opacity: 0;
    transition: left 1s ease-out, opacity 0.5s ease-out;
}

.footer-img-container img {
    max-height: 220px;
    object-fit: contain;
}

footer .is-3 {
    margin-top: 35px;
}

footer .is-3:last-child div {
    margin: auto;
    width: fit-content;
}

footer .is-3 h3 {
    margin-bottom: 44px;
}
footer .is-3 li {
    margin-bottom: 13px;
}

footer .is-3 li:hover .fa-regular {
    transform: translateX(3px);
}

footer .fa-regular {
    margin-right: 14px;
    color: white;
    transition: transform 0.15s ease-out;
}

footer hr {
    width: 100%;
    background-color: white;
    margin: 40px auto;
    height: 1px;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 750px) {
    footer .NewsSuscribe h3 {
        font-size: 25px;
        text-align: center;
        text-wrap: pretty;
    }
    footer .NewsSuscribe {
        /* flex-direction: column; */
        gap: 20px;
        padding: 20px;
        width: 100vw;
        margin: -115px auto 50px -24px;
        border-radius: 0px;
        transform: scale(1);
    }

    .contact-info-footer {
        flex-direction: column;
        gap: 10px;
    }

    .contact-info-footer a {
        margin-left: 0px;
    }

    .copyright {
        flex-direction: column;
        gap: 20px;
    }
    .copyright div {
        text-align: center;
    }
}

/* -------------------------- */
/* HOME */
/* -------------------------- */

.homepage {
    min-height: calc(100vh - 100px);
    background: url(../../images/home/Header.webp) center/cover;
    max-width: 100% !important;
    border-image: fill 0 linear-gradient(#fbfbfbb5, #fff0);
}

.homepage h1 {
    color: #424242;
    width: 50%;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.homepage .flex-container img {
    width: 395px;
    height: 395px;
}

.section.container:has(.number-container) {
    position: relative;
    min-height: 100vh;
}
#first-img {
    position: absolute;
    width: auto;
    top: -48px;
    left: -1000px;
    /* transform: translate(0%, -50%); */
    height: 100vh;
}
#second-img {
    position: absolute;
    width: auto;
    top: -48px;
    right: -1000px;
    /* transform: translate(0%, -50%); */
    height: 100vh;
}

#first-img img,
#second-img img {
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    width: 850px;
}

.flex-column-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 300px;
    width: 50%;
    margin: auto;
    gap: 13vh;
}

.flex-column-container p {
    font-size: clamp(16px, 3vw, 20px) !important;
}

.columns:has(.number-container) {
    width: 100%;
    margin-bottom: 0px;
}

.number-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 25px;
    padding-bottom: 30px;
    border: double 5px transparent;
    background-image: linear-gradient(#fbeeee, #fbeeee),
        linear-gradient(
            4deg,
            rgba(255, 184, 102, 1) 0%,
            rgba(242, 150, 132, 1) 60%,
            rgba(239, 142, 138, 1) 100%
        );
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.number-card,
.txt {
    color: var(--secondary-violet);
    font-weight: 700;
    font-family: "Ginora", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}

.number-card {
    font-size: 64px;
}

.number-container .txt {
    font-size: clamp(16px, 2vw, 20px);
}

@media screen and (max-width: 750px) {
    #first-img img,
    #second-img img {
        display: none;
    }
    .flex-container {
        flex-direction: column;
    }

    .homepage {
        border-image: fill 0 linear-gradient(#fbfbfb00, #ffffff7a);
        padding: 1rem;
    }

    .homepage .flex-container img {
        width: 250px;
        height: 250px;
    }
    .homepage h1 {
        width: 100%;
        text-align: center;
    }

    .columns:has(.number-container) {
        width: 75%;
    }

    .number-container {
        margin-bottom: 40px;
    }
    .news-container a {
        margin-bottom: 40px;
        width: 75%;
        margin-inline: auto;
    }
    .section:has(.scroller) {
        padding: 1rem;
    }
    .scroller {
        margin-bottom: 0px;
    }
}

/* ------------------------------------------------ */
/* --------------------NEWS CARD HOME---------------------------- */
/* ------------------------------------------------ */

.news-container .columns .column {
    padding: 0px;
}

a:has(.news-categorie):hover .news-categorie img {
    animation: swing 0.6s ease-out;
}

@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.newsBox {
    border: 4px solid var(--secondary-violet);
    border-radius: 16px;
    display: grid;
    grid-template-rows: 60% 40%;
    overflow: hidden;
    padding: 0px;
    background-color: transparent;
}

a:has(.newsBox):hover .center button {
    color: var(--secondary-violet);
    text-decoration: underline;
}
a:has(.newsBox):hover .center button i {
    transform: translateX(4px);
}
a:has(.newsBox) .center button i {
    transition: all 0.1s ease-out;
    font-size: 18px;
}

a:has(.newsBox) .center button {
    transition: all 0.15s ease-out;
    font-size: 16px;
}

.news-categorie {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.news-categorie img {
    width: 24px;
}

.news-categorie span {
    font-size: 24px;
    font-weight: 700;
    color: var(--main-coral);
}

.newsBox-info h2 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 800 !important;
    color: black;
    transition: all 0.15s ease-out;
}

a:has(.newsBox):hover .newsBox-info h2 {
    color: var(--secondary-violet);
}

.newsBox-txt {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.newsBox-txt p {
    font-size: 16px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsBox-txt button {
    padding: 0px;
}

.news-img-container {
    height: 30%;
}

.btn-reverse.btn-arrow {
    background: transparent;
    border: none;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-reverse.btn-arrow i {
    padding-left: 10px;
}
/* -------------------------- */
/* scroller div */
/* -------------------------- */

.scroller {
    /* max-width: 1000px; */
    width: 95%;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    height: 200px;
}

.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: 60s;
}

.scroller img {
    max-width: 160px;
    object-fit: contain;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

/* ------------------------------------------------------------------- */
/* -------------- theproject ---------------------------------- */
/* ------------------------------------------------------------------- */

.header-light {
    min-height: 350px;
    height: 45vh;
}

.header-light h1 {
    text-align: center;
    margin-top: 4%;
    color: var(--secondary-violet);
    font-weight: 700;
}

.a-c {
    position: relative;
    max-width: 100% !important;
    min-height: 80vh;
    padding: 0 !important;
    margin: 100px auto 0px;
    overflow: hidden;
}

.a-c img {
    position: absolute;
    top: 10%;
    right: -20%;
    object-fit: cover;
    width: 50vw;
    height: 80%;
    max-height: 600px;
    border-radius: 40px 0 0 40px;
    box-shadow: 12px 12px 20px 0px rgba(0, 0, 0, 0.1);
}

.a-c div {
    width: 50%;
    padding: 60px;
    z-index: 2;
    margin: auto;
    margin-right: 40%;
    margin-top: 50px;
}

.card-container-square {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 80px;
}

.card-square {
    width: 350px;
    aspect-ratio: 16/14;
    border-radius: 20px;
    background-color: #ef8e8a7d;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    gap: 15px;
}

.card-square:nth-child(odd) {
    background-color: #ffb8668c;
}

.card-square b {
    text-align: center;
    font-weight: 700 !important;
    font-size: 22px !important;
    color: var(--main-txt-color);
    text-wrap: pretty;
    line-height: 30px;
}
.card-square p {
    text-align: center;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: var(--main-txt-color);
}

.a-d {
    position: relative;
    max-width: 100% !important;
    min-height: 80vh;
    padding: 0 !important;
    margin: 100px auto 0px;
}

.a-d img {
    position: absolute;
    top: 0%;
    left: -25%;
    object-fit: cover;
    width: 50vw;
    height: 95%;
    max-height: 600px;
    border-radius: 0 40px 40px 0;
    box-shadow: 12px 12px 20px 0px rgba(0, 0, 0, 0.1);
}

.a-d div {
    width: 60%;
    max-width: 750px;
    padding: 60px;
    z-index: 2;
    margin: auto;
    margin-left: 35%;
    margin-top: 50px;
}

.a-d li {
    list-style: disc;
}

@media screen and (max-width: 750px) {
    .header-light {
        min-height: 250px;
        height: 30vh;
    }
    .a-c {
        margin: 50px auto 0px;
    }
    .a-c img {
        top: 9%;
        right: -10%;
        width: 37vw;
        height: 20%;
        display: none;
    }
    .a-c div {
        width: 100%;
        position: relative;
        padding: 0px 60px;
    }

    .a-d {
        margin: 50px auto 0px;
    }
    .a-d img {
        top: 9%;
        right: -10%;
        width: 37vw;
        height: 20%;
        display: none;
    }
    .a-d div {
        width: 100%;
        position: relative;
        padding: 0px 60px;
        margin-left: 0%;
    }
}

/* -------------------------- */
/* -----------THe Consortium */
/* -------------------------- */

.card-partners {
    max-width: 400px;
    width: 32vw;
    min-width: 315px;
    aspect-ratio: 16/11;
    border-radius: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    border: double 5px transparent;
    background-image: linear-gradient(#fbeeee, #fbeeee),
        linear-gradient(
            4deg,
            rgba(255, 184, 102, 1) 0%,
            rgba(242, 150, 132, 1) 60%,
            rgba(239, 142, 138, 1) 100%
        );
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card-partners-container {
    display: flex;
    justify-content: space-evenly;
    gap: 80px;
    flex-wrap: wrap;
}

.card-partners-container a:hover .card-partners img {
    filter: grayscale(0);
}

.card-partners img {
    width: 50%;
    filter: grayscale(1);
    transition: filter 0.15s ease-out;
}

.card-partners-container a:hover .card-partners span {
    text-decoration: underline;
}

.card-partners span {
    text-align: center;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 700;
}

/* ------------------------------------------------ */
/* --------------------HERITAGE TOWN---------------------------- */
/* ------------------------------------------------ */

.heritage-card-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
    margin-top: 80px;
}

.heritage-card {
    position: relative;
    width: 40%;
    min-width: 315px;
    border-radius: 50px;
    overflow: hidden;
    aspect-ratio: 16/13;
}

.heritage-card img {
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: 0.5s ease;
    scale: 1.5;
    object-fit: contain;
}

.heritage-card:hover img {
    opacity: 0.2;
}

.heritage-card:hover .heritage-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.heritage-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    opacity: 0;
    transition: all 0.3s;
    width: fit-content;
    text-align: center;
}

.heritage-content h3 {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: calc(20px + 2vw);
    letter-spacing: 1px;
    color: var(--main-blue-royal);
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.heritage-content hr {
    background-color: var(--main-blue-royal) !important;
    margin: 0 !important;
    height: 1px;
}

/* ------------------------------------------------ */
/* --------------------REPORTS---------------------------- */
/* ------------------------------------------------ */

div:has(.accordion-header) {
    border: 3px solid var(--secondary-yellow);
    background-color: white;
    border-radius: 15px;
    padding: 10px 30px;
    width: 100%;
    max-width: 1150px;
    margin: auto;
}

.accordion-header {
    cursor: pointer;
}
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.ressources .accordion-header {
    border-bottom: 1px solid var(--secondary-yellow);
    padding: 10px 0;
    margin-top: 10px;
}

.ressources .accordion:last-child .accordion-header {
    border-bottom: none;
}
.accordion-content {
    padding-left: 2rem;
}

.ressources .accordion h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #1c3f63;
    user-select: none;
}
.ressources .accordion i {
    color: var(--secondary-yellow);
    font-size: 1em;
    margin-right: 15px;
}
.ressources ul {
    padding-top: 20px;
}
.ressources ul li {
    padding: 5px 0;
    margin-right: 15%;
}
.ressources ul li .tag {
    float: right;
    margin-right: -15%;
}
.ressources ul li a {
    color: #54a9fb;
}

/* ------------------------------------------------ */
/* --------------------NEWS PAGE---------------------------- */
/* ------------------------------------------------ */

.list-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-news-container .columns a {
    margin-block: 80px 10px;
    display: flex;
}

.list-news a {
    display: block;
    width: 30%;
}

/* ------------------------------------------------ */
/* --------------------NEW ARICLE---------------------------- */
/* ------------------------------------------------ */

.is-8.news {
    padding-right: 50px;
}

.is-8.news img {
    border-radius: 16px;
}

.news-content {
    padding: 2rem;
    border: 4px solid var(--secondary-violet);
    border-radius: 16px;
    overflow: hidden;
}

.news-content h1 {
    color: var(--secondary-violet);
    font-size: clamp(1.4rem, 4.5vw, 2rem) !important;
    text-align: left;
    margin-bottom: 35px;
}
.news-content h3 {
    font-size: clamp(16px, 2vw, 20px);
}

.news-content b {
    color: black;
}

.news-content li,
.news-content a {
    color: var(--main-txt-color);
    font-size: clamp(16px, 2vw, 18px) !important;
}

.news-content .content a {
    border-bottom: 3px solid var(--secondary-violet);
    padding-bottom: 0px;
}

.news-content a:hover {
    background-color: #d5d7fd;
}

.news-content .news-categorie {
    align-items: flex-start;
    gap: 1rem;
}

.news-content .news-categorie img {
    width: 2.5rem;
    padding-top: 8px;
}
.news-content .content-date {
    color: black;
    font-weight: 800;
    margin-bottom: 1em;
}

.news-content .tags p {
    color: var(--main-coral);
}

.news-content .tags i {
    font-size: 2.5rem;
    color: var(--main-coral);
    transition: color 0.15s ease-out;
}
.news-content .tags a:hover i {
    color: var(--secondary-violet);
}

.is-4 .news {
    background-color: transparent;
    box-shadow: none;
    padding-top: 0px;
}

.is-4 .news h4 {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: "Ginora", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif !important;
    margin-bottom: 20px;
}
.is-4 .sideListNews {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}

.is-4 .sideListNews .newsBox {
    max-width: 300px;
}

.sideListNews h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 750px) {
    .news-content {
        border: none;
        padding: 0rem;
    }
    .news-content .news-categorie {
        flex-direction: column;
    }
    .news-content .news-categorie img {
        align-self: center;
    }

    .news-content h1 {
        text-align: center;
    }
    .is-8.news {
        padding-right: 0px;
    }
}

/* --TEST */

section:has(.horizontal-scroll) {
    margin-top: 150px;
    margin-bottom: 50px;
}

.panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Ginora", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif !important;
    font-size: 2em;
    color: var(--secondary-yellow);
    font-weight: 700;
    font-size: clamp(3.5rem, 6vw, 5rem);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    border-radius: 0px;
    /* margin-top: 10vh;
  margin-inline: 10vh; */
}

.panel span.city,
.carousel-panel span.city {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0%);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-weight: 400;
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.panel.part1,
.carousel-panel.part1 {
    background: url(../../images/home/MANTOVA.webp) center/cover;
}
.panel.part2,
.carousel-panel.part2 {
    background: url(../../images/home/TALLINN.webp) center/cover;
}
.panel.part3,
.carousel-panel.part3 {
    background: url(../../images/home/TRONDHEIM.webp) center/cover;
}
.panel.part4,
.carousel-panel.part4 {
    background: url(../../images/home/GHENT.webp) center/cover;
}

.horizontal-scroll {
    display: flex;
    width: 400vw;
    position: relative;
    margin-bottom: 50px;
}

.horizontal-scroll .dot-container,
.mobile-carousel .dot-container {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, 0%);
    display: flex;
    gap: 25px;
    padding: 30px;
    backdrop-filter: blur(3px);
    border-radius: 53px;
    background-color: #e1e1e163;
}

.dot-container .dot {
    width: 62px;
    height: 20px;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 750px) {
    .dot-container .dot {
        width: 40px;
        height: 15px;
    }
}

@media (max-width: 768px) {
    .panel,
    .horizontal-scroll {
        display: none;
    }

    .mobile-carousel {
        display: block;
        width: 100vw;
        overflow-x: scroll;
        white-space: nowrap;
        scroll-snap-type: x mandatory;
        margin-bottom: 50px;
    }

    .carousel-panel {
        display: inline-block;
        width: 100vw;
        height: 80vh;
        scroll-snap-align: start;
        position: relative;
        font-family: "Ginora", "Gill Sans", "Gill Sans MT", Calibri,
            "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif !important;
        color: var(--secondary-yellow);
        font-weight: 700;
        font-size: clamp(3.5rem, 6vw, 5rem);
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .carousel-panel span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 769px) {
    .mobile-carousel {
        display: none;
    }
}

/* NAVBAR SOCIAL ICONE */

/* Container du menu social */
.menu-container {
    position: relative;
    align-content: center;
    width: 100px;
}

/* Bouton principal */
.social-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(
        135deg,
        var(--main-coral) 0%,
        var(--secondary-violet) 100%
    );
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 142, 138, 0.4);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
}

.social-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 112, 226, 0.6);
    background: linear-gradient(
        135deg,
        var(--secondary-violet) 0%,
        var(--main-blue-royal) 100%
    );
}

.social-btn:active {
    transform: scale(0.95);
}

/* Icône avion en papier */
.icon-plane {
    width: 1.5rem;
    height: 1.5rem;
    fill: white;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.social-btn.active .icon-plane {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

/* Icône X (croix) */
.icon-close {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    fill: white;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

.social-btn.active .icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Menu des icônes sociales */
.menu-items {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1.5rem;
    width: 280px;
    height: 100px;
    pointer-events: none;
}

.menu-link {
    position: absolute;
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    pointer-events: none;
}

.menu-link svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.1s ease;
    fill: vwhite;
}

.menu-link:hover {
    /* transform: translateY(-8px) scale(1.15) !important; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Position initiale au centre (sous le bouton) */
.menu-link {
    left: 50%;
    top: 0;
    transform: translate(-50%, 0) scale(0);
}

/* Positions finales en arc de cercle */
.menu-container.active .menu-link {
    opacity: 1;
    background: var(--secondary-violet);
    pointer-events: all;
}

.menu-container.active .menu-link svg {
    fill: white;
}

/* Twitter - en haut */
.menu-container.active .menu-link:nth-child(1) {
    left: 50%;
    top: 30px;
    transform: translate(-50%, 0) scale(1);
    transition-delay: 0.1s;
}

/* LinkedIn - deuxième */
.menu-container.active .menu-link:nth-child(2) {
    left: 50%;
    top: 90px;
    transform: translate(-50%, 0) scale(1);
    transition-delay: 0.15s;
}

/* YouTube - troisième */
.menu-container.active .menu-link:nth-child(3) {
    left: 50%;
    top: 150px;
    transform: translate(-50%, 0) scale(1);
    transition-delay: 0.2s;
}

/* Mail - en bas */
.menu-container.active .menu-link:nth-child(4) {
    left: 50%;
    top: 210px;
    transform: translate(-50%, 0) scale(1);
    transition-delay: 0.25s;
}

/* Effet swing au hover */
.menu-container.active .menu-link:hover {
    animation: swing-icon 0.6s ease-out;
}

@keyframes swing-icon {
    20% {
        transform: translate(-50%, 0) scale(1) rotate(15deg);
    }
    40% {
        transform: translate(-50%, 0) scale(1) rotate(-10deg);
    }
    60% {
        transform: translate(-50%, 0) scale(1) rotate(5deg);
    }
    80% {
        transform: translate(-50%, 0) scale(1) rotate(-5deg);
    }
    100% {
        transform: translate(-50%, 0) scale(1) rotate(0deg);
    }
}

/* Responsive - les icônes restent en colonne verticale */
@media (max-width: 768px) {
    .menu-items {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .menu-link {
        width: 2.5rem;
        height: 2.5rem;
    }

    .menu-link svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ------------------------------------------------ */
/* --------------------CITY NAVIGATION BUTTONS---------------------------- */
/* ------------------------------------------------ */

.city-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 900px;
}

.city-nav-btn {
    position: relative;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--main-txt-color);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.city-nav-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(239, 142, 138, 0.12),
        rgba(106, 112, 226, 0.12)
    );
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.city-nav-btn:hover::before {
    opacity: 1;
}

.city-nav-btn:hover {
    border-color: var(--main-coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 142, 138, 0.25);
    color: var(--title-txt-color);
}

.city-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.city-nav-btn span {
    position: relative;
    z-index: 1;
}

.city-nav-btn.active {
    background: linear-gradient(
        135deg,
        var(--secondary-violet),
        var(--main-blue-royal)
    );
    border-color: var(--secondary-violet);
    color: white;
    font-weight: 600;
    pointer-events: none;
}

.city-nav-btn.active::before {
    display: none;
}

@media screen and (max-width: 750px) {
    .city-nav-container {
        gap: 12px;
        margin: 30px auto;
    }

    .city-nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
