/*
	Theme Name: Hello Elementor Child
	Theme URI: https://fqsconsulting.top-energiedin.com
	Description: Thème enfant de Hello Elementor pour FQS Consulting
	Author: FQS Consulting
	Author URI: https://fqsconsulting.top-energiedin.com
	Template: hello-elementor
	Version: 1.0.0
	License: GNU General Public License v3 or later
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor-child
*/

/* Ajoutez vos styles personnalisés ci-dessous */

.card-expertise {
	cursor: pointer;
}

.card-expertise .elementor-button .elementor-button-content-wrapper {
	align-items: center;
}

.card-expertise .elementor-button-icon svg {
	width: 38px;
}

.card-expertise .card-expertise-hover {
	position: relative;
	overflow: hidden;
}

.card-expertise .card-expertise-hover .elementor-widget-text-editor {
	position: absolute;
	top: calc(100% + 25px);
	left: 0;
	width: 100%;
	height: calc(100% - 6px);
	opacity: 0;
	transition: .5s;
}

.card-expertise:hover .card-expertise-hover .elementor-widget-text-editor {
	top: 0;
	opacity: 1;
}

.card-expertise .card-expertise-hover .elementor-widget-text-editor ul {
	padding-left: 15px;
}

.card-expertise .card-expertise-hover .elementor-widget-text-editor ul li {
	margin-bottom: 10px;
}

.card-expertise .card-expertise-hover .elementor-widget-text-editor ul li::marker {
  color: #456C26;
}

.list-partners .swiper-slide-image {
	filter: grayscale(100%);
	transition: .3s;
}

.list-partners .swiper-slide-image:hover {
	filter: grayscale(0%);
}

.last-news .elementor-posts-container {
	grid-template-columns: repeat(4, 1fr) !important;
}

.last-news .elementor-post:first-child {
	grid-column: span 2;
}

.last-news .elementor-post:first-child .elementor-post__read-more {
	display: none !important;
}

.last-news .elementor-post:not(:first-child) .elementor-post__excerpt {
	display: none !important;
}

.last-news .elementor-post__thumbnail {
	padding: 0 !important;
	height: 261px !important;
	width: 100% !important;
}

.last-news .elementor-post__thumbnail img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover;
}

/* =========================================================================
   FQS Newsletter
   ========================================================================= */

.fqs-newsletter-wrap {
	max-width: 600px;
	margin: 0 auto;
}

