/**********************************************************************************************************************************************************

present 

*********************************************************************************************************************************************************************************************************/





body.present main {
    padding-bottom: 0 !important;
}

body.present .archive-posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 50px;
}

body.present .container {
    width: 300px;
    height: 500px;
}


body.present .container .post-thumb {
    margin-bottom: 15px;
}


body.present .container h3 {
    width: 100%;
    height: auto;
}

body.present .container p {
    width: 100%;
    height: 100%;

}

body.present .container .bouton2 {
    margin-top: 20px;
}

body.present .container.pagination {
    width: 100%;
    height: fit-content;
    min-height: 0;
    margin-top: 50px;
}

body.present .navigation .pagination,
body.present .nav-links {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body.present .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    backdrop-filter: blur(10px);
    font-size: 18px;
    width: 30px;
    height: 30px;
    font-weight: 500;
    padding: 5px;
    border: solid white 2px;
    border-radius: 8px;

    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    color: white;
    transition: .3s ease-in;

}

body.present .prevbody.present .page-numbers {
    margin-right: 20px;
    width: fit-content;
}

body.present .nextbody.present .page-numbers {
    margin-left: 20px;
    width: fit-content;

}

body.present .current,
body.present .page-numbers:hover {
    color: white;
    background-color: #3D3B4B;
    border: solid #3D3B4B 2px;
    transition: .3s ease-in;
}

body.present .container.pagination:not(:has(body.present .page-numbers)) {
    display: none;
}


/********************* SEARCH ***************************/


body.present .search {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    padding: 5px;
    margin-bottom: 10px;
    transition: .3s ease-in;
}


body.present .results-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 30px;
    flex-wrap: wrap;
}

body.present .result {
    width: fit-content;
    padding: 1px 5px;
    background-color: #B4B7FF;
    border: solid rgba(255, 255, 255, 0.623) 0.5px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
}

body.present .result body.present .search-result-text {
    font-size: 14px;
    margin-top: 0;
}

body.present .result a {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.present .result a img {
    width: 15px;
    height: auto;
}

body.present .search #filtre {
    box-shadow: none;
    background-color: transparent;
}

/* =========================
   MENU (open / close)
   ========================= */

body.present .filtre-menu {
    position: absolute;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    z-index: 90;
    opacity: 0;
    transform: scale(0) translateY(-20px);
    box-shadow: none;
    transition: 0.3s ease-out;
    transform-origin: top left;
    filter: blur(10px);
}

body.present .filtre-menu.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}


body.present .filtre-menu button {
    margin-top: 20px;
}

/* =========================
   CHECKBOX STYLE
   ========================= */

/* Cache la checkbox native */
body.present .filtre-menu input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label */
body.present .filtre-menu label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    cursor: pointer;
    transition: color 250ms cubic-bezier(.4, .0, .23, 1);
}

/* Hover / focus */
body.present .filtre-menu input[type="checkbox"]:focus+label,
body.present .filtre-menu label:hover {
    color: #fff;
}

/* Case */
body.present .filtre-menu label>span {
    position: relative;
    /* 🔑 IMPORTANT */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    background: transparent;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 3px;
    transition: all 250ms cubic-bezier(.4, .0, .23, 1);
}

body.present .filtre-menu label:hover>span {
    background: rgba(255, 255, 255, 0.1);
}

/* Texte animé */
body.present .filtre-menu label>ins {
    position: absolute;
    display: block;
    bottom: 0;
    left: 28px;
    height: 0;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: height 300ms cubic-bezier(.4, .0, .23, 1);
}

body.present .filtre-menu label>ins>i {
    position: absolute;
    bottom: 0;
    font-style: normal;
    color: #71C5B2;
}

/* Checked */
body.present .filtre-menu input[type="checkbox"]:checked+label>ins {
    height: 100%;
}

