/*
Theme Name: SK_portfolio_theme
Template: base_WP_v1_1
Theme URI: http://basewp.local
Author: Stevie Khoudour
Author URI: http://basewp.local
Description: Template pour le site SK Portfolio
Version: 1.0
Text Domain: basewp_template
Tags: wordpress, theme, base_wp, sk_portfolio
*/



/* //////////////////////////////////////////////////////////// CUSTOM CSS ///////////////////////////////////////////////////////////////////////////////////// */



/* //////////////////////////////////////////////////////////// GENERAL ///////////////////////////////////////////////////////////////////////////////////// */

:root {
    --color_01: #ffdeaa;
    --color_01_L: #ffdeaa;
    --color_01_D: #c98453;
    --color_02: #17192d;
    --color_02_L: #232b41;
    --color_02_D: #080d1b;
    --color_02_DD: #000000;
    --color_03: #f9d57d;
    --color_03_L: #fffadb;
    --color_03_D: #eab455;
    --color_04: #a1daff;
    --bg_color: #1a1c29;
}

body {
    width:100;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color_01);
    margin: 0;
    padding: 0;
}

h2 {font-size: 1.8em;}
h3 {font-size:1.4em;}

strong {
    color: var(--color_02_DD);
}

input, textarea {
    background-color: var(--color_03);
}

button {
    margin-top: 0.6em;
    padding: 0.8em 2.7em;
    font-size: 1.1em;
    background-color: var(--color_01_D);
    color: var(--color_02);
    border-radius: 50px;
    text-transform: none;
}

button:hover {
    color: var(--color_02);
    box-shadow: 0px 0px 13px #9d843f99;
}

#e02, #e03, #e04, #e05, #e06, #e07, #e08, #e09, #e10, #e_contact, footer {
    position:relative;
    z-index:3;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #261600; 
}
 
::-webkit-scrollbar-thumb {
  background: #c98453; 
}

::-webkit-scrollbar-thumb:hover {
  background: #ffdeaa; 
}

#homepage_bg {
    display:none;
}

/* ////////////////////////////////////////////////////////// ICONES ///////////////////////////////////////////////////////////////////////////////////// */

.icon_e02 path {
    fill: var(--color_02_D); 
}



/* ////////////////////////////////////////////////////////// MENU  ///////////////////////////////////////////////////////////////////////////////////// */


#body-homepage.menu-scrolled::before {
    opacity: 0;
}

#body-homepage.menu-top::before {
    opacity: 1;
}

#header_menu {
    display: none;
    transition: top 0.3s ease-in;
}

#header_menu.header_menu_scrollup, 
#header_menu.header_menu_scrolldown {
    border-radius: 50px;
    width: 98% !important;
    margin-left: 1% !important;
    top:.8em !important;
}

.animate-down {
    animation: slideDown 0.5s ease-out forwards;
}

@keyframes slideDown {
    0% {
        transform: translateY(-3em) scale(0.9);
        opacity: 0.8;
    }
    100% {
    transform: translateY(0) scale(1);
        opacity: 1;
    }
}


.header_menu_scrollup #menu .menu-item a .menu-a,
.header_menu_scrolldown #menu .menu-item a .menu-a,
.header_menu_scrollup #menu .page_item a .menu-a, 
.header_menu_scrolldown #menu .page_item a .menu-a {
    color: var(--color_02) !important;
} 

.header_menu_scrollup #menu .current_page_item a .menu-a, 
.header_menu_scrolldown #menu .current_page_item a .menu-a,
.header_menu_scrollup #menu .menu-item a:hover .menu-a,
.header_menu_scrolldown #menu .menu-item a:hover .menu-a {
    color: var(--color_01) !important;
}

.header_menu_scrollup #menu .current_page_item a:hover .menu-a,
.header_menu_scrolldown #menu .current_page_item a:hover .menu-a {
    color: var(--color_01_L) !important;
}

#menu .sub-menu {
    top: 2.7em;
    left: -.4em;
    padding: 0.8em 0.5em 0.8em;
    border-top: 2px solid var(--color_02);
    border-left:0;
    margin-left: 0;
    border-radius: 18px;
    align-items: center;
}

#menu .sub-menu li {
    line-height: 1.8em;
}

#header_menu #menu .sub-menu .menu-a {
    text-align: center;
}

.header_menu_scrollup #menu a {
    justify-content: center !important;
}

.header_menu_scrolldown {
    opacity: 1;
    visibility: visible;
}

.header_menu_scrolldown #logo {
    width: 8.7em;
}

.header_menu_top #menu .sub-menu {
    background-color: rgba(126, 76, 46, 0.87);
    border-top:0;
}

#menu .menu-nous-soutenir {
    background-color: var(--color_01_L);
    border-radius: 50px;
    margin-left: .5em;
    transition: all ease 300ms;
}

#menu .menu-nous-soutenir a .menu-a {
    color:var(--color_02_D);
    padding: .5em 0.2em;
}

#menu .menu-nous-soutenir:hover {
    background-color: var(--color_03);
    box-shadow: 0px 0px 16px #d8ab7767;
    transition: all ease 500ms;
}

#menu .menu-nous-soutenir:hover a .menu-a {
    color: var(--color_02_D);
    transition: all ease 500ms;
}

.header_menu_scrolldown #menu .menu-nous-soutenir a:hover .menu-a,
.header_menu_scrollup #menu .menu-nous-soutenir a:hover .menu-a {
    color: var(--color_02_D) !important;
    transition: all ease 500ms;
}

#body-page .header_menu_top #menu .menu-item a .menu-a, 
#body-page .header_menu_top #menu .page_item a .menu-a {
    color: var(--color_02);
}

#body-page .header_menu_top #menu .current_page_item .sub-menu a .menu-a {
    color: var(--color_02);
}

#body-page .header_menu_top #menu .current_page_item a .menu-a, 
#body-page .header_menu_top #menu .menu-item a:hover .menu-a {
    color: var(--color_01);
}

#body-page .header_menu_top #menu .current_page_item a:hover .menu-a {
    color: var(--color_01_L);
}

#body-page .header_menu_top #menu .sub-menu {
    background-color: var(--color_03_L);
    border-top: 1px solid var(--color_02_L);
}

#body-page .header_menu_top #menu .sub-menu a {
    font-size: 1em;
}

