/*********************
* GLOBAL ********************
*********************/

/* Wordpress - se déconnecter, personnaliser, etc. */

.display-name {
    color: white;
}

.ab-item {
    color: white !important;
}

body {
    margin: 0 !important;
    font-family: "Inter";
}

.site {
    overflow: hidden;
}

/* Conteneur global plus large */
#page,
.site,
.site-content,
.wrap,
.container {
    /* max-width: 1400px; */
    /* ou 1500px, 1600px selon ce que tu veux */
    width: 100%;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
}

/* Main qui prend toute la largeur du conteneur */
main {
    width: 100%;
}

/*.site-main {
    margin-top: 50px;
    margin-bottom: 50px;
} */

h1,
h2,
h3,
h4,
h5,
b,
s,
a {
    color: var(--color__1) !important;
}

h1,
h2,
h3,
h4,
h5 {}

h1 {
    font-size: 3.8rem;
    text-align: center;
    margin-top: 0.4em;
    margin-bottom: 0.6em;
}

h1.entry-title {
    margin-top: 2em;
}

h1.jobs-title {
    margin-top: 2em;
}


h1.text-lg-left {
    margin-top: 2em;
}


h2 {
    font-size: 1.8rem;
    margin-top: 0.8em;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.2em;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.2rem;
}

p,
li {
    font-size: 1.3rem;
    line-height: 2.1rem;
    color: var(--color__1);
}

ul {
    margin-left: 0;
    font-size: 1.2rem;
}

a:link,
a:visited,
a:hover,
a:focus,
a:active {
    color: var(--color__1);
    outline: none;
}

.btn {
    width: 100%;
    background-color: var(--color__1);
    border-color: var(--color__1);
    color: white !important;
    font-size: 1.2rem;
}

.btn:hover {
    background-color: var(--color__2);
    border-color: var(--color__2);
}

.scale {
    transition: 0.25s;
}

.scale:hover {
    transform: scale(0.95);
}

/*********************
* HEADER ********************
*********************/

#wp-admin-bar-edit {
    display: none !important;
}

/*********************
* NAVIGATION ********************
*********************/

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: auto;
    z-index: 999;
    padding: -0.8rem 0;
    background-color: white;
    /* évite la transparence */
}

/* LOGOS */
.logo-link-mobil {
    display: none;
}

.logo-link-screen img {
    height: 80px;
   /* margin-top: -1em;*/
    width: auto;
}

/* NAV ITEMS ALIGNEMENT */
.navbar-nav {
    display: table-cell;
    height: 80px;
    margin: 0;
}

.navbar-nav li {
    vertical-align: middle;
    display: table-cell;
}

/* COLLAPSE */
.navbar-collapse {
    background-color: white;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: 0.25s;
}

/*********************
 * DROPDOWN
 *********************/

.dropdown {
    position: relative;
}

.dropdown-menu {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
     top: calc(100% - 3px);
}

.dropdown {
    opacity: 1 !important;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #fff;
    opacity: 0; /* invisible */
    pointer-events: none;
}


/*********************
 * MEGAMENU (si utilisé)
 *********************/

.megamenu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    padding: 15px;
}

.megamenu-li {
    position: static;
}

/*********************
 * LIENS
 *********************/

.nav-link,
.dropdown-item {
    font-size: 1.4rem;
}

/* Items du dropdown */
.dropdown-item {
    display: block;
    width: auto;
    /* ne prend plus toute la largeur */
    padding: .25rem 1.5rem;
    font-size: 1.2rem;
    white-space: nowrap;
    /* évite les retours à la ligne */
    background: transparent;
    border: 0;
}

.nav-link:hover,
.dropdown-item:hover {
    text-decoration: underline;
    text-underline-offset: 8px;
    background-color: var(--color__blanc);
}

.dropdown-item:active {
    background-color: var(--color__blanc);
}

/*********************
 * PAGINATION
 *********************/

.page-item.active .page-link {
    border-color: var(--color__1);
}

.page-link:hover {
    color: black;
}

/*********************
 * SLIDER 1
 *********************/

/* Le lien qui entoure un slide */
.box-slider a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* Conteneur principal du slide */
.position-relative {
    position: relative;
    width: 100%;
    height: 600px;
    /* hauteur visible du slider */
    overflow: hidden;
}

/* Texte centré verticalement */
.tab-slider {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}

