/*********************
* GLOBAL ********************
*********************/
* {
    box-sizing: border-box;
}

/* Wordpress - se déconnecter, personnaliser, etc. */

.display-name {
    color: white;
}

.ab-item {
    color: white !important;
}

/***fin wordpress ***/

body {
    margin: 0 !important;
    font-family: 'GoogleSans';
}

.site {
    overflow: hidden;
}

/*.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 {
    font-weight: bold;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 0.5em;
}

h1.entry-title,
h1.page-title {
    margin-top: 2.6em;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.3rem;
}

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 - Desktop (corrigé)
*********************/

/* Variables globales (définir ici si non définies ailleurs) */
:root {
    --navbar-height-desktop: 100px;
    --navbar-height-mobile: 70px;
}

/* =========================
   NAVBAR - DESKTOP (>= 992px)
   Réécriture complète et consolidée
   Chargez ce bloc pour la version desktop uniquement.
   ========================================================= */

/* Variables (ajustez si elles existent déjà dans votre thème) */
:root {
    --color__1: #2a6f6f;
    /* couleur de fond de la navbar */
    --color__blanc: #ffffff;
    /* couleur du texte */
    --navbar-height-desktop: 100px;
    /* hauteur de la navbar desktop */
    --navbar-logo-vertical-padding: 20px;
    /* espace vertical total réservé autour du logo */
}

/* =========================
   Structure principale
   ========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height-desktop);
    margin: 0;
    padding: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    background-color: var(--color__1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

/* Container interne centré */
.navbar .container-fluid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* -------------------------
   Logo
   ------------------------- */

/* Logo mobile (masqué sur desktop) */
.logo-link-mobil {
    display: none;
}

.logo-link-mobil img {
    display: none;
}

/* Logo desktop visible dans la nav */
.nav-item.logo-link-screen {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    padding-right: 1.8rem;
    /* espace entre logo et items */
    /* espace au-dessus / en-dessous du logo (ajustable) */
    padding-top: calc(var(--navbar-logo-vertical-padding) / 2);
    padding-bottom: calc(var(--navbar-logo-vertical-padding) / 2);
    overflow: hidden;
    /* empêche le débordement si l'image est trop grande */
}

/* Taille maximale du logo pour qu'il tienne dans la navbar */
.nav-item.logo-link-screen img,
.navbar .custom-logo,
.custom-logo-link img {
    max-height: calc(var(--navbar-height-desktop) - var(--navbar-logo-vertical-padding));
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Si le logo est dans un lien, s'assurer qu'il ne force pas la hauteur */
.nav-item.logo-link-screen .custom-logo-link {
    display: inline-block;
    height: 100%;
    line-height: 1;
    vertical-align: middle;
}

/* Sélecteurs de secours : neutraliser les règles externes qui forceraient le logo */
.navbar .nav-item.logo-link-screen img,
.navbar .custom-logo,
.custom-logo-link > img {
    max-height: calc(var(--navbar-height-desktop) - var(--navbar-logo-vertical-padding)) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    overflow: hidden !important;
}

/* -------------------------
   Collapse / wrapper
   ------------------------- */
.navbar-expand-lg .navbar {
    width: 100%;
    max-width: 100%;
}

.navbar-expand-lg .navbar-collapse {
    background-color: var(--color__1);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transition: 0.25s;
}

/* Quand Bootstrap affiche le collapse en desktop (rare), on l'affiche en flex */
.navbar-expand-lg .navbar-collapse.collapse {
    display: none;
}

.navbar-expand-lg .navbar-collapse.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Wrapper interne desktop */
.navbar-expand-lg .navbar-desktop-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
}

/* -------------------------
   Menu horizontal desktop
   ------------------------- */
.navbar-expand-lg .navbar-nav {
    display: table !important;
    height: var(--navbar-height-desktop);
    margin: 0 auto !important;
    padding: 0;
    table-layout: auto;
}

.navbar-expand-lg .navbar-nav li {
    vertical-align: middle;
    display: table-cell;
    width: auto;
}

/* Liens et effet soulignement (desktop) */
.navbar-expand-lg .nav-link,
.navbar-expand-lg .dropdown-item {
    font-size: 1.4rem;
    color: var(--color__blanc) !important;
    position: relative;
    display: inline-block;
    padding: 0.6rem 1.2rem 0.4rem;
    line-height: 1;
}

