/* =========================
   MAIN SLIDER VIDEO BACKGROUND (override theme)
   ========================= */

/* Le slide sert de référence */
.main-slider .swiper-slide {
  position: relative !important;
  overflow: hidden !important;
}

/* Fond vidéo derrière */
.main-slider__bg.video-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

/* Vidéo plein fond */
.main-slider__bg.video-bg video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
}

/* Voile NOIR (et on annule toute autre couleur) */
.main-slider__bg.video-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Contenu au-dessus du voile */
.main-slider .container,
.main-slider__content {
  position: relative !important;
  z-index: 10 !important;
}

/* Force le texte visible (ne dépend pas des anims du thème) */
.main-slider__content,
.main-slider__content * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
/* =========================================
   SUPPRESSION TOTALE DES SCALE / ZOOM
   SUR LE SLIDER VIDEO
   ========================================= */

/* Empêche tout scale sur le slide */
.main-slider,
.main-slider * {
  transform: none !important;
}

/* Sécurité spécifique Swiper */
.main-slider .swiper-slide {
  transform: none !important;
}

/* Sécurité vidéo */
.main-slider__bg.video-bg,
.main-slider__bg.video-bg video {
  transform: none !important;
  scale: 1 !important;
}
@media (min-width: 992px) {
  .main-slider {
    height: 850px !important;
  }
  .main-slider .swiper-container,
  .main-slider .swiper-wrapper,
  .main-slider .swiper-slide {
    height: 100%;
  }
}
/* Mobile : vidéo entière, hauteur auto via ratio */
@media (max-width: 991px) {
  /* Le slider prend une hauteur naturelle (pas 850px) */
  .main-slider,
  .main-slider .swiper-container,
  .main-slider .swiper-wrapper,
  .main-slider .swiper-slide {
    height: auto !important;
  }

  /* Hauteur calculée depuis la largeur (vidéo entière, plus courte) */
  .main-slider .swiper-slide {
    aspect-ratio: 16 / 9; /* ajuste si ta vidéo n'est pas 16/9 */
  }

  /* Fond vidéo remplit le slide */
  .main-slider__bg.video-bg {
    height: 100% !important;
  }

  /* Vidéo entière (pas de crop) */
  .main-slider__bg.video-bg video {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/*--------------------------------------------------------------div-----------------------------------------*/
.main-slider__title {
  color: whitesmoke !important;
  font-size: 6em !important;
  font-weight: 600 !important;
}
/*-------------------------------------------------------------------------------------------------------*/
.about-one__counter {
  border-bottom: none !important;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.1);
  padding: 0 !important;
}
/*-------------------------------------------------------------------------------------------------------*/
.icon-dollar:before {
  content: "€";
  font-size: 24px; /* ajuster si besoin */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}
/* ===============================
   PRESTATIONS (Home) — version clean
   - lien sur toute la ligne
   - hover rectangle doré + texte blanc
   - flèche à droite
   - hauteur réduite
   - pas d'état "active-btn"
   =============================== */

/* reset li (padding géré par le lien) */
.services-one .tabs-button-box li {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0 !important;
  cursor: pointer;
}

/* lien plein (toute la ligne cliquable) */
.services-one .tabs-button-box .prestation-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px; /* hauteur des lignes : ajuste ici */
  text-decoration: none !important;
  background: #fff;
}

/* texte normal */
.services-one .tabs-button-box .prestation-link h2 {
  margin: 0;
  color: #b08a52;
  transition: color 0.2s ease;
}

/* flèche à droite */
.services-one .tabs-button-box .prestation-link .icon-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 36px;
}
.services-one .tabs-button-box .prestation-link .icon-box i {
  color: #000;
  transition: color 0.2s ease;
}

/* hover/focus/active : rectangle doré + texte blanc + flèche blanche */
.services-one .tabs-button-box li:hover .prestation-link,
.services-one .tabs-button-box .prestation-link:focus-visible,
.services-one .tabs-button-box .prestation-link:active {
  background: #b08a52;
}

.services-one .tabs-button-box li:hover .prestation-link h2,
.services-one .tabs-button-box .prestation-link:focus-visible h2,
.services-one .tabs-button-box .prestation-link:active h2 {
  color: #fff !important;
}

