/* 
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: Elementor Team
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
*/

/* Add your custom styles here */

/* VARIABLES COLORS CSS 
    --e-global-color-primary: #183D6A; bleu foncé 
    --e-global-color-secondary: #00AE8B; vert 
    --e-global-color-text: #183D6A; bleu foncé 
    --e-global-color-accent: #00AE8B; vert 
    --e-global-color-901ed75: #FFFFFF; blanc
    --e-global-color-42eae19: #F7F8FA; blanc cassé
    --e-global-color-b78a62e: #F2F3F7; gris
    --e-global-color-87ad998: #E0E7F9; bleu gris
    --e-global-color-f9217af: #8FB8D6; bleu clair texte
    --e-global-color-3fbd565: #DFEBFB; bleu clair background
*/

/* --- Règles générales --- */
html{
	overflow-x: hidden;
}

h2 span{
	color: transparent;
  	-webkit-text-stroke: 1.5px var(--e-global-color-f9217af);
  	text-stroke: 1.5px var(--e-global-color-f9217af);
}

.stroke-font h5{
	transform: rotate(270deg);
}

/* --- Burger menu --- */
.none,
#menu.none{
	display: none;
}

#menu {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  height: auto;
}
#menu.show {
  opacity: 1;
  visibility: visible;
  display: block;
}

#burger-toggle{
	display: flex;
	align-items: flex-start;
}

#burger-toggle svg,
#burger-toggle .label:hover{
	cursor: pointer;
}

#burger-toggle .label{
	margin-left: 5px;
}

/* Burger lines */
.menu-toggle .line {
  transition: transform .3s ease, opacity .2s ease;
  transform-box: view-box;
  transform-origin: 12px 12px;
}

/* État ouvert avec croix */
.menu-toggle.open .line1 {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle.open .line2 {
  opacity: 0;
}
.menu-toggle.open .line3 {
  transform: translateY(-4px) rotate(-45deg);
}

#conteneur-menu.menu-open{
  width: 250px;
}

#conteneur-menu.menu-open #burger-toggle{
	margin-left: -50%;
}

/* --- Bloc précision micro mécanique --- */
.elementor-element-b00fd81 .post-inner h2{
	background: var(--e-global-color-3fbd565);
	border-radius: 50px;
	z-index: 100;
	position: relative;
}

/* --- Bloc Domaine d'intervention ---  .elementor-element-aa25cfa */
.home .ht-post .post-content{
	top: 10px;
}

.home .ht-post .post-content h4.htmega-post-g-title{
	background: var(--e-global-color-primary);
	border-radius: 30px;
	width: 80%;
	padding: 5px 30px;
	margin: 0 auto;
	text-align: center;
}

.home .ht-post .post-content h4.htmega-post-g-title a {
	text-decoration: none;
}

.home .ht-post .post-content .htmega-post-g-read-more{
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	display: none;
}

.home .ht-post .post-content:hover .htmega-post-g-read-more{
	display: inline-block;
}

.home .ht-post{
	filter: grayscale(70%);
	transition: filter 0.3s ease;
}

.home .ht-post:hover{
	filter: unset;
}


/* Responsive */
@media (max-width: 991px){
  #bloc-scrolled{ grid-template-columns: 1fr; }
  .col-left{ position: static; order: -1; } /* au-dessus */
  .col-right.steps-scroll{ height: auto; max-height: none; overflow: visible; scroll-snap-type: none; }
}


/* --- Page Assemblage et micro assemblage --- */
#bloc-scrolled{
  display: grid;
  grid-template-columns: 1fr 2fr; 
  gap: clamp(16px, 3vw, 40px);
  min-height: 100vh;
}

/* Colonne gauche sticky */
.col-left{
  position: sticky;
  top: 24px;
  align-self: start;
  height: fit-content;
}

/* Colonne droite scrollable avec snap */
.col-right.steps-scroll{
  height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;  
  -webkit-overflow-scrolling: touch; /* iOS momentum */
  scrollbar-width: thin;             /* Firefox */
  scroll-snap-type: y mandatory;
  scroll-padding-top: 24px;
}

/* Masquage doux de la scrollbar (Chrome/Edge) */
.col-right.steps-scroll::-webkit-scrollbar { width: 6px; }
.col-right.steps-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.25); border-radius: 4px; }

/* Chaque step occupe l’écran et s’aligne au début */
.steps-scroll .step{
  min-height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding-block: 32px;
}

/* --- Archive --- */
.archive.category main#content{
	margin: 50px auto;
}

.category.elementor-kit-4 article.post .article-content h2.entry-title{
	font-size: 20px; 
	line-height: 24px;
	margin-top: 0;
}

.category.elementor-kit-4 article.post .article-content h2.entry-title a{
	color: var( --e-global-color-primary );
}

.category.elementor-kit-4 article.post .article-content p{
	margin-bottom: 15px;
}

/* --- Single post --- */
.single-hero{
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 40vh;
	max-height: 40vh;
	display:flex;
	align-items: center;
	justify-content: center;
}

.single-hero::before{
	background-image: linear-gradient(180deg, var( --e-global-color-primary ) 0%, var( --e-global-color-1f4bc43 ) 100%);
	content: '';
	display: block;
	position: absolute;
	opacity: 0.8;
	top: 0;
	left: 0;
	width: 100%;
	height: 40vh;
}

.single-hero h1.single-hero__h1{
	max-width: 80%;
	margin: 0 auto;
}

.single-hero__breadcrumb a{
	text-decoration: underline;
}

.single-post footer{
	z-index: 101;
	position: relative;
}


