/*-----------------top------------------------*/
.header-hero {
  position: relative;
  width: 100%;
  height: 250px; /* ton cadre fixe */
  overflow: hidden; /* masque ce qui dépasse */
}

.header-hero .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0.8;
  z-index: 0;
  transform: scaleX(-1);
}

/*-----------------div------------------------*/
.op5 {
  opacity: 0.7;
}
.op70 {
  opacity: 0.5;
}
.tomb {
  text-shadow: 0.5px 0 0 rgba(0, 0, 0, 0.35), -0.5px 0 0 rgba(0, 0, 0, 0.35), 0 0.5px 0 rgba(0, 0, 0, 0.35),
    0 -0.5px 0 rgba(0, 0, 0, 0.35);
}
.rd25 {
  border-radius: 15%;
  padding: 5px;
}
.rd15 {
  border-radius: 15%;
}
.box1 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.box2 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
  background-color: white !important;
}
.box3 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
  background-color: white !important;
  padding: 25px;
}
.bl {
  color: #333;
}
.blb {
  color: #333;
  font-size: 20px;
  font-weight: 200;
}
.tit {
  font-size: 3em;
  text-align: center;
  color: #0b5e1e !important;
  padding-top: 25px;
  padding-bottom: 35px;
  font-family: "Ubuntu", sans-serif;
}
.tit5 {
  font-size: 3em;
  text-align: center;
  color: #0b5e1e !important;
  padding-top: 25px;
  padding-bottom: 35px;
  font-family: "Ubuntu", sans-serif;
  margin-top: 50px;
}
.tit2 {
  font-size: 3em;
  text-align: center;
  color: #0b5e1e !important;
  padding-top: 2px;
  padding-bottom: 35px;
  font-family: "Ubuntu", sans-serif;
}
.tit3 {
  font-size: 3em;
  text-align: center;
  color: #0b5e1e !important;
  /* padding-top: 50px; */
  /* padding-bottom: 35px; */
  font-family: "Ubuntu", sans-serif;
  line-height: 2em;
}
.tit4 {
  font-size: 1.8em;
  text-align: left;
  color: #0b5e1e !important;
  padding-top: 5px;
  padding-bottom: 5px;
  font-family: "Ubuntu", sans-serif;
  text-transform: none !important;
}
.tx1 {
  font-size: 18px !important;
  line-height: auto !important;
  text-align: justify;
}
.ve {
  color: #0b5e1e !important;
  text-transform: none !important;
}
/*--------------4 vignettes home ---------------------------*/