.services-one .tabs-button-box li:hover .prestation-link .icon-box i,
.services-one .tabs-button-box .prestation-link:focus-visible .icon-box i,
.services-one .tabs-button-box .prestation-link:active .icon-box i {
  color: #fff !important;
}
.services-one__tab .tabs-button-box .tab-btn-item .text-box h2 {
  font-size: 28px;
  /* line-height: 34px; */
  font-weight: 500;
  text-transform: none !important;
}
.services-one__tab .tabs-button-box .tab-btn-item {
  padding: 0 !important;
}
/*-----------------------------------menu--------------------------------------------------------------------*/
.main-menu .main-menu__list > li > a,
.stricky-header .main-menu__list > li > a {
  font-size: 20px !important;
  text-transform: none !important;
  /* line-height: 28px; */
  font-family: var(--suntop-font);
}
/* MOBILE: sous-menu "Nos services" toujours visible */
@media (max-width: 991px) {
  .mobile-nav__content .services-menu > ul {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding-left: 18px;
    margin-top: 8px;
  }

  /* Empêche l'effet "clic" / toggle sur le parent */
  .mobile-nav__content .services-menu > a.no-link {
    pointer-events: none;
  }

  /* Si le script ajoute un bouton dropdown à côté, on le masque */
  .mobile-nav__content .services-menu .dropdown-btn {
    display: none !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* Prestations – image pleine largeur */
.services-details__content-full-img {
  width: 100%;
  margin-top: 40px;
}

.services-details__content-full-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* optionnel, cohérent avec le template */
}
.services-details__content-img img,
.services-details__content-full-img img {
  width: 100%;
  height: auto;
  display: block;
}

/*-------------------------------------------------------------------------------------------------------*/
/* =========================================================
   PAGE HEADER — RESET TOTAL + VOILE LÉGER
   ========================================================= */

/* RESET ABSOLU DU BACKGROUND */
.page-header__bg {
  background-color: transparent !important;
  background-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
}

/* DÉSACTIVE TOUT OVERLAY EXISTANT DU TEMPLATE */
.page-header::before,
.page-header::after,
.page-header__bg::before {
  content: none !important;
  display: none !important;
}

/* CONTENU AU-DESSUS */
.page-header,
.page-header .container,
.page-header__inner {
  position: relative !important;
  z-index: 2 !important;
}
/* VOILE NOIR ULTRA LÉGER */
.page-header__bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.2) !important; /* très léger */
  pointer-events: none !important;
  z-index: 1 !important;
}
.services-details__content-full-img img {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
  border-radius: 8px !important;
}
.services-details__content-img {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
  border-radius: 8px !important;
}

/*----------------------------------------------------------------------------------------*/
.services-details__sidebar-contact-text1 {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* marge identique autour du logo */
  box-sizing: border-box;
}

.services-details__sidebar-contact-text1 img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* garantit aucun débordement */
  display: block;
}
/*-------------------------------------------------------------------------------------------------------*/
.footer-widget-one__about-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.social-icons i {
  font-size: 36px;
  margin-right: 14px;
}
.social-icons a {
  text-decoration: none;
}

/*-------------------------------------------------------------------------------------------------------*/
/* addon.css */

/* Galerie : largeur max 1200, responsive */
.gallery-page .container {
  max-width: 1200px;
}

/* vignette */
.real-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background: #111;
  cursor: zoom-in;
}

/* vignettes proportionnelles (même hauteur, recadrage propre) */
.real-card img {
  width: 100%;
  height: 260px; /* ajuste si besoin */
  object-fit: cover;
  display: block;
}

/* effet léger au survol */
.real-card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* fond assombri du zoom */
.mfp-zoom-bg.mfp-bg {
  opacity: 0.9 !important;
}

/* image au centre en taille réelle (pas "fit" forcé) */
.mfp-zoom-bg .mfp-img {
  max-width: 95vw;
  max-height: 95vh;
}

/*-------------------------------------------------------------------------------------------------------*/
/* addon.css (à mettre tout en bas) */
/* Force l'état actif "current" comme sur le template, même si le CSS d'origine écrase */

/* 1) Lien actif (niveau 1) */
.main-menu__list > li.current > a,
.main-menu__list > li.current > a:visited,
.main-menu__list > li.current > a:hover {
  color: var(--suntop-base) !important; /* couleur accent du thème */
}