.cell-slider {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

/* Titres */
.title-slider {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1;
    color: white;
    font-weight: 400;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.content-slider p {
    font-size: 1.7rem;
    line-height: 1.5;
    color: white;
    text-transform: none;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

/*********************
 * Edito
 *********************/
#marge-img-edito {
    margin-top: 140px;
}

/*********************
 * VIDEO & IMAGE
 *********************/

/* Conteneur vidéo */
.video-slider,
.img-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Vidéo */
.video-slider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image fallback */
.img-slider {
    background-size: cover;
    background-position: center;
}

/*********************
 * SLICK FIXES
 *********************/

/* Empêche Slick de réduire la hauteur à 0 */
.slick-slide {
    height: auto !important;
}

/* Le conteneur Slick doit avoir une hauteur */
.slick-track,
.slick-list {
    height: 100%;
}

/*********************
 * DOTS
 *********************/
.slick-dots {
    bottom: 25px;
}

.slick-dots li button::before {
    opacity: 1;
    color: white;
}

.slick-dots li.slick-active button::before {
    opacity: 1;
    color: var(--color__1);
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/*********************
* Page réalisations / realisations
*********************/

/* pagination archive */
/* Cible exactement ta pagination actuelle */
nav[aria-label="Pagination"] ul.page-numbers {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* Chaque élément de liste */
nav[aria-label="Pagination"] ul.page-numbers li {
    list-style: none;
}

/* Liens + span (page courante) */
nav[aria-label="Pagination"] ul.page-numbers a,
nav[aria-label="Pagination"] ul.page-numbers span {
    display: inline-block;
    min-width: 38px;
    padding: 8px 14px;
    font-size: 1.4rem;
    text-align: center;
    color: var(--color__1);
    border: 1px solid var(--color__1);
    border-radius: 25px;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Hover */
nav[aria-label="Pagination"] ul.page-numbers a:hover {
    background-color: var(--color__1);
    color: var(--color__blanc) !important;
}

/* Page active */
nav[aria-label="Pagination"] ul.page-numbers .current {
    background-color: var(--color__1);
    color: var(--color__blanc);
    border-color: var(--color__1);
}

/* Précédent / Suivant un peu plus larges */
nav[aria-label="Pagination"] ul.page-numbers .prev,
nav[aria-label="Pagination"] ul.page-numbers .next {
    padding-inline: 18px;
    font-weight: 600;
}


/* HERO PRINCIPAL */
.realisations-hero {
    width: 100vw;
    height: 500px;
    overflow: hidden;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.realisations-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* CONTENEUR GLOBAL */
.realisations-single {
    width: 100%;
    /*   max-width: 1400px; */
    margin: 0 auto;
}

/* Desktop : 70% */
.single-realisations .realisations-main {
    width: 70%;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile / tablette : 100% */
@media (max-width: 991px) {
    .single-realisations .realisations-main {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Tous les éléments textuels suivent la largeur du bloc */
.realisations-main h1,
.realisations-main h2,
.realisations-main p,
.realisations-main ul,
.realisations-main ol,
.realisations-main blockquote,
.realisations-main .projet-cartouche,
.realisations-main .projet-content {
    width: 100%;
}

.realisations-subtitle {
    font-size: 1.8rem;
    text-align: center;
    line-height: inherit;
    margin-bottom: 1.5em;
}

/* CARTOUCHE */
.realisations-cartouche {
    background: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
}

.realisations-cartouche p {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color__3);
}

.title-cartouche {
    font-size: 1.3em;
}

.label-title {
    color: var(--color__3);
}

/* CARROUSEL FULL WIDTH */
.realisations-carousel-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
}

.realisations-carousel-hero .carousel-figure {
    margin: 0;
    width: 100%;
    height: 80vh;
    /* hauteur slider */
    position: relative;
    overflow: hidden;
}

.realisations-carousel-hero .carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BULLET INACTIF */
.swiper-pagination-bullet {
    background: var(--color__1) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

/* BULLET ACTIF */
.swiper-pagination-bullet-active {
    background: var(--color__3) !important;
    width: 20px !important;
    height: 20px !important;
}

/* FLÈCHES */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(42, 62, 89, 1);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.hero-arrow-left {
    left: 150px;
}

.hero-arrow-right {
    right: 150px;
}

.hero-arrow svg {
    width: 32px;
    height: 32px;
    display: block;
}


/*********************
* Page projets
*********************/

/* HERO PRINCIPAL */
.projet-hero {
    width: 100vw;
    height: 500px;
    overflow: hidden;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.projet-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* CONTENEUR GLOBAL */
.projet-single {
    width: 100%;
    /*   max-width: 1400px; */
    margin: 0 auto;
}

/* BLOC PRINCIPAL À 60% — FERRÉ À GAUCHE */
.projet-main {
    width: 70%;
    max-width: 70%;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Tous les éléments textuels suivent la largeur du bloc */
.projet-main h1,
.projet-main h2,
.projet-main p,
.projet-main ul,
.projet-main ol,
.projet-main blockquote,
.projet-main .projet-cartouche,
.projet-main .projet-content {
    width: 100%;
}

.projet-subtitle {
    font-size: 1.8rem;
    text-align: center;
    line-height: inherit;
    margin-bottom: 1.5em;
}

/* CARTOUCHE */
.projet-cartouche {
    background: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
}

.projet-cartouche p {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color__3);
}

.title-cartouche {
    font-size: 1.3em;
}

.label-title {
    color: var(--color__3);
}

/* CARROUSEL FULL WIDTH */
.projet-carousel-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
}

.projet-carousel-hero .carousel-figure {
    margin: 0;
    width: 100%;
    height: 80vh;
    /* hauteur slider */
    position: relative;
    overflow: hidden;
}

.projet-carousel-hero .carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BULLET INACTIF */
.swiper-pagination-bullet {
    background: var(--color__1) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

/* BULLET ACTIF */
.swiper-pagination-bullet-active {
    background: var(--color__3) !important;
    width: 20px !important;
    height: 20px !important;
}

/* FLÈCHES */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(42, 62, 89, 1);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.hero-arrow-left {
    left: 150px;
}

.hero-arrow-right {
    right: 150px;
}

.hero-arrow svg {
    width: 32px;
    height: 32px;
    display: block;
}

/*********************
* Index Projet ********************
*********************/

/* CONTENEUR GLOBAL */
#archive-listing .archive-item {
    display: block;
    width: 100%;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
    border-top: solid 1px var(--color__1);
}

#archive-listing .archive-item:hover {
    background: #f5f5f5;
    transform: scale(1.01);
}

/* IMAGE */
#archive-listing .archive-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* TITRE */
#archive-listing .archive-title {
    padding: 20px;
}

/* EXTRAIT */
#archive-listing .archive-excerpt {
    padding: 20px;
}

/* Empêche les débordements de hover */
#archive-listing .row {
    margin: 0;
}

.archive-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.archive-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.archive-item:hover {
    background: var(--color__1);
    transform: scale(1.01);
    transition: ease 0.6s;
}

.archive-item:hover .archive-title h4,
.archive-item:hover .archive-title a,
.archive-item:hover .archive-excerpt,
.archive-item:hover .archive-excerpt p {
    color: #fff !important;
    transition: ease 0.6s;
}


.archive-title,
.archive-excerpt {
    padding: 0px 20px;
}

.archive-excerpt p {
    font-size: 1.2rem;
    line-height: inherit;
}

.archive-row .row {
    margin: 0;
}

.archive-item,
.archive-item:hover {
    text-decoration: none !important;
}


/*********************
* Bandeau ********************
*********************/

.bandeau_bottom_slider p {
    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;
}

@media (max-width: 991px) {
    .bandeau_bottom_slider p {
        padding: 0.5em 0.5em;
        font-size: 1.5em;
    }
}

/*********************
* 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__1);
}

.div-cc {
    border-radius: 1rem;
    background-color: var(--color__1);
    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;
}

/*********************
* CONTACT ********************
*********************/

.map-contact iframe {
    height: 635px;
}

.txt-contact {
    font-size: 1rem;
}

/*********************
* ACCESSIBILITÉ ********************
*********************/

.img-acces {
    display: inline;
    width: 100px;
    margin-right: 10px;
    float: left;
}


/*********************
* ARCHIVE / News / Actualités
*********************/
.thumb-fixed {
    width: 100%;
    display: block;
    margin-top: 8em;
    height: 500px;
    /* hauteur fixe propre */
    overflow: hidden;
    border-radius: 6px;
}

.thumb-fixed img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}



/* Carte */
.box-archive {
    display: block;
    position: relative;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #000;
}

/* Image */
.box-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
    /* scale smooth */
}

/* Dégradé noir en bas */
.box-archive::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(42, 62, 89, 0.65), rgba(42, 62, 89, 0));

    z-index: 2;
    pointer-events: none;
}

