/*
 * Customisation et surcharge du Framework Bulma
 * 
 * 
 * @author LGI Sustainable innovation
 * @version 1
 * 
 */

/* Généralités */
/* ---------------------------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    zoom: 0.9;
    -moz-transform: scale(0.9); /* Pour les anciennes versions de Firefox */
    -moz-transform-origin: 0 0;
}
.headPage {
    background: url("../../images/bghead.webp") center/cover;
    min-height: 320px;
    background-origin: padding-box;
    background-repeat: no-repeat;
    background-size: contain;
    border: 30px solid #fff;
    text-align: center;
    padding: 1rem 3rem 3rem 3rem;
    padding-top: 40px;
}

.headPage h1 {
    font-weight: 700;
    font-size: 60px;
    line-height: 87px;
    text-align: center;
    color: #343f3e;
    margin-top: -10px;
}
.headPage h2 {
    margin: auto;
    max-width: 800px;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    color: #343f3e;
    margin-top: -10px;
}

.colprim {
    color: #4680e3;
}
.colsecond {
    color: #50c24c;
}
/* Header */
/* ---------------------------------------------------------------------------------------------- */

.navbar-menu-burger.is-active {
    transform: translateX(0%);
}

.navbar-menu-burger {
    background-color: white;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 150vh;
    padding: 50px;
    transition: 0.5s ease-out;
}

.navbar-menu-burger .navbar-item {
    font-size: 1.2rem;
    margin: 20px 0;
}

.navbar-menu-burger .navbar-end {
    margin: 0 auto;
    width: 75%;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 2px solid rgb(243, 243, 243);
}

.navbar-menu-burger i.fab,
.navbar-menu-burger i.fas {
    scale: 1.3;
}

.navbar-start {
    margin: auto;
}
.navbar-item {
    padding: 15px;
    margin: 5px;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #343f3e !important;
    transition: 0.15s ease-out;
    border-radius: 10px;
}
.navbar-item:hover {
    background: #e3ecfb !important;
}
.navbar-end {
    padding-top: 20px;
}
.navbar-end i {
    width: 33px;
    height: 33px;
    background: #e3ecfb;
    color: #4680e3;
    border-radius: 10px;
    padding: 7px;
    font-size: 1.2em;
    margin-right: 8px;
}

a.button {
    background: #4680e3;
    border-radius: 60px;
    align-items: center;
    padding: 25px 50px;
    gap: 10px;
    color: #fff;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 19px;
    border: none;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: 0.15s ease-out;
}

a.button:hover {
    color: #ffffff;
    transform: translateX(3%);
}

.noPadding {
    margin-top: -50px;
}

.bigPadding {
    padding: 0 10rem;
}

.bigPadding h2,
.big h2,
.smallPadding h2,
.noPadding h2 {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(25px, 2.7vw, 40px);
    line-height: 58px;
    color: #343f3e;
}

.bigPadding h3,
.big h3,
.smallPadding h3,
.noPadding h3 {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(25px, 2vw, 30px);
    line-height: 58px;
    color: #343f3e;
}

.smallPadding h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    color: #1a3454;
}
.smallPadding ul {
    padding: 25px;
}
.smallPadding ul li {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    list-style-type: disc;
}

.bigPadding h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    margin: 25px 0;
}

.centered h4 {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #1a3454;
    margin-bottom: 10px;
}

/* Home page */
/* ---------------------------------------------------------------------------------------------- */

.fas,
.fab,
.fa-brands {
    transition: 0.15s ease-out;
}

.fab:hover,
.fas:hover,
.fa-brands:hover {
    transform: translateY(-15%);
}

#header-left {
    width: 55%;
}

.blocHome {
    background-image: url("../../images/bghome.webp");
    background-origin: padding-box;
    background-repeat: no-repeat;
    background-size: contain;
    border: 30px solid white;
}

.blocHome h1 {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(30px, 3vw, 50px);
    line-height: 67px;
    color: #343f3e;
}