.section-secondary-bg {
  background: #dddddd !important;
}
/*---------------paral--------------------------*/
.process-step-1 {
  background: rgba(255, 255, 255, 0.65);
  padding: 30px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.process-step-1:hover {
  background: rgba(255, 255, 255, 0.95);
}

.process-step-1 i {
  color: #28a745;
  font-size: 40px;
  margin-bottom: 15px;
}

.btn-green {
  background: #28a745;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 16px;
  margin-top: 24px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-green:hover {
  background: #218838;
  color: #fff;
}

/*-----------------------------------------*/
/* Scope section */
.about-split .about-visual {
  position: relative;
  width: 100%;
  height: var(--h, 430px); /* hauteur du cadre (modifiable) */
  overflow: hidden; /* masque ce qui déborde */
  border-radius: 8px; /* optionnel */
  background: #000;
}

/* Vidéo « background » confinée au cadre */
.about-split .about-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  height: 100%; /* remplit la hauteur du cadre */
  width: auto;
  min-width: 100%; /* couvre aussi en largeur */
  min-height: 100%;
  object-fit: cover;
  object-position: var(--x, 50%) var(--y, 50%); /* cadrage H/V */
  display: block;
  pointer-events: none; /* pure déco en arrière-plan */
}

/* Col texte */
.about-split .about-text {
  position: relative;
  z-index: 1;
  padding: 25px;
  background: #fff; /* fond blanc sûr */
}

/* Logo dans le texte */
.about-split .about-logo {
  width: 150px;
  height: auto;
  float: left;
  margin: 0 8px 6px 0;
}

/* Utilitaires possibles (au besoin) */
.about-split .h-280 {
  --h: 280px;
}
.about-split .h-360 {
  --h: 360px;
}
/* Exemple de cadrage : gauche/droite/haut/bas
   .about-visual.left  { --x:0%;  }
   .about-visual.right { --x:100%; }
   .about-visual.top   { --y:0%;  }
   .about-visual.bot   { --y:100%; } */

/*--------------menu---------------------------*/
.mainmenu .active a,
.mainmenu .active a:focus,
.mainmenu .active a:hover,
.mainmenu li a:hover,
.mainmenu li a:focus,
.navbar-default .navbar-nav > .show > a,
.navbar-default .navbar-nav > .show > a:focus,
.navbar-default .navbar-nav > .show > a:hover {
  color: #fff;
  background: #5ebb47;
  outline: 0;
  border-radius: 15px;
}
/*------------------footer-----------------------*/
/* Forcer #333 sur tout le widget, liens et icônes */
.footer-widget,
.footer-widget p,
.footer-widget a,
.footer-widget i,
.footer-widget .social-icons a,
.footer-widget .text-light-color {
  color: #333 !important;
}

/* États des liens */
.footer-widget a:link,
.footer-widget a:visited,
.footer-widget a:active,
.footer-widget .social-icons a:link,
.footer-widget .social-icons a:visited,
.footer-widget .social-icons a:active {
  color: #333 !important;
}

.footer-widget a:hover,
.footer-widget .social-icons a:hover {
  color: #111 !important;
}
/* Texte aligné à droite des pictos, avec espace */
.footer-about-text p {
  display: flex;
  align-items: center;
  gap: 12px; /* espace entre picto et texte */
  margin: 0 0 10px;
  line-height: 1.6;
}
.footer-about-text p .fa-contact {
  flex: 0 0 36px; /* largeur fixe pour aligner les lignes */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Centrer les 3 réseaux sociaux */
.footer-widget .social-icons {
  display: flex;
  justify-content: center;
  gap: 12px; /* espace régulier entre les icônes */
}
.footer-widget .social-icons a {
  display: inline-flex; /* garde les carrés et centre l’icône dedans */
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
/* Footer > bloc contact sans italique, plus grand et plus gras */
.footer-widget .footer-about-text address,
.footer-widget .footer-about-text address p,
.footer-widget .footer-about-text address a {
  font-style: normal;
  font-size: 1.15rem !important; /* ≈ 18px si base 16 */
  font-weight: 600 !important;
  line-height: 1.6;
}

/* Espacement entre les lignes */
.footer-widget .footer-about-text address p {
  margin: 0 0 8px;
}
/* Centrer le bloc contact */
.footer-widget .footer-about-text address {
  text-align: center !important;
}

/* Désactive le flex éventuel et centre chaque ligne */
.footer-widget .footer-about-text address p {
  display: block !important;
  text-align: inherit !important;
  margin: 0 0 8px;
}

/* Liens centrés (zone cliquable propre) */
.footer-widget .footer-about-text address a {
  display: inline-block;
}
/*-----------------footer fond------------------------*/

/* Footer : image de fond + voile blanc paramétrable */
footer.section-custom-bg {
  position: relative;
  /* 0 = transparent, 1 = blanc opaque */
  --footer-veil: 0.75;

  /* Ajuste le chemin selon l’emplacement de ta CSS */
  background: url("images/f1.jpg") center bottom / cover no-repeat !important;
}

/* Voile blanc au-dessus de l’image, sous le texte */
footer.section-custom-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 0;
}

/* Contenu au premier plan */
footer.section-custom-bg > section {
  position: relative;
  z-index: 1;
}

/*----------------textes pics alternes-------------------------*/
/* Même profondeur d’empiètement pour les deux rangées */
.feature-group {
  --overlap: 80px;
} /* surchargée via inline style si besoin */

/* Pas d'arrondis */
.feature__card,
.feature__img {
  border-radius: 0;
}

/* Empilement pour chevauchement réel */
.feature__media {
  position: relative;
  z-index: 1;
}
.feature__text {
  position: relative;
  z-index: 2;
}

/* Carte */
.feature__card {
  background: #fff;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

  /* la carte reste dans sa colonne mais on la décale
     pour qu’elle ENTRE dans l’image voisine */
}
.feature--img-right .feature__text {
  padding-left: 0;
}
/* Miroir parfait : même valeur, signe opposé */
.feature--img-left .feature__card {
  transform: translateX(calc(-1 * var(--overlap)));
}

/* Option : calage vertical identique (haut aligné sur l'image) */
.feature .feature__text,
.feature .feature__media {
  display: flex;
}
.feature .feature__text {
  align-items: flex-start;
} /* haut aligné */
.feature .feature__media {
  align-items: flex-start;
} /* image collée en haut */

/* Mobile : on neutralise le chevauchement */
@media (max-width: 767.98px) {
  .feature-group {
    --overlap: 0px;
  }
  .feature__card {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }
  .feature .feature__text,
  .feature .feature__media {
    display: block;
  }
}
/* Profondeur d’empiètement commune */
.feature-group {
  --overlap: clamp(48px, 6vw, 96px);
}

/* Image à droite : carte élargie vers la droite */
.feature--img-right .feature__text {
  padding-left: 0;
} /* aligne le bord gauche */
.feature--img-right .feature__card {
  position: relative;
  z-index: 2; /* au-dessus de l’image */
  margin-right: calc(-1 * var(--overlap)); /* élargit dans la colonne voisine */
  /* pas de translate */
}

/* Option miroir si tu utilises la variante image à gauche */
.feature--img-left .feature__text {
  padding-right: 0;
}
.feature--img-left .feature__card {
  margin-left: calc(-1 * var(--overlap));
}

/* Mobile : on neutralise l’empiètement */
@media (max-width: 767.98px) {
  .feature-group {
    --overlap: 0px;
  }
  .feature--img-right .feature__card,
  .feature--img-left .feature__card {
    margin: 0;
  }
}

/*-----------------------------------------*/
.section-video {
  padding: 0;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible; /* ne pas couper l’ombre */
  background-color: white !important;
}

/* Conteneur qui porte l’ombre */
.video-wrapper {
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.25) 0 54px 55px, rgba(0, 0, 0, 0.12) 0 -12px 30px, rgba(0, 0, 0, 0.12) 0 4px 6px,
    rgba(0, 0, 0, 0.17) 0 12px 13px, rgba(0, 0, 0, 0.09) 0 -3px 5px;
  margin-bottom: clamp(24px, 4vw, 64px); /* espace pour rendre visible l’ombre du bas */
  z-index: 1; /* au-dessus d’éventuels arrière-plans */
  padding: 50px;
  border-radius: 15px;
}

.section-video__media {
  display: block;
  width: 100%;
  height: auto;
}

/* Si ton thème met overflow:hidden sur .section-content-block,
   force-le uniquement ici : */
.section-video.section-content-block {
  overflow: visible !important;
}

/*-----------------------------------------*/
/* Image de fond du <body> avec opacité indépendante du contenu */
html,
body {
  height: 100%;
}

body {
  /* ajuste l’opacité globale de l’image ici */
  --bg-opacity: 0.15;
  margin: 0;
  position: relative; /* nécessaire pour le pseudo-élément */
  background: transparent; /* pas d'image ici */
}

/* L’image vit dans un pseudo-élément derrière tout le contenu */
body::before {
  content: "";
  position: fixed; /* couvre tout l’écran, même au scroll */
  inset: 0;
  background: url("images/fd3.jpg") center/cover no-repeat;
  opacity: var(--bg-opacity);
  pointer-events: none; /* évite tout blocage d’interaction */
  z-index: -1; /* derrière le contenu */
}

/* Optionnel : teinter l’image sans toucher au contenu
body::after{
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,.2));
}
*/
.section-content-block {
  padding: 10px 0 5px 0;
  background: none !important;
}
/*-----------------------------------------*/
.bw {
  background-color: white !important;
}
/*-------------------------menus----------------*/
/* Sous-menus : fond blanc, pas de bulles vertes */
.main-header-2 .navbar .dropdown-menu {
  background: #fff !important;
  border: 0;
  border-radius: 6px; /* ou 0 si tu veux des angles droits */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  padding: 8px 0;
  min-width: 220px;
}

/* Éléments du sous-menu : pas de fond, pas de marges en capsule */
.main-header-2 .navbar .dropdown-menu .dropdown-item {
  background: transparent !important;
  color: #000;
  margin: 0; /* annule d’éventuelles marges verticales */
  border-radius: 0 !important; /* pas de coins arrondis par item */
  padding: 10px 16px;
  white-space: normal;
  line-height: 1.2;
}

/* Survol/Focus : simple surlignage gris clair */
.main-header-2 .navbar .dropdown-menu .dropdown-item:hover,
.main-header-2 .navbar .dropdown-menu .dropdown-item:focus {
  background: #f3f3f3 !important;
  color: #000;
}

/* Optionnel : garder le parent vert tel quel, sans affecter ses styles */
.main-header-2 .navbar-nav > .nav-item > .nav-link {
  /* rien à changer si ton vert actuel te convient */
}

/* Sécurité : certains thèmes colorent aussi les <li> du menu déroulant */
.main-header-2 .navbar .dropdown-menu li {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*-----------------accordeon------------------------*/
/* Accordéon – teinte principale */
.faq-layout .panel,
.faq-layout .panel-default {
  border-color: #27743b !important;
}

/* Entête des items */
.faq-layout .panel-heading {
  background: #27743b !important;
  border-color: #27743b !important;
  color: #fff !important;
}

/* Titre/lien cliquable */
.faq-layout .panel-title a {
  display: block;
  color: #fff !important;
  text-decoration: none;
}

/* Survol et focus accessibles */
.faq-layout .panel-title a:hover {
  background: #1f6031 !important;
}
.faq-layout .panel-title a:focus {
  outline: 2px solid #1b4f29;
  outline-offset: 2px;
}

/* Bord supérieur du contenu lorsque l’item est ouvert */
.faq-layout .panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #27743b !important;
}
/* En-tête neutre, on laisse l'arrière-plan au lien */
.faq-layout .panel-heading {
  background: transparent !important;
  border-color: #27743b !important;
}

/* État fermé (par défaut) */
.faq-layout .panel-title a {
  display: block;
  padding: 10px 16px;
  background: #27743b;
  color: #fff;
  text-decoration: none;
  border: 1px solid #27743b;
}

/* Survol état fermé */
.faq-layout .panel-title a:hover {
  background: #1f6031;
}

/* État ouvert : vert #5ebb47 */
.faq-layout .panel-title a[aria-expanded="true"] {
  background: #5ebb47;
  border-color: #5ebb47;
  color: #fff;
}

/* Corps : séparation lisible */
.faq-layout .panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #27743b;
}
/* Resserre l’espace entre items */
.faq-layout .panel {
  margin-bottom: 1px;
} /* au lieu de 20px */
.faq-layout .panel + .panel {
  margin-top: 0;
} /* annule la marge supplémentaire */