#body-page .header_menu_top #menu .menu-nous-soutenir a:hover .menu-a {
    color:var(--color_02_DD);
}

.page-nous-soutenir .header_menu_scrolldown #menu .current_page_item.menu-nous-soutenir a .menu-a,
.page-nous-soutenir .header_menu_scrollup #menu .current_page_item.menu-nous-soutenir a .menu-a,
.page-nous-soutenir .header_menu_top #menu .menu-nous-soutenir a .menu-a {
    color: var(--color_02_D) !important;
}


/* ANIMATION DU MENU */

#menu .menu-item {
    display:flex;
    justify-content: center;
    opacity: 0;
}

#body-page #menu .menu-item {
    opacity: 1;
}

#body-homepage.menu-loaded #menu .menu-item {
    animation: fadeInUp 0.5s ease forwards;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#body-homepage.menu-loaded #menu .sub-menu .menu-item {
    animation:unset;
    animation: fadeInDown_items 0.3s ease forwards;
}

@keyframes fadeInDown_items {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#body-homepage.menu-loaded #menu .sub-menu {
    animation: fadeInDown 0.3s ease forwards;
    transform-origin: top;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* MENU MOBILE */

.is_menu_mobile #menu li {
    width:auto;
}

.is_menu_mobile #menu .menu-nous-soutenir .menu-a {
    padding: .8em 2em;
}

.is_menu_mobile .menu-item-has-children {
    flex-direction: column;
}

.is_menu_mobile .menu-item-has-children .sub-menu {
    margin-top: .7em;
}

.is_menu_mobile #menu .menu-item {
    justify-content: left;
}

.is_menu_mobile #menu .sub-menu {
    margin-top: 0;
    border-top: 0;
}

.is_menu_mobile #menu .sub-menu a {
    margin-left:2em;
}

.is_menu_mobile #menu .sub-menu li {
    margin-bottom: 0rem;
}

.is_menu_mobile #menu .sub-menu {
    animation: none;
}

.is_menu_mobile #menu a {
    justify-content: left !important;
}

.is_menu_mobile #menu .sub-menu .menu-a {
    text-align: left !important;
}

.is_menu_mobile #menu .menu-nous-soutenir {
    margin-left: -.2em;
}

.is_menu_mobile #menu .menu-item-has-children {
    margin-bottom:0;
}

.is_menu_mobile #menu .sub-menu {
    background-color: unset;
}

.is_menu_mobile #menu .menu-item a .menu-a, 
.is_menu_mobile #menu .page_item a .menu-a {
    color: var(--color_02);
}

.is_menu_mobile #menu .current_page_item a .menu-a {
    color: var(--color_01_L);
}

.is_menu_mobile #menu .menu-item a:hover .menu-a {
    color: var(--color_01_L);
}

.is_menu_mobile #menu .current_page_item:hover a .menu-a {
    color: var(--color_03);
}

.is_menu_mobile #menu .menu-nous-soutenir a:hover .menu-a {
    color: var(--color_02);
}

.header_menu_top #menu_burger .burger_bar {
    background-color:var(--color_01_L);
}

.header_menu_top #menu_burger:hover .burger_bar {
    background-color:var(--color_03_L);
}

#body-page .header_menu_top #menu_burger .burger_bar {
    background-color:var(--color_02_D);
}

#body-page .header_menu_top #menu_burger:hover .burger_bar {
    background-color:var(--color_01);
}

#body-page .is_menu_mobile #menu .sub-menu {
    border-top: 0;
}

/* //////////////////////////////////////////////////////////// ACCUEIL ///////////////////////////////////////////////////////////////////////////////////// */


#main-homepage {
    background-color: var(--bg_color) !important;
    display: flex;
    padding: 3em 5vw 0;
}

#homepage_bg {
    position:fixed;
    z-index:1;
}

#homepage_bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(70, 39, 3, var(--scroll, 0)); 
  pointer-events: none;
  z-index: 15;
}

.meta-arrow {
    bottom:2.8em;
}

.meta-arrow img {
    filter : sepia(15) hue-rotate(310deg) saturate(49) brightness(35%);
}

.meta-arrow-top {
    background-color: unset;
    right: 1em;
    bottom: 1em;
}

.meta-arrow-top img {
    filter : sepia(40) hue-rotate(294deg) saturate(80) brightness(75%);
}

.meta-arrow-top img:hover {
	filter: sepia(40) hue-rotate(294deg) saturate(80) brightness(95%);
}


.meta-arrow img {
    opacity: 0; /* Cache la flèche au départ */
    animation: none; /* Désactive l'animation infinie au départ */
}

.meta_arrow_down--initial-animation {
    animation: fadeInUpArrow 0.5s ease forwards;
    animation-fill-mode: forwards;
}

.meta_arrow_down--initial-animation img {
    animation: none !important;
}

.meta_arrow_down--animation-ready img {
    animation: meta-arrow 1s ease-out infinite;
}

@keyframes fadeInUpArrow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#button_homepage_container {
    align-items: flex-end;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    z-index: 20;
    right: 2.5em;
    top: 42%;
}

.button_homepage {
    display:flex;
    background-color: var(--color_02_D);
    padding:.8em;
    margin: .4em 0;
    border-radius: 50px;
    overflow:hidden;
    opacity: 0;
}

.buttons-loaded .button_homepage {
    animation: fadeInUp 0.5s ease forwards;
}

.button_homepage img {
    width: 1.8em;
    object-fit: contain;
    transition: margin 300ms ease, filter 300ms ease;
}

.button_homepage span {
    display: flex;
    align-items: center;
    padding: 0;
    color: var(--color_03_L);
    font-weight: 600;
    width: 0;
    height: auto;
    white-space: nowrap;
    max-width: 150px; 
    opacity: 0;
    transform: translateX(5em) scale(0.5);
    transform-origin: right;
    overflow: hidden;
    transition:
        opacity 400ms ease,
        transform 150ms ease-out,
        width 300ms ease,
        padding 100ms ease;
}

.button_homepage:hover {
    background-color: var(--color_01);
}

.button_homepage:hover span,
.button_homepage_active span {
    width: auto;
    opacity: 1;
    transform: translateX(0) scale(1);
    padding: 0 1em;
    white-space: nowrap;
    transition:
        opacity 400ms ease,
        transform 150ms ease-out,
        width 300ms ease,
        padding 100ms ease;
}