/* Overlay color au hover */
.box-archive::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color__1);
    opacity: 0;
    /* invisible par défaut */
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* Contenu texte + flèche */
.box-content {
    position: absolute;
    left: 1.2rem;
    bottom: 1.8rem;
    right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

/* Titre */
.box-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 4px 12px rgba(42, 62, 89, 0.8);
}

/* Flèche dans un rond */
.box-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color__blanc);
    text-shadow: 0 2px 6px rgba(42, 62, 89, 0.8);
}

/* CONTENEUR GLOBAL */
#archive-listing .archive-item {
    display: block;
    width: 100%;
    padding: 0;
    text-decoration: none !important;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

#archive-listing .archive-item:hover {
    background: #f5f5f5;
    transform: scale(1.01);
}

/* Empêche tout underline sur les enfants */
#archive-listing .archive-item *,
#archive-listing .archive-item:hover * {
    text-decoration: none !important;
}

/* IMAGE */
#archive-listing .archive-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* TITRE */
#archive-listing .archive-title {
    padding: 20px;
    font-size: 1.6rem;
    font-weight: bold;
}

/* EXTRAIT */
#archive-listing .archive-excerpt {
    padding: 20px;
    font-size: 1.2rem;
    opacity: 0.85;
}

#archive-listing .archive-excerpt p {
    margin: 0;
}

