.home .site-header {
  display: none !important;
}
#nav-sticky {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  background-color: rgba(245, 245, 232, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(10px);
}
#nav-sticky.show {
  opacity: 1;
  visibility: visible;
  display: block !important;
}
.e-n-accordion .e-con-full.e-flex.e-con.e-child {
  padding: 0 !important;
  border: none !important;
}
.e-n-accordion {
  padding: 0 !important;
}
.e-n-accordion-item {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.e-n-accordion-item-title {
  padding-left: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #0B331F !important;
}
.hfe-footer a {
  color: inherit !important;
}
.hfe-footer a:hover {
  color: inherit !important;
}
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container textarea {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #0B331F !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
}
.wpforms-container .wpforms-required-label {
  color: #FE6B25 !important;
}
.wpforms-container textarea {
  width: 100% !important;
  max-width: 680px !important;
  resize: none !important;
}
.wpforms-container,
.wpforms-container input,
.wpforms-container textarea,
.wpforms-container label,
.wpforms-container select,
.wpforms-container button {
  font-family: 'Inter', sans-serif !important;
}
.logo-hero-accueil img {
  filter: brightness(0) saturate(100%) invert(97%) sepia(10%) saturate(500%) hue-rotate(20deg) brightness(105%) !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}
.logo-hero-accueil img:hover {
  filter: brightness(0) saturate(100%) invert(52%) sepia(20%) saturate(500%) hue-rotate(120deg) brightness(95%) !important;
  transform: scale(1.05) !important;
}
body:not(.home) {
  position: relative;
}
body:not(.home)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://themise.fr/wp-content/uploads/2026/04/GradiantMargeFull2.webp');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: -1;
  pointer-events: none;
}
body:not(.home) #masthead {
  background: transparent !important;
}
.wpcom-coming-soon-description span {
  color: #0B331F !important;
}
body {
  overflow-x: hidden !important;
}
a {
  text-decoration: none !important;
}

/* Page d'accueil — nav sticky */
.home #nav-sticky a.hfe-menu-item {
  color: #0B331F !important;
}
.home #nav-sticky a.hfe-menu-item:hover {
  color: #709085 !important;
}
.home #nav-sticky .hfe-site-logo-img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(47%) saturate(800%) hue-rotate(120deg) brightness(90%) !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}
.home #nav-sticky .hfe-site-logo-img:hover {
  filter: brightness(0) saturate(100%) invert(52%) sepia(20%) saturate(500%) hue-rotate(120deg) brightness(95%) !important;
  transform: scale(1.05) !important;
}
/* Pages intérieures — logo nav-sticky en vert */
body:not(.home) #nav-sticky .hfe-site-logo-img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(47%) saturate(800%) hue-rotate(120deg) brightness(90%) !important;
}
/* Pages intérieures — nav */
body:not(.home) a.hfe-menu-item:hover {
  color: #709085 !important;
}
body:not(.home) .hfe-site-logo-img {
  transition: filter 0.3s ease, transform 0.3s ease !important;
}
body:not(.home) .hfe-site-logo-img:hover {
  filter: brightness(0) saturate(100%) invert(52%) sepia(20%) saturate(500%) hue-rotate(120deg) brightness(95%) !important;
  transform: scale(1.05) !important;
}
/* Pages intérieures — nav sticky au scroll */
body:not(.home) #nav-sticky a.hfe-menu-item {
  color: #0B331F !important;
}
body:not(.home) #nav-sticky a.hfe-menu-item:hover {
  color: #709085 !important;
}
body:not(.home) .hfe-full-width-group-inner {
  padding-top: 0 !important;
}
.sd-rating, .sd-like-widget, .sharedaddy {
  display: none !important;
}
body:not(.home) .site-main {
  min-height: calc(100vh - 180px);
}

/* Icône hamburger — nav sticky (couleur) */
.home #nav-sticky svg.e-fas-align-justify,
body:not(.home) #nav-sticky svg.e-fas-align-justify {
  fill: #0B331F !important;
}

/* Liseré coloré (fond) — adaptation mobile portrait */
@media (max-width: 767px) {
  body:not(.home)::before {
    background-size: 260% 260%;
  }
}