.button_homepage_active {
    background-color: var(--color_01);
    transition: all ease 300ms;
}

.button_homepage:hover img,
.button_homepage_active img {
    margin-left: .5em;
    filter: brightness(150%);
    transition: all ease 300ms;
}

.button_homepage_active span {
    width: auto;
    height: auto;
    opacity: 1;
    color: var(--color_03_L);
    padding: 0 1em;
    transition: all ease 300ms;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* //////////////////////////////////////////////////////////// AGENDA /////////////////////////////////////////////////////////////////////////////////// */


#e03 {
    scroll-margin-top: 105px;
}

#agenda {
    width:68%;
    margin: 0 auto;
    position:relative;
    z-index:1;
}

.page #agenda {
    width: 140%;
    margin-left: -20%;
}

#main_event {
    position:relative;
    width:100%;
    height:60vh;
    margin: 2em 0;
}

#main_event::before {
    content: "";
    background: linear-gradient(to top, #462703 0%, #67390000 50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

#main_event_img {
    object-fit: cover;
    width:100%;
    height:60vh;
}

#main_event_category {
    position:absolute;
    top:0;
    left:0;
    margin: auto;
    right: 0;
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:var(--color_01);
    padding:1em 2em;
    width: 25vw;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#main_event_category h3 {
    color:var(--color_03_L);
}

#main_event_text {
    position: absolute;
    bottom: 0;
    display:flex;
    align-items: center;
    justify-content: space-between;
    width:75%;
    margin:0 auto;
    bottom:0;
    left: 0;
    right: 0;
    padding: 1.5em 0;
}

#main_event_date {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.agenda_date {
    color: var(--color_02_D);
    transition: all ease 800ms;
}

.agenda_events:hover .agenda_date {
    color: var(--color_01_L);
    transition: all ease 300ms;
}

#main_event_mois {
    font-size: 2em;
    font-weight: 100;
    line-height: 0.5em;
}

#main_event_jour {
    font-size: 3.8em;
    font-weight: bold;
    line-height: 1.3em;
}

#main_event_info {
    display:flex;
    flex-direction: column;
    width:60%;
}

#main_event_info h4 {
    text-align: left;
    margin-bottom:0.3em;
}

#main_event_info p {
    color:var(--color_03_L);
}

#main_event_bouton {
    display:flex;
    align-items: center;
    justify-content: center;
    background-color:var(--color_02);
    color:var(--color_03);
    border-radius:15px;
    padding:1em 2em;
}




#agenda_list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 3em;
    justify-content: center;
    gap: .5em;
}

#main-page #agenda_list {
    width:100%;
}

.agenda_events {
    width: calc(50% - .5em);
    cursor: pointer;
    overflow: hidden;
    background-color: black;
    border-radius: 20px;
    transition: all ease 800ms;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda_events:hover {
    box-shadow: 0px 0px 16px var(--color_02);
    transition: all ease 300ms;
}

#agenda_event_content {
    display:flex;
    position: absolute;
    bottom: 0;
    z-index: 10;
    width:100%;
}

.agenda_event_img img,
.agenda_event_img video {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1920/1080;
    transform: scale(1.03);
    transition: all ease 800ms;
}

.agenda_events:hover .agenda_event_img img,
.agenda_events:hover .agenda_event_img video {
    transform: scale(1.07);
    transition: all ease 300ms;
}

.agenda_events:has(.video-wrapper):hover .agenda_event_img video {
    transform: scale(1.03); 
}

.agenda_event_date {
    margin-right: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#agenda_event_mois {
    font-size: 1.3em;
    line-height: .5em;
    font-weight: 100;
}

#agenda_event_jour {
    font-size: 2em;
    font-weight: bold;
}

#agenda_event_jour_semaine {
    font-size: 1.1em;
    font-weight: 100;
    margin-bottom: -.4em;
}

#agenda_event_hour {
    font-size: 1.1em;
    font-weight: bold;
}

#agenda_separator {
    color:var(--color_02_D);
    margin-bottom:.3em;
    transition: all ease 800ms;
}

.agenda_events:hover #agenda_separator {
    color:var(--color_03);
    transition: all ease 300ms;
}

.agenda_event_info {
    border-left: 1px solid var(--color_02_D);
    padding: 1em 3em;
    margin-top: .3em;
    transition: all ease 800ms;
    opacity:0;
    width: 100%;
    background: linear-gradient(to bottom, #ffffff00, black);
}

.agenda_events:hover .agenda_event_info {
    border-left: 1px solid var(--color_03_D);
    transition: all ease 300ms;
    opacity:1;
}

.agenda_event_info h3 {
    color: var(--color_02_D);
    text-align:left;
    font-size:1.3em;
    margin-bottom: .2em;
    transition: all ease 800ms;
    font-weight: 900;
    font-family: "Google Sans", sans-serif;
}

.agenda_events:hover .agenda_event_info h3 {
    color: var(--color_01_L);
    transition: all ease 300ms;
}

.agenda_event_info p {
    font-size:.87em;
    color: var(--color_02_DD);
    transition: all ease 800ms;
}

.agenda_events:hover .agenda_event_info p {
    color: var(--color_03_D);
    transition: all ease 300ms;
}

#agenda_voir_plus {
    display:flex;
    justify-content: center;
}


.page-agenda #agenda_list {
    margin: 0 auto;
}



/* ── Archives toggle ── */
#agenda_archives_toggle {
    text-align: center;
    margin: 2rem 0 1rem;
}

#btn_archives {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn_archives_arrow {
    transition: transform 0.3s ease;
}

#btn_archives[aria-expanded="true"] .btn_archives_arrow {
    transform: rotate(120deg);
    margin-top:.2em;
}

#agenda_archives {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

#agenda_archives[aria-hidden="false"] {
    max-height: 9999px; 
}

#agenda_archives_title {
    text-align: center;
    margin: 1rem 0;
    opacity: 0.6; 
}

.agenda_archives_list .agenda_events {
    opacity: 0.75;
}

#agenda_load_more_wrap  {
    display: flex;
    justify-content: center;
}

.agenda_edit_btn {
    position: absolute;
    top: 1em;
    right: 1.5em;
    z-index: 10;
    background: var(--color_01);
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    padding: .5em 1em;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    transition:all ease 250ms;
}

.agenda_events:hover .agenda_edit_btn {
    opacity: 1;
}