body.present .filtre-menu input[type="checkbox"]:checked+label>span {
    border: .5em solid #71C5B2;
    animation: shrink-bounce 200ms cubic-bezier(.4, .0, .23, 1);
}

/* Checkmark centré */
body.present .filtre-menu input[type="checkbox"]:checked+label>span::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    top: 50%;
    left: 50%;
    border-right: 2px solid #212121;
    border-bottom: 2px solid #212121;
    transform: translate(-50%, -60%) rotate(45deg);
    transform-origin: center;
    animation: checkbox-check 125ms 250ms cubic-bezier(.4, .0, .23, 1) forwards;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes shrink-bounce {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(.85);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkbox-check {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}


body.present .search button {
    border-radius: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


body.present .search button img {
    width: 30px;
    height: auto;
}

body.present .search a {
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    opacity: 0;
    transform: scale(0);
    transition: .1s ease-in;

}

body.present .search a img {
    width: 25px;
    height: auto;
    border-radius: 0;
}

body.present .search input {
    all: unset;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    color: white;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    padding: 0 20px;
}

body.present .search input::placeholder {
    color: rgb(218, 218, 218);
}

body.present .search input:focus+a,
body.present .search a:hover {
    opacity: 1;
    transform: none;
    transition: .1s ease-in;

}

body.present input[type="search"]::-webkit-search-decoration,
body.present input[type="search"]::-webkit-search-results-button,
body.present input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

body.present input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

body.present input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
}


body.present .no-result {
    margin-top: 50px;
    text-align: center;
}


/* =========================
   IA
   ========================= */

body.present .leo {
    margin-bottom: 0;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin-top: 5px;
    white-space: normal;
    color: white;
    height: auto !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 20px 80px !important;

}

body.present .leo img {
    width: 150px;
    height: auto;
    transition: opacity 0.5s ease;
    opacity: 1;
    will-change: opacity;
}




.mwai-chatbot-container {
    width: 100%;
    max-width: none !important;
}

body.present .leo .mwai-reply {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 15px;
    width: fit-content;
}

body.present .leo .mwai-ai {
    background-color: #3D3B4B;
}

body.present .leo .mwai-user {
    background-color: #0e0e2d;
}

body.present .leo .mwai-name {
    color: #a0a0a8;
    margin-bottom: 5px;
    text-align: left;
}

body.present .leo .mwai-input {
    width: 100%;
    height: 80px;
    background-color: #3D3B4B;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 10px;

}

body.present .leo .mwai-input-text {
    width: 100%;
    height: 100%;
}

body.present .leo .mwai-input-text textarea {
    width: 100%;
    min-height: 100% !important;
    max-height: 100% !important;
    color: white;
    resize: none;
    border: none;
    background: none;
    display: block;
}

body.present .leo .mwai-input-text textarea::placeholder {
    color: #a0a0a8;
}

body.present .leo .mwai-input-text textarea:focus {
    outline: none;
    box-shadow: none;
}


body.present .leo button.mwai-input-submit {
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;

    text-decoration: none;
    cursor: pointer;
    color: white;
    backdrop-filter: blur(10px);
    background-color: transparent;
    font-size: 18px;
    font-weight: 500;
    padding: 5px;
    border: solid white 2px;
    border-radius: 8px;
    height: auto;
    width: fit-content;
    display: block;
    transition: .3s ease-in;

}

body.present .leo button.mwai-input-submit:hover {
    color: white;
    background-color: #212121;
    border: solid #212121 2px;
    transition: .3s ease-in;
}








/**********************************************************************************************************************************************************

passe 

*********************************************************************************************************************************************************************************************************/









body.passe main {
    padding-bottom: 0 !important;
}

body.passe .archive-posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 50px;
}

body.passe .container {
    width: 300px;
    height: 500px;
}


body.passe .container .post-thumb {
    margin-bottom: 15px;
}


body.passe .container h3 {
    width: 100%;
    height: auto;
}