@media screen and (max-width: 750px) {
    .navbar-item:has(img) {
        padding: 0px 0px 0px 15px;
        margin: 0px;
        transform: scale(1.25);
    }
    .headPage {
        min-height: 250px;
    }

    .blocHome {
        border: 30px solid #ebf2fc;
        background: #ebf2fc;
    }
    .section {
        padding: 2rem;
    }

    .blocHome h1 {
        line-height: 45px;
        text-align: center;
    }

    .blocHome h3 {
        margin-top: 20px;
        font-size: 14px;
        text-align: center;
    }

    .blocHome .is-8 {
        padding: 0;
    }

    #btn1 {
        display: flex;
        justify-content: center;
    }

    #btn1 a.button {
        font-size: 10px;
        padding: 20px 40px;
    }

    .bigPadding {
        padding: 0;
    }

    .bigPadding h2 {
        line-height: normal;
        font-size: 25px;
    }
    .big h2 {
        line-height: normal;
        font-size: 25px;
    }
    .noPadding h2 {
        line-height: 40px;
    }
    #header-left {
        width: auto;
    }
}

.bloc3News {
    /*background-image: url("../../images/bgstayup.png");*/
    background-color: #edf3fd;
    background-origin: padding-box;
    background-repeat: no-repeat;
    background-size: cover;
}

.bloc3News .column {
    transition: 0.05s ease-out;
}
.bloc3News .column a {
    display: flex;
    flex-direction: column;
    position: relative;
}

.bloc3News .column:hover {
    background-color: #c9d9f8;
    border-radius: 10px;
    cursor: pointer;
}

/* ****************TODO START Whipe Effect card ---------- -------- ** */

aside {
    position: relative;
    float: left;
    max-width: 100%;
    height: auto;
    /* padding: 20px; */
    transition: all 0.5s;
}

aside:after {
    position: absolute;
    z-index: 9;
    content: "";
    transition: all 0.25s;
}

.wipe-right {
    background-color: rgba(255, 8, 0, 0);
    border-radius: 10px;
}
.wipe-right:after {
    top: 0;
    width: 0;
    height: 97%;
    left: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.553);
}

.bloc3News .column:hover aside:after {
    width: 100%;
    height: 97%;
}

/* ****************TODO END Whipe Effect card ******************* */

.typeNews {
    background: #ffffff;
    box-shadow: 0px 25px 70px rgba(1, 33, 58, 0.07);
    border-radius: 4px;
    padding: 4px;
    font-weight: 400;
    font-size: 12px;
    line-height: 26px;
    color: #404046;
    width: 45%;
    position: relative;
    right: -51%;
    /* top: 1px; */
    float: right;
    top: 45px;
    z-index: 10;
}
.dateNews {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #1a3454;
    text-align: left;
}

.bloc3News h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    color: #1a3454;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 1235px) {
    .bloc3News .container {
        padding: 0;
    }
}

.logoPartner {
    width: 120px;
    height: 120px;
    padding: 12px;
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0px 25px 70px rgba(1, 33, 58, 0.07);
    border-radius: 100%;
    margin-inline: auto;
}

.imgNews {
    border-radius: 10px;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* ************ Slider CSS partenaire ********************** */

.slider-1 {
    max-width: 270px;
    margin: 30px auto;
    overflow: hidden;
    min-height: 135px;
}

.slider-1 .slider {
    display: flex;
    animation: slider-2 18s infinite ease-in-out;
}

.slider-1 img {
    height: 135px;
    width: auto;
    padding: 5px;
}

@keyframes slider-2 {
    0%,
    13.5% {
        transform: translateX(0);
    }
    16.5%,
    30% {
        transform: translateX(-100%);
    }
    33%,
    46.5% {
        transform: translateX(-200%);
    }
    49.5%,
    63% {
        transform: translateX(-300%);
    }
    66%,
    79.5% {
        transform: translateX(-400%);
    }
    82.5%,
    96% {
        transform: translateX(-500%);
    }
    100% {
        transform: translateX(-600%);
    }
}

@media screen and (min-width: 771px) {
    #parteners-card-mobile {
        display: none;
    }
}

@media screen and (max-width: 770px) {
    #parteners-card {
        display: none;
    }
}

/* Project */
/* ---------------------------------------------------------------------------------------------- */

.section.container.noPadding #project-invert {
    display: flex;
    flex-direction: row;
}

.section.container.noPadding p {
    text-align: justify;
}

.bgBlue {
    background: #edf3fd;
    border-radius: 30px;
    margin: 30px;
    padding: 50px 200px;
    margin-inline: auto;
}