.agenda_edit_btn:hover {
    color: var(--color_02_D);
    background: var(--color_03);
    box-shadow: 0 0 9px #6c433cb0;
}

.agenda_events.highlight {
    width: 100% !important;
}

.video-wrapper {
    position: relative;
    width: 100%;
}

.btn-son {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.video-wrapper:hover .btn-son {
    opacity: 1;
}


/* //////////////////////////////////////////////////////////// POPUP ///////////////////////////////////////////////////////////////////////////////////// */


/* ============================================================
   POPUP — Style Instagram
   ============================================================ */

/* Overlay */
.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgb(50 19 47 / 55%);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.modal.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Boîte principale */
.modal-content {
    display: flex;
    flex-direction: row;        /* media | infos */
    width: 90vw;
    max-height: 90vh;
    border-radius: 18px;
    background-color: var(--color_02);
    transform: translateY(30px) scale(0.95);
    transition: transform 300ms ease;
    position: relative;
}

.modal.is-open .modal-content {
    transform: translateY(0) scale(1);
}

/* Bouton fermeture */
.close {
    position: absolute;
    top: .6em;
    right: .9em;
    z-index: 30;
    font-size: 2.2em;
    font-weight: bold;
    color: var(--color_03_L);
    cursor: pointer;
    line-height: 1;
    transition: color 200ms ease;
    float: none;
}

.close:hover { color: var(--color_03_D); }

/* ── #popup-content : flex row avec nav de chaque côté ── */
#popup-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-height: 88vh;
    position: relative;
}

/* ── Boutons navigation gauche / droite ── */
.popup-nav {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0,0,0,0.45);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: background 200ms ease;
}

.popup-nav:hover { background: rgba(0,0,0,0.75); }
.popup-nav:disabled { opacity: 0.2; cursor: default; }

.popup-nav--prev { left: -3em; }
.popup-nav--next { right: -3em; }

/* ── Zone média (gauche) ── */
.popup-media {
    flex: 0 0 75%;
    max-width: 75%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.popup-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bouton son dans la popup */
.popup-btn-son {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: background 200ms ease;
}

.popup-btn-son:hover { background: rgba(0,0,0,0.8); }

/* ── Zone infos (droite) ── */
.popup-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 6em 2.5em 2.5em;
    background-color: var(--color_02);
    gap: 1em;
    scrollbar-width: thin;
}

.popup-infos::-webkit-scrollbar { width: 5px; }
.popup-infos::-webkit-scrollbar-thumb { background: var(--color_02_L); border-radius: 4px; }

/* En-tête infos */
.popup-infos-header {
    display: flex;
    flex-direction: column;
    gap: .6em;
    padding-right: 2em; /* espace pour la croix */
}

.popup-infos-title {
    font-size: 1.6em;
    color: var(--color_01);
    line-height: 1.2em;
    margin: 0;
}

.popup-category {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
    margin: 0;
}

.popup-category-name {
    color: var(--color_03);
    padding: .45em 1.2em;
    background-color: var(--color_01_D);
    border-radius: 50px;
    font-size: 0.82em;
    font-weight: 600;
}

/* Méta (date, heure, lieu) */
.popup-infos-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color_02_L);
    border-bottom: 1px solid var(--color_02_L);
}

.popup-info {
    display: flex;
    align-items: baseline;
    gap: 1em;
    padding: .65em .4em;
    border-bottom: 1px solid var(--color_02_L);
}

.popup-info:last-child { border-bottom: none; }

.popup-info-name {
    font-size: 1em;
    color: var(--color_01_D);
    font-weight: 600;
    white-space: nowrap;
    min-width: 5.5em;
}

.popup-info-content {
    color: var(--color_03_L);
    font-size: .9em;
}

/* Description */
.popup-infos-description {
    color: var(--color_03_L);
    font-size: .9em;
    line-height: 1.7em;
}

.popup-infos-description p { margin-bottom: .8em; text-align: left; }
.popup-infos-description h2,
.popup-infos-description h3,
.popup-infos-description h4 { color: var(--color_01); margin: 1em 0 .3em; }

.popup-description-loading {
    margin:1em 0 0;
}

.popup-description-loading p {
    color: var(--color_01_D);
    margin:0;
}

/* ── Responsive ── */

@media (max-width: 1280px) {
    .popup-media {
        max-width: 100%;
    }
    
    .popup-nav--prev { left: .4em; }
    .popup-nav--next { right: .4em; }
}

/* Tablette */
@media (max-width: 960px) {
    .modal-content {
        width: 94vw;
        max-height: 92vh;
    }

    .popup-media {
        flex: 0 0 50%;
        max-width: 100%;
    }
}

/* Mobile : empilé verticalement */
@media (max-width: 768px) {
    .modal-content {
        width: 96vw;
        max-height: 92vh;
        border-radius: 14px;
    }

    #popup-content {
        flex-direction: column;
        overflow-y: auto;
        max-height: 92vh;
    }

    .popup-media {
        flex: none;
        max-width: 100%;
        width: 100%;
        max-height: 45vw;
    }

    .popup-infos {
        padding: 1.8em 1.5em 2em;
    }

    .popup-infos-title {
        font-size: 1.4em;
        padding-right: 2em;
    }
}

@media all and (max-device-width: 480px) {
    .popup-infos {
        padding: 1.5em 1em 1.5em;
    }
}



/* ── Carousel ── */
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide-item .popup-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide-item .popup-video-wrapper {
    width: 100%;
    height: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: background 200ms ease;
}

.carousel-arrow:hover { background: rgba(0,0,0,0.85); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 15;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.3);
}

/* //////////////////////////////////////////////////////////// PAGES ///////////////////////////////////////////////////////////////////////////////////// */

#main-page {
    padding-bottom:20em;
}

#page_title_content {
    display:flex;
    flex-direction:column;
    align-items: center;
}

#page_title_content img {
    margin-bottom:.5em;
}

#body-page #page_text h2,
#body-page #page_text h3,
#body-page #page_text h4,
#body-page #page_text h5,
#body-page #page_text p {
    text-align:justify;
}

.page-politique-de-cookies #page_text p,
.page-politique-de-cookies #page_text h2, 
.page-politique-de-cookies #page_text h3, 
.page-politique-de-cookies #page_text h4, 
.page-politique-de-cookies #page_text h5 {
    text-align:left;
}