/* Évite le double padding sur l’en-tête */
.faq-layout .panel-heading {
  padding: 0;
}

/* Resserre la hauteur du titre */
.faq-layout .panel-title {
  margin: 0;
} /* au cas où */
.faq-layout .panel-title a {
  padding: 6px 12px;
  line-height: 1.2;
}
.faq-layout .faq-box .panel-heading {
  padding: 2px;

  border-radius: 15px;
}
.panel-title {
  text-transform: none !important;
}
/*--------------prix---------------------------*/
/* =========================
   Cartes tarifs SPA (autonome)
   ========================= */

/* Palette & tokens */
:root {
  --spa-green: #27743b;
  --spa-green-dark: #1f6031;
  --price-pill-bg: #5ebb47;
  --price-pill-radius: 9999px; /* pilule */
  --price-font-weight: 700;
  --title-max-w: 300px;
}

/* Carte container */
.service-block-2,
.box1 {
  position: relative;
  overflow: hidden;
  text-align: center;
  /* Certains thèmes appliquent un zoom sur le conteneur : on neutralise */
  transform: none !important;
  -webkit-transform: none !important;
}

/* Figure & image */
.service-block-2 figure,
.box1 figure {
  width: 100%;
  margin: 0;
  position: relative;
  background: rgba(0, 0, 0, 0.75); /* voile initial */
}
.service-block-2 figure img,
.box1 figure img {
  display: block;
  width: 100%;
  height: auto;
  /* Anti-zoom universel */
  transform: none !important;
  -webkit-transform: none !important;
  transition: filter 0.3s ease !important;
  /* Aspect par défaut : quasi N&B (0.1) */
  filter: grayscale(0.9) brightness(0.95);
}