.boxnum {
    background: #ffffff;
    box-shadow: 0px 25px 70px rgba(1, 33, 58, 0.07);
    border-radius: 16px;
    padding: 25px;
    margin: 10px;
    min-height: 300px;
}
.numRound {
    width: 80px;
    height: 80px;
    background: #dae6f9;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 58px;
    text-align: center;
    border-radius: 100%;
    color: #000000;
    padding-top: 8px;
    scale: 0.8;
}
.headPage h1 {
    font-size: clamp(35px, 4vw, 50px);
}
.boxnum h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #1a3454;
    text-align: left;
    margin-bottom: 5px;
}

.boxnum h4 {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    text-align: left;
}

@media screen and (max-width: 750px) {
    .headPage {
        background-image: none;
    }

    .headPage h1 {
        line-height: 50px;
        margin-bottom: 30px;
    }

    .section.container.noPadding .column.is-6 img {
        margin: 0 5% !important;
    }
    .section.container.noPadding #project-invert {
        flex-direction: column-reverse;
    }

    .bgBlue {
        padding: 32px;
    }

    .numRound {
        width: 60px;
        height: 60px;
        font-size: 30px;
        line-height: 48px;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    #Project-column1 .column:last-child {
        margin-bottom: 20px;
    }
}

/* Partners */
/* ---------------------------------------------------------------------------------------------- */

.bgPart {
    background: #edf3fd;
    border-radius: 30px;
    margin: 30px;
    padding: 50px;
}

.bgPart h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #1a3454;
    margin-top: 25px;
}

.bgPart div {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    color: #404046;
    padding: 15px;
}

.bgPart a.button {
    background: #ccdcf7;
    border-radius: 60px;
    color: #4680e3;
    margin-top: 15px;
}

@media screen and (max-width: 750px) {
    #water-pop {
        margin: 0 !important;
    }
}

/* News & Events */
/* ---------------------------------------------------------------------------------------------- */
h1.titleNews {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(25px, 3vw, 40px);
    line-height: 58px;
    text-align: center;
    color: #343f3e;
}

.contentNews h5 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #1a3454;
    padding: 0 100px;
    margin-top: 30px;
}
.contentNews p {
    line-height: 28px;
    margin-bottom: 0.8rem;
}

.contentNews h2 {
    font-size: clamp(25px, 2vw, 40px);
    margin-block: 3rem 2rem;
    color: #4680e3;
}
.contentNews h3 {
    font-size: clamp(18px, 2vw, 22px);
    margin-block: 2rem 1.5rem;
    font-weight: 600;
}
.contentNews ul {
    list-style: inside;
    margin-bottom: 0.5rem;
}
.contentNews li {
    margin-bottom: 4px;
    margin-left: 1.5rem;
}

.contentNews a {
    font-weight: 500;
    text-decoration: underline;
    color: #4680e3;
}
.contentNews a:hover {
    font-weight: 500;
    text-decoration: none;
    color: #4680e3;
}

.contentNews div {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    /* padding: 0 100px; */
    /* margin: 30px 0; */
}

.contentNews div.quote {
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
    line-height: 35px;
    text-align: center;
    color: #1a3454;
    padding: 40px 100px;
    border-left: 4px solid #4680e3;
    background-image: url("../../images/quote.webp");
    background-repeat: no-repeat;
    background-position: top 30px left 30px;
}

@media screen and (max-width: 750px) {
    .contentNews .button {
        padding: 25px 30px;
    }

    .contentNews div.quote {
        padding: 60px;
    }

    h1.titleNews {
        line-height: 40px;
    }

    .headPage {
        border: none;
    }
}

#news-section-container {
    max-width: 85%;
}

.card-event-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fill, 360px);
    justify-content: center;
}

.card-event {
    /* width: 390px; */
    min-height: 330px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    gap: 5px;
}

.card-event img {
    height: 70%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16/10;
}

.card-event h2 {
    font-size: 18px;
    font-weight: 700;
}

.hightlight-event {
    position: sticky;
    top: 5%;
    background-color: #ebf2fc;
    border-radius: 20px;
    padding: 40px 40px 40px 40px;
    max-width: 350px;
    height: 100%;
    min-height: auto;
}

.hightlight-event h2 {
    position: sticky;
}

.hightlight-event a {
    color: black;
}
.hightlight-event a:hover {
    color: #4680e3;
    text-decoration: underline;
}

/* Resources */
/* ---------------------------------------------------------------------------------------------- */
.accordion-header {
    background: #4680e3;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 20px 50px;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    margin: 20px 0;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.accordion-header::before {
    content: "+";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
}