.page-mentions-legales #page_text p,
.page-mentions-legales #page_text h2, 
.page-mentions-legales #page_text h3, 
.page-mentions-legales #page_text h4, 
.page-mentions-legales #page_text h5 {
    text-align:left;
}

.page-politique-de-confidentialite #page_text p,
.page-politique-de-confidentialite #page_text h2, 
.page-politique-de-confidentialite #page_text h3, 
.page-politique-de-confidentialite #page_text h4, 
.page-politique-de-confidentialite #page_text h5 {
    text-align:left;
}

.page-politique-de-confidentialite #page_text ul,
.page-mentions-legales #page_text ul,
.page-politique-de-cookies #page_text ul  {
    margin-bottom: 1em;
    margin-top: -.2em;
}

.page-politique-de-confidentialite #page_text li,
.page-mentions-legales #page_text li,
.page-politique-de-cookies #page_text li {
    list-style-type: disc;
    margin-left:1.5em;
    font-size: 1em;
}

.page-contact #main-page {
    padding-bottom: 15em;
}


/* //////////////////////////////////////////////////////////// FANCYBOX ///////////////////////////////////////////////////////////////////////////////////// */
/*
.fancybox__container {
    --fancybox-bg: var(--color_02_DD) !important;
}
*/


/* //////////////////////////////////////////////////////////// FOOTER ///////////////////////////////////////////////////////////////////////////////////// */

footer {
    position:relative;
}

#footer {
    padding: 5vh 0 12vh;
}

#footer #footer_link {
    padding: 0 5em;
}

#footer #reseaux_sociaux_footer img {
    border-radius:50px;
}

#footer #reseaux_sociaux_footer img:hover {
    filter: brightness(2.6) hue-rotate(41deg);
    box-shadow: 0px 0px 12px #a16f5034;
    transition: all ease 300ms;
}

footer .footer-copyright {
    font-weight:bold;
}

footer .footer-copyright a {
    color: var(--color_03_D);
    font-weight:bold;
    text-shadow: 1px 0px 9px #6c433c59;
}

footer .footer-copyright a:hover {
    color: var(--color_03);
}

#footer #footer_text {
    padding: 0 2em;
}

#footer_newsletter {
    margin: 1em 0 .5em;
    padding: 0 2em;
}

#footer_newsletter input {
    border-radius:50px;
}

#footer_newsletter input[type=submit]{
    background-color:var(--color_02_D);
    transition:all ease 250ms;
    margin-top:.8em;
    color:var(--color_03);
}

#footer_newsletter input[type=submit]:hover {
    background-color:var(--color_03_D);
    color:var(--color_02_DD);
}

#footer #newsletter_message {
    margin-bottom:.5em;
}


/* //////////////////////////////////////////////////////////// CONTACT ///////////////////////////////////////////////////////////////////////////////////// */

#e_contact {
    scroll-margin-top: 105px;
}

.encart_contact {
    padding-bottom:12em;
}

.page-contact .wpcf7-form {
    width: 80%;
    margin: auto;
}

.page-contact .wpcf7-form-control.wpcf7-text[size] {
    border-radius: 30px;
}

.page-contact .wpcf7-form-control-wrap input, 
.page-contact .wpcf7-form-control-wrap textarea {
    border-radius: 25px;
}

.page-contact form [type=button]:not(:disabled), 
.page-contact form [type=reset]:not(:disabled), 
.page-contact form [type=submit]:not(:disabled), 
.page-contact form button:not(:disabled) {
    background-color: var(--color_02_D);
    border-radius: 50px;
    color: var(--color_03);
    padding: .9em 2em;
    font-size: 1.1em;
    transition: all ease 800ms;
}

.page-contact form [type=button]:not(:disabled):hover, 
.page-contact form [type=reset]:not(:disabled):hover, 
.page-contact form [type=submit]:not(:disabled):hover, 
.page-contact form button:not(:disabled):hover {
    background-color: var(--color_01);
    color: var(--color_03_L);
    transition: all ease 300ms;
}

/* //////////////////////////////////////////////////////////// ASIDE ///////////////////////////////////////////////////////////////////////////////////// */

aside {
    background-color: var(--color_02_L);
    padding: 3em 3em;
    border-radius: 20px;
    width: 26%;
    min-width: 400px;
    margin-right: .5em;
    margin-bottom: 3em;
    height: fit-content;
}

aside p {
    color: var(--color_01_D);
    margin-bottom: 0;
}

aside .bloc_aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5em;
    border-bottom: 1px solid var(--color_01_D);
    padding-bottom: 1.5em;
}

.aside_photo {
    object-fit: cover;
    width: 70%;
    border-radius: 20px;
    aspect-ratio: 1;
    margin-bottom: 1em;
}

#logiciels {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap: 5%;
    padding: 0px .5em;
}

#logiciels div {
    position: relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    width: 12%;
    margin:1em 0;
}

#logiciels div img {
    width: 100%;
    filter:sepia(1);
    filter: sepia(1) hue-rotate(164deg) brightness(1.05);
}

#logiciels div p {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    white-space: nowrap;
    background-color: var(--color_01_D);
    color: var(--color_02_D);
    padding: .3em .7em;
    border-radius: 6px;
    font-size: .85em;
    text-align:center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 10;
}

#logiciels div:hover p {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

#list_exp {
    width: 100%;
    padding: 0 1.5em;
}

#list_exp div {
    display:flex;
    flex-direction:column;
    margin-top:1em; 
}

#list_exp div h3 {
    margin-bottom:.3em; 
}

.bloc_aside span {
    color: var(--color_01_D);
}

.bloc_aside .pro_date {
    color: var(--color_03);
}

.bloc_aside .pro_soft {
    color: var(--color_04);
}

#list_autres {
    width: 100%;
    padding: 0 1.5em;
}

#list_autres div {
    display:flex;
    flex-direction:column;
    margin-top:1em; 
}

#list_autres div h3 {
    margin-bottom:.3em; 
}

#bloc_profil_960 {
    display:none;
    flex-direction: column;
    align-items: center;
    padding: 2em 5em;
    background-color: var(--color_02_L);
    border-radius: 25px;
    width: 80%;
    margin: 0 auto 2em;
}

/* ── Popup "Voir mon CV" (mobile) ── */
#cv-modal-content {
    flex-direction: column;
    width: 90vw;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5em 2em 2em;
}

#cv-modal-body {
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background-color: transparent;
}