/* Hover : couleur + un peu plus clair (effet “soleil chaud”) */
.service-block-2:hover figure img,
.box1:hover figure img {
  filter: grayscale(0) brightness(1.15) !important;
  background: rgba(0, 0, 0, 0.75); /* voile initial */
}

/* H3 (titre) positionné en bas, centré */
.service-block-2 h3,
.service-block-2 h3 a,
.box1 h3,
.box1 h3 a {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: var(--title-max-w);
  margin: 0;
  padding: 8px 0 10px;
  font-size: 1.2rem;
  font-weight: 200;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.2px;
  z-index: 2; /* au-dessus de l’image */
}

/* Badge prix en pilule */
.service-block-2 h3 > span,
.box1 h3 > span {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 20px;
  background: var(--price-pill-bg);
  color: #fff;
  font-weight: var(--price-font-weight);
  font-size: 1rem;
  text-align: center;
  border-radius: var(--price-pill-radius);
  white-space: nowrap;
  transition: background 0.2s ease;
}

/* Survol badge : assombrir légèrement */
.service-block-2:hover h3 > span,
.box1:hover h3 > span {
  background: var(--spa-green-dark);
}

/* ===== Neutralisation des overlays / masques du thème ===== */
.box1:before,
.box1:after,
.service-block-2:before,
.service-block-2:after,
.service-block-2 figure:before,
.service-block-2 figure:after,
.box1 .overlay,
.service-block-2 .overlay,
.box1 .hover-overlay,
.service-block-2 .hover-overlay {
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Certains thèmes assombrissent le conteneur au hover : on force clair */
.box1:hover,
.service-block-2:hover,
.service-block-2:hover figure {
  opacity: 1 !important;
  filter: none !important; /* pour le wrapper, pas l'image */
}

/* ===== Accessibilité : pas d’animation pour les personnes sensibles ===== */
@media (prefers-reduced-motion: reduce) {
  .service-block-2 figure img,
  .box1 figure img {
    transition: none !important;
  }
}

/* ===== Sécurité : neutralise ornements éventuels du thème sur h3 ===== */
.service-block-2 h3::before,
.service-block-2 h3::after,
.box1 h3::before,
.box1 h3::after {
  content: none !important;
}

/* ---------------- Titre ---------------- */
.service-block-2 h3,
.service-block-2 h3 a {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 300px;
  margin: 0;
  padding: 8px 0 10px;
  font-size: 1.2rem;
  font-weight: 200;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); /* ombre noire fine */
}