/* Trait d'animation sous les liens */
.navbar-expand-lg .nav-link::before,
.navbar-expand-lg .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--color__blanc);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(.25, .8, .25, 1);
}

.navbar-expand-lg .nav-link:hover::before,
.navbar-expand-lg .dropdown-item:hover::before,
.navbar-expand-lg .navbar-nav .current-menu-item > .nav-link::before {
    transform: scaleX(1);
}

/* Dropdown desktop */
.navbar-expand-lg .dropdown {
    position: relative;
}

.navbar-expand-lg .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 15px;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: var(--color__1);
    width: auto;
}

.navbar-expand-lg .dropdown-item {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.navbar-expand-lg .dropdown:hover > .nav-link::before {
    transform: scaleX(1);
}

/* -------------------------
   Accessibilité / focus
   ------------------------- */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    outline: none;
    text-decoration: none;
}

/* -------------------------
   Ajustements optionnels utiles
   ------------------------- */
/* Si vous souhaitez augmenter l'espace au-dessus du logo, augmentez --navbar-logo-vertical-padding.
   Exemple : --navbar-logo-vertical-padding: 28px; */

/* Forcer la visibilité et neutraliser filtres/bordures indésirables sur le toggler (desktop) */
.navbar-toggler {
    background: transparent;
    border: none;
}

.navbar-toggler-icon {
    background-image: none !important;
}

/* Fin NAVBAR - DESKTOP */


/*********************
* PAGINATION
*********************/

.page-item.active .page-link {
    background-color: var(--color__1);
    border-color: var(--color__1);
}

.page-link:hover {
    color: black;
}

/*********************
 * SLIDER 1
 *********************/

.box-slider a {
    position: relative;
    display: inline-block;
}

/* Structure interne du slider */
.tab-slider {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 700px;
    min-height: 320px;
    max-height: 700px;
    box-sizing: border-box;
    text-align: left;
    padding: 0 16px;
    overflow: hidden;
}

/* Si vous voulez permettre le dépassement du contenu pour certains cas */
.cell-slider.allow-overflow {
    height: 320px;
    /* garder la même hauteur de référence */
    min-height: 0;
    max-height: none;
    overflow: visible;
}

/* Nouveau conteneur pour gérer l'espacement du texte */
.slider-content {
    max-width: 800px;
    padding-left: 120px;
    padding-right: 50px;

    max-height: 250px;
    overflow: hidden;
    position: relative;
}

.slider-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

/* Titres */
.title-slider {
    font-size: 4rem;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

/* Contenu */
.content-slider p {
    font-size: 2rem;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

/* Image du slider */
.img-slider {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 700px;
}

/* Dots Slick */
.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;
}


/*********************
* Edito ********************
*********************/

.img-border img {
    border-radius: 25px;
}

/*********************
* BANDEAU ********************
*********************/

.bandeau_bottom_slider p {
    background-color: var(--color__1);
    color: var(--color__blanc);
    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;
    }
}

/*********************
     BOX Partenaires
*********************/

strong {
    color: var(--color__1);
}

.img-partenaires img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

body {
    overflow-x: hidden;
}

.title-partenaires {
    /* 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-partenaires p {
    width: 100%;
    color: var(--color__noir);
    font-size: 1.2em;
    text-align: justify;
    padding: 0% 5%;
}

/*********************
* GALERIE ********************
*********************/
.galerie-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2em;
}

.galerie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.galerie-thumb:hover img {
    transform: scale(1.05);
}

/*********************/


/*********************
* BOX Gite page d'accueil / boutons accueil 
*********************/
/* Bloc full-screen */
.home-block {
    height: 80vh;
    display: flex;
    padding: 40px;
    color: var(--color__blanc) !important;
    background-size: cover;
    background-position: center;
    position: relative;
    text-decoration: none !important;
}

/* Titre */
h3.home-title,
.home-block h3 {
    color: var(--color__blanc) !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

/* Empêche tout underline */
.home-block:hover,
.home-block-content:hover,
.home-block-content a:hover {
    text-decoration: none !important;
}

/* Overlay sombre */
.home-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    transition: background .3s ease;
}

.home-block:hover::before {
    background: rgba(68, 121, 78, 0.55);
}

/* Contenu */
.home-block-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

/* Titre */
.home-block h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

/* Excerpt */
.home-block p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