body.passe .container p {
    width: 100%;
    height: 100%;

}

body.passe .container .bouton2 {
    margin-top: 20px;
}

body.passe .container.pagination {
    width: 100%;
    height: fit-content;
    min-height: 0;
    margin-top: 50px;
}

body.passe .navigation .pagination,
body.passe .nav-links {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body.passe .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    backdrop-filter: blur(10px);
    font-size: 18px;
    width: 30px;
    height: 30px;
    font-weight: 500;
    padding: 5px;
    border: solid white 2px;
    border-radius: 8px;

    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    color: white;
    transition: .3s ease-in;

}

body.passe .prevbody.passe .page-numbers {
    margin-right: 20px;
    width: fit-content;
}

body.passe .nextbody.passe .page-numbers {
    margin-left: 20px;
    width: fit-content;

}

body.passe .current,
body.passe .page-numbers:hover {
    color: white;
    background-color: #3D3B4B;
    border: solid #3D3B4B 2px;
    transition: .3s ease-in;
}

body.passe .container.pagination:not(:has(body.passe .page-numbers)) {
    display: none;
}


/********************* SEARCH ***************************/


body.passe .search {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    border: solid black 2px;
    padding: 5px;
    margin-bottom: 10px;
}


body.passe .results-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 30px;
    flex-wrap: wrap;
}

body.passe .result {
    width: fit-content;
    padding: 1px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-decoration: underline;
    gap: 5px;
}

body.passe .result body.passe .search-result-text {
    font-size: 14px;
    margin-top: 0;
}

body.passe .result a {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.passe .result a img {
    width: 15px;
    height: auto;
}

body.passe .search #filtre {
    box-shadow: none;
}

/* =========================
   MENU (open / close)
   ========================= */

body.passe .filtre-menu {
    position: absolute;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    z-index: 90;
    opacity: 0;
    background-color: #e4ab66;
    border: none;
    transform: scale(0) translateY(-20px);
    box-shadow: none;
    transition: none;

}

body.passe .filtre-menu.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    transition: none;
}


body.passe .filtre-menu button {
    margin-top: 20px;
}

/* =========================
   CHECKBOX STYLE
   ========================= */

/* Cache la checkbox native */
body.passe .filtre-menu input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label */
body.passe .filtre-menu label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    cursor: pointer;
    transition: color 250ms cubic-bezier(.4, .0, .23, 1);
}

/* Hover / focus */
body.passe .filtre-menu input[type="checkbox"]:focus+label,
body.passe .filtre-menu label:hover {
    color: black;
}

/* Case */
body.passe .filtre-menu label>span {
    position: relative;
    /* 🔑 IMPORTANT */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    background: transparent;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 3px;
    transition: all 250ms cubic-bezier(.4, .0, .23, 1);
}

body.passe .filtre-menu label:hover>span {
    background: rgba(255, 255, 255, 0.1);
}

/* Texte animé */
body.passe .filtre-menu label>ins {
    position: absolute;
    display: block;
    bottom: 0;
    left: 28px;
    height: 0;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}

body.passe .filtre-menu label>ins>i {
    position: absolute;
    bottom: 0;
    font-style: normal;
    color: #71C5B2;
}

/* Checked */
body.passe .filtre-menu input[type="checkbox"]:checked+label>ins {
    height: 100%;
}

body.passe .filtre-menu input[type="checkbox"]:checked+label>span {
    border: .5em solid #71C5B2;
}

