/* === Alignement et justification du texte === */
.text-justify {
  text-align: justify !important;
}

/* === Désactivation globale de text-transform: uppercase === */
.text-uppercase,
.owl-carousel .owl-item h1,
.owl-carousel .owl-item h3,
.owl-carousel .owl-item p {
  text-transform: none !important;
}

/* === Footer existant === */
#footer {
  background: #22364e !important;
  border-top: 4px solid #22364e !important;
  font-size: 0.9em;
  margin-top: 50px;
  padding: 0;
  position: relative;
  clear: both;
}
#footer .footer-copyright {
  background-color: #22364e !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

/* === Menu haut existant === */
@media (min-width: 992px) {
  #header .header-nav-main nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    white-space: normal;
    border-radius: var(--border-radius);
    color: var(--grey-500);
    font-size: 15px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-decoration: none;
  }
}

/* ===================================================
   SLIDER PRINCIPAL DANS .main : FADE SUR FOND NOIR
   =================================================== */
/* Fond noir pendant le fade, seulement pour le slider dans .main */
.main .owl-carousel,
.main .owl-carousel .owl-stage-outer,
.main .owl-carousel .owl-stage {
  background-color: #000 !important;
}
/* Les items restent transparents pour laisser voir le fond noir */
.main .owl-carousel .owl-item {
  background-color: transparent !important;
}

/* ===================================================
   SLIDER : IMAGES EN FULL (BACKGROUND-SIZE: COVER)
   =================================================== */
/* 1) Confinement des slides */
.owl-carousel .owl-item {
  position: relative !important;
  overflow: hidden !important;
}

/* 2) Conteneur d’image (.bg-slide) en pleine couverture */
.owl-carousel .owl-item .bg-slide {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* 3) Overlay sombre 60% via la classe overlay-op-6 */
.owl-carousel .owl-item.overlay-op-6::before {
  content: "";
  position: absolute !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  z-index: 2 !important;
}

/* 4) Texte et boutons au-dessus */
.owl-carousel .owl-item .slide-content {
  position: relative !important;
  z-index: 3 !important;
}

/* Moteur de recherche interne */
.simple-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 1000;
}
.search-result-item {
  display: block;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  color: #333;
  text-decoration: none;
}
.search-result-item:hover {
  background: #f5f5f5;
}
.search-no-results {
  padding: 0.5rem;
  color: #666;
}

/* Shape slider */
.slider-area {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.shape-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none; /* pour ne pas gêner les clics */
  z-index: 5;
}

.shape-overlay img {
  display: block;
  width: 100%;
  height: auto;
}
/* Fixe temporairement la hauteur du conteneur du slider pour éviter les recalculs */
html, body {
  scroll-behavior: auto !important;
  overflow-anchor: none !important;
}
.owl-carousel .owl-item {
  min-height: 1px; /* évite les recalculs de hauteur à 0 */
}

/* Rotation tourne disque du shape */
.rotating-shape {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 383px;
  height: 383px;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

.rotating-shape img {
  width: 100%;
  height: 100%;
  animation: spin 10s linear infinite;
  transform-origin: center center;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.bg-dark {
  background-color: #22364e !important;
}
/* ajuster l'espace entre les mots H1 du slider */
.owl-carousel .owl-item h1 {
  word-spacing: 0.1em; /* ajuste selon l'effet désiré */
}

@media (max-width: 991.98px) {
  .header-nav-main nav.collapse,
  .header-nav-main .navbar-collapse {
    background-color: #22364e !important;
  }
}

.slider-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.price-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  background-color: #c86c16;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.price-badge::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
}

.price-badge .euro-symbol {
  font-size: 0.6em;
  vertical-align: super;
}

.non-contractual-vertical {
  position: absolute;
  right: 10px;
  top: 57%; /* décale vers le bas pour être en-dessous du menu */
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 11px;
  color: #fff;
  opacity: 0.7;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 576px) {
  .rotating-shape {
    transform: translateX(-50%) scale(0.5);
    transform-origin: center center;
  }
}

@media (max-width: 576px) {
  .slide-content {
    transform: translateY(-10%) !important;
  }
}

#footer a, #footer p, #footer h5 {
    color: #ffffff !important;
}

#footer a:hover {
    color: #dcdcdc !important;
}

.fb-page {
    border-radius: 7px;
    overflow: hidden;
}