.fqs-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fqs-newsletter-form input[type="email"] {
width: 100%;
    padding: 7px 12px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.fqs-newsletter-form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.fqs-newsletter-form input[type="email"]:focus {
	border-color: #fff;
}

.fqs-newsletter-form button {
width: 100%;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #6D3425 !important;
    background: #fff !important;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.fqs-newsletter-form button:hover {
	opacity: 0.9;
}

.fqs-newsletter-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.fqs-newsletter-msg {
	margin-top: 10px;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
}

.fqs-newsletter-msg.success {
	color: #fff;
	background: rgba(70, 180, 80, 0.4);
}

.fqs-newsletter-msg.error {
	color: #fff;
	background: rgba(220, 60, 60, 0.4);
}

.fqs-newsletter-captcha {
	display: flex;
	justify-content: center;
}

.fqs-newsletter-captcha .g-recaptcha {
	transform: scale(0.9);
	transform-origin: center;
}

/* =========================================================================
   FQS Cookie Consent
   ========================================================================= */

.foch-cookie-banner {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 999999;
	width: 360px;
	max-width: calc(100vw - 32px);
	background: #ffffff;
	border: 1px solid rgba(69, 108, 38, 0.16);
	border-radius: 10px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
	padding: 18px 20px 16px;
	font-family: Blinker, Arial, sans-serif;
	display: none;
	box-sizing: border-box;
}

.foch-cookie-banner p {
	font-size: 13px;
	line-height: 1.55;
	color: #333;
	margin: 0 0 14px;
	font-weight: 300;
}

.foch-banner-btns {
	display: flex;
	gap: 8px;
	align-items: center;
}

.foch-btn-accept {
	appearance: none;
	flex: 1;
	background: #456C26 !important;
	color: #fff !important;
	border: 1px solid #456C26 !important;
	border-radius: 5px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: Blinker, Arial, sans-serif;
	transition: opacity 0.2s ease;
	white-space: nowrap;
	text-decoration: none !important;
	box-shadow: none !important;
}

.foch-btn-accept:hover,
.foch-btn-accept:focus,
.foch-btn-accept:active {
	background: #456C26 !important;
	color: #fff !important;
	border-color: #456C26 !important;
	opacity: 0.9;
}

.foch-btn-settings {
	appearance: none;
	background: transparent !important;
	border: none !important;
	color: #6D3425 !important;
	font-size: 12px;
	cursor: pointer;
	font-family: Blinker, Arial, sans-serif;
	padding: 0 4px !important;
	text-decoration: underline !important;
	white-space: nowrap;
	transition: color 0.2s ease;
	box-shadow: none !important;
}

.foch-btn-settings:hover,
.foch-btn-settings:focus,
.foch-btn-settings:active {
	background: transparent !important;
	color: #456C26 !important;
	text-decoration: underline !important;
}

.over-lay-first-second {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 999998;
}

.block-two-cockies {
	position: fixed;
	width: 90%;
	max-width: 760px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	border-radius: 8px;
	box-sizing: border-box;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
	overflow-y: auto;
	max-height: 90vh;
	z-index: 999999;
	display: none;
	padding: 0;
	font-family: Blinker, Arial, sans-serif;
}

.cookies-top-bar {
	background: #6D3425;
	color: #fff;
	padding: 18px 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cookies-brand {
	font-family: Blinker, Arial, sans-serif;
	font-size: 20px;
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.3px;
}

.cookies-close-top {
	appearance: none;
	cursor: pointer;
	color: #fff;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	transition: all 0.2s ease;
	flex-shrink: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

.cookies-close-top:hover,
.cookies-close-top:focus {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.cookies-content {
	padding: 34px 36px 32px;
}

.title-popup-cookies {
	display: block;
	text-align: center;
	color: #333;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.cookies-sub-back {
	text-align: center;
	margin-bottom: 28px;
	color: #6D3425;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	min-height: 16px;
}

.cookies-sub-back .retour-pop-one-inline {
	appearance: none;
	cursor: pointer;
	display: none;
	background: transparent;
	border: none;
	color: #6D3425;
	font: inherit;
	padding: 0;
	box-shadow: none;
}

.cookies-sub-back.show-back .retour-pop-one-inline {
	display: inline;
}

.block-two-cockies p {
	text-align: left;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.8;
	margin: 0 0 18px;
	color: #333;
}

.second-btns-cookies-holder {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 26px;
}

button.tout-accepter,
button.tout-refuser,
button.tout-regester {
	appearance: none;
	outline: none;
	cursor: pointer;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.2px;
	min-height: 44px;
	padding: 0 22px;
	transition: all 0.2s ease;
	font-family: Blinker, Arial, sans-serif;
	background: #fff;
	color: #456C26;
	border: 1px solid #456C26;
	min-width: 180px;
	box-shadow: none;
}

button.tout-accepter:hover,
button.tout-refuser:hover,
button.tout-regester:hover {
	background: #eef5e8;
	color: #456C26;
}

button.tout-accepter {
	background: #456C26 !important;
	color: #fff !important;
	border-color: #456C26 !important;
}

button.tout-accepter:hover {
	background: #456C26 !important;
	color: #fff !important;
	border-color: #456C26 !important;
	opacity: 0.9;
}

.propos-cokies-buttons {
	display: flex;
	gap: 10px;
}

.propos-cokies-buttons button {
	appearance: none;
	outline: none;
	cursor: pointer;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	min-height: 40px;
	padding: 0 18px;
	transition: all 0.2s ease;
	font-family: Blinker, Arial, sans-serif;
	background: #fff;
	color: #456C26;
	border: 1px solid #456C26;
	box-shadow: none;
}

.propos-cokies-buttons button:hover {
	background: #eef5e8;
	color: #456C26;
}

.propos-cokies-buttons .checked-btn {
	background: #456C26;
	color: #fff;
	border-color: #456C26;
}

.accept-multichoix-holder-cookies {
	border-top: 1px solid #EBEBEB;
	margin-top: 24px;
	padding-top: 26px;
}

ul.tabs-cookies-all {
	list-style: none;
	border: none;
	padding: 0;
	margin: 0 0 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.tabs-cookies-all li {
	margin: 0;
	padding: 0;
}

.tabs-cookies-all .tab-item {
	appearance: none;
	background: #fff;
	cursor: pointer;
	padding: 10px 16px;
	border: 1px solid #EBEBEB;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	transition: all 0.2s ease;
	display: block;
	font-size: 13px;
	font-weight: 500;
	font-family: Blinker, Arial, sans-serif;
	box-shadow: none;
}

.tabs-cookies-all .tab-item:hover {
	background: #eef5e8;
	border-color: #456C26;
	color: #456C26;
}

.tabs-cookies-all .tab-item.active {
	background: #456C26;
	color: #fff;
	border-color: #456C26;
}

.tab-detail {
	display: none;
}

.tab-detail.show {
	display: block;
}

.tab-detail p,
.tab-detail ul {
	color: #333;
}

.tab-detail ul {
	margin-top: 10px;
	padding-left: 18px;
}

.tab-detail ul li {
	margin-bottom: 8px;
	line-height: 1.7;
	font-size: 14px;
}

.info-bloc-cookies-holdera {
	margin: 14px 0 18px;
	display: flex;
	justify-content: flex-end;
}

.always-active-label {
	color: #6D3425;
	font-style: italic;
	font-size: 13px;
}

button.display-block {
	display: inline-block !important;
}

body.fqs-cookie-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.fqs-newsletter-form input[type="email"],
	.fqs-newsletter-form button {
		padding: 14px 16px;
		font-size: 15px;
	}

	.cookies-content {
		padding: 26px 22px 24px;
	}

	.title-popup-cookies {
		font-size: 18px;
	}

	.second-btns-cookies-holder {
		flex-direction: column;
		align-items: stretch;
	}

	button.tout-accepter,
	button.tout-refuser,
	button.tout-regester {
		width: 100%;
		min-width: 100%;
	}

	.propos-cokies-buttons {
		flex-wrap: wrap;
		justify-content: flex-end;
	}
}

@media (max-width: 520px) {
	.block-two-cockies {
		width: 96%;
	}

	.cookies-top-bar {
		padding: 16px 18px;
	}

	.cookies-content {
		padding: 22px 16px 20px;
	}

	ul.tabs-cookies-all {
		justify-content: flex-start;
	}
}

@media (max-width: 400px) {
	.foch-cookie-banner {
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 10px 10px 0 0;
	}
}

.liste-adn .elementor-icon-list-icon {
	width: 64px;
    height: 64px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
}

.liste-adn .elementor-icon-list-icon svg {
	margin-right: 0 !important;
}

.liste-adn .card-item:hover {
	background-color: #FFF !important;
	background-image: unset !important;
}

.liste-adn .card-item:hover .elementor-icon-list-text {
	color: #456C26 !important;
}

.liste-adn .card-item:hover .elementor-icon-list-icon svg {
	fill: #456C26;
}

.liste-adn .card-item:hover .elementor-widget-text-editor {
	color: #000;
}

.h-100 {
	height: 100% !important;
}

.style-ul ul {
	padding-left: 15px;
}

.style-ul ul li {
	margin-bottom: 10px;
}

.style-ul ul li::marker {
	color: #456C26;
}

.line-subtitle .elementor-heading-title {
	position: relative;
	padding-left: 45px;
}

.line-subtitle .elementor-heading-title:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 32px;
	height: 2px;
	background-color: #456C26;
}

/* =========================================================================
   Article Single - Content Styling
   ========================================================================= */

.elementor-widget-theme-post-content h2 {
	position: relative;
	font-size: 22px;
	font-weight: 700;
	color: #333;
	margin: 40px 0 16px;
	padding-left: 18px;
	border-left: 3px solid #456C26;
}

.elementor-widget-theme-post-content h3 {
	font-size: 18px;
	font-weight: 600;
	color: #456C26;
	margin: 30px 0 12px;
}

.elementor-widget-theme-post-content p {
	font-size: 16px;
	line-height: 1.8;
	color: #444;
	margin-bottom: 18px;
}

.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
	margin: 0 0 24px;
	padding-left: 20px;
}

.elementor-widget-theme-post-content li {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 10px;
}

.elementor-widget-theme-post-content ul li::marker {
	color: #456C26;
}

.elementor-widget-theme-post-content ol li::marker {
	color: #456C26;
	font-weight: 600;
}

.elementor-widget-theme-post-content li strong {
	color: #333;
}

/* =========================================================================
   Pages légales (Mentions légales, Politique de confidentialité)
   ========================================================================= */

body.page-id-736 .site-main,
body.page-id-737 .site-main {
	max-width: 800px;
	margin: 40px auto 60px;
	padding: 0 20px;
}

body.page-id-736 .page-content h1,
body.page-id-737 .page-content h1 {
	font-size: 28px;
	font-weight: 700;
	color: #6D3425;
	margin-bottom: 24px;
}

body.page-id-736 .page-content h2,
body.page-id-737 .page-content h2 {
	position: relative;
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin: 36px 0 14px;
	padding-left: 18px;
	border-left: 3px solid #456C26;
}

body.page-id-736 .page-content p,
body.page-id-737 .page-content p {
	font-size: 15px;
	line-height: 1.8;
	color: #444;
	margin-bottom: 16px;
}

body.page-id-736 .page-content ul,
body.page-id-736 .page-content ol,
body.page-id-737 .page-content ul,
body.page-id-737 .page-content ol {
	margin: 0 0 20px;
	padding-left: 20px;
}

body.page-id-736 .page-content li,
body.page-id-737 .page-content li {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 8px;
}

body.page-id-736 .page-content ul li::marker,
body.page-id-737 .page-content ul li::marker {
	color: #456C26;
}

body.page-id-736 .page-content li strong,
body.page-id-737 .page-content li strong {
	color: #333;
}

@media (max-width: 1024px) {

	.h-100 {
		position: unset !important;
	}

	.header-site .container-logo {
		order: 1;
	}

	.header-site .container-btn {
		order: 2;
		width: fit-content !important;
		margin-left: auto;
	}

	.header-site .container-menu {
		order: 3;
		width: fit-content !important;
		gap: 0 !important;
		justify-content: center;
	}

	.header-site .container-menu .elementor-nav-menu--toggle {
		gap: 0;
	}

	.header-site .container-menu .elementor-menu-toggle {
		background-color: #FFF;
	    height: 38px;
	    width: 38px;
	}

	.header-site .container-menu .elementor-menu-toggle svg {
		fill: #794437;
	}

	/* Menu dropdown fixe depuis la gauche */
	.elementor-nav-menu--dropdown {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 300px !important;
		height: 100vh !important;
		max-height: 100vh !important;
		overflow-y: auto !important;
		background-color: #fff !important;
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15) !important;
		z-index: 10000 !important;
		padding-top: 0 !important;
		transform: translateX(-100%);
		transition: transform 0.3s ease !important;
	}

	/* Afficher le menu quand il est actif */
	.elementor-nav-menu--dropdown.fqs-menu-open {
		margin: 0 !important;
		transform: translateX(0) !important;
	}

	/* Header du menu : logo + close */
	.fqs-menu-header {
		   display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        background-image: linear-gradient(90deg, #6D3425 0%, #9F5D4C 100%);
        position: sticky;
        top: 0;
        z-index: 1;
	}

	.fqs-menu-logo {
		height: 40px !important;
		width: auto;
		display: block;
	}

	.fqs-menu-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border: none;
		background: #f5f5f5;
		border-radius: 50%;
		cursor: pointer;
		color: #333;
		padding: 0;
		transition: background 0.2s, color 0.2s;
	}

	.fqs-menu-close:hover {
		background: #6D3425;
		color: #fff;
	}

	/* Items du menu */
	.elementor-nav-menu--dropdown .elementor-item {
		padding: 14px 20px !important;
		font-size: 15px !important;
		border-bottom: 1px solid #f0f0f0 !important;
	}

	/* Overlay */
	.fqs-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0);
		z-index: 9999;
		pointer-events: none;
		transition: background 0.3s ease;
	}

	.fqs-menu-overlay--visible {
		background: rgba(0, 0, 0, 0.5);
		pointer-events: auto;
	}

	/* Bloquer le scroll du body */
	body.fqs-menu-body-lock {
		overflow: hidden !important;
	}

	.header-site .container-menu .elementor-menu-toggle {
		background-color: #FFF;
	    height: 38px;
	    width: 38px;
	}

	.header-site .container-menu .elementor-menu-toggle svg {
		fill: #794437;
	}

	.last-news .elementor-post__thumbnail {
		height: 200px !important;
	}

	/* ---- Top bar contact redesign mobile ---- */
	.elementor-45 .elementor-element.elementor-element-99a1155 {
		--flex-direction: row !important;
		--justify-content: center !important;
		--align-items: center !important;
		--flex-wrap-mobile: wrap !important;
		--gap: 0px 0px !important;
		--padding-top: 8px !important;
		--padding-bottom: 8px !important;
		--padding-left: 10px !important;
		--padding-right: 10px !important;
		background: #f9f7f6 !important;
		border-bottom: 1px solid #eee;
	}

	/* Chaque bloc contact en ligne */
	.elementor-45 .elementor-element-99a1155 > .e-con-inner > .elementor-element {
		--width: auto !important;
		flex: 0 0 auto !important;
		padding: 4px 12px !important;
		position: relative;
	}

	/* Séparateur entre les items */
	.elementor-45 .elementor-element-99a1155 > .e-con-inner > .elementor-element:not(:last-child)::after {
		content: "";
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		height: 14px;
		width: 1px;
		background: #ccc;
	}

	/* Icônes plus petites */
	.elementor-45 .elementor-element-99a1155 .elementor-icon-list-icon {
		font-size: 14px !important;
	}

	.elementor-45 .elementor-element-99a1155 .elementor-icon-list-icon svg {
		width: 14px !important;
		height: 14px !important;
	}

	/* Texte plus compact */
	.elementor-45 .elementor-element-99a1155 .elementor-icon-list-text {
		font-size: 12px !important;
	}

}

@media (max-width: 992px) {

	.last-news .elementor-post__thumbnail {
		height: 150px !important;
	}



}

@media (max-width: 767px) {

	/* Masquer l'adresse sur mobile, garder tel + email */
	.elementor-45 .elementor-element-99a1155 .elementor-element-a14eb43 {
		display: none !important;
	}

	.last-news .elementor-posts-container {
		grid-template-columns: repeat(2, 1fr) !important;
	}



}