/* Fix Bootstrap spacing */
#archive-listing .row {
    margin: 0;
}


/* --------------------------
   HOVER EFFECT
--------------------------- */

/* Scale de l'image */
.box-archive:hover .box-image {
    transform: scale(1.08);
}

/* Overlay color 60% */
.box-archive:hover::before {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .box-archive {
        height: 260px;
        margin-bottom: 1.5rem;
    }
}

/*********************
* CONTENT ARCHIVE (bouton "Toutes les actualités")
*********************/

.nav-archive {
    font-size: 1.4rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__1);
    border-color: var(--color__1);
    color: var(--color__blanc) !important;
    font-size: 1.4rem;
    display: inline-block;
    font-weight: 400;
    border-radius: 30px;
    padding: .375rem .75rem;
    line-height: 1.5;
    transition: color 0.35s ease-in-out,
        background-color 0.35s ease-in-out,
        border-color 0.35s ease-in-out,
        box-shadow 0.35s ease-in-out;
}

.nav-archive a:hover {
    background-color: var(--color__3);
    border-color: var(--color__3);
    text-decoration: none;
    color: var(--color__blanc) !important;
}

/*********************
* BOX PICTOS ********************
*********************/
/* ----------------------------------------------------
   RESET : on enlève les couleurs qui bloquent l’héritage
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home i,
.bg-pictos .colonnes_icones_home h4 {
    color: inherit !important;
    font-family: "Montserrat";
    font-weight: bold !important;
}

/* ----------------------------------------------------
   CONTENEUR PRINCIPAL
---------------------------------------------------- */
.colonnes_icones_home {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

/* ----------------------------------------------------
   COLONNES
---------------------------------------------------- */
.colonnes_icones_home .m_columns__column {
    flex: 1 1 180px;
    max-width: 220px;
}

/* ----------------------------------------------------
   LIENS (couleur normale + transition)
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color__blanc) !important;
    /* couleur de base */
    transition: color 0.35s ease;
}

/* ----------------------------------------------------
   ICÔNES
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a i {
    font-size: 4.5rem;
    margin-bottom: 0.2em;
    transition: transform 0.35s ease;
}

/* ----------------------------------------------------
   TITRES
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
}

/* ----------------------------------------------------
   HOVER : icône + texte changent ENSEMBLE
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a:hover {
    color: var(--color__2) !important;
    /* couleur au survol */
}

.bg-pictos .colonnes_icones_home a:hover i {
    transform: scale(1.18);
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 768px) {
    .colonnes_icones_home {
        gap: 1.5rem;
    }

    .colonnes_icones_home .m_columns__column {
        flex: 1 1 45%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .colonnes_icones_home .m_columns__column {
        flex: 1 1 100%;
    }
}

/*********************
     BOX EQUIPE 
*********************/

strong {
    color: var(--color__1);
}

.img-equipe img {
    object-fit: cover;
    height: 280px;
    width: 280px;
    border-radius: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: solid 3px var(--color__1);
}

.title-equipe {
    font-weight: 700;
    margin-top: 0.2em;
    font-size: 1.8rem;
    color: var(--color__1);
    text-align: center;
    width: 100%;
}

.content-equipe {
    width: 100%;
    color: var(--color__noir);
    font-size: 1.2em;
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 0.5em;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 2px solid rgba(0, 0, 0, .1);
}

/*********************
* 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;
}

/*********************
* FOOTER ********************
*********************/
:root {
    --footer-bg: var(--color__1);
    --footer-bg-alt: var(--color__blanc);
    --footer-text: var(--color__blanc);
    --footer-text-muted: var(--color__blanc);
    --footer-border: var(--color__blanc);
    --footer-accent: var(--color__blanc);
}

/* ===== FOOTER GLOBAL ===== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 0.95rem;
    margin-top: 0;
}

/* ===== MAP ===== */
.footer-map iframe {
    width: 100%;
    display: block;
    border: 0;
}

/* ===== PARTIE PRINCIPALE ===== */
.footer-main {
    padding: 3rem 0 0 0;
    border-bottom: 1px solid var(--footer-border);
}

/* ===== COLONNE 1 : LOGO ===== */
.footer-logo img {
    max-height: 220px;
    margin-bottom: 0em;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: auto;
}

#footer-site-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none;
}