/* Checkmark centré */
body.passe .filtre-menu input[type="checkbox"]:checked+label>span::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    top: 50%;
    left: 50%;
    border-right: 2px solid #212121;
    border-bottom: 2px solid #212121;
    transform: translate(-50%, -60%) rotate(45deg);
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes shrink-bounce {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(.85);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkbox-check {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}


body.passe .search button {
    display: flex;
    align-items: center;
    justify-content: center;
}


body.passe .search button img {
    width: 30px;
    height: auto;
    display: block;
}

body.passe .search a {
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    opacity: 0;
    transform: scale(0);
    transition: .1s ease-in;

}

body.passe .search a img {
    width: 25px;
    height: auto;
    border-radius: 0;
}

body.passe .search input {
    all: unset;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    color: black;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    padding: 0 20px;
}

body.passe .search input::placeholder {
    color: black;
}

body.passe .search input:focus+a,
body.passe .search a:hover {
    opacity: 1;
    transform: none;
}

body.passe input[type="search"]::-webkit-search-decoration,
body.passe input[type="search"]::-webkit-search-results-button,
body.passe input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

body.passe input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

body.passe input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
}


body.passe .no-result {
    margin-top: 50px;
    text-align: center;
}


/* =========================
   IA
   ========================= */

body.passe .leo {
    margin-bottom: 0;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin-top: 5px;
    white-space: normal;
    color: white;
    height: auto !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 20px 80px !important;

}

body.passe .leo .leo-image {
    width: 150px;
    height: auto;

    transition: opacity 0.5s ease;
    opacity: 1;
    will-change: opacity;
}




.mwai-chatbot-container {
    width: 100%;
    max-width: none !important;
}

body.passe .leo .mwai-reply {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 15px;
    width: fit-content;
}

body.passe .leo .mwai-ai {
    background-color: white;
    color: black;
}

body.passe .leo .mwai-user {
    background-color: white;
    color: black;
}

body.passe .leo .mwai-name {
    color: #a0a0a8;
    margin-bottom: 5px;
    text-align: left;
}

body.passe .leo .mwai-input {
    width: 100%;
    height: 80px;
    background-color: white;
    display: flex;
    align-items: center;
    padding: 10px;

}

body.passe .leo .mwai-input-text {
    width: 100%;
    height: 100%;
}

body.passe .leo .mwai-input-text textarea {
    width: 100%;
    min-height: 100% !important;
    max-height: 100% !important;
    color: black;
    display: block;
}

body.passe .leo .mwai-input-text textarea::placeholder {
    color: #a0a0a8;
}

body.passe .leo .mwai-input-text textarea:focus {
    outline: none;
    box-shadow: none;
}






/**********************************************************************************************************************************************************

futur 

*********************************************************************************************************************************************************************************************************/





body.futur main {
    padding-bottom: 0 !important;
}

body.futur .archive-posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 50px;
}

body.futur .container {
    width: 300px;
    height: 500px;
}


body.futur .container .post-thumb {
    margin-bottom: 15px;
}


body.futur .container h3 {
    width: 100%;
    height: auto;
}

body.futur .container p {
    width: 100%;
    height: 100%;

}

body.futur .container .bouton2 {
    margin-top: 20px;
}

body.futur .container.pagination {
    width: 100%;
    height: fit-content;
    min-height: 0;
    margin-top: 50px;
}

body.futur .navigation .pagination,
body.futur .nav-links {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body.futur .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    backdrop-filter: blur(10px);
    font-size: 18px;
    width: 30px;
    height: 30px;
    font-weight: 500;
    padding: 5px;
    border: solid white 2px;
    border-radius: 8px;

    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    color: white;
    transition: .3s ease-in;

}

body.futur .prevbody.futur .page-numbers {
    margin-right: 20px;
    width: fit-content;
}

body.futur .nextbody.futur .page-numbers {
    margin-left: 20px;
    width: fit-content;

}

body.futur .current,
body.futur .page-numbers:hover {
    color: white;
    background-color: #3D3B4B;
    border: solid #3D3B4B 2px;
    transition: .3s ease-in;
}

body.futur .container.pagination:not(:has(body.futur .page-numbers)) {
    display: none;
}


/********************* SEARCH ***************************/


