body,
html {
    overflow-x: hidden;
}

body {
    background: var(--color__blanc);
}

body.preload * {
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

#page.vvv_fadeinload {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    -webkit-transition: opacity 0.8s ease-in-out;
    -moz-transition: opacity 0.8s ease-in-out;
    -ms-transition: opacity 0.8s ease-in-out;
    -o-transition: opacity 0.8s ease-in-out;
}

.site {
    overflow: hidden;
}

.site-main,
.entry-content > *:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 50px; */
    margin-bottom: 50px;
    max-width: var(--content_width);
}

h1,
h2,
h3,
h4,
h5,
b,
s {
    font-family: var(--font__titles);
    color: var(--color__1);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Outfit';
}

li a {
    font-family: 'Outfit';
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 21px;
}

.citation-p {
    text-align: center;
    font-family: 'Outfit';
    font-size: 28px;
}

ul {
    margin-left: 0;
   font-size: 21px;
}

li::marker {
    color: var(--color__1);
}

.btn {
    width: 100%;
    background-color: var(--color__background_button);
    border-color: var(--color__border_button);
    color: var(--color__blanc) !important;
    font-size: 1.2rem;
}

.btn:hover {
    background-color: var(--color__background_button_hover);
    border-color: var(--color__border_button_hover);
}

.scale {
    transition: 0.25s;
}

.scale:hover {
    transform: scale(0.95);
}

/*********************
* HEADER ********************
*********************/

#wp-admin-bar-edit {
    display: none !important;
}

/*******************************
**** NAVIGATION MATT ***********
********************************/

/* Pour tous les logos (mobile & desktop) */
.custom-logo,
.navbar-brand img {
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

/* Logo mobile */
.logo-link-mobil img {
    max-height: 50px;
}

/* Mega menu en pleine largeur écran */
@media screen and (min-width: 992px) {
    .megamenu-li {
        position: static;
    }

    .megamenu-li .dropdown-menu {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: 100% !important;
        transform: translateX(-50%);
        width: 100vw !important;
        max-width: 100vw !important;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        /* on gère les espacements à l’intérieur */
        background-color: var(--color__1);
    }

    /* Contenu sans gutters pour coller aux bords si souhaité */
    .megamenu {
        padding: 0;
    }

    .megamenu .row {
        margin-right: 0;
        margin-left: 0;
    }

    .megamenu .row > [class*='col-'] {
        padding-right: 0;
        padding-left: 0;
    }

    /* Items plein largeur + style */
    .megamenu .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.25rem 1.25rem;
        text-align: left;
    }
}

/* Centrer le texte dans chaque colonne (mobile/tablette si besoin) */
.megamenu .dropdown-item {
    text-align: center;
}

/* Centrer horizontalement la navbar entière */
.navbar-nav.justify-content-center {
    text-align: center;
}

/** Burger Icon mobile menu **/
#togglemenu {
    position: absolute;
    top: 30px;          /* ajuste selon la hauteur de ta navbar */
    right: 8px;         /* diminue cette valeur pour coller encore plus à droite */
    z-index: 10001;
    width: 44px;        /* un peu plus large pour un clic confortable */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

@media screen and (min-width: 992px) {
    #togglemenu {
        display: none;
    }
}

#togglemenu svg {
    transition: visibility 0s, max-height 0.15s, opacity 0.5s linear;
    position: absolute;
}

#togglemenu.active svg#burger {
    transform: scaleX(-1);
}

#togglemenu:not(.active) svg#burger,
#togglemenu.active svg#closemenu {
    visibility: visible;
    opacity: 1;
    max-width: 27px;
    width: 27px;
}

#togglemenu:not(.active) svg#closemenu,
#togglemenu.active svg#burger {
    visibility: hidden;
    opacity: 0;
    max-width: 0;
    margin: 0;
}

#togglemenu.active span {
    color: var(--color__blanc);
}

#popout {
    position: fixed;
    font-family: 'Outfit';
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    background: var(--color__1);
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    padding: 4em 2em;
    overflow: auto;
    transition: opacity 0.8s, visibility 0.8s;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#popout::-webkit-scrollbar {
    display: none;
}

@media screen and (min-width: 992px) {
    #popout {
        position: unset;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        padding: 0;
    }
}

#popout.opened {
    visibility: visible;
    opacity: 1;
}

#popout ul {
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 0;
    flex-direction: column;
}