section.section {
  margin: 0px 0;
  padding: 50px 0;
}

/* bandeau fixe sous menu autres pages que accueil */
.fixed-header-image {
  overflow: hidden;
  height: 200px;
  width: 100%;
}
.fixed-header-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Forcer le header non‐sticky à la couleur du sticky */
header#header.header-transparent .header-body,
header#header.header-transparent-dark-bottom-border .header-body {
  background-color: #22364e !important;   /* remplacez par votre code exact */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* === Forcer le header non-sticky à être bleu sur toutes les pages sauf l'accueil === */
body:not(.home) #header .header-body {
  /* remplacez #005EA5 par le code exact de votre bleu sticky */
  background-color: #22364e !important;
}

/* Vidéo en arrière‑plan pour la page-header */
.page-header-video {
  position: relative;
  overflow: hidden;
}

/* Media vidéo qui couvre entièrement la section */
.page-header-video__media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Contenu placé au‑dessus de la vidéo */
.page-header-video .container {
  position: relative;
  z-index: 1;
}

/* Forcer le conteneur de la carte Ã  Ãªtre responsive */
.map-container {
    position: relative !important;
    width: 100vw !important; /* Prend toute la largeur de la fenÃªtre */
    max-width: 100% !important;
    height: 500px !important; /* DÃ©finit une hauteur fixe */
    margin: 0 auto !important; /* Centre horizontalement */
    overflow: hidden !important; /* Ã‰vite les dÃ©bordements */
}

.map-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important; /* Adapte la largeur au conteneur */
    height: 100% !important; /* Adapte la hauteur */
    border: none !important; /* Supprime les bordures */
    display: block !important; /* Ã‰vite les espaces blancs inutiles */
}

.page-contact .page-header .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-contact .page-header {
  margin-bottom: 0 !important;
}

/* Fond blanc uniquement sur la page contact */
body.page-contact .section.section-default .bg-light {
  background-color: #fff !important;
}

.page-header-video {
  margin-bottom: 0 !important;
}

.page-header-video .container {
  padding-bottom: 0px; /* ou plus selon le besoin visuel */
}

.main > .section-background {
  margin-top: -10px; /* ajuste doucement la remontée */
}

@media (max-width: 767.98px) {
  .page-header .breadcrumb {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .section-background {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .section .col-lg-6 {
    margin-top: 0 !important;
    min-height: auto !important;
  }
}

@media (max-width: 767.98px) {
  .texte-plat-du-jour {
    margin-bottom: 20px !important;
  }
}

.floating-btn {
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Bouton PDF (toujours visible) --- */
.floating-btn-pdf {
  bottom: 20px;
  left: 20px;
}
.floating-btn-pdf img {
  display: block;
  width: 60px;  /* taille mobile par défaut */
  height: 60px;
}

/* --- Bouton Appel (mobile uniquement) --- */
.floating-btn-call {
  bottom: 20px;
  right: 20px;
  display: none; /* masqué en bureau */
}
.floating-btn-call img {
  display: block;
  width: 50px;  /* taille mobile */
  height: 50px;
}

/* --- Points de rupture et adaptations --- */
/* Version desktop */
@media (min-width: 992px) {
  .floating-btn-pdf img {
    width: 60px;  /* taille bureau */
    height: 60px;
  }
  /* on garde le bouton appel masqué */
}

/* Version mobile (affiche aussi le bouton d’appel) */
@media (max-width: 991px) {
  .floating-btn-call {
    display: flex;
  }
  .floating-btn-call img {
    width: 60px;  /* ajustez selon le rendu souhaité */
    height: 60px;
  }
}

table {
  table-layout: auto !important;
  width: 100% !important;
}

table td:last-child {
  white-space: nowrap;
  width: 1%;
  max-width: 1%;
  text-align: right;
  font-weight: bold;
  color: #c86c16;
  word-break: keep-all;
  overflow-wrap: normal;
}

h3 {
  font-size: 1.8em;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 10px;
  text-transform: none;
}

/* boutons partage réseaux sociaux */
.share-btn { 
    padding: 10px 20px;
    margin: 5px;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    }
    .facebook { background-color: #3B5998; }
    .x { background-color: #000000; }
    .linkedin { background-color: #0077B5; }
    .pinterest { background-color: #BD081C; }
	.visit-counter { background-color: #555555; }