/* ---------------- Prix ---------------- */
.service-block-2 h3 > span {
  display: inline-block;
  padding: 6px 20px;
  background: #5ebb47;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border-radius: 9999px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); /* ombre sur prix */
}

/* Survol : badge plus foncé */
.service-block-2:hover h3 > span {
  background: var(--spa-green-dark);
  transition: background 0.2s ease;
}

/* ---------------- Neutralisation du zoom ---------------- */
.box1 img,
.box1:hover img,
.service-block-2 img,
.service-block-2:hover img,
.service-block-2 figure img,
.service-block-2:hover figure img {
  transform: none !important;
  -webkit-transform: none !important;
}

.box1,
.box1:hover,
.service-block-2,
.service-block-2:hover,
.service-block-2 figure,
.service-block-2:hover figure {
  transform: none !important;
  -webkit-transform: none !important;
}

/* Supprimer les éventuels ornements */
.service-block-2 h3::before,
.service-block-2 h3::after {
  content: none !important;
}

/*------------perdu trouvé-----------------------------*/
.post-inner-featured-content img {
  display: block;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/*--------------------puces vertes---------------------*/
.list-green {
  list-style: none;
  padding-left: 0;
}
.list-green li {
  position: relative;
  padding-left: 1.2rem;
}
.list-green li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5em;
  height: 0.5em;
  background: #27743b;
  border-radius: 50% !important;
  transform: translateY(-50%);
}