/* Flèche Bootstrap Icons */
.home-block .arrow {
    font-size: 1.6rem;
    display: inline-block;
    transition: transform .3s ease;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.home-block:hover .arrow {
    transform: translateX(6px);
}

/* Mobile */
@media (max-width: 767px) {
    .home-block {
        height: 40vh;
        padding: 20px;
    }

    .home-block h3 {
        font-size: 1.6rem;
    }
}


/*********************
* BOX SUGGESTION
*********************/

/* Carte */
.box-archive {
    display: block;
    position: relative;
    height: 320px;
    border-radius: 25px;
    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 */
}

/* Overlay color au hover */
.box-image:hover {
    content: "";
    position: absolute;
    inset: 0;
    transform: scale(1.05);
    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: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

/* 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);
}


/*************************
*   content-gite.php
************************/

/* Title général */
.titre-fullwidth {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 4em;
    margin-bottom: 2em;
    padding: 30px 0;

    background: var(--color__2);
    color: white !important;
    text-align: center;
}

.titre-fullwidth .entry-title {
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
}

.titre-fullwidth .entry-excerpt p {
    margin: 0;
    font-family: "Brother Signature";
    font-size: 3.9rem;
    text-align: center;
}

/* fin titre */

.gite-infos-sidebar {
    height: auto !important;
    min-height: auto !important;
    border-right: solid 2px var(--color__1);
    padding-right: 20px;
}

/* hauteur pluggin réservation */
.gite-infos-sidebar iframe#itea_widget_resa_frame {
  height: 450px !important;
}

/* Ligne inline propre */
.row-infos-gite.inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

/* Colonne gauche : largeur fixe */
.title-infos-gite {
    flex: 0 0 180px;
    /* Ajuste si tu veux plus large */
    font-weight: 600;
    line-height: 1.4;
    color: var(--color__1);
    font-size: 1.1rem;
    margin-top: 0.5em;
}

/* Colonne droite : prend toute la place */
.content-infos-gite {
    flex: 1;
    line-height: 1.4;
}

/* Pour les blocs */
.row-infos-gite.block {
    margin-bottom: 15px;
}

.row-infos-gite.block .title-infos-gite {
    margin-bottom: 5px;
}

.gite-map-fullscreen {
    width: 100vw;
    height: 50vh;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 0;
}

.gite-map-fullscreen-inner {
    width: 100%;
    height: 100%;
}

.gite-map-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/*************************
*   CAROUSSEL GITE CHAMBRE D'HOTES
************************/

/* CARROUSEL FULL WIDTH */
.gite-carousel-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
}

.gite-carousel-hero .carousel-figure {
    margin: 0;
    width: 100%;
    height: 80vh;
    /* hauteur slider */
    position: relative;
    overflow: hidden;
}

.gite-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: none;
    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;
}

.carousel-caption {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}


/*********************
* 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;
    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 ********************
*********************/

/* ----------------------------------------------------
   CONTAINER GLOBAL
---------------------------------------------------- */
.box-news {
    margin-top: 2rem;
}

/* ----------------------------------------------------
   CARTE ACTUALITÉ
   (le lien = la carte)
---------------------------------------------------- */
.link-archive {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.link-archive:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    text-decoration: none;
}

/* ----------------------------------------------------
   IMAGE EN HAUT (ratio fixe)
---------------------------------------------------- */
.img-archive {

    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

}

.link-archive:hover .img-archive {
    transform: scale(1.03);
}

/* ----------------------------------------------------
   CONTENU TEXTE
---------------------------------------------------- */
.title-archive,
.content-archive {
    padding: 0 1.1rem;
}

.title-archive {
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
}

.content-archive {
    margin-bottom: 1.3rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #444;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 768px) {
    .link-archive {
        margin-bottom: 1.5rem;
    }
}

/*********************
* CONTENT ARCHIVE (bouton "Toutes les actualités")
*********************/

.nav-archive {
    font-size: 1.2rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__2);
    border-color: var(--color__2);
    color: var(--color__blanc) !important;
    font-size: 1.2rem;
    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__1);
    border-color: var(--color__1);
    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: "GoogleSans";
    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%;
    }
}

/*********************
 * Nos amis 
 *********************/

.amis-tel {
    font-size: 1.3em;
    color: var(--color__1);
    font-weight: bold;
}

.amis-tel i {
    color: var(--color__1);
}

/*********************
 * PARTENAIRES
 *********************/
/* conteneur flex principal */
.box-partenaires .list_partenaires {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
}