#cv-modal-body .bloc_aside:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ////////////////////////////////////////////////////////////////////// COOKIE ////////////////////////////////////////////////////////////////////////////////////// */

#cdc-cookie button.cdc-cookie__btn {
    padding: .5em .7em .7em !important;
}

#cdc-cookie button.cdc-cookie__btn.open .cdc-cookie__btn__close {
    margin-top: .2em !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step {
    padding: 2em 3.5em 1em !important;
}

#cdc-cookie .cdc-cookie__popup {
    margin-bottom: 0em !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__body__image {
    margin-right: 1em !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__body__image img {
    width: 35px !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__body__title {
    font-family: "Google Sans", sans serif !important;
    color: var(--color_02_D) !important;
    font-size: 1.9em !important;
}

#cdc-cookie .cdc-cookie__popup {
    max-width: 520px !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__body {
    margin-bottom: 10px !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__footer__btns button.cdc-cookie__popup__steps__step__footer__btns__btn.main {
    padding: 1em 2em !important;
    font-family: "Google Sans", sans-serif !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__body__description {
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    font-family: "Google Sans", sans-serif !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__body__important-links__item span {
    font-size: .85em !important;
    letter-spacing: 0 !important;
    font-family: "Google Sans", sans-serif !important;
}

#cdc-cookie .cdc-cookie__popup__steps__step__footer__btns button.cdc-cookie__popup__steps__step__footer__btns__btn.main:hover {
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
    background-color: var(--color_01_L) !important;
    color: var(--color_02_D) !important;
}

/* /////////////////////////////////////////////////////////////////////// RESPONSIVE ////////////////////////////////////////////////////////////////////////// */


/* ---------------------------- Ecran Ordinateurs ---------------------------- */

@media (max-width: 1700px) {

    .asso_bloc_text h2 {
        font-size: 2.3em;
    }

    #introduction_text {
        width: 50%;
    }

    #asso_bloc_text_03 {
        top: 72%;
        left: 38%;
    }

    #axes_container {
        width: 160%;
    }

    .agenda_events {
        width: calc(50% - .5em);
    }

    .asso_bloc_text {
        width: 45%;
    }

    #asso_bloc_text_01 {
        top: 9.5%;
        left: -21%;
    }

}

@media (max-width: 1580px) {

    #asso_bloc_text_03 {
        top: 73%;
        left: 43%;
    }

    .modal-content {
        width: 90%;
    }

    .popup-category {
        margin: .5em 1em 0;
    }

    #popup-info-container {
        margin: 1em 2em;
    }

}



@media (max-width: 1440px) {

    #introduction_text {
        width: 62%;
    }


    #axes_container {
        width: 120%;
    }

    .axes_bloc {
        width: calc(50% - 2em);
    }

    .vlp-template-default .vlp-link-image-container {
        width: 40%;
    }

    #terre {
        display:block;
    }

    .asso_bloc_text {
        width: 50%;
    }

    #asso_bloc_text_01 {
        top: 9%;
        left: -10%;
    }

    #asso_bloc_text_03 {
        top: 66%;
        left: 0%;
    }

    #main-page {
        padding: 15vh 20vw 20em;
    }

}

@media (max-width: 1280px) {

    #introduction_text {
        width: 68%;
    }

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 110%;
    }

    #e01 {
        height:3600px;
    }

    .asso_bloc_text {
        width: 55%;
    }

    #asso_bloc_text_01 {
        top: 9%;
        left: 0%;
    }

    #asso_bloc_text_02 {
        top: 37%;
        left: 0%;
    }

    #footer_logo {
        width: 25vw;
    }

    /* POPUP */

    .popup_arbre #popup-content {
        overflow-y: auto;
        flex-direction: column;
    }

    .popup_arbre .popup-header {
        order: 2;
    }

    .popup_arbre .popup-article {
        order: 1;
    }

    .popup_agenda #popup-content {
        overflow-y: auto;
        flex-direction: column;
    }

    .popup-header {
        width: 100%;
        position: relative;
    }

    .popup-gallery {
        gap: 1%;
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .popup-gallery a {
        text-align:center;
    }

    .popup-gallery img {
        width: 90%;
        margin: 0 auto 2% auto;
    }

    .popup-article {
        padding: 1em 2em;
        width: 100%;
    }

    .popup-article h2 {
        display:none;
    }

    .popup-title-name {
        font-family: "Love Ya Like A Sister", sans-serif;
        font-size: 2.4em;
        text-align:center;
        line-height: 1.2em;
        margin-bottom: .2em;
    }

    .popup-category {
        justify-content: center;
    }

    .modal-content ::-webkit-scrollbar {
        width: 6px;
    }

    .popup-header a {
        display: flex;
        justify-content: center;
    }

    .popup-header img {
        width: 80%;
    }

    #popup-info-container {
        margin: 1em 12em;
    }

}

@media (max-width: 1150px) {

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 125%;
    }

    .page-nous-soutenir .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 100%;
    }

    .vlp-template-default .vlp-link-image-container {
        width: 45%;
    }

    #e01 {
        height:3650px;
    }

    #asso_bloc_text_01 {
        top: 8%;
        left: 5%;
    }

    #popup-info-container {
        margin: 1em 10em;
    }
    
}

@media (max-width: 1080px) { 


}

@media (max-width: 1024px) {

    #introduction_text {
        width: 75%;
    }

    .agenda_events {
        width: 100%;
    }

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 100%;
    }

    .vlp-template-default .vlp-link-image-container {
        width: 40%;
    }

    #partenaires .logos-container .logo_partenaires {
        width: 15vw;
    }

    .asso_bloc_text {
        width: 65%;
    }

    #asso_bloc_text_01 {
        top: 7%;
        left: 0%;
    }

    #popup-info-container {
        margin: 1em 8em;
    }

}