body.futur .search {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;

     border-bottom: 1px solid white;
    border-top: 1px solid white;


    box-shadow:
        0 0 12px rgba(63, 63, 208, 0.55),
        0 0 32px rgba(63, 63, 208, 0.35),
        0 0 64px rgba(63, 63, 208, 0.2),

        /* Glow interne */
        inset 0 0 18px rgba(63, 63, 208, 0.6);

    border-radius: 100px;
    backdrop-filter: blur(10px);
    padding: 5px;
    margin-bottom: 10px;
    transition: .3s ease-in;
}


body.futur .results-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 30px;
    flex-wrap: wrap;
}

body.futur .result {
    width: fit-content;
    padding: 1px 5px;
    background-color: #B4B7FF;
    border: solid rgba(255, 255, 255, 0.623) 0.5px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
}

body.futur .result body.futur .search-result-text {
    font-size: 14px;
    margin-top: 0;
}

body.futur .result a {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.futur .result a img {
    width: 15px;
    height: auto;
}

body.futur .search #filtre {
    box-shadow: none;
    background-color: transparent;
}

/* =========================
   MENU (open / close)
   ========================= */

body.futur .filtre-menu {
    position: absolute;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    z-index: 90;
    opacity: 0;
    transform: scale(0) translateY(-20px);
    box-shadow: none;
    transition: 0.3s ease-out;
    transform-origin: top left;
    filter: blur(10px);
}

body.futur .filtre-menu.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}


body.futur .filtre-menu button {
    margin-top: 20px;
}

/* =========================
   CHECKBOX STYLE
   ========================= */

/* Cache la checkbox native */
body.futur .filtre-menu input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label */
body.futur .filtre-menu label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    cursor: pointer;
    transition: color 250ms cubic-bezier(.4, .0, .23, 1);
}

/* Hover / focus */
body.futur .filtre-menu input[type="checkbox"]:focus+label,
body.futur .filtre-menu label:hover {
    color: #fff;
}

/* Case */
body.futur .filtre-menu label>span {
    position: relative;
    /* 🔑 IMPORTANT */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    background: transparent;
    border: solid rgba(255, 255, 255, 0.623) 0.2px;
    border-radius: 3px;
    transition: all 250ms cubic-bezier(.4, .0, .23, 1);
}

body.futur .filtre-menu label:hover>span {
    background: rgba(255, 255, 255, 0.1);
}

/* Texte animé */
body.futur .filtre-menu label>ins {
    position: absolute;
    display: block;
    bottom: 0;
    left: 28px;
    height: 0;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: height 300ms cubic-bezier(.4, .0, .23, 1);
}

body.futur .filtre-menu label>ins>i {
    position: absolute;
    bottom: 0;
    font-style: normal;
    color: #71C5B2;
}

/* Checked */
body.futur .filtre-menu input[type="checkbox"]:checked+label>ins {
    height: 100%;
}

body.futur .filtre-menu input[type="checkbox"]:checked+label>span {
    border: .5em solid #71C5B2;
    animation: shrink-bounce 200ms cubic-bezier(.4, .0, .23, 1);
}

