/*
 Theme Name: Enseicom
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Child theme derived from Divi
 Author: Progexia Solutions Web
 Author URI: https://www.progexia.com
 Template: Divi
 Version: 1.0.0
*/

:root {
	--light-primary: #ffb231;
	--medium-primary: #ef9600;
	--dark-primary: #d57800;

	--light-secondary: #20aafc;
	--medium-secondary: #0086d6;
	--dark-secondary: #0061a0;

	--light-grey:#e4e4e4;
	--medium-grey:#666666;
	--dark-grey:#474747;
}

/* Headers */
h1 {}
h2 {margin-bottom: 20px;line-height: 1.2em;}
h3 {}

h4 {}
h5 {}
h6 {}

/* Buttons */
a.et_pb_button.btn-secondary,
a.et_pb_button.btn-secondary:hover,
a.et_pb_button.btn-secondary:focus,
a.et_pb_button.btn-secondary:active {
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.3em 0.4em !important;
    line-height: 1.2 !important;
    position: relative;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.1s ease;
}

a.et_pb_button.btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
	font-weight: 500;
	text-transform:none;
}

/* Icône */
a.et_pb_button.btn-secondary::before {
    content: "";
    display: inline-block !important;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    position: static !important;
    opacity: 1 !important;
    flex: 0 0 16px;
    background: url('/wp-content/themes/enseicom/images/icon-greater-than.png') center / contain no-repeat;
    transition: transform 0.2s ease;
	margin-left: 20px;
}

/* Désactiver l’icône Divi */
a.et_pb_button.btn-secondary::after,
a.et_pb_button.btn-secondary:hover::after,
a.et_pb_button.btn-secondary:focus::after,
a.et_pb_button.btn-secondary:active::after {
    content: none !important;
    display: none !important;
}

/* Hover */
a.et_pb_button.btn-secondary:hover {
    background-color: rgba(239, 150, 0, 0.08) !important;
    color: #ef9600 !important;
}

a.et_pb_button.btn-secondary:hover::before {
    transform: translateX(2px);
}

/* Focus (accessibilité) */
a.et_pb_button.btn-secondary:focus {
    outline: none;
}

a.et_pb_button.btn-secondary:focus-visible {
    background-color: rgba(239, 150, 0, 0.08) !important;
    color: #ef9600 !important;
    box-shadow: 0 0 0 2px rgba(239, 150, 0, 0.35) !important;
}

/* Active */
a.et_pb_button.btn-secondary:active {
    transform: translateY(1px);
    background-color: rgba(239, 150, 0, 0.14) !important;
}

div.wpforms-container-full button[type="submit"]{
	background-color:var(--medium-primary) !important;
	border-radius:0;
	text-transform:uppercase;
	
}



/*header#main-header,
.et_secondary_nav_enabled #page-container #top-header {
	background: #FFFFFF;
	background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(71, 71, 71, 1) 35%, rgba(71, 71, 71, 1) 100%);
}*/

#top-menu li a{font-weight:600 !important;line-height: normal;}

.mobile_menu_bar::before, 
.mobile_menu_bar::after {color: #ffffff !important;}
.et_mobile_menu{padding:2% !important;}
.et_mobile_menu li a{padding: 8px 5%;}

.et_pb_svg_logo #logo {max-width:200px;}

/* Forcer le menu hamburger Divi sur tablettes et petits écrans */
@media (max-width: 1200px) {

  /* Cache complètement le menu secondaire */
  #top-header {
    display: none !important;
  }

  /* Force le menu principal en hamburger */
  #top-menu {
    display: none;
  }

  #et_mobile_nav_menu {
    display: block;
  }
}


.home .et_pb_section_0.et_pb_section {
  padding-top: 250px !important;
  padding-bottom: 20px;
  background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)),url(/wp-content/uploads/2026/03/Home-Banner_Enseicom.jpg) !important;
}
@media (max-width: 980px) {
	.home .et_pb_section_0.et_pb_section {
	  padding-top: 100px !important;
	}

	figure.dsm_card_image_wrapper {
		min-height: 240px !important;
		height: 492px !important;
	}
	.et_pb_equal_columns .dsm_card_wrapper{
		height:calc(100% - 492px) !important;
	}	
}

@media (max-width: 1200px) {
	.et_pb_row {
	  width: 90%;
	}

}

.pro-page-header .et_pb_post_title{display:flex;padding-bottom: 0 !important;}
.pro-page-header .et_pb_post_title .et_pb_title_container {align-self: flex-end;margin-bottom: 0;padding-left:0;}
.pro-page-header .et_pb_title_container h1{
	background-color: rgba(71, 71, 71,0.7);
	padding: 15px 15% 15px 15px !important;
	width: fit-content;
	color: #ffffff;
 }

.pro-header-with-background h2{
	background-color: #474747;
	color: #fff !important;
	padding: 15px 15% 15px 15px;
	margin-bottom: 0;
	width: fit-content;	
}

.et_pb_text ul li {line-height: 1.4em;padding-bottom: 6px;}

.pro-row-what-we-do{font-size:90%;line-height: normal;}
.pro-row-what-we-do .et_pb_column_1_3 h2{padding:0;}


.pro-product {
	padding-top:0;
	padding-bottom:0;
}
.pro-product .et_pb_row{padding-top:0;}
.pro-product.left {
	background-color: #e4e4e4 !important;	
}
.pro-product.right {
	background-color: #ffffff !important;	
}
.pro-product .et_pb_column{
	min-height: 400px;
}
.pro-product .et_pb_module{
	max-width: 500px;
	padding-top: 0px !important;
	padding-bottom: 0px !important;	
}
.pro-product .et_pb_module.et_pb_heading h3 {
	background-color: #474747;
	color: #fff;
	padding: 15px 15% 15px 15px;
	margin-bottom: 30px;
	width: fit-content;	
}
.pro-product .et_pb_image img{max-height:400px;width:auto;}
@media (max-width: 980px) {
	.pro-product .et_pb_column{
		min-height: auto;
		width: 50%;
	}
}

/*
.pro-product.left .et_pb_module.et_pb_heading,
.pro-product.left .et_pb_module.et_pb_text{
	margin-left: auto !important;
	padding-right:3vw;
}
.pro-product.right .et_pb_module.et_pb_heading,
.pro-product.right .et_pb_module.et_pb_text{
	margin-right: auto !important;
	padding-left:3vw;
}
.pro-product .et_pb_image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.pro-product.left .et_pb_module.et_pb_image{
	margin-right: auto !important;
	margin-left:0;
}
.pro-product.right .et_pb_module.et_pb_image{
	margin-left: auto !important;
	margin-right:0;
}

.pro-product.right .et_pb_module.et_pb_image{
	margin-left: auto !important;
}
*/
#main-footer{display:none;}