.accordion-header.is-active::before {
    content: "-";
}

.accordion-content {
    display: none;
    padding-bottom: 20px;
}

.accordion-header.is-active + .accordion-content {
    display: block;
}

.resourceslist {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    list-style-type: circle;
    margin-left: 80px;
}

@media screen and (max-width: 750px) {
    .resourceslist {
        margin-left: 10px;
    }
    #resources-img img {
        display: none;
    }
}

.other-accordion {
    background: #50c24c;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 20px 20px 20px 45px;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.other-accordion::before {
    content: "+";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
}

.other-accordion.is-active::before {
    content: "-";
}

.other-accordion + .resourceslist {
    display: none;
    padding-top: 15px;
}

.other-accordion.is-active + .resourceslist {
    display: block;
}

/* Articles page */
/* ---------------------------------------------------------------------------------------------- */

/* Footer */
/* ---------------------------------------------------------------------------------------------- */

.footer {
    background-color: #fff;
}

.subscribeBloc {
    background: #50c24c;
    background-image: url("../../images/ZeroF_OGraphic_white.webp");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: 35px 35px;
    border-radius: 16px;
    color: #fff;
    min-height: 190px;
    padding: 50px 0;
    margin-bottom: 65px !important;
}
.subscribeBloc h4 {
    margin-left: 20%;
    width: auto;
    min-height: 86px;
    font-weight: 700;
    font-size: clamp(16.5px, 1.7vw, 25px);
    line-height: 43px;
    color: #ffffff;
}

.subscribeBloc .notification.is-success {
    background-color: #50c24c !important;
    border-radius: 0px;
    padding: 10px 0;
}
.subscribeBloc .notification.is-danger {
    background-color: #50c24c !important;
    border-radius: 0px;
    padding: 10px 0;
    color: red;
    font-weight: bold;
}

#message-newsletter {
    display: inline-block;
    margin-top: -50px;
}

.subscribeBloc .field.has-addons {
    justify-content: center;
}

.subscribeBloc .input {
    width: 250px;
    border-radius: 60px;
}
.subscribeBloc button {
    border-radius: 0 60px 60px 0;
    padding: 19px;
}

@media screen and (max-width: 1220px) {
    .subscribeBloc {
        background-image: none;
    }

    .subscribeBloc .is-9 {
        width: 70%;
    }
    .subscribeBloc .is-3 {
        width: 30%;
    }

    .subscribeBloc h4 {
        margin-left: 0px;
        width: auto;
        text-align: center;
    }
}

@media screen and (max-width: 980px) {
    .subscribeBloc {
        margin: 0;
        padding: 0;
    }
    .subscribeBloc .columns {
        flex-direction: column;
    }

    .subscribeBloc .is-7 {
        width: 100%;
    }

    .subscribeBloc .is-5 {
        width: 100%;
    }

    .subscribeBloc .input {
        width: auto;
    }

    .subscribeBloc h4 {
        margin: auto;
    }

    .footer {
        padding: 0;
    }
}

@media screen and (max-width: 980px) {
    .subscribeBloc h4 {
        line-height: 30px;
        padding: 0 5px;
    }
}

@media screen and (max-width: 768px) {
    #email.input {
        font-size: 13px;
    }

    .button.is-info {
        font-size: 13px;
        width: 40px;
        padding: 0;
    }

    .footer .column.is-6 {
        padding: 0;
    }

    .subscribeBloc .is-9 {
        width: auto;
    }
    .subscribeBloc .is-3 {
        width: auto;
    }
}

.footer h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: #343f3e;
    margin: 0 0 26px 0;
}
.footer a {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    color: #404046;
}

.footer a:hover {
    color: #4680e3;
    font-weight: 500;
}

.footer li {
    transition: 0.1s ease-out;
}

/* Si le li au hover contient une balise a qui est elle meme hover alors ... */

.footer li:hover:has(a:hover) {
    transform: translateX(2%);
}

.footer span.content {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 30px;
    color: #404046;
    opacity: 0.6;
    padding: 0;
}

.EUDisclaimer {
    font-size: 0.8em;
    text-align: justify;
    padding: 0 10px;
    line-height: 1.2em;
}

.footer .column.is-6 {
    padding: 0 3rem;
}

@media screen and (max-width: 750px) {
    .footer .column.is-6 {
        padding: 0;
    }

    .footer .copyright {
        margin: 3rem 0 1rem !important;
    }
}