/* Checkmark centré */
body.futur .filtre-menu input[type="checkbox"]:checked+label>span::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    top: 50%;
    left: 50%;
    border-right: 2px solid #212121;
    border-bottom: 2px solid #212121;
    transform: translate(-50%, -60%) rotate(45deg);
    transform-origin: center;
    animation: checkbox-check 125ms 250ms cubic-bezier(.4, .0, .23, 1) forwards;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes shrink-bounce {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(.85);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkbox-check {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}


body.futur .search button {
    border-radius: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


body.futur .search button img {
    width: 30px;
    height: auto;
}

body.futur .search a {
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    opacity: 0;
    transform: scale(0);
    transition: .1s ease-in;

}

body.futur .search a img {
    width: 25px;
    height: auto;
    border-radius: 0;
}

body.futur .search input {
    all: unset;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    color: white;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    white-space: normal;
    padding: 0 20px;
}

body.futur .search input::placeholder {
    color: rgb(218, 218, 218);
}

body.futur .search input:focus+a,
body.futur .search a:hover {
    opacity: 1;
    transform: none;
    transition: .1s ease-in;

}

body.futur input[type="search"]::-webkit-search-decoration,
body.futur input[type="search"]::-webkit-search-results-button,
body.futur input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

body.futur input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

body.futur input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
}


body.futur .no-result {
    margin-top: 50px;
    text-align: center;
}

/* =========================
   IA (MWAI) — Style Futur
   ========================= */

/* wrapper */
body.futur .leo{
    margin-bottom: 0;
    height: auto !important;

    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: flex-end !important;

    padding: 20px 80px !important;
    gap: 14px;

    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: white;
}

/* Logo/image dans la section IA : on enlève l’énorme style global des <img> */
body.futur .leo img{
    width: 150px;
    height: auto;

    /* neutralise le style global futur sur img */
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    animation: none !important;
    filter: none !important;
    border-radius: 0 !important;

    transition: opacity 0.5s ease;
    opacity: 1;
    will-change: opacity;
}

/* container plugin */
.mwai-chatbot-container{
    width: 100%;
    max-width: none !important;
}

/* bulles */
body.futur .leo .mwai-reply{
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    width: fit-content;
    max-width: min(720px, 90%);

    position: relative;
    overflow: hidden;

    backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 206, 192, 0.45);

    box-shadow:
        0 0 14px rgba(63, 63, 208, 0.45),
        0 0 36px rgba(63, 63, 208, 0.25),
        inset 0 0 18px rgba(124, 206, 192, 0.16);

    transition: transform .18s ease, border-color .25s ease, box-shadow .25s ease;
}

/* micro-lignes */
body.futur .leo .mwai-reply::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.06) 0px,
            rgba(255,255,255,0.06) 1px,
            transparent 3px,
            transparent 6px
        );

    opacity: 0.22;
    mix-blend-mode: overlay;
}

/* reflet diagonal */
body.futur .leo .mwai-reply::after{
    content:"";
    position:absolute;
    inset:-30%;
    pointer-events:none;

    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(124, 206, 192, 0.12) 50%,
        rgba(63, 63, 208, 0.16) 55%,
        transparent 70%
    );

    opacity: 0.55;
    transform: translateX(-18%);
    transition: transform .35s ease, opacity .35s ease;
}

body.futur .leo .mwai-reply:hover{
    transform: translateY(-1px);
    border-color: rgba(124, 206, 192, 0.75);

    box-shadow:
        0 0 20px rgba(63, 63, 208, 0.70),
        0 0 52px rgba(63, 63, 208, 0.35),
        0 0 18px rgba(124, 206, 192, 0.35),
        inset 0 0 22px rgba(124, 206, 192, 0.20);
}

body.futur .leo .mwai-reply:hover::after{
    transform: translateX(18%);
    opacity: 0.75;
}

/* AI bubble */
body.futur .leo .mwai-ai{
    background:
        radial-gradient(circle at top,
            rgba(63, 63, 208, 0.22) 0%,
            rgba(18, 18, 28, 0.62) 55%,
            rgba(10, 10, 16, 0.78) 100%
        );
}

/* user bubble (un peu plus sombre / plus “0e0e2d” mais glass) */
body.futur .leo .mwai-user{
    background:
        radial-gradient(circle at top,
            rgba(124, 206, 192, 0.10) 0%,
            rgba(14, 14, 45, 0.65) 60%,
            rgba(9, 9, 34, 0.85) 100%
        );

    border-color: rgba(63, 63, 208, 0.45);
    box-shadow:
        0 0 14px rgba(63, 63, 208, 0.35),
        0 0 34px rgba(63, 63, 208, 0.20),
        inset 0 0 18px rgba(63, 63, 208, 0.14);
}