@media (max-width: 960px) {

    #bloc_profil_960 {
        display:flex;
    }

    #bloc_profil {
        display:none;
    }

    aside {
        display:none;
    }

    #agenda {
        width: 85%;
    }

    #header_menu.header_menu_scrollup, #header_menu.header_menu_scrolldown {
        width: 96% !important;
        margin-left: 2% !important;
    }

    #menu {
        height: 97vh;
        border-radius: 35px;
        transform: translateX(104%);
    }

    .menu_burger {
        right: 35px;
        top: unset;
    }

    #introduction_text {
        width: 80%;
    }

    #axes_container {
        width: 60%;
    }

    .axes_bloc {
        width: 100%;
    }

    .asso_bloc_text {
        width: 70%;
    }

    #asso_bloc_text_01 {
        top: 6%;
        left: 0;
    }

    #asso_bloc_text_02 {
        top: 35%;
        left: 0;
    }

    #asso_bloc_text_03 {
        top: 67%;
        left: 0%;
    }

    #e01 {
        height:4050px;
    }

    #footer_logo {
        width: 30vw;
    }

    #main-page {
        padding: 15vh 17vw 20em;
    }

    #popup-info-container {
        margin: 1em 5em;
    }

    .popup-header img {
        width: 85%;
    }


}

@media (max-width: 860px) {

    #agenda {
        width: 90%;
    }

    .vlp-template-default .vlp-link-image-container {
        width: 45%;
    }

    #footer_logo {
        width: 35vw;
    }
}

/* ORDI ET MOBILE */

@media (max-width: 768px) {

    .desktop-only { 
        display: none;  
    }
    
    .mobile-only { 
        display: block; 
    }

    #homepage_bg .parallax-img:nth-child(2) { /* BG terre */
        height:110%;
    }

    #homepage_bg .parallax-img:nth-child(4) { /* Ver de terre */
        height:60%;
    }

    #homepage_bg .parallax-img:nth-child(6) { /* Feuilles arrondies */
        height:120%;
    }

    #homepage_bg .parallax-img:nth-child(8) { /* Logo */
        height:14%;
        top: calc(50dvh - 25px);
        z-index:10;
    }

    #homepage_bg .parallax-img:nth-child(10) { /* Feuilles pointues */
        height:130%;
    }

    #homepage_bg .parallax-img:nth-child(12) { /* Tiges */
        height:200%;
    }


    #menu {
        width: 80%;
        max-width: 80vw;
    }

    #axes_container {
        width: 75%;
    }

    #agenda {
        width: 100%;
    }

    #bloc_profil_960 {
        width: 90%;
        padding: 2em 3em;
    }



    #button_homepage_container {
        display:none;
    }

    .vlp-template-default .vlp-link-image-container {
        display:none;
    }

    .vlp-link-text-container {
        width: 100%;
        padding: 2.5em 5em 2.5em 5em;
    }

    #partenaires .logos-container .logo_partenaires {
        width: 20vw;
    }

    #e01 {
        height:4150px;
    }

    #footer_logo {
        width: 38vw;
    }

    .asso_bloc_text {
        width: 78%;
    }

    #asso_bloc_text_01 {
        top: 5%;
        left: 0;
    }

    .member.member_actif {
        flex: 0 0 450px;
    }

    .member_actif .member_main_info {
        flex-direction: column;
        align-items: center;
        gap:1em;
    }

    .member_text {
        width: 100%;
    }

    #e02 {
        padding: 5em 8em 13em;
    }

    #equipe_member {
        gap: 10px;
    }

    #page_gallery a {
        width: 100%;
    }

    #popup-info-container {
        margin: 1em 0em;
    }

    .popup-header img {
        width: 90%;
    }

    .modal-content {
        width: 90%;
    }

    /* EQUIPE */ 

    /* Le wrapper devient un scroll horizontal avec snap */
    #carousel {
        overflow-x: scroll;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;       /* Firefox */
        height: auto;
        padding: 1.5em 0 2em;
        /* Padding latéral pour que le premier/dernier soit centrable */
        padding-left: calc(50% - min(80vw, 320px) / 2);
        padding-right: calc(50% - min(80vw, 320px) / 2);
        display: block;              /* On sort du flex pour que le scroll fonctionne */
    }
 
    #carousel::-webkit-scrollbar {
        display: none;              /* Chrome/Safari */
    }
 
    /* equipe_member redevient flex mais sans transform */
    #equipe_member {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
        transform: none !important; /* Annuler tout translateX desktop */
    }
 
    /* Chaque membre = snap center, taille relative à l'écran */
    .member {
        flex: 0 0 min(80vw, 320px);
        max-width: min(80vw, 320px);
        scroll-snap-align: center;
        scroll-snap-stop: always;
        max-height: none;
    }
 
    /* Membre actif : légèrement agrandi, même largeur de base */
    .member.member_actif {
        flex: 0 0 min(80vw, 320px);
        max-width: min(80vw, 320px);
        transform: scale(1.04);
        padding: 2em;
        margin: 0;
        /* Le contenu s'empile verticalement sur mobile */
    }
 
    .member_actif .member_main_info {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }
 
    .member_actif .member_text {
        position: relative;
        opacity: 1;
        visibility: visible;
        max-height: none;
        width: 100%;
        left: 0;
        pointer-events: auto;
        transition: none; /* Supprime la transition max-height lente héritée du desktop */
    }
 
    .member_photo {
        width: 120px;
        height: 120px;
    }
 
    /* Afficher les pastilles de navigation */
    #carousel_dots {
        display: flex;
    }
 
    /* Désactiver les décorations ::before / ::after du membre actif sur mobile */
    .member_actif::before,
    .member_actif::after {
        display: none;
    }

}

@media (max-width: 620px) {

    .v01-03, .v01-04, .v01-05, .v01-06 {
        padding: 6vh 4vh;
    }

    #axes_container {
        width: 100%;
    }

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 115%;
    }

    .page-nous-soutenir .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 100%;
    }

    #partenaires .logos-container .logo_partenaires {
        width: 23vw;
    }

    #footer_logo {
        width: 42vw;
    }

    .asso_bloc_text {
        width: 85%;
    }

    #asso_bloc_text_01 {
        top: 4%;
        left: 0;
    }

    .asso_bloc_text h2 {
        font-size: 2.1em;
    }

    .member.member_actif {
        flex: 0 0 380px;
    }

    #e02 {
        padding: 5em 3em 15em;
    }

    #main-page {
        padding: 15vh 15vw 20em;
    }

    .modal-content {
        width: 95%;
    }

    .popup-title-name {
        font-size: 2.2em;
    }

    #agenda_event_content {
        flex-direction: column;
    }

    .agenda_event_date {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: .3em;
        margin-left: 1.5em;
    }

    #agenda_event_jour {
        font-size: 2em;
    }

    #agenda_event_mois {
        font-size: 1.9em;
        margin-left: .25em;
        padding-right: .75em;
    }

    #agenda_event_jour_semaine {
        font-size: 1.7em;
        margin-bottom: 0;
        margin-right: .25em;
    }

    #agenda_separator {
        display: none;
    }

    #agenda_event_hour {
        padding-left: .8em;
        font-size: 1.7em;
        border-left: 1px solid var(--color_02);
    }
    
    .agenda_event_info {
        border-left: 0;
        border-top: 2px solid var(--color_02);
        padding: 1.2em 1.5em 0;
    }

    .agenda_events:hover .agenda_event_info {
        border-left: 0;
    }



}