.footer .copyright {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    color: #404046;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.footer .socialLink i {
    width: 33px;
    height: 33px;
    background: #e3ecfb;
    color: #4680e3;
    border-radius: 10px;
    padding: 8px;
    font-size: 1.2em;
    margin-right: 8px;
    margin-top: 10px;
}

/* Tabs System - Main Navigation */
/* ---------------------------------------------------------------------------------------------- */
.tabs-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-navigation {
    width: 90%;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.tabs.is-centered ul {
    border-bottom: 2px solid #efefef;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.tabs li {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
    margin: 0 10px;
}

.tabs li a {
    padding: 15px 30px;
    color: #343f3e;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
}

.tabs li:hover {
    background: transparent;
    border-bottom-color: #4680e3;
}

.tabs li.is-active {
    background: transparent;
    border-bottom-color: #4680e3;
}

.tabs li.is-active a {
    color: #4680e3;
}

.sections-content {
    margin-top: 40px;
}

.section-pane {
    display: block;
    min-height: 300px;
    border-radius: 26px;
    border: 2px solid #efefef;
    padding: 3rem;
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.section-pane#solution {
    background: #ecf3ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInX {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 750px) {
    .tabs-navigation {
        width: 100% !important;
        margin-inline: 0 !important;
        margin-bottom: 2rem;
    }

    .tabs.is-centered ul {
        gap: 5px;
        padding: 0 5px;
    }

    .tabs li {
        margin: 0;
        flex: 1;
        min-width: 0;
    }

    .tabs li a {
        padding: 10px 5px;
        font-size: 9px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        word-break: break-word;
    }

    .section-pane {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
}

/* Watch the Series Content */
/* ---------------------------------------------------------------------------------------------- */

#watch,
#solutions,
#faq {
    border: 2px solid #efefef;
    padding: 1rem 3rem;
    border-radius: 26px;
}
.watch-series-content {
    padding: 20px 0;
}

.series-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 58px;
    color: #343f3e;
    margin-bottom: 15px;
}

.series-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #404046;
    margin-bottom: 40px;
}

.episode-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    position: relative;
    padding: 30px 0;
}

.episode-buttons::before {
    content: "";
    position: absolute;
    top: 0;
    left: -3rem;
    right: -3rem;
    height: 1px;
    background-color: #e0e0e0;
}

.episode-buttons::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -3rem;
    right: -3rem;
    height: 1px;
    background-color: #e0e0e0;
}

.episode-btn {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 60px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    color: #343f3e;
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: none;
}

.episode-btn:hover {
    background: #f5f5f5;
    border-color: #4680e3;
}

.episode-btn.active {
    background: #4680e3;
    border-color: #4680e3;
    color: #ffffff;
}

.episode-info {
    display: none;
    animation: fadeInX 0.3s ease-in;
}

.episode-info.active {
    display: block;
}

.episode-number {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    margin-bottom: 10px;
}

.episode-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    color: #1a3454;
    margin-bottom: 20px;
}

.episode-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.share-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.share-text {
    font-weight: 600;
    font-size: 14px;
    color: #343f3e;
}

.share-icon {
    width: 40px;
    height: 40px;
    background: #e3ecfb;
    color: #4680e3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
}

.share-icon:hover {
    background: #4680e3;
    color: #ffffff;
    transform: translateY(-3px);
}
.share-icon:hover .fab:hover {
    transform: translateY(0px);
}

.share-icon.twitter {
    background: #e3f2fb;
    color: #1da1f2;
}

.share-icon.twitter:hover {
    background: #1da1f2;
    color: #ffffff;
}

@media screen and (max-width: 750px) {
    .series-title {
        font-size: 28px;
        line-height: 40px;
    }

    .episode-buttons {
        gap: 10px;
    }

    .episode-btn {
        padding: 12px 25px;
        font-size: 12px;
    }

    .episode-title {
        font-size: 20px;
        line-height: 30px;
    }

    .video-placeholder {
        height: 200px;
    }

    .share-section {
        justify-content: center;
    }

    .episode-info .columns.is-variable > .column {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Solution Content - Share Cards */
/* ---------------------------------------------------------------------------------------------- */

.solution-content {
    padding: 20px 0;
}

.solution-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 58px;
    color: #1a3454;
    margin-bottom: 15px;
    text-align: left;
}

.solution-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #404046;
    margin-bottom: 40px;
    text-align: left;
}