/* nom */
body.futur .leo .mwai-name{
    color: #a0a0a8;
    margin-bottom: 6px;
    text-align: left;
    font-size: 13px;
    opacity: 0.9;
}

/* input wrapper */
body.futur .leo .mwai-input{
    width: 100%;
    height: 86px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 12px;
    border-radius: 18px;

    backdrop-filter: blur(14px);

    background:
        radial-gradient(circle at top,
            rgba(63, 63, 208, 0.22) 0%,
            rgba(18, 18, 28, 0.60) 55%,
            rgba(10, 10, 16, 0.78) 100%
        );

    border: 1px solid rgba(124, 206, 192, 0.45);

    box-shadow:
        0 0 16px rgba(63, 63, 208, 0.55),
        0 0 40px rgba(63, 63, 208, 0.30),
        inset 0 0 18px rgba(124, 206, 192, 0.14);
}

/* zone textarea */
body.futur .leo .mwai-input-text{
    width: 100%;
    height: 100%;
}

body.futur .leo .mwai-input-text textarea{
    width: 100%;
    min-height: 100% !important;
    max-height: 100% !important;

    color: white;
    resize: none;
    border: none;
    background: none;
    display: block;

    font-family: elza, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    padding: 2px 6px;
}

body.futur .leo .mwai-input-text textarea::placeholder{
    color: #a0a0a8;
    opacity: 0.95;
}

body.futur .leo .mwai-input-text textarea:focus{
    outline: none;
    box-shadow: none;
}

/* bouton submit = style bouton1 */
body.futur .leo button.mwai-input-submit{
    font-family: elza, sans-serif;
    font-weight: 500;
    font-size: 16px;

    color: #ffffff;
    padding: 10px 14px;
    border-radius: 14px;

    border: 1px solid rgba(63, 63, 208, 0.55);

    background:
        linear-gradient(135deg,
            rgba(63, 63, 208, 0.25),
            rgba(124, 206, 192, 0.10));

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 16px rgba(63, 63, 208, 0.55),
        0 0 32px rgba(63, 63, 208, 0.35),
        inset 0 0 12px rgba(124, 206, 192, 0.30);

    cursor: pointer;
    transition: box-shadow .35s ease, transform .2s ease, border-color .35s ease;
}

body.futur .leo button.mwai-input-submit:hover{
    border-color: rgba(124, 206, 192, 0.85);
    box-shadow:
        0 0 22px rgba(63, 63, 208, 0.85),
        0 0 44px rgba(63, 63, 208, 0.55),
        inset 0 0 18px rgba(124, 206, 192, 0.45);

    transform: translateY(-2px);
}

body.futur .leo button.mwai-input-submit:active{
    transform: scale(0.95);
    box-shadow:
        0 0 12px rgba(63, 63, 208, 0.45),
        inset 0 0 22px rgba(63, 63, 208, 0.55);
}

