/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Progressio
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
@charset "UTF-8";
/* D'abord, on déclare la police "Regular" (Normale) */
@font-face {
  font-family: 'Panton Trial'; /* Nom que VOUS donnez à la police */
  src: url('fonts/Panton-Trial-Regular.woff2') format('woff2'), /* Chemin relatif vers le fichier */
       url('fonts/Panton-Trial-Regular.woff') format('woff'); /* Fallback pour anciens navigateurs */
  font-weight: normal; /* 400 */
  font-style: normal;
  font-display: swap; /* Améliore le chargement */
}

/* Ensuite, on déclare la police "Italic" (Italique) */
@font-face {
  font-family: 'Panton Trial'; /* On garde le même nom de famille */
  src: url('fonts/Panton-Trial-RegularItalic.woff2') format('woff2'),
       url('fonts/Panton-Trial-RegularItalic.woff') format('woff');
  font-weight: normal; /* 400 */
  font-style: italic;
  font-display: swap;
}

body {
  font-family: 'Panton Trial', 'Poppins', Arial, sans-serif;;
}

.elementor-widget-navigation-menu .menu-item.contact_menu  a.hfe-menu-item {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-secondary) !important;    
    transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
}

.elementor-widget-navigation-menu .menu-item.contact_menu  a.hfe-menu-item:hover {
    background-color: #28225999;
    border-color: #28225999;
}

/* === Sticky Menu === */
.sticky-menu {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  background: #fff; /* adapte selon ton design */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.sticky-space {
  height: var(--sticky-height, 80px); /* espace réservé pour éviter le saut de page */
}


/* Add your custom styles here */
.__content ul li {
    list-style: none;
}

.__title {
    min-height: 32px;
}
.wpcf7-list-item-label {
    font-size: 16px;
}

.wpcf7-form h4{
    border-bottom: solid 1px var(--e-global-color-primary);
    margin: 0 0 15px !important;
    padding-bottom: 5px;
}

.wpcf7-list-item {
    display: block;
    margin: 0;
}

.price_display{
    color: var(--e-global-color-secondary);
    padding: 15px;
    margin: 0;
    text-align: center;
    font-size: 18px;
    background: var(--e-global-color-primary);
    border: solid 2px var(--e-global-color-primary);
}

input[type="submit"]{
    border: 1px solid var(--e-global-color-primary);
    min-width: 150px;
}

input:focus,textarea:focus{
    outline: none;
}

.mb-devis-title {
    text-align: center;
    padding: 40px 0 30px 0;  
}

.ehf-header #masthead p{
	margin-bottom:0;
}

.mb-devis-one, .mb-devis-two, .mb-devis .price_display {
    width: 60% !important;
}

.mb-devis {
    justify-content: center;
}
  
.send_simulator,.send_simulator p {
    display: flex;
    justify-content: center;
}

.wpcf7-form.invalid .wpcf7-response-output{
    display: block !important;
}

.form-control:focus{
    box-shadow: none !important;
    border-color: var(--e-global-color-primary) !important;
}

.btn:hover:hover{
    border-color: initial !important;
}

.btn:first-child:active{
    background-color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
}

.hfe-nav-menu__toggle {
    position: absolute;
    right: 0;        
    z-index: 99999;     
}

[type=checkbox], [type=radio] {
    margin-right: 5px;
}

i.fas.fa-check {
    margin-right: 10px;
}

.price_display p{
    margin-bottom: 0;
}

.logo_desk a {
    position: absolute;
    width: 92%;
    left: 0;
    top: -27px;
}

@media (min-width: 1200px) {
    .h4, h4 {
        font-size: initial !important;
    }
}

@media only screen and (max-width: 1024px) {
    .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu {
        position: relative;
    }
    .hfe-nav-menu__toggle {   
        top: 15px;
    }

    .mb-devis-one, .mb-devis-two, .mb-devis .price_display {
        width: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .three_bloc .elementor-container.elementor-column-gap-default {
        justify-content: center;
    }

    .hfe-nav-menu__toggle {
        top: -50px;
    }
    
    .hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-horizontal{        
        top: 0;
    }
}

@media (max-width: 767px) {
    .hfe-nav-menu__toggle {   
        top: 15px;
    }

    .hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-horizontal{        
        top: 80px;
    }
}