/* Anti-débordement horizontal mobile (bug du décalage à droite) */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
body:not(.home)::before {
  width: 100vw !important;
}
@media (max-width: 767px) {
  .elementor-element-b0fc4a1 nav.hfe-dropdown.menu-is-active,
  #nav-sticky nav.hfe-dropdown.menu-is-active {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* Menu déroulant hamburger — correction générale (toutes pages) */
nav.hfe-dropdown.menu-is-active {
  z-index: 99999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background-color: #FBFCE0 !important;
}
.site-header,
.site-header *,
#masthead,
#masthead * {
  transform: none !important;
  overflow: visible !important;
}
/* Force nav-sticky à apparaître si son menu est ouvert, même sans scroll */
#nav-sticky:has(.menu-is-active) {
  opacity: 1 !important;
  visibility: visible !important;
}
/* Icône du bouton (hamburger/croix) en vert foncé quand le menu est ouvert, pour contraster avec le fond crème */
.hfe-nav-menu:has(nav.hfe-dropdown.menu-is-active) .hfe-nav-menu__toggle svg {
  fill: #0B331F !important;
}
/* Position fixe du bouton (croix) uniquement quand le menu est ouvert */
.hfe-nav-menu:has(nav.hfe-dropdown.menu-is-active) .hfe-nav-menu__toggle {
  position: fixed !important;
  top: 10px !important;
  right: 20px !important;
  z-index: 999999 !important;
}

/* Corrige le vide sous le chapo sur très grand écran (min-height 100vh trop grand) */
@media (min-width: 1600px) {
  .chapo-hero {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }
}