@media screen and (min-width: 992px) {
    #popout ul {
        flex-direction: row;
    }
}

#popout ul li {
    display: block;
    padding: 1em 1em;
    position: relative;
    text-transform: uppercase;
    text-decoration: underline var(--color__1);
    text-underline-offset: 8px;
}

#popout ul li:hover {
    text-decoration: underline var(--color__blanc);
    transition: all 0.6s ease-out;
}

@media screen and (min-width: 992px) {
    #popout > ul > li:not(:last-of-type)::after {
        position: absolute;
        top: 18%;
        margin: auto 0;
        right: 0;
        display: flex;
    }
}

#popout ul li a {
    color: var(--color__link_menu);
    text-decoration: none;
}

#popout ul li a:hover {
    color: var(--color__link_menu_hover);
    background: transparent;
}

#popout ul li a:focus {
    outline: none;
}

/*********************
* NAVIGATION ********************
*********************/

.navbar {
    margin: auto;
    z-index: 999;
    padding-left: 0;
    padding-right: 0;
    padding: 1rem 1rem;
    background-color: var(--color__1);
}

.logo-link-mobil {
    display: none;
}

.logo-link-screen {
    top: -25px;
    height: 80px;
}

.logo-link-screen img {
    height: 80px;
    width: auto;
    margin-right: 2rem;
}

.navbar-collapse {
    background-color: white;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: 0.25s;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: relative;
    width: 100%;
    border: none;
    border-radius: 0;
    min-width: 200px;
    margin: 0;
    padding: 1em 0;
    background-color: var(--color__1);
}

@media screen and (min-width: 992px) {
    .dropdown-menu.show {
        position: absolute;
    }
}

.megamenu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    padding: 15px;
}

.megamenu-li {
    position: static;
}

.dropdown-item {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 4px;
    color: var(--color_blanc);
    text-decoration: underline var(--color__1);
    text-underline-offset: 8px;
}


/* .dropdown-item:hover {
    color: var(--color_blanc);
    text-decoration: underline var(--color__blanc);
    transition: all 0.6s ease-out;
} 
.dropdown-item:hover {
    background-color: var(--color__1);
}

.dropdown-item:active {
    background-color: var(--color__link_text);
    height: 0px;
}  */


.page-item.active .page-link {
    background-color: var(--color__link_text);
    border-color: var(--color__link_text);
}

.page-link:hover {
    color: var(--color__link_text_hover);
}

/** WP file Buttons */
.wp-block-file__button {
    background: var(--color__1);
    color: var(--color__blanc);
}

.wp-block-file__button:hover {
    background: var(--color__noir);
    color: var(--color__blanc);
}


/*********************
******* Home  ********
*********************/
.colonnes_icones_home .m_columns__column {
    text-align: center;
}

.colonnes_icones_home .m_columns__column i {
    font-size: 5em;
}

.colonnes_icones_home .m_columns__column a,
.colonnes_icones_home .m_columns__column a:visited {
    color: var(--color__noir);
}

.colonnes_icones_home .m_columns__column a h4 {
    transition: all 0.3s;
}

.colonnes_icones_home .m_columns__column a:hover,
.colonnes_icones_home .m_columns__column a:hover h4 {
    color: var(--color__1);
    text-decoration: none;
}

.box-edito .m_columns__column:nth-of-type(1) {
    text-align: center;
}

.box-news h2 {
    margin: 1em auto;
    text-align: center;
}

.home_bloc_galerie_title {
    margin-top: 2em;
    text-align: center;
}