/* 2) Petit indicateur/underline (si le thème utilise un pseudo-élément) */
.main-menu__list > li.current > a::after,
.main-menu__list > li.current > a::before {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3) Dropdown actif : colorer aussi le libellé "Nos services" */
.main-menu__list > li.dropdown.current > a,
.main-menu__list > li.dropdown.current > a:hover {
  color: var(--suntop-base) !important;
}

/* 4) Si ton thème applique l'actif via "active" au lieu de "current" */
.main-menu__list > li.active > a,
.main-menu__list > li.dropdown.active > a {
  color: var(--suntop-base) !important;
}

/* 5) Option : rendre l'actif plus visible (léger gras) */
.main-menu__list > li.current > a {
  font-weight: 700 !important;
}

/* 6) (optionnel) si tu veux un fond discret sur l'item actif */
.main-menu__list > li.current {
  /* background: rgba(255,255,255,0.06) !important; */
  /* border-radius: 8px; */
}
/* FORCER L'ACTIVATION DU MENU "NOS SERVICES" */
.main-menu__list > li.dropdown.current > a {
  color: var(--suntop-base) !important;
}

/* FORCER L'ACTIVATION DU MENU "NOS SERVICES" */
.main-menu__list > li.dropdown.current > a {
  color: var(--suntop-base) !important;
}

/* Empêche le thème de réactiver "Home" */
.main-menu__list > li.current:not(.dropdown) > a {
  color: inherit !important;
}

/* Assure que le dropdown reste actif même après JS */
.main-menu__list > li.dropdown.current {
  pointer-events: auto;
}
/* ================================
   MENU ACTIF – couleur dorée OK
   + pas de soulignement au repos
   + soulignement uniquement au hover
   ================================ */

/* Trait caché par défaut */
.main-menu .main-menu__list > li > a::before,
.stricky-header .main-menu__list > li > a::before {
  content: "";
  height: 2px;
  border-radius: 0;
  background-color: var(--suntop-base);
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
  z-index: 1;
}

/* Apparition au survol */
.main-menu .main-menu__list > li > a:hover::before,
.stricky-header .main-menu__list > li > a:hover::before {
  transform: scaleX(1);
}

/* Actif = couleur OK mais sans soulignement */
.main-menu .main-menu__list > li.current > a,
.stricky-header .main-menu__list > li.current > a {
  color: var(--suntop-base) !important;
  font-weight: 700;
}

.main-menu .main-menu__list > li.current > a::before,
.stricky-header .main-menu__list > li.current > a::before {
  transform: scaleX(0);
}

/*-------------------------------------------------------------------------------------------------------*/
/* Zone avant footer (texte gauche / image droite) */
.about-before-footer {
  padding: 60px 0 80px;
}

.about-before-footer__content p {
  margin-bottom: 18px;
}

.about-before-footer__list {
  margin: 0 0 28px 0;
  padding: 0;
  list-style: none;
}

.about-before-footer__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.about-before-footer__list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--suntop-base);
}

.about-before-footer__img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.about-before-footer__img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .about-before-footer__img img {
    height: 260px;
  }
  .sn {
    display: none !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* Justification globale */
body p {
  text-align: justify;
  text-justify: inter-word;
}

/* Mobile : retour à un alignement naturel */
@media (max-width: 768px) {
  body p {
    text-align: left;
  }
}
/*-------------------------------------------------------------------------------------------------------*/
/* Conteneur image : gère l'arrondi + l'ombre */
.img-box,
.about-before-footer__img,
.real-card,
.services-details__content-img,
.services-details__content-full-img {
  border-radius: 8px !important;
  overflow: hidden; /* indispensable pour les coins */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

/* Image elle-même */
.img-box img,
.about-before-footer__img img,
.real-card img,
.services-details__content-img img,
.services-details__content-full-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px !important;
}

/*-------------------------------------------------------------------------------------------------------*/
/* Logo centré sous les deux images */
.about-logo-center {
  margin-top: 40px;
  text-align: center;
}

.about-logo-center img {
  max-width: 350px; /* ajuste si besoin */
  width: 100%;
  height: auto;
  display: inline-block;
  opacity: 0.95;
}

/*-------------------------------------------------------------------------------------------------------*/
.bo {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
  border-radius: 8px !important;
}
.m50 {
  margin-top: 50px !important;
}
/*-------------------------------------------------------------------------------------------------------*/
.about-two__experience-box::before {
  position: absolute;
  top: -16px;
  right: 0;
  border-bottom: 16px solid #b08a52 !important  ;
  content: "";
  border-right: 17px solid transparent;
}

/*-------------------------------------------------------------------------------------------------------*/

/* =========================================
   IMAGE PLEINE LARGEUR SANS TOUCHER À LA HAUTEUR
   ========================================= */

.custom-img-fullwidth {
  width: 100%;
  overflow: hidden;
}

.custom-img-fullwidth .inner {
  width: 100%;
}

.custom-img-fullwidth img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/*-------------------------------------------------------------------------------------------------------*/
.about-two__content-bullets {
  margin: 12px 0 22px 0;
  padding-left: 0;
  list-style: none;
}

.about-two__content-bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.about-two__content-bullets li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--suntop-base);
}