/* ===== ÉQUIPE ===== */
@media (min-width: 1600px) {
  body.page-id-43 .page-content {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-id-43 .elementor-widget-image img {
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: 700px !important;
  }
  body.page-id-43 .elementor-widget-text-editor p,
  body.page-id-43 .elementor-widget-text-editor li,
  body.page-id-43 h1,
  body.page-id-43 h2,
  body.page-id-43 h3,
  body.page-id-43 h4,
  body.page-id-43 .e-n-accordion-item-title-text {
    font-size: 1.4em !important;
  }
}
@media (min-width: 2200px) {
  body.page-id-43 .elementor-widget-text-editor p,
  body.page-id-43 .elementor-widget-text-editor li,
  body.page-id-43 h1,
  body.page-id-43 h2,
  body.page-id-43 h3,
  body.page-id-43 h4,
  body.page-id-43 .e-n-accordion-item-title-text {
    font-size: 1.8em !important;
  }
}

/* ===== ACTIVITÉS ===== */
@media (min-width: 1600px) {
  body.page-id-251 .page-content {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-id-251 .elementor-widget-image img {
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: 700px !important;
  }
  body.page-id-251 .elementor-widget-text-editor p,
  body.page-id-251 .elementor-widget-text-editor li,
  body.page-id-251 h1,
  body.page-id-251 h2,
  body.page-id-251 h3,
  body.page-id-251 h4,
  body.page-id-251 .e-n-accordion-item-title-text {
    font-size: 1.4em !important;
  }
}
@media (min-width: 2200px) {
  body.page-id-251 .elementor-widget-text-editor p,
  body.page-id-251 .elementor-widget-text-editor li,
  body.page-id-251 h1,
  body.page-id-251 h2,
  body.page-id-251 h3,
  body.page-id-251 h4,
  body.page-id-251 .e-n-accordion-item-title-text {
    font-size: 1.8em !important;
  }
}

/* ===== RESSOURCES ===== */
@media (min-width: 1600px) {
  body.page-id-1421 .page-content {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-id-1421 .elementor-widget-image img {
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: 700px !important;
  }
  body.page-id-1421 .elementor-widget-text-editor p,
  body.page-id-1421 .elementor-widget-text-editor li,
  body.page-id-1421 h1,
  body.page-id-1421 h2,
  body.page-id-1421 h3,
  body.page-id-1421 h4,
  body.page-id-1421 .e-n-accordion-item-title-text,
  body.page-id-1421 .hfe-post-excerpt,
  body.page-id-1421 .hfe-post-excerpt p,
  body.page-id-1421 .hfe-read-more {
    font-size: 1.4em !important;
  }
}
@media (min-width: 2200px) {
  body.page-id-1421 .elementor-widget-text-editor p,
  body.page-id-1421 .elementor-widget-text-editor li,
  body.page-id-1421 h1,
  body.page-id-1421 h2,
  body.page-id-1421 h3,
  body.page-id-1421 h4,
  body.page-id-1421 .e-n-accordion-item-title-text,
  body.page-id-1421 .hfe-post-excerpt,
  body.page-id-1421 .hfe-post-excerpt p,
  body.page-id-1421 .hfe-read-more {
    font-size: 1.8em !important;
  }
}

/* ===== CONTACT ===== */
@media (min-width: 1600px) {
  body.page-id-61 .page-content {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-id-61 .elementor-widget-text-editor p,
  body.page-id-61 .elementor-widget-text-editor li,
  body.page-id-61 h1,
  body.page-id-61 h2,
  body.page-id-61 h3,
  body.page-id-61 h4,
  body.page-id-61 .elementor-widget-heading {
    font-size: 1.4em !important;
  }
  body.page-id-61 .wpforms-container,
  body.page-id-61 .wpforms-container label,
  body.page-id-61 .wpforms-container input,
  body.page-id-61 .wpforms-container textarea,
  body.page-id-61 .wpforms-container button {
    font-size: 0.95em !important;
  }
}
@media (min-width: 2200px) {
  body.page-id-61 .elementor-widget-text-editor p,
  body.page-id-61 .elementor-widget-text-editor li,
  body.page-id-61 h1,
  body.page-id-61 h2,
  body.page-id-61 h3,
  body.page-id-61 h4,
  body.page-id-61 .elementor-widget-heading {
    font-size: 1.8em !important;
  }
  body.page-id-61 .wpforms-container,
  body.page-id-61 .wpforms-container label,
  body.page-id-61 .wpforms-container input,
  body.page-id-61 .wpforms-container textarea,
  body.page-id-61 .wpforms-container button {
    font-size: 1.15em !important;
  }
}

/* ===== PROJET ===== */
@media (min-width: 1600px) {
  body.page-id-1564 .page-content {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-id-1564 .elementor-widget-image img {
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: 700px !important;
  }
  body.page-id-1564 .elementor-widget-text-editor p,
  body.page-id-1564 .elementor-widget-text-editor li,
  body.page-id-1564 h1,
  body.page-id-1564 h2,
  body.page-id-1564 h3,
  body.page-id-1564 h4,
  body.page-id-1564 .elementor-widget-heading,
  body.page-id-1564 .e-n-accordion-item-title-text {
    font-size: 1.4em !important;
  }
}
@media (min-width: 2200px) {
  body.page-id-1564 .elementor-widget-text-editor p,
  body.page-id-1564 .elementor-widget-text-editor li,
  body.page-id-1564 h1,
  body.page-id-1564 h2,
  body.page-id-1564 h3,
  body.page-id-1564 h4,
  body.page-id-1564 .elementor-widget-heading,
  body.page-id-1564 .e-n-accordion-item-title-text {
    font-size: 1.8em !important;
  }
}

/* ===== HEADER (UAE) — pages intérieures ===== */
@media (min-width: 1600px) {
  body:not(.home) a.hfe-menu-item {
    font-size: 1.4em !important;
  }
}
@media (min-width: 2200px) {
  body:not(.home) a.hfe-menu-item {
    font-size: 1.8em !important;
  }
}

/* ===== PAGE D'ACCUEIL ===== */
@media (min-width: 1600px) {
  body.home .elementor-widget-text-editor p,
  body.home .elementor-widget-text-editor li,
  body.home h1,
  body.home h2,
  body.home h3,
  body.home h4,
  body.home .elementor-widget-heading {
    font-size: 1.4em !important;
  }
  body.home a.hfe-menu-item {
    font-size: 1.3em !important;
  }
  body.home .elementor-element-a1562dc {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
}
@media (min-width: 2200px) {
  body.home .elementor-widget-text-editor p,
  body.home .elementor-widget-text-editor li,
  body.home h1,
  body.home h2,
  body.home h3,
  body.home h4,
  body.home .elementor-widget-heading {
    font-size: 1.8em !important;
    letter-spacing: 0.5px !important;
  }
  body.home a.hfe-menu-item {
    font-size: 1.6em !important;
  }
}

/* Bloc texte spécifique — évite le chevauchement des lignes */
@media (min-width: 1600px) {
  body.home .elementor-element-371590d p {
    font-size: 1.4em !important;
    line-height: 1.3 !important;
  }
}
@media (min-width: 2200px) {
  body.home .elementor-element-371590d p {
    font-size: 1.8em !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
  }
}

/* Avis (carrousel Stratum) — page d'accueil */
@media (min-width: 1600px) {
  body.home .stratum-testimonial-carousel__text,
  body.home .stratum-testimonial-carousel__text p {
    font-size: 1.2em !important;
    line-height: 1.35 !important;
  }
}
@media (min-width: 2200px) {
  body.home .stratum-testimonial-carousel__text,
  body.home .stratum-testimonial-carousel__text p {
    font-size: 1.5em !important;
    line-height: 1.4 !important;
  }
}