.home_bloc_galerie {
    margin-top: 4em;
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: 1fr;

    @media screen and (min-width: 992px) {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.home_bloc_galerie .img-galerie {
    opacity: 0.8;
    transition: all 0.3s;
}

.home_bloc_galerie .img-galerie:hover {
    opacity: 1;
}

/** Page Menu de la semaine **/
a.wp-block-button__link.has-color-1-background-color:hover {
    color: var(--color__noir);
}

/*********************
* SLIDER ********************
*********************/

.box-slider a {
    position: relative;
    display: inline-block;
}

.tab-slider {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-slider {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: left;
}

.title-slider {
    font-size: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: var(--color__blanc);
    /* padding: 0.8em 1.1em;*/
    max-width: 50%;
    text-transform: uppercase;
    line-height: 1;
    color: var(--color__1);
    font-weight: bold;
    /*  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);*/
}

.DUwDvf.lfPIob {
    color: var(--color__blanc);
    margin: 0px;
    padding: 0.8em 1.1em;
}

.content-slider h1,
.content-slider h2,
.content-slider h3,
.content-slider h4,
.content-slider h5 {
    color: var(--color__blanc);
    margin: 0px;
    padding: 0.8em 1.1em 0em 1.1em;
    text-decoration: underline;
    text-underline-offset: 12px;
    text-align: center;
}

.content-slider {
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
    color: var(--color__blanc);
    /*text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);*/
    background-color: var(--color__1);

}

.img-slider {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 550px;
}

.slick-dots {
    bottom: 25px;
}

.slick-dots li button::before {
    opacity: 1;
    color: var(--color__blanc);
}

.slick-dots li.slick-active button::before {
    opacity: 1;
    color: var(--color__link_text);
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}


.bandeau_bottom_slider {
    display: none;

    background-color: var(--color__1);
    color: var(--color__blanc);
    text-transform: uppercase;
    padding: 0.5em 1em;
    font-size: 2.5em;
    text-align: center;
    font-weight: 700;
    margin-top: -10px;
}

/*********************
**** Bouton PDF ******
*********************/
.wp-block-file:not(.wp-element-button) {
    font-size: .8em;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100px;
}

.wp-block-file__button.wp-element-button {
    background: url('/wp-content/themes/devn124/img/pdf_icon.png');
    width: 60px;
    height: 80px;
    background-size: cover;
    border-radius: 0;
    font-size: 0;
}

/*********************
* ACCUEIL ********************
*********************/

.link-event {
    display: block;
    position: relative;
}

.tab-event {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-event {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-event {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.bg-news {
    background-color: var(--color__link_text);
}

.div-cc {
    border-radius: 1rem;
    background-color: var(--color__link_text);
    text-align: center;
}

.div-cc h1,
.div-cc h2,
.div-cc h3,
.div-cc h4,
.div-cc h5,
.div-cc h6 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.div-cc p {
    color: white;
    padding-bottom: 15px;
}

.icon-cc {
    font-size: 4rem;
    color: white;
}

/*********************
*** Box Partenaires ***
*********************/
.box-partenaires .list_partenaires {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.box-partenaires .list_partenaires a {
    flex: 1 0 auto;
    text-align: center;
    opacity: 1;
    padding: 1em;
}

.box-partenaires .list_partenaires a:hover {
    opacity: 0.85;
}

.box-partenaires .list_partenaires a img {
    height: 120px;
    width: auto;
}

/*********************
* CONTACT ********************
*********************/

.map-contact iframe {
    height: 635px;
}

.txt-contact {
    font-size: 1rem;
}

/*********************
* ACCESSIBILITÉ ********************
*********************/

.img-acces {
    display: inline;
    width: 100px;
    margin-right: 10px;
    float: left;
}

/*********************
* ARCHIVE ********************
*********************/

.nav-filter-archive {
    text-align: center;
}

.nav-filter-archive li {
    list-style: none;
    display: inline;
    margin-right: 10px;
}

.link-archive,
.link-galerie {
    overflow: hidden;
    position: relative;
    display: block;
}

.content_loop_actu a.content_loop_actu_title {
    text-align: center;
    font-weight: 700;
    font-size: 1.5em;
    margin: 0.5em auto;
    display: block;
}

.content_loop_actu a.content_loop_actu_title:hover {
    color: var(--color__1);
}

a.lireplus {
    color: var(--color__3);
    text-align: center;
    background-color: #f3f2e9;
    display: block;
}

a.lireplus:hover {
    color: var(--color__1);
}

.img-archive,
.img-galerie {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 250px;
}

.pagination {
    margin: 0;
}

.title-archive py-2 px-2 {
    text-align: center;
    font-weight: 700;
    font-size: 1.5em;
    margin: 0.5em auto;
    display: block;
}


/*********************
* CONTENT ARCHIVE ********************
*********************/

.nav-archive {
    font-size: 1.2rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__link_text);
    border-color: var(--color__link_text);
    color: var(--color__blanc) !important;
    font-size: 1.2rem;
    display: inline-block;
    font-weight: 400;
    border-radius: .25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.nav-archive a:hover {
    background-color: #153045;
    border-color: #153045;
    text-decoration: none;
}

.img-archive:hover {
    transition: 0.5s ease;
    opacity: 0.85;
    transform: rotate(-4deg) scale(1.2);
}

.img-archive none:hover {
    transition: none;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/*********************
     BOX EQUIPE 
*********************/

strong {
    color: var(--color__1);
}

.img-equipe img {
    border: solid 10px var(--color__1);
    object-fit: cover;
    height: 325px;
    width: 325px;
    border-radius: 50%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.title-equipe {
    /* font-variant-caps: small-caps; */
    text-transform: uppercase;
    padding: 8% 0% 2% 0;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--color__1);
    text-align: center;
    width: 100%;
    text-align: center;
}

.content-equipe p {
    width: 100%;
    color: var(--color__noir);
    font-size: 1.2em;
    text-align: justify;
    padding: 0% 5%;
}

/*********************
     BOX NOS COMPETENCE / NOS OFFRES
*********************/
.hover-effect:hover i {
    transition: all 0.4s ease-out !important;
    color: var(--color__noir) !important;
    /* Change la couleur de l'icône au survol */
}

.hover-effect:hover h5 {
    transition: all 0.4s ease-out !important;
    color: var(--color__noir) !important;
    /* Change la couleur du texte au survol */
}


/* Séparateurs entre les paires */
.expertise-pair {
    padding: 1.2rem 0;
    border-bottom: 3px solid var(--color__1);
}

.expertise-pair:first-of-type {
    border-top: 3px solid var(--color__1);
}

/* Supprime le trait sous la dernière paire (correction) */
.expertise-pair.no-sep {
    border-bottom: 0;
}

/* Icônes en cercles */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 3px solid var(--color__1);
    background: var(--color__blanc);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.icon-circle i {
    color: var(--color__1);
    font-size: 2.8rem;
    line-height: 1;
}

/* Effet hover sur le lien/icône
    .hover-effect:hover .icon-circle {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.16);
      border-color: #fff;
    }
     */

/* Textes */
.section-competences p,
.section-competences .citation-p {
    color: var(--color__noir);
}

/* Espacements mobiles */
@media (max-width: 991.98px) {
    .expertise-pair .mb-4 {
        margin-bottom: 1rem !important;
    }

    .icon-circle {
        width: 76px;
        height: 76px;
    }

    .icon-circle i {
        font-size: 1.7rem;
    }
}

/* Bouton largeur conteneur */
.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.95rem 1.25rem;
    color: #fff;
    background: var(--color__1);
    border-radius: 6px;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.btn-full:hover {
    filter: brightness(1.06);
    background: var(--color__noir);
    color: #fff;
}


/*********************
* CONTENT ARCHIVE ********************
*********************/

.nav-archive {
    font-size: 1.2rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__1);
    border-color: var(--color__1);
    color: white !important;
    font-size: 1.2rem;
    display: inline-block;
    font-weight: 400;
    border-radius: .25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.nav-archive a:hover {
    background-color: var(--color__2);
    border-color: var(--color__2);
    text-decoration: none;
}

/*********************
*** Pages Métiers ***
*********************/

h1.text-lg-center {
    margin: 1.2em 0em 0 !important;
}

.cover-metiers img {
    height: 450px;
    object-fit: cover;
    max-width: none;
    width: 100%;
}

/* Images Box projets */

.img-archive.object-fit-metiers img {
    height: 650px;
    object-fit: cover;
}

/* Images Box news */

/* .img-archive.object-fit-news img {
    height: 230px;
    object-fit: cover;
} */
/*********************
* FOOTER ********************
*********************/

a.dropdown-item:hover {
    text-decoration: none;
    background-color: var(--color__1);
    color: #fff;
}

.bloc-footer-map {
    max-height: 400px;
}

.bloc-footer-map iframe {
    width: 100%;
    max-height: 400px;
}

.bloc_citation {
    background: var(--color__2);
    color: var(--color__blanc);
    padding: 2em;
    display: block;
}

.icon-footer {
    color: white !important;
    transition: 0.25s;
}

.icon-footer:hover {
    color: var(--color__noir) !important;
}

.icon-footer i {
    font-size: 3rem;
    margin-left: 0.2em;
}

.logo-link-screen-footer img {
    height: 120px;
    width: auto;
    margin-right: 2rem;
}

p.font-footer {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    color: var(--color__blanc) !important;
}

@media screen and (min-width: 992px) {
    .bloc_citation {
        display: flex;
    }
}

.bloc_citation_title {
    width: 100%;
    margin-left: auto;
    text-align: center;
}

@media screen and (min-width: 992px) {
    .bloc_citation_title {
        width: 30%;
        margin-left: 3em;
        text-align: left;
    }

}

}

.bloc_citation_title h3 {
    color: var(--color__blanc);
    font-size: 2em;
}

.bloc_citation_citation {
    display: flex;
    align-items: center;
}

.bloc_citation_citation .bi.bi-quote::before {
    font-size: 8em;
    margin-right: -30px;
}

.bloc_citation_citation .wp-block-quote {
    margin-top: 1em;
}

.bloc_citation_citation .wp-block-quote p {
    font-style: italic;
    font-size: 2em;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.bloc_citation_citation .wp-block-quote > cite {
    font-style: normal;
}

.footer_mentions {
    text-align: center;
    margin: 1em auto;
}

/*********************
* RESPONSIVE ********************
*********************/
/*
@media (max-width: 575px) {
    .box-news {
        width: auto;
        margin: auto;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .box-news {
        width: 540px;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .box-news {
        width: 720px;
        margin: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .box-news {
        width: 960px;
        margin: auto;
    }
}

@media (min-width: 1200px) {
    .box-news {
        width: 1140px;
        margin: auto;
    }
}*/

@media (max-width: 991px) {

    /* Position du toggler */
    nav.navbar {
        position: relative;
    }

    #togglemenu {
        position: absolute;
        top: 30px;
        /* Ajustez pour affiner la hauteur */
        right: 15px;
        z-index: 9999 !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #togglemenu svg {
        max-width: 100%;
        max-height: 100%;
    }

      /* Conteneur du menu mobile */
  #popout {
    width: 100vw;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    box-sizing: border-box;
  }

  /* Liste principale: colonne, alignée à gauche */
  #popout .main_navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* clé: aligne à gauche */
    text-align: left;        /* clé: texte à gauche */
    width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Chaque item prend toute la largeur, padding symétrique */
  #popout .main_navigation > li {
    width: 100%;
    padding: 1em 1em;
    margin: 0;
    box-sizing: border-box;
  }

  /* Liens calés à gauche, pas de padding latéral en plus */
  #popout .main_navigation > li > a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0;
    margin: 0;
  }

  /* Dropdowns dans le flux, 100% largeur */
  #popout .main_navigation .nav-item.dropdown > .dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
  }

  /* Items du dropdown également à gauche */
  #popout .main_navigation .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    text-align: left !important;
    padding: 0.6rem 1rem !important;
    margin: 0;
    box-sizing: border-box;
  }
    /* Vos autres règles existantes… */
    .megamenu .mega-col {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .megamenu .dropdown-item {
        text-align: left !important;
        padding-left: 15px;
    }

    .navbar {
        margin: auto;
        min-height: 80px;
    }

    /* .navbar-collapse{
        padding-top: 1rem;
        padding-bottom: 1rem;
        transition: 0.25s;
    } */

    .navbar-toggler {
        margin-right: 0.5rem;
    }

    /* Forcer les colonnes du mega-menu à occuper 100% de la largeur sur mobile */
    .megamenu .mega-col {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    /* Aligner les liens du méga-menu à gauche */
    .megamenu .dropdown-item {
        text-align: left !important;
        padding-left: 15px;
    }

    .logo-link-mobil {
        display: block;
        height: calc(100px - 1rem);
        margin-left: 0.5rem;
    }

    .logo-link-mobil img {
        height: calc(100px - 1rem);
        width: auto;
    }

    .logo-link-screen {
        display: none !important;
    }

    .logo-link-screen-footer {
        display: none !important;
    }

    .btn {
        font-size: 1rem;
    }

    .nav-archive {
        font-size: 1rem;
    }

    .nav-archive a {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    h5 {
        font-size: 1rem;
    }

    p {
        font-size: 1rem;
    }

    .title-slider {
        font-size: 2rem;
        line-height: 1rem;
    }

    .content-slider {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .title-event {
        font-size: 2rem;
    }

    .title-archive {
        top: 0px;
        font-size: 1.5rem;
    }

    .content-archive {
        bottom: 0px;
        font-size: 1rem;
    }

    .content-slider {
        max-width: 90%;
    }

    .content-slider h1,
    .content-slider h2,
    .content-slider h3,
    .content-slider h4,
    .content-slider h5 {
       line-height: 2rem;
        font-size: 1rem;
    }

    .citation-p {margin-bottom: 1.5rem; font-size: 1.4rem;}
    .content-equipe p {font-size: 1rem;}

}