/*-------------------------------------------------------------------------------------------------------*/
.about-two__content-title .title-animation {
  font-size: 36px !important;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .about-two__content-title .title-animation {
    font-size: 28px !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
@media (max-width: 991px) {
  /* On cache le dropdown "Nos services" cloné (avec flèche) */
  .mobile-nav__content li[data-menu="services"].dropdown {
    display: none !important;
  }

  /* Titre plat */
  .mobile-nav__content .mobile-services-title > span {
    display: block;
    padding: 10px 0;
    font-weight: 700;
  }

  /* Liste plate : retrait 20px */
  .mobile-nav__content .mobile-services-list a {
    padding-left: 20px !important;
    display: block;
  }
}
/*-------------------------------------------------------------------------------------------------------*/
/* =========================================================
   MENU MOBILE – VERSION STABLE ET PROPRE
   (utilise le menu principal cloné, sans duplication)
   ========================================================= */

@media (max-width: 991px) {
  /* Conteneur général */
  .mobile-nav__container {
    padding: 20px 0;
  }

  /* Liste principale clonée depuis le header */
  .mobile-nav__container .main-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav__container .main-menu__list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav__container .main-menu__list > li:last-child {
    border-bottom: none;
  }

  /* Liens principaux */
  .mobile-nav__container .main-menu__list > li > a {
    display: block;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .mobile-nav__container .main-menu__list > li > a:hover,
  .mobile-nav__container .main-menu__list > li.current > a {
    color: #b08a52;
    background: rgba(255, 255, 255, 0.05);
  }

  /* ================================
     SERVICES – affichage direct
     (pas de dropdown, pas de JS)
     ================================ */

  /* "Nos services" : titre, non cliquable en mobile */
  .mobile-nav__container .main-menu__list > li.dropdown > a {
    font-weight: 700;
    color: #b08a52;
    cursor: default;
    pointer-events: none; /* évite le comportement dropdown du template */
  }

  /* Sous-menu toujours visible */
  .mobile-nav__container .main-menu__list > li.dropdown > ul {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    margin: 6px 0 12px 0;
    padding: 6px 0; /* un peu d’air en haut/bas */
    background: rgba(0, 0, 0, 0.25);
  }

  /* IMPORTANT : pas de bordures sur les LI (sinon ça "coupe" visuellement) */
  .mobile-nav__container .main-menu__list > li.dropdown > ul > li {
    border: 0 !important;
    margin: 0;
  }

  /* Liens des services : séparateur sur le lien (multi-lignes propre) */
  .mobile-nav__container .main-menu__list > li.dropdown > ul > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;

    white-space: normal;
    line-height: 1.35; /* + confort sur 2 lignes */
    transition: all 0.25s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Pas de séparation sur le premier item */
  .mobile-nav__container .main-menu__list > li.dropdown > ul > li:first-child > a {
    border-top: 0;
  }

  /* Hover service */
  .mobile-nav__container .main-menu__list > li.dropdown > ul > li > a:hover {
    color: #b08a52;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 28px;
  }

  /* ================================
     Contact + réseaux
     ================================ */

  .mobile-nav__contact {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    padding-top: 20px;
  }

  .mobile-nav__contact li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
  }

  /* Supprime les "ovales" / pastilles éventuelles du thème */
  .mobile-nav__contact li i {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;

    color: #b08a52;
    margin-right: 10px;
    flex: 0 0 auto;
  }

  .mobile-nav__contact a {
    color: #fff;
    text-decoration: none;
  }

  .mobile-nav__contact a:hover {
    color: #b08a52;
  }

  .mobile-nav__social a {
    color: #fff;
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.25s ease;
  }

  .mobile-nav__social a:hover {
    color: #b08a52;
  }
}
/* FIX MOBILE NAV : forcer l’affichage du sous-menu "Nos services" (prestations) */
@media (max-width: 991px) {
  /* Le LI "Nos services" */
  .mobile-nav__container .main-menu__list > li.dropdown {
    display: block !important;
  }

  /* Son UL (prestations) */
  .mobile-nav__container .main-menu__list > li.dropdown > ul {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
  }

  /* Sécurité si le thème cible directement les <li> du sous-menu */
  .mobile-nav__container .main-menu__list > li.dropdown > ul > li {
    display: block !important;
  }
}
/* FIX : éviter le double séparateur sous "Contact" */
@media (max-width: 991px) {
  .mobile-nav__container .main-menu__list > li[data-menu="contact"] {
    border-bottom: 0 !important;
  }
}
/* ================================
   LOGO MENU MOBILE
   ================================ */

.mobile-logo {
  text-align: left;
  padding: 10px 20px 20px;
}

.mobile-logo img {
  max-width: 180px; /* ajuste si besoin */
  width: 100%;
  height: auto;
  display: block;
}

/* Centrage vertical propre dans le menu */
.mobile-nav__content .logo-box {
  margin-bottom: 15px;
}

/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   FOOTER VIDEO BG + RECADRAGE
================================ */

/* Le footer ne doit pas créer de marge liée à la vidéo */
.site-footer-one {
  position: relative !important;
  overflow: hidden !important;
}

/* Vidéo + overlay = 100% du footer, sans prendre de place */
.site-footer-one .footer-video-bg,
.site-footer-one .footer-video-overlay {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Overlay noir */
.site-footer-one .footer-video-overlay {
  background: rgba(0, 0, 0, 0.85) !important; /* intensité */
  z-index: 1 !important;
}

/* ===============================
   FOOTER VIDEO – PLEINE HAUTEUR CENTRÉE
================================ */

.site-footer-one .footer-video-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* overlay conservé */
.site-footer-one .footer-video-overlay {
  background: rgba(0, 0, 0, 0.85) !important;
  z-index: 1 !important;
}

/* Contenu au-dessus */
.site-footer-one > *:not(.footer-video-bg):not(.footer-video-overlay) {
  position: relative !important;
  z-index: 2 !important;
}
.site-footer-one {
  padding: 40px 0px 0px !important;
}
/* Forcer les liens du bloc contact du footer en blanc */
.footer-widget-one__contact-text2 a {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-widget-one__contact-text2 a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   HERO VIDEO - TEXTE MOBILE
   (titre qui ne déborde pas)
================================ */

@media (max-width: 576px) {
  /* Empêche tout débordement horizontal dans le hero */
  .main-slider,
  .main-slider .container,
  .main-slider__content {
    overflow: hidden !important;
  }

  /* Titre principal : réduit + autorise le retour à la ligne propre */
  .main-slider__title {
    font-size: 44px !important; /* ajuste si besoin: 40-48 */
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  /* Sous-titre (tu dis qu’il est ok) : on le laisse, mais on sécurise */
  .main-slider__sub-title {
    max-width: 100% !important;
  }

  /* Titre secondaire */
  .main-slider__title-two {
    font-size: 22px !important; /* ajuste si besoin: 18-24 */
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   FOOTER VIDEO – UNIQUE (NE PLUS DUPLIQUER)
   largeur prioritaire (contain)
================================ */

.site-footer-one {
  position: relative !important;
  overflow: hidden !important;
}

/* Vidéo + overlay = full footer, ne prennent aucune place */
.site-footer-one .footer-video-bg,
.site-footer-one .footer-video-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

.site-footer-one .footer-video-bg {
  z-index: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important; /* ne dépasse jamais en hauteur */
}

/* Overlay noir */
.site-footer-one .footer-video-overlay {
  background: rgba(0, 0, 0, 0.85) !important; /* ajuste ici seulement */
  z-index: 1 !important;
}

/* Contenu au-dessus */
.site-footer-one > *:not(.footer-video-bg):not(.footer-video-overlay) {
  position: relative !important;
  z-index: 2 !important;
}

/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   HERO – AJUSTEMENT TEXTE MOBILE
================================ */

@media (max-width: 576px) {
  /* Repositionne le bloc texte */
  .main-slider__content {
    padding-top: 40px !important;
    /* padding-bottom: 20px !important; */
  }

  /* BIENVENUE */
  .main-slider__sub-title {
    font-size: 14px !important;
    margin-bottom: 6px !important;
    letter-spacing: 1px;
  }

  /* SJ COUVERTURE */
  .main-slider__title {
    font-size: 38px !important;
    line-height: 1.05 !important;
    margin-bottom: 6px !important;
  }

  /* TOITURES ET CHARPENTES */
  .main-slider__title-two {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
    font-weight: 100 !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   FOOTER MOBILE – ESPACES RÉDUITS
================================ */

@media (max-width: 768px) {
  /* Bloc global footer */
  .site-footer-one {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  /* Titres (ex: "Nos services") */
  .footer-widget-one__title {
    margin-bottom: 12px !important;
    font-size: 18px !important;
  }

  /* Listes */
  .footer-widget-one__links-list li {
    margin-bottom: 6px !important;
  }

  .footer-widget-one__links-list li a {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  /* Bloc contact */
  .footer-widget-one__contact-text1,
  .footer-widget-one__contact-text2 {
    margin-bottom: 10px !important;
  }

  /* Réseaux sociaux */
  .social-icons {
    margin-top: 10px !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   FOOTER VIDEO – PLEINE HAUTEUR, CENTRÉE (UNIQUE)
================================ */

.site-footer-one {
  position: relative !important;
  overflow: hidden !important;
}

.site-footer-one .footer-video-bg,
.site-footer-one .footer-video-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

.site-footer-one .footer-video-bg {
  z-index: 0 !important;
  overflow: hidden !important;
}

.site-footer-one .footer-video-bg video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* pleine hauteur = effet mouvement */
  object-position: center center !important;
}

.site-footer-one .footer-video-overlay {
  background: rgba(0, 0, 0, 0.85) !important; /* on garde ta valeur */
  z-index: 1 !important;
}

.site-footer-one > *:not(.footer-video-bg):not(.footer-video-overlay) {
  position: relative !important;
  z-index: 2 !important;
}

/*-------------------------------------------------------------------------------------------------------*/
/* ===============================
   FOOTER MOBILE – RESSERRER BLOCS (colonnes bootstrap)
================================ */

@media (max-width: 768px) {
  @media only screen and (max-width: 767px) {
    .footer-widget-one__links.service {
      margin-top: 1px !important;
      margin-bottom: 1px !important;
    }

    .footer-widget-one__links.service {
      margin-top: 1px !important;
      margin-bottom: 1px !important;
    }
    .site-footer-one__top {
      padding-bottom: 10px !important;
    }
    .footer-widget-one__title {
      padding-bottom: 2px !important;
    }
  }

  /* Réduit l'espacement vertical entre colonnes */
  .site-footer-one__top .row > [class*="col-"] {
    margin-bottom: 18px !important;
  }
  .site-footer-one__top .row > [class*="col-"]:last-child {
    margin-bottom: 0 !important;
  }

  /* Réduit les gutters (padding gauche/droite bootstrap) */
  .site-footer-one__top .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 0px;
  }

  /* Widgets : retire les grosses marges internes du thème */
  .site-footer-one__top .footer-widget-one__single,
  .site-footer-one__top .footer-widget-one__about {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Titres et listes : plus compacts */
  .footer-widget-one__title {
    margin: 0 0 10px 0 !important;
  }

  .footer-widget-one__links-list {
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-widget-one__links-list li {
    margin: 0 0 6px 0 !important;
  }

  /* Contact bloc : compact */
  .footer-widget-one__contact-text1,
  .footer-widget-one__contact-text2 {
    margin: 0 0 10px 0 !important;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* =========================================
   Galerie – tailles fixes et stables
   ========================================= */

/* Carte globale */
.real-card {
  display: block;
  width: 100%;
  height: 260px; /* hauteur FIXE */
  overflow: hidden;
  border-radius: 12px;
}

/* Image */
.real-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* garde le cadrage sans déformation */
  object-position: center;
  display: block;
}

/* Empêche tout effet hover de déformation */
.real-card:hover img {
  transform: none !important;
}

/* Sécurité contre styles du thème */
.real-card * {
  max-width: 100%;
}

/* Responsive léger */
@media (max-width: 768px) {
  .real-card {
    height: 220px;
  }
}

/*-------------------------------------------------------------------------------------------------------*/
/* =========================
   CONTACT FORM – style site
   ========================= */

.contact-form--styled .row {
  /* mêmes valeurs en horizontal + vertical */
  --bs-gutter-x: 18px;
  --bs-gutter-y: 18px;
}

/* Resserre un peu les 2 premières lignes (inputs) */
@media (min-width: 992px) {
  .contact-form--styled .col-lg-6 {
    padding-top: 0;
  }
  .contact-form--styled .row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
  }
}

.contact-form--styled .form-group {
  margin: 0; /* on laisse Bootstrap gérer via gutters */
}

.contact-form--styled .form-control {
  height: 52px;
  padding: 12px 16px;

  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  background: rgba(255, 255, 255, 0.06);
  color: #fff;

  box-shadow: none;
  outline: none;
}

.contact-form--styled textarea.form-control {
  height: auto;
  min-height: 180px;
  padding: 14px 16px;
  resize: vertical;
}

/* Placeholder lisible sur fond sombre */
.contact-form--styled .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Focus plus “site” */
.contact-form--styled .form-control:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

/* Messages d’erreur / help */
.contact-form--styled .help-block.with-errors {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Alignement / largeur bouton */
.contact-submit-wrap {
  margin-top: 6px;
}

.contact-submit-wrap .thm-btn {
  border: 0;
  cursor: pointer;
}

/* Message de retour (succès/erreur) */
.contact-msg {
  margin-top: 14px;
  color: #fff;
}

/*-------------------------------------------------------------------------------------------------------*/
.contact-info__single {
  height: 250px !important;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 14px;
}
/* =========================
   CONTACT INFO – icônes
   ========================= */

.contact-info__icon span {
  color: #b08a52;
  font-size: 38px; /* ajuste si besoin */
  transition: color 0.3s ease;
}
/* =========================
   CONTACT INFO – boxes
   ========================= */

.contact-info__single {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  height: 100%;
}

/* Effet au survol */
.contact-info__single:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/*-------------------------------------------------------------------------------------------------------*/
/* =========================
   CONTACT INFO – version centrée & lisible
   ========================= */

.contact-info__single {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 180px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 40px 25px;

  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image de fond */
.contact-info__single::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Voile sombre de base */
.contact-info__single::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  transition: background 0.3s ease;
}

/* Contenu au-dessus */
.contact-info__single > * {
  position: relative;
  z-index: 2;
}

/* Titres */
.contact-info__single h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.contact-info__single h3,
.contact-info__single h3 a {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover */
.contact-info__single:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* voile clair au hover */
.contact-info__single:hover::after {
  background: rgba(255, 255, 255, 0.85);
}

/* photo légèrement plus visible */
.contact-info__single:hover::before {
  opacity: 0.65;
  transform: scale(1.03);
}

/* Texte doré uniquement sur h3 */
.contact-info__single:hover h3,
.contact-info__single:hover h3 a {
  color: #b08a52;
}

/* h2 devient noir au hover */
.contact-info__single:hover h2 {
  color: #000;
}

/* Images par carte */
.contact-info .col-xl-4:nth-child(1) .contact-info__single::before {
  background-image: url("assets/images/tel.jpg");
}

.contact-info .col-xl-4:nth-child(2) .contact-info__single::before {
  background-image: url("assets/images/mail.jpg");
}

.contact-info .col-xl-4:nth-child(3) .contact-info__single::before {
  background-image: url("assets/images/letter.jpg");
}

/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------*/