/* chaque item : 4 par ligne */
.box-partenaires .partenaires-item {
    box-sizing: border-box;
    flex: 0 0 calc(15% - 20px);
    max-width: calc(15% - 20px);
    text-align: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* conteneur image — empêche tout débordement */
.box-partenaires .img-partenaires {
    width: 100%;
    max-width: 150px;
    max-height: 150px;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto 12px;
    box-sizing: border-box;
}

/* image */
.box-partenaires .img-partenaires img,
.box-partenaires .img-partenaires .img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* hover */
.box-partenaires .img-partenaires img:hover,
.box-partenaires .img-partenaires .img-responsive:hover {
    transform: scale(1.1);
}

/* titre sous l'image */
.box-partenaires .title-partenaires {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--color__1);
    margin-bottom: 8px;
}

/* contenu sous le titre */
.box-partenaires .content-partenaires {
    font-size: 0.95rem;
    color: var(--color__noir);
    padding: 0 8%;
    text-align: center;
    margin-top: auto;
}

/* responsive : 3 par ligne sur tablettes */
@media (max-width: 991px) {
    .box-partenaires .partenaires-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

/* responsive : 2 par ligne sur mobile */
@media (max-width: 767px) {
    .box-partenaires .partenaires-item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .box-partenaires .img-partenaires img {
        width: 120px;
        height: 120px;
    }
}

/* sécurité anti-débordement */
.box-partenaires,
.box-partenaires * {
    box-sizing: border-box;
}

/*********************
* FOOTER ********************
*********************/

.footer-signature {
    color: white !important;
    font-family: 'Brother Signature';
    font-weight: 400;
    font-size: 3.5em;
}

.custom-logo-footer {
    margin-top: 0.9em;
    margin-left: 0.5em;
    max-height: 120px;
    width: auto;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.custom-logo-footer:hover {
    transform: scale(1.1);
}

.bloc-footer-map {
    height: 400px;
    position: relative;
}

.bloc-footer-map iframe {
    width: 100%;
    height: 400px;
}

.footer-link {
    margin-bottom: 0.8em;
    font-size: 1.3em;
    color: white !important;
    font-weight: bold;
    display: block;
    text-decoration: none;
    transition: color 0.25s ease;
    /* transition sur l'état normal */
}

.footer-link:hover {
    color: var(--color__2) !important;
    text-decoration: none;
}

.bloc-footer-1 {
    background-color: var(--color__1);
    color: white;
}

.bloc-footer-2 {
    background-color: var(--color__1);
    font-size: 12px;
    color: white;
}

.bloc-footer-2 a {
    color: white;
}

.icon-footer {
    color: white !important;
    transition: 0.25s;
    padding-left: 0.5em;
}

.icon-footer i:hover {
    transition: 0.25s;
    color: var(--color__2) !important;
}

.icon-footer i {
    font-size: 3rem;
}

/*********************
* 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: 991.98px) {

    h1,
    .entry-title,
    .box_title {
        font-size: 2.2em !important;
        line-height: 1.2em;
    }

    p,
    ul,
    il,
    .title-infos-gite,
    .content-infos-gite {
        font-size: 1.2em;
    }

    ul {
        padding-left: 20px;
    }

    .entry-excerpt p {
        margin-top: 0.5em !important;
        font-size: 3.3rem !important;
        line-height: 0.9em;
    }

    .slider-content {
        padding-left: 0px!important;
        padding-right: 0px;
    }

    .title-slider {
        font-size: 2em;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
    }

    .slider-content p {
        font-size: 1.5em;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
    }

    /* box-suggestion */
    .box-title {
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.85);
    }

    .footer-signature {
        font-size: 2.5em;
    }

    .hero-arrow svg {
        display: none;
    }

    .wp-block-media-text__media img {
        margin-bottom: 0.8em;
    }

    .wp-block-media-text__content {
        padding: 0px !important;
    }

    .wp-block-spacer {
        display: none;
    }

    .wp-block-paragraph {
        margin-top: 0.5em;
    }

    .titre-fullwidth {margin-top: 6em;}
    .gite-infos-sidebar {
        height: auto !important;
        min-height: auto !important;
        border-right: solid 0px var(--color__1);
        border-bottom: solid 2px var(--color__1);
        margin-bottom: 1em;
    }

    .suggestion-responsive {
        padding-right: 15px;
        padding-left: 15px;
    }

    .navbar-expand-lg .navbar-desktop-inner {
        padding-top: 1.5em;
    }

    /* Masque l'élément li contenant le logo sur mobile */
    li.nav-item.logo-link-screen,
    .logo-link-screen {
        display: none !important;
    }

    /* Au cas où l'image serait ciblée directement ailleurs */
    .logo-link-screen .custom-logo,
    .logo-link-screen img {
        display: none !important;
        visibility: hidden !important;
    }

    .navbar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        width: 100%;
    }

    /* Logo mobile visible dans la barre */
    .logo-link-mobil {
        display: block !important;
        height: 70px;
        line-height: 70px;
        margin: 0;
        padding: 0;
        z-index: 10005;
    }

    .logo-link-mobil img {
        height: 58px;
        width: auto;
        display: block;
        padding-bottom: 0.8em;
    }

    /* Masquer le logo desktop qui peut être dans la liste */
    .nav-item.logo-link-screen {
        display: none !important;
    }

    /* Toggler aligné à droite */
    .navbar-toggler {
        order: 2;
        margin-left: auto;
        background: transparent;
        border: none;
        z-index: 10006;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-light .navbar-toggler-icon {
        filter: invert(1) brightness(2);
    }

    /* Collapse : plein écran sous la navbar, fond color__1 */
    .navbar-collapse {
        position: absolute;
        top: 70px;
        /* doit correspondre à la hauteur de la navbar mobile */
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        /* caché par défaut */
        background: var(--color__1) !important;
        z-index: 10000;
        /* en dessous du logo/toggler */
        padding: 0.5rem 0;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        -webkit-overflow-scrolling: touch;
    }

    /* Quand ouvert (Bootstrap .show ou fallback .open) */
    .navbar-collapse.show,
    .navbar-collapse.open {
        display: block !important;
    }

    /* Empiler les items verticalement */
    .navbar-desktop-inner {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navbar-nav .nav-item {
        display: block !important;
        width: 100% !important;
    }

    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item {
        display: block !important;
        width: 100% !important;
        padding: 0.9rem 1.2rem !important;
        color: var(--color__blanc) !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-sizing: border-box;
    }

    /* Dropdown mobile : inline and visible when .show */
    .dropdown {
        position: static !important;
    }

    .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        /* collapse has the background */
        box-shadow: none !important;
        border: none !important;
    }

    .dropdown.show > .dropdown-menu,
    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        padding: 0.8rem 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        color: var(--color__blanc) !important;
    }

    /* Prevent desktop table rules from interfering */
    .navbar-expand-lg .navbar-nav {
        display: flex !important;
        table-layout: auto !important;
        height: auto !important;
    }

    /* Ensure logo remains visible if another rule hides it */
    .navbar .logo-link-mobil,
    .navbar .logo-link-mobil img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* If your collapse uses #navbar specifically, ensure it inherits same behavior */
    #navbar {
        box-sizing: border-box;
    }

    /* Small helper: ensure dropdown toggles are clickable and don't close immediately */
    .dropdown-toggle {
        cursor: pointer;
    }

    /* Slider : centrage vertical des captions (robuste) */
    .carousel-item,
    .swiper-slide,
    .slick-slide {
        position: relative;
        min-height: 220px;
        /* ajuster si nécessaire */
        display: block;
        box-sizing: border-box;
    }

    /* Image : occuper le conteneur sans casser la hauteur */
    .carousel-item img,
    .swiper-slide img,
    .slick-slide img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    /* Caption centré verticalement par défaut */
    .carousel-caption,
    .slide-caption,
    .swiper-slide .slide-caption,
    .slick-slide .slide-caption {
        position: absolute !important;
        left: 0;
        right: 0;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 auto;
        padding: 0.8rem 1rem;
        text-align: center;
        z-index: 5;
        box-sizing: border-box;
    }

    /* Option : placer en bas si vous préférez */
    .carousel-caption.bottom,
    .slide-caption.bottom {
        top: auto !important;
        bottom: 12% !important;
        transform: none !important;
    }

    /* Neutraliser les règles top:0 héritées */
    .carousel-caption,
    .slide-caption {
        top: auto;
        bottom: auto;
    }

    /* Forcer lisibilité */
    .carousel-caption h1,
    .slide-caption h1,
    .carousel-caption h2,
    .slide-caption h2 {
        margin: 0 0 0.4rem;
        line-height: 1.1;
        font-size: 1.4rem;
    }

}

/* End responsive.css */