@media screen and (min-width: 1725px){
	
	/* Section ils nous font confiance */
	.elementor-element.elementor-element-26f6eda h2{
		white-space: nowrap;
	}
	
	.elementor-element.elementor-element-26f6eda h2 br{
		display: none;
	}
	
	.elementor-element.elementor-element-b569378::before{
		background-position: center !important;
	}
}

@media screen and (min-width: 1025px){
	#conteneur-menu{
		position: fixed;
		z-index: 1001;
	}
}

@media screen and (max-width: 1024px){
	table{
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}
}

@media screen and (max-width: 991px){
	header nav .elementor-element-f36df87{
		margin-top: -38px;
	}
	
	/* --- Single post --- */
	.single-hero{
		min-height: 60vh;
		max-height: 60vh;
	}

	.single-hero::before{
		height: 60vh;
	}
}



.effect-underline{
	display: inline-block;
	position: relative;
}

.effect-underline::after {
 	content: "";
  	position: absolute;
  	left: 0;
  	bottom: 0;
  	width: 100%;
  	height: 2px;
  	background: linear-gradient(90deg, var(--e-global-color-primary), var(--e-global-color-secondary));
  	border-radius: 2px;
  	transform-origin: left;
}


@media (min-width: 1024px) and (max-height: 750px),
@media (min-aspect-ratio: 15/9) and (max-aspect-ratio: 17/9){
	.main-slider .swiper-wrapper .swiper-slide:first-child .slide-content{
		margin-top: -13rem !important;
	}
}

/** Livraison traduction 27/04/2026 **/
/* CUST DEBUGG 13 AVR 2026*/
.page-id-4772 .wpcf7 input[type="file"],
.page-id-4621 .wpcf7 input[type="file"] {
  max-width: 120px;
}

.page-id-4772 .wpcf7-file::-webkit-file-upload-button,
.page-id-4621 .wpcf7-file::-webkit-file-upload-button {
  visibility: hidden;
}

.page-id-4772 .wpcf7-file::before,
.page-id-4621 .wpcf7-file::before {
  content: 'Select a file...';
  display: inline-block;
  background: #143c6a !important;
  padding: 15px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 10pt;
  color: #FFF;
}

.page-id-4772 .wpcf7-file:hover::before,
.page-id-4621 .wpcf7-file:hover::before {
  border-color: black;
}

.page-id-4772 .wpcf7-file:active::before,
.page-id-4621 .wpcf7-file:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.cust-3-en .slide-content {margin-left: 0rem!important;}

/*END*/
.post-carousel-wrapper .htmega-postslider-layout-5 .content .post-inner {min-height:225px}
/* MENU MOBILE*/
@medias screen and (max-width: 640px) {

}
li.btn-etude-devis a {color: var(--e-global-color-accent)!important;}


/* FORMULAIRE DE CONTACT */

label span.upload {padding: 1rem;
    line-height: 3rem;}
input, textarea {border-radius: 30px!important;
	border: 1px solid #dde1e8!important;}

/* MODIFS SAMEDI 27 SEPT*/
.twae-horizontal-timeline.twae-wrapper .twae-content {box-shadow:none!important}
.hfe-breadcrumbs-text:hover {text-decoration:underline}
.hfe-breadcrumbs-item  a {text-decoration:none}
.hfe-breadcrumbs-text {font-weight: 400; text-decoration:inherit}
.menu-bas-a a {font-weight:400}
.menu-bas-a a:hover { color:inherit;}
.single-hero h1.single-hero__h1 {    margin: 6rem auto auto;}

/*.single-hero::before {height: 44vh;}*/

/*END*/
p.ass-p {width:60%}
.slide-content h1 span {font-size:2rem; color: #02af8b;line-height: inherit;}
.slide-content {margin-top: -4rem !important;}
.slide-content p {font-size:2rem; line-height: 3rem;}

footer ul {padding:1rem;}
.btn-etude-devis {display:none!important}
@media screen and (max-width: 640px) {#panneau-menu {box-shadow: none;
    padding: inherit;display: inline;}.btn-etude-devis {display:block!important}
}
#panneau-menu ul {padding-left:15px}
#panneau-menu ul li {line-height:35px}
#panneau-menu ul li a {color:var( --e-global-color-text);font-family: inherit; font-weight: 400;line-height: 1.4rem;
    display: inline-flex
;}
#panneau-menu ul li a:hover {text-decoration:underline}
.swiper-slide video{filter: brightness(0.4);}


body.category .archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

body.category .archive-grid article {
	border-radius: 15px;
	box-shadow: 1px 1px 12px 1px #80808052;
}

body.category .archive-grid article .article-content {
	padding: 2rem;
}

body.category .archive-grid article .article-content a {
	text-decoration: none;
}

body.category .archive-grid article img {
	border-radius: 15px;
}

@media (max-width: 1024px) and (min-width: 480px){
	body.category .archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}



@media (max-width: 479px){
	body.category .archive-grid {
		grid-template-columns: 1fr;
	}
}

.elementor-widget-wp-widget-polylang ul {
	list-style: none;
	display: flex;
	padding: 0;
	gap: 10px;
}

li.lang-item img {
	width: 30px;
}

.hidden {
	display: none !important;
}

@media(max-width: 767px){
	.hidden {
		display: block !important;
	}
}

@media(min-width: 768px){
	.swiper-slide.cust-3-en h2 {
		width: 70%;
	}
}

.page-content a {
	text-decoration: none;
}


div.elementor-element-d89b4a1.elementor-widget-htmega-postcarousel-addons div.htmega-single-post-slide div.content div.post-inner h2 {
	background: var(--e-global-color-3fbd565);
    border-radius: 50px;
    z-index: 100;
    position: relative;
	
}