/*
	Theme Name: Hello Elementor Child - Évasion sur Mesure
	Theme URI: https://evasion-sur-mesure.fr
	Description: Thème enfant de Hello Elementor, créé pour stabiliser le header d'Évasion sur Mesure (projet de stabilisation Phase 2+). Ne jamais modifier le thème parent Hello Elementor directement.
	Author: Évasion sur Mesure
	Template: hello-elementor
	Version: 1.0.0
	Requires PHP: 7.4
	Text Domain: hello-elementor-child
*/

/* ==========================================================================
   FOOTER LOGO HAUTE RÉSOLUTION (WIDGET 5375173 / ID 1014)
   Dimensions exactes validées (170 × 170 px Desktop / 130 × 130 px Mobile)
   Alignement Desktop : décalage de +35px vers la droite pour alignement texte
   ========================================================================== */

.elementor-1014 .elementor-element.elementor-element-5375173 {
  width: 170px !important;
  max-width: 170px !important;
  margin-bottom: 8px !important;
  margin-left: 35px !important;
}

.elementor-1014 .elementor-element.elementor-element-5375173 img {
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 767px) {
  .elementor-1014 .elementor-element.elementor-element-5375173 {
    width: 130px !important;
    max-width: 130px !important;
    margin: 0 auto 10px auto !important;
    margin-left: auto !important;
  }
  .elementor-1014 .elementor-element.elementor-element-5375173 img {
    width: 130px !important;
    height: 130px !important;
    max-width: 130px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   FOOTER NAVIGATION - MENU FOOTER ÉVASION (WIDGET 8224e22 / ID 1014)
   Affichage statique, direct et élégant des sous-menus (zéro dropdown, zéro panneau blanc)
   ========================================================================== */

/* 1. Reset structurel des conteneurs de liste dans le footer */
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-has-submenu-container {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
  border: none !important;
}

.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li {
  margin-bottom: 7px !important;
  padding: 0 !important;
  border: none !important;
}

/* 2. Affichage statique des sous-menus : toujours visibles, flux normal */
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu__layout-vertical .sub-menu,
.elementor-1014 .elementor-element.elementor-element-8224e22 .sub-menu,
.elementor-1014 .elementor-element.elementor-element-8224e22 ul.sub-menu {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 3px 0 5px 12px !important;
  margin: 3px 0 0 0 !important;
  transform: none !important;
  min-width: 0 !important;
  width: auto !important;
  pointer-events: auto !important;
}

/* 3. Masquage total des chevrons, flèches de toggle et déclencheurs de dropdown */
.elementor-1014 .elementor-element.elementor-element-8224e22 .sub-arrow,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-menu-toggle,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-menu-child-0,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-menu-child-1 {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 4. Items principaux du Footer (Playfair Display 600) */
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li > a.hfe-menu-item,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  color: #5F6446 !important;
  padding: 2px 0 !important;
  display: inline-block !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  border: none !important;
  transition: color 0.2s ease;
}

.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li > a.hfe-menu-item:hover,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item:hover,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li > a.hfe-menu-item:focus,
.elementor-1014 .elementor-element.elementor-element-8224e22 .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item:focus {
  color: #5B3A29 !important;
}

/* 5. Sous-liens discrets (Poppins 400, légèrement indentés, trait gauche élégant) */
.elementor-1014 .elementor-element.elementor-element-8224e22 ul.sub-menu li,
.elementor-1014 .elementor-element.elementor-element-8224e22 nav.hfe-dropdown li.menu-item:not(:last-child) {
  margin: 0 0 3px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block !important;
  border: none !important;
  border-bottom: none !important;
}

.elementor-1014 .elementor-element.elementor-element-8224e22 ul.sub-menu li a.hfe-sub-menu-item {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  color: #6F4E37 !important;
  padding: 2px 0 2px 8px !important;
  line-height: 1.45 !important;
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-left: 2px solid rgba(216, 192, 168, 0.55) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.elementor-1014 .elementor-element.elementor-element-8224e22 ul.sub-menu li a.hfe-sub-menu-item:hover,
.elementor-1014 .elementor-element.elementor-element-8224e22 ul.sub-menu li a.hfe-sub-menu-item:focus {
  color: #5B3A29 !important;
  border-left-color: #5B3A29 !important;
  padding-left: 12px !important;
}

/* ==========================================================================
   FOOTER MOBILE - CORRECTION OVERFLOW HORIZONTAL (CONTENEUR WIDGET c779b9c / ID 1014)
   Réinitialisation de la marge gauche desktop (24px) sur mobile
   ========================================================================== */

@media (max-width: 767px) {
  .elementor-1014 .elementor-element.elementor-element-c779b9c {
    margin-inline-start: 0 !important;
  }
}