@media (max-width: 540px) {

    #menu {
        width: 90%;
        max-width: 90vw;
    }

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 125%;
    }

    .vlp-link-text-container {
        padding: 2.5em 4em 2.5em 4em;
    }

    #partenaires .logos-container .logo_partenaires {
        width: 25vw;
    }

    #footer_logo {
        width: 45vw;
    }

    .asso_bloc_text {
        width: 90%;
    }

    .asso_bloc_text h2 {
        font-size: 1.9em;
    }

    .asso_bloc_text_icon img {
        width: 3em;
    }

}


@media (max-width: 480px) {

    #e01 {
        height:4400px;
    }

    .asso_bloc_text {
        width: 100%;
    }

    #asso_bloc_text_03 {
        top: 65%;
    }

    #introduction_text {
        width: 100%;
    }

    #e02 {
        padding: 5em 3em;
    }

    .v01-03,
    .v01-04,
    .v01-05,
    .v01-06 {
        padding: 6vh 4vh;
    }

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 105%;
    }

    #partenaires .logos-container .logo_partenaires {
        width: 33vw;
    }

    #footer_logo {
        width: 55vw;
    }

    #agenda_event_jour {
        font-size: 1.7em;
    }

    #agenda_event_mois {
        font-size: 1.6em;
        padding-right: .5em;
    }

    #agenda_event_hour {
        padding-left: .5em;
        font-size: 1.4em;
    }

}




/* ---------------------------- Ecran Mobiles ---------------------------- */

@media all and (max-device-width:480px) {

    
    #introduction_text {
        padding: 3em 3em 7em;
    }

    #axes_container {
        width: 120%;
    }

    .asso_bloc_text {
        width: 116%;
        margin-left: -8%;
    }

    #e02 {
        padding: 5em 2em;
    }

    .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 110%;
    }

    .vlp-link-text-container {
        padding: 2.5em 3em 2.5em 3em;
    }

    .encart_contact form p {
        width: 80% !important;
    }

    .meta-arrow {
        bottom: 2.5em;
    }

    .meta-arrow img {
        filter: sepia(15) hue-rotate(310deg) saturate(22) brightness(135%);
    }

    .meta-arrow-top {
        right: 1em;
        bottom: 1em;
    }

    #footer p {
        text-align: center;
    }

    .is_menu_mobile #menu .sub-menu a {
        margin-left: .8em;
    }

    #menu {
        padding: 10em 2em;
    }

    .is_menu_mobile #menu .menu-nous-soutenir .menu-a {
        padding: .8em 1.5em;
    }

    #main-page {
        padding: 15vh 12vw 20em;
    }

    #main-page #agenda_list {
        width: 90%;
        margin: 3em 5%;
    }

    .page h2 {
        font-size: 2.3em;
    }
    
    #documents li {
        margin-left: 2em;
    }

    #main-page .axes_bloc p {
        margin-bottom:0;
    }

    #main-page .axes_bloc {
        width: 98%;
    }

    .page-contact .wpcf7-form {
        width: 100%;
    }

    .page-nous-soutenir .vlp-link-container.vlp-template-default.wp-block-visual-link-preview-link {
        width: 116%;
        margin-left: -8%;
    }

    .source_container {
        margin-bottom: 1.5em;
    }

    .source {
        margin: auto;
    }

    .modal-content {
        width: 95%;
        padding: 4em .5em 4em;
        margin: 4vh auto 4vh;
        max-height: 92vh;
    }

    .popup-header-info {
        padding: 1em 1em 0 1em;
    }

    .popup-title-name {
        font-size: 1.8em;
    }

    .popup-category {
        margin: .5em 0em 0;
    }

    .popup-category-name {
        padding: .6em 1.3em;
    }

    .popup-article {
        padding: 0em 2em;
    }

    .modal-content ::-webkit-scrollbar {
        width: 5px;
    }
}

@media (orientation: landscape) and (max-device-width: 768px) {
  
}





/* ---------------------------- Ecran avec ZOOM ---------------------------- */

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) {

    .modal-content {
        width: 85%;
        max-height: 85vh;
    }

    #e01 {
        height:3700px;
    }

    #asso_bloc_text_03 {
        top: 64%;
        left: 5%;
    }

    #terre {
        display: block;
    }
  
}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:1400px) {
      
    #e01 {
        height:3850px;
    }

    #asso_bloc_text_03 {
        top: 64%;
        left: 0%;
    }

}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:1280px) {
      
    #e01 {
        height:4050px;
    }

    #asso_bloc_text_03 {
        top: 64%;
    }

    .popup-header img {
        width: 60%;
    }

}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:1150px) {
      
    #e01 {
        height:4100px;
    }

    #asso_bloc_text_03 {
        top: 65%;
    }
}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:960px) {
      
    #e01 {
        height:4200px;
    }

    #asso_bloc_text_03 {
        top: 64%;
    }

    #popup-info-container {
        margin: 1em 4em;
    }

    .popup-header img {
        width: 70%;
    }
}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:768px) {

    #e01 {
        height:4350px;
    }

    #asso_bloc_text_03 {
        top: 63%;
    }

    #popup-info-container {
        margin: 1em 2em;
    }

    .modal-content {
        width: 90%;
        max-height: 90vh;
    }

    .popup-header img {
        width: 80%;
    }
}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:600px) {

    #e01 {
        height:4400px;
    }

    #asso_bloc_text_03 {
        top: 63%;
    }

    #popup-info-container {
        margin: 1em 0em;
    }

}

@media screen and (min-resolution: 1.10dppx) and (max-resolution: 1.25dppx) and (max-width:480px) {

    #e01 {
        height:4500px;
    }

    #asso_bloc_text_03 {
        top: 62%;
    }

    .modal-content {
        padding: 4em 1em 4em;
    }

}