/*-----------------------------------------*/
/* Hauteurs égales image / sidebar */
.equalize > [class*="col-"] {
  display: flex;
}
.equalize .equal-box {
  flex: 1 1 auto;
  height: 100%;
}

/* L'image remplit son conteneur et se recadre proprement */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optionnel : une hauteur mini en desktop pour éviter un bloc trop plat */
@media (min-width: 992px) {
  .equalize .equal-box {
    min-height: 380px;
  }
}
.btn-theme {
  border-radius: 15px !important;
  background-color: #27743b !important;
  text-transform: none !important;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px !important;
}
/* Boutons thématiques : texte toujours blanc, y compris après visite */
a.btn-theme,
a.btn-theme:link,
a.btn-theme:visited {
  color: #fff !important;
  text-decoration: none;
}

/* Conserver le blanc aux autres états */
a.btn-theme:hover,
a.btn-theme:focus,
a.btn-theme:active {
  color: #fff !important;
}
/* Texte toujours blanc (pour <a class="btn-theme">) */
a.btn-theme,
a.btn-theme:link,
a.btn-theme:visited {
  color: #fff !important;
}

/* Hover/focus : vert plus sombre */
.btn-theme:hover,
.btn-theme:focus {
  background-color: #216232 !important;
  box-shadow: rgba(0, 0, 0, 0.4) 0 6px 18px !important;
}

/* Active : encore un ton plus sombre */
.btn-theme:active {
  background-color: #1d572c !important;
  box-shadow: rgba(0, 0, 0, 0.25) 0 3px 10px !important;
}

/* Transition douce */
.btn-theme {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/*-----------------------------------------*/
/* Mise en page image à droite dans .box3 */
.box3.media-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.box3.media-box .box3-body {
  flex: 1 1 300px;
}
.box3.media-box .box3-img {
  flex: 0 0 300px;
}
.box3.media-box .box3-img img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Empiler en mobile si nécessaire */
@media (max-width: 767.98px) {
  .box3.media-box {
    flex-direction: column;
  }
  .box3.media-box .box3-img {
    /* laisse l’image après le texte en mobile */
    width: 100%;
    max-width: 300px;
  }
}

/*-----------------------------------------*/
/* Mobile : interligne du H1 */
@media (max-width: 767.98px) {
  h1.tit {
    line-height: 1.25; /* ajuste si besoin : 1.2–1.3 */
    margin-bottom: 1rem;
  }

  /* Mobile : centrer les boutons et les espacer */
  .box3 p {
    text-align: center;
  }
  .box3 p > a.btn {
    display: inline-block;
    margin: 6px 8px 0; /* espace horizontal et léger espace vertical */
  }
}

/*----------------horaires-------------------------*/
/* Footer horaires layout */
.opening-shedule li.text-dark-color {
  display: flex;
  align-items: flex-start; /* hours stay aligned to top/first line */
  gap: 0.75rem;
}

.opening-shedule li.text-dark-color > span {
  flex: 0 1 65%; /* left column ≈ 60% */
  min-width: 0; /* allow wrapping */
}

.opening-shedule li.text-dark-color > .float-right {
  flex: 0 0 35%; /* right column fixed ≈ 40% */
  text-align: right;
  white-space: nowrap; /* keep hours on one line */
}

/* Tidy the address block item (the one with the icon) */
.opening-shedule li[style*="list-style: none"] {
  display: block;
}

/* Mobile: stack nicely when too narrow */
@media (max-width: 576px) {
  .opening-shedule li.text-dark-color {
    display: grid;
    grid-template-columns: 1fr auto; /* text + hours */
  }
  .opening-shedule li.text-dark-color > span {
    min-width: auto;
  }
  .opening-shedule li.text-dark-color > .float-right {
    white-space: nowrap;
  }
}

/*----------------adopt chien -------------------------*/
/* ----------- Carte chien ----------- */
.service-block-2 {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 8px;
}

.service-block-2 figure {
  margin: 0;
}

.service-block-2 figure img {
  width: 100%;
  height: 320px; /* hauteur uniforme */
  object-fit: cover; /* image toujours remplie sans déformation */
  display: block;
  transition: brightness 0.3s ease; /* uniquement luminosité */
  background: rgba(0, 0, 0, 0.1) !important;
}
/* Supprime uniquement le noir & blanc pour la galerie des chiens */
.adop-chiens .service-block-2 figure img,
.adop-chiens .service-block-2 img,
.adop-chiens .box1 img {
  filter: none !important;
  -webkit-filter: none !important;
  transition: filter 0.3s ease, brightness 0.3s ease;
}

/* Effet : éclaircir légèrement au survol */
.adop-chiens .service-block-2:hover figure img,
.adop-chiens .box1:hover img {
  filter: brightness(1.2) !important; /* +15 % de luminosité */
}
/* Voile noir léger pour lisibilité */
.service-block-2 figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 1;
}