.share-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.share-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-label {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #404046;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: #1a3454;
    margin-bottom: 15px;
}

.card-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #404046;
    min-height: 66px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.card-share {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-share .share-text {
    font-weight: 600;
    font-size: 14px;
    color: #343f3e;
}

.card-share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-share .share-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card-share .share-icon.linkedin {
    background: #e3ecfb;
    color: #4680e3;
}

.card-share .share-icon.linkedin:hover {
    background: #4680e3;
    color: #ffffff;
    transform: translateY(-3px);
}

.card-share .share-icon.twitter {
    background: #e3f2fb;
    color: #1da1f2;
}

.card-share .share-icon.twitter:hover {
    background: #1da1f2;
    color: #ffffff;
    transform: translateY(-3px);
}

@media screen and (max-width: 750px) {
    .solution-title {
        font-size: 28px;
        line-height: 40px;
    }

    .share-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .share-card {
        padding: 20px;
    }

    .card-description {
        min-height: auto;
    }
}

/* FAQ Content */
/* ---------------------------------------------------------------------------------------------- */

#faq {
    max-width: 900px;
    margin-inline: auto;
}
#faq .faq-question {
    width: 100%;
}

.faq-content {
    padding: 20px 0;
}

.faq-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 58px;
    color: #1a3454;
    margin-bottom: 30px;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 50%;
    background: #4680e3;
    border: none;
    border-radius: 60px;
    padding: 20px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question span {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    text-align: left;
}

.faq-question i {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background: #3a6dc9;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
    padding: 0 30px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px 30px;
}

.faq-answer p {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #404046;
    margin: 0;
}

.faq-answer a {
    color: #4680e3;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #3a6dc9;
}

@media screen and (max-width: 750px) {
    .faq-title {
        font-size: 28px;
        line-height: 40px;
    }

    .faq-question {
        padding: 13px 20px;
        width: 100%;
    }

    .faq-question span {
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer.active {
        padding: 15px 20px;
    }
}

/* YouTube GDPR Consent Overlay */
/* ---------------------------------------------------------------------------------------------- */

.youtube-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
}

.youtube-consent-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.youtube-consent-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.youtube-consent-content p {
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    color: #1a3454;
    margin-bottom: 25px;
}

.youtube-consent-content p a {
    color: #4680e3;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.youtube-consent-content p a:hover {
    color: #3a6dc9;
}

.consent-btn {
    background: #ff0000;
    border: none;
    border-radius: 60px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.consent-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.consent-btn i {
    font-size: 18px;
}

@media screen and (max-width: 750px) {
    .youtube-consent-content {
        padding: 25px 20px;
        max-width: 90%;
    }

    .youtube-consent-content p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .consent-btn {
        padding: 12px 25px;
        font-size: 13px;
    }
}

/* YouTube Consent Reset Button (Optional) */
/* ---------------------------------------------------------------------------------------------- */

.youtube-consent-reset-container {
    text-align: center;
    padding: 20px 0;
    margin: 20px 0;
}

.youtube-consent-reset-btn {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 60px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 13px;
    color: #404046;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}

.youtube-consent-reset-btn:hover {
    background: #fff;
    border-color: #4680e3;
    color: #4680e3;
    transform: translateY(-2px);
}

.youtube-consent-reset-btn i {
    font-size: 14px;
}

@media screen and (max-width: 750px) {
    .youtube-consent-reset-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .youtube-consent-reset-btn span {
        display: none;
    }

    .youtube-consent-reset-btn::after {
        content: "Révoquer consentement";
    }
}

/* News Slider */
/* ---------------------------------------------------------------------------------------------- */

.news-slider {
    position: relative;
    width: 100%;
    /* max-width: 800px; */
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Indicate clickable */
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: contain; /* Changed from cover to contain to avoid cropping/distortion */
    display: block;
    background: #f5f5f5; /* Match slider bg */
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3454;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-prev:hover,
.slider-next:hover {
    background: #4680e3;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.contentNews .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 10px 15px !important;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.884);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 750px) {
    .contentNews {
        margin-inline: 1rem;
    }
    .slide img {
        height: 300px;
    }

    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .slider-prev {
        left: 10px;
    }
    .slider-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* LANDING PAGE UPDATE */

.logo-home-container {
    background-color: #ebf2fc;
    border-radius: 20px;
}

#main-header2 .is-4 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}