.footer-tagline {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--footer-text-muted);
    max-width: 320px;
    line-height: 1.5;
}

/* ===== TITRES DE SECTIONS ===== */
.footer-title {
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 0rem;
}

/* ===== TEXTE ===== */
.footer-text {
    margin: 0;
    color: var(--footer-text-muted);
    line-height: 1.6;
    font-size: 1.2em;
}

/* ===== LIENS ===== */
.site-footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-col-3 a.footer-text {
    display: block;
    margin-bottom: 0.4rem;
}

/* ===== RÉSEAUX SOCIAUX ===== */

.footer-social {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 12px;
    /* espace entre les icônes */
}

.footer-social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--footer-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    background-color: var(--color__blanc);
    color: var(--color__1) !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social-link i {
    font-size: 2em;
}

.footer-social-link:hover {
    background-color: var(--color__blanc);
    color: var(--color__3) !important;
    border-color: var(--color__blanc);
}

/* ===== MENU (COLONNE 3) ===== */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--footer-text-muted);
    font-size: 1.2em;
}

.footer-menu a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== BAS DE FOOTER ===== */
.footer-bottom {
    background: var(--color__1);
    padding: 1rem 0;
}

.footer-bottom-text {
    font-size: 0.8rem;
    color: var(--footer-text-muted);
}

.footer-bottom-text a {
    color: var(--color__blanc) !important;
}

.footer-bottom-text a:hover {
    text-decoration: underline;
}

.footer-separator {
    margin: 0 0.4rem;
    color: var(--footer-text-muted);
}

/* ===== RESPONSIVE ===== */
.footer-col-1,
.footer-col-2,
.footer-col-3 {
    text-align: center;
}

@media (min-width: 992px) {

    .footer-col-1,
    .footer-col-2,
    .footer-col-3 {
        text-align: left;
    }
}

/*********************
* 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;
    }
}


/* FULL WIDTH en responsive pour les pages Réalisations */
@media (max-width: 991px) {
    .single-realisations .realisations-main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}



@media (max-width: 991px) {
    .navbar {
        margin: auto;
        height: 100px;
    }

    /* .navbar-collapse{
        padding-top: 1rem;
        padding-bottom: 1rem;
        transition: 0.25s;
    } */

    .navbar-nav {
        display: inline;
    }

    .navbar-nav li {
        vertical-align: auto;
        display: inline;
    }

    .navbar-toggler {
        margin-right: 0.5rem;
    }

    .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;
    }

    .nav-link,
    .dropdown-item {
        font-size: 1.35rem;
    }

    .dropdown-menu {
        padding: 0;
    }

    .btn {
        font-size: 1rem;
    }

    .nav-archive {
        font-size: 1rem;
    }

    .nav-archive a {
        font-size: 1rem;
    }

    #marge-img-edito {
        display: none;
    }

    ul {
        font-size: 1.35rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    p {
        font-size: 1.35rem;
        line-height: 1.6em;
        margin-bottom: 0.5em;
    }

    hr {
        border-top: 3px solid rgba(0, 0, 0, .1);
    }

    .mb-4,
    .my-4 {
        margin-bottom: 0px !important;
    }

    .title-slider {
        font-size: 2rem;
        line-height: 1;
    }

    .realisations-subtitle {}

    .content-slider {
        font-size: 1rem;
        line-height: 1.5;
    }

    .title-event {
        font-size: 2rem;
    }

    .title-archive {
        top: 0px;
        font-size: 1.5rem;
    }

    .content-archive {
        bottom: 0px;
        font-size: 1rem;
    }


    /* Caroussel sur content-realisation.php */

    .hero-arrow {
        position: absolute;
        top: 80%;
        transform: translateY(-50%);
        z-index: 50;
        background: rgba(42, 62, 89, 1);
        border: none;
        padding: 10px;
        border-radius: 50%;
        cursor: pointer;
    }

    .box-suggestion {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .dropdown-menu {
        position: absolute;
        width: auto;
    }

    .footer-social {
        margin-bottom: 1.2em;
        justify-content: center;

    }

    li::marker {
        color: var(--color__1);
    }

}


@media (max-width: 768px) {
    .single-realisations .elementor-widget-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