/* Age (au-dessus de la gélule) */
.service-block-2 .age {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px; /* remonte l'âge */
  margin: 0;
  width: 100%;
  font-size: 0.8rem !important;
  line-height: 1.1rem;
  text-transform: capitalize !important;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  padding-top: 3px;
  padding-bottom: 3px;
  z-index: 2;
}

/* Gélule (nom cliquable) */
.price-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 56px !important;
  display: inline-block;
  padding: 3px 10px;
  /* background: #5ebb47; */
  border-color: #5ebb47;
  border-width: 2px;
  border-style: solid;
  min-width: 80%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 200;
  font-size: 0.8rem;
  border-radius: 9999px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.3s ease;
  z-index: 2;
}
/* Bandeau noir transparent derrière l'âge + race */
.service-block-2 .age::before {
  content: "";
  position: absolute;
  inset: 0; /* occupe toute la zone de .age */
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: -1; /* derrière le texte */
  width: 100%;
}
.price-pill:hover {
  background: #1f6031;
  color: #fff;
}
/* Ombre noire fine sur l'âge */
.adop-chiens .service-block-2 .age,
.adop-chiens .service-block-2 h3 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Ombre noire fine sur le texte de la gélule */
.adop-chiens .price-pill {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/*-----------------------------------------*/
/* === Galerie d'adoption : libellés Photo 1 / Photo 2 (remplace les ronds Owl) === */
.gallery-carousel .owl-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

/* Bouton dot : enlever bordures / dimensions imposées par le thème */
.gallery-carousel .owl-dots .owl-dot {
  border: none !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  margin: 0 4px !important;
  padding: 2px 6px !important;
  box-shadow: none !important;
  outline: 0 !important;
  cursor: pointer;
}

/* Span interne : afficher du texte, pas un rond */
.gallery-carousel .owl-dots .owl-dot span {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-size: 15px;
  line-height: 1.2;
  color: #555;
}

/* Actif en orange */
.gallery-carousel .owl-dots .owl-dot.active span {
  color: #ff7a00;
  font-weight: 600;
}
/* Cache les dots Owl natifs */
.gallery-carousel .owl-dots {
  display: none !important;
}

/* Pager texte personnalisé */
.gc-pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.gc-pager button {
  background: none;
  border: 0;
  padding: 2px 6px;
  cursor: pointer;
  color: #555;
  font-size: 15px;
  line-height: 1.2;
}
.gc-pager button.is-active {
  color: #ff7a00; /* orange actif */
  font-weight: 600;
}
#process-2 {
  margin-top: 25px !important;

  /* si besoin : background-attachment: fixed; */
}