/* responsive */
@media (max-width: 900px){
    body.futur .leo{
        padding: 20px 24px !important;
        align-items: stretch !important;
    }

    body.futur .leo .mwai-reply{
        max-width: 100%;
    }

    body.futur .leo .mwai-input{
        height: 92px;
    }

    /* ========================================================================= */
/* ADAPTATION MOBILE DE LA PAGE ASTUCES ET TIPS                              */
/* S'applique au Présent, Passé et Futur                                     */
/* ========================================================================= */

/* ========================================================================= */
/* ADAPTATION MOBILE DE LA PAGE ASTUCES ET TIPS                              */
/* S'applique au Présent, Passé et Futur                                     */
/* ========================================================================= */

@media (max-width: 768px) {

    /* FIX : TITRE DE LA PAGE */
    body.present main h1,
    body.passe main h1,
    body.futur main h1 {
        font-size: 32px !important; /* Réduit la taille pour le mobile */
        text-align: center;         /* Centre le titre */
        line-height: 1.2;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    /* 1. GRILLE D'ARTICLES */
    body.present .archive-posts,
    body.passe .archive-posts,
    body.futur .archive-posts {
        flex-direction: column; /* On empile les articles verticalement */
        align-items: center;    /* On centre les articles */
        gap: 30px;              /* On réduit l'espace entre deux articles */
        margin-top: 30px;
    }

    body.present .container,
    body.passe .container,
    body.futur .container {
        width: 100%;            /* L'article prend toute la largeur dispo... */
        max-width: 400px;       /* ... sans devenir immense sur tablette */
        height: auto;           /* On libère la hauteur fixe de 500px */
        min-height: 400px;
    }

    /* 2. BARRE DE RECHERCHE & RÉSULTATS */
    
    /* FIX : On garde l'effet pilule de la barre de recherche */
    body.present .search,
    body.passe .search,
    body.futur .search {
        flex-wrap: nowrap !important; /* Force tout sur la même ligne */
        height: 55px; /* Hauteur fixe pour un bel effet pilule */
        padding: 0 15px;
    }

    /* Le champ de texte doit être flexible pour ne pas pousser l'icône dehors */
    body.present .search input,
    body.passe .search input,
    body.futur .search input {
        flex: 1; /* Prend toute la place restante au milieu */
        min-width: 0; /* Empêche le texte de casser la barre */
        font-size: 14px; /* Police un peu plus fine sur mobile */
        padding: 0 10px;
    }

    body.present .results-wrapper,
    body.passe .results-wrapper,
    body.futur .results-wrapper {
        margin: 15px 0 0 0;     /* On retire les grandes marges latérales de 30px */
        justify-content: center;/* On centre les petites bulles de résultats */
    }

    /* 3. MENU FILTRE (CHECKBOXES) */
    body.present .filtre-menu,
    body.passe .filtre-menu,
    body.futur .filtre-menu {
        width: 100%;            /* Le menu prend toute la largeur */
        left: 0;                /* Se cale à gauche */
        padding: 15px;
        box-sizing: border-box;
    }
    
    /* 4. CHATBOT IA (.leo) */
    body.present .leo,
    body.passe .leo,
    body.futur .leo {
        padding: 20px 15px !important; /* IMPORTANT : On retire les 80px de padding sur les côtés ! */
        align-items: center !important;/* On centre le contenu du chat */
    }

    body.present .leo .mwai-reply,
    body.passe .leo .mwai-reply,
    body.futur .leo .mwai-reply {
        max-width: 95%;         /* Les bulles de chat prennent presque tout l'écran */
    }

    body.present .leo .mwai-input,
    body.passe .leo .mwai-input,
    body.futur .leo .mwai-input {
        flex-direction: column; /* Sur tout petit écran, on passe le bouton Envoyer sous le texte */
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    body.present .leo .mwai-input-text,
    body.passe .leo .mwai-input-text,
    body.futur .leo .mwai-input-text {
        min-height: 60px;       /* Laisse la place pour taper confortablement */
    }
    
    body.present .leo button.mwai-input-submit,
    body.passe .leo button.mwai-input-submit,
    body.futur .leo button.mwai-input-submit {
        width: 100%;            /* Un grand bouton facile à cliquer avec le pouce */
        text-align: center;
        justify-content: center;
    }

    /* 5. PAGINATION (Numéros de page) */
    body.present .navigation .pagination,
    body.passe .navigation .pagination,
    body.futur .navigation .pagination {
        flex-wrap: wrap;        /* Si beaucoup de pages, elles passent à la ligne */
        gap: 15px;
    }
    
    body.present .page-numbers,
    body.passe .page-numbers,
    body.futur .page-numbers {
        min-width: 44px;        /* Taille minimale recommandée par Apple pour le tactile */
        min-height: 44px;
        margin: 0 !important;   /* On annule les marges forcées des boutons 'prev' et 'next' */
    }
}
}