/*---------------------------------------------------------------------------------
Theme Name:   Divi Child
Theme URI:    https://www.elegantthemes.com/
Description:  Divi Child theme by Web Hors Piste
Author:       Web Hors Piste
Author URI:   https://www.webhorspiste.com/
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
------------------------------ ADDITIONAL CSS HERE ------------------------------*/


h1{font-size:36px;line-height:40px;}
h2{font-size:20px;line-height:28px;}
h3{font-size:14px;line-height:20px;}

body.single-post h1{font-size:48px;line-height:56px; }
body.single-post h2{font-size:32px;line-height:40px;margin-bottom:10px;margin-top:15px;}
body.single-post  h3{font-size:18px;line-height:28px;margin-bottom:5px;margin-top:10px;}
h1, h2, h3, h4, h5, h6{
	padding-bottom:0px;

}
body.single-post h1, body.single-post h2, body.single-post h3, body.single-post h4, body.single-post h5, body.single-post h6{
	font-weight:700;
}

body {
	background-color: #090901;
	line-height: 16px;
}
a {color: #10b981;}

.d-flex{display:flex;}
.align-center{align-items:center;}
.justify-end{justify-content: end;}
.justify-between{justify-content:space-between;}
.justify-center{justify-content:center;}
.gap-10{gap:10px;}
.gap-16{gap:16px;}
.p-0{padding:0!important;}
.w-fit{width:fit-content;}
.w-40{width:40px;}
.h-40{height:40px;}

.account-link a{
	display:flex;
	align-items:center;
	justify-content:center;
}
.account-link a  span.et-pb-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:40px;
	height:40px;
}
/* ===================================
Theme personnaliser
=================================== */
/* Header wrapper */
.kt-blog-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid #27272a;
	background: rgba(9, 9, 11, 0.8);
	backdrop-filter: blur(8px);
}

/* Inner container */
.kt-blog-header__inner {
	max-width: 1152px;
	height: 56px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

@media (min-width: 640px) {
	.kt-blog-header__inner { padding: 0 24px; }
}

/* Typography */
.kt-blog-header .et_pb_module:not(.et_pb_image),
.kt-blog-header .et_pb_module:not(.et_pb_image) a,
.kt-blog-header .et_pb_module:not(.et_pb_image) button {
	font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	color: white;

}

.kt-blog-header a.kt-nav-link,
.kt-blog-header .kt-nav-dropdown > button{ 
	transition:all 0.15s cubic-bezier(.4,0,.2,1);
	padding:6px 8px;
	border-radius:6.4px;
	line-height: 22.5px;
}

.kt-blog-header a.kt-nav-link:hover,
.kt-blog-header .kt-nav-dropdown > button:hover { 
	color: #fafafa; 
	background: rgba(39,39,42,.6);
}

/* Dropdown panel */
.kt-blog-dropdown {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 8px;
	min-width: 220px;
	box-shadow: 0 20px 35px rgba(0,0,0,.45);
}

.kt-blog-dropdown a:hover {
	background: rgba(39,39,42,.6);
	color: #fafafa;
}

.kt-cta {
	color:#00422b;
	background-color: #4caf7c;
	padding: 0px 16px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
	width: fit-content;
	height:40px;
	transition:all 0.15s cubic-bezier(.4,0,.2,1);
}
.kt-cta:hover{
	filter: brightness(1.08);
}
.kt-cta.btn-signup{
	text-transform:uppercase!important;
	color:black!important;
	font-size:12px!important;
	line-height:calc(1 / .75);
	padding: 0px 24px;
	border-radius:11.2px;
	font-weight:700
}
.et_pb_post {
	min-height: 178px;
}

a.more-link{
	display: inline-block;
	padding-top: 0.5rem;
}

a.more-link::first-letter {
	text-transform: uppercase!important;
}

/* ===================================
FOOTER
=================================== */
.reseaux-links-footer a{
	border-radius:4.8px;
	padding:4px;
	height:26px;
	width:26px;
}
.reseaux-links-footer a,.reseaux-links-footer a svg{
	transition: all 300ms ease 0ms;
}
.reseaux-links-footer a:hover{
	background-color: rgb(0 108 73 / 10%);
}
.reseaux-links-footer a:hover svg{
	color:#34a853!important;
}

/* ===================================
HEADER
=================================== */
.kt-blog-header__inner{
	display:flex;
}
.kt-blog-header__inner>.logo-header-column{
	flex: 0 0 auto;
	width: auto!important;
}
.kt-blog-header__inner>.links-header-column{
	flex: 1 1 0;
	width: auto!important;
}
.kt-blog-header__inner>.links-header-column>div:first-child{
	flex: 1 1 0;
	justify-content: center;
}

.kt-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.875rem;
	color: #a1a1aa;
	gap: calc(.25rem * 8);
}

.kt-nav-link {
	color: white!important;
	text-decoration: none;
	transition: color 0.15s;
}
.kt-nav-link:hover {
	color: #fafafa;
}

/* Wrapper dropdown */
.kt-nav-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;

}

/* Bouton déclencheur */
.kt-nav-dropdown__trigger {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0;
	border: none;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
	transition: color 0.15s;
	color: white;
}
.kt-nav-dropdown__trigger:hover,
.kt-nav-dropdown.is-open .kt-nav-dropdown__trigger {
	color: #fafafa;
}

.kt-nav-dropdown__chevron {
	width: 0.75rem;
	height: 0.75rem;
	width: 16px;
	height: 16px;
}
.kt-nav-dropdown__trigger svg{
	transition:all 0.15s cubic-bezier(.4, 0, .2, 1);
}
.kt-nav-dropdown__trigger:hover svg{
	transform:rotate(180deg);
}
/* Panneau */
.kt-nav-dropdown__panel {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 20;
	margin-top: 0.75rem; /* mt-3 — le "trou" visuel */
	min-width: 260px;
	padding: 0.5rem;
	border-radius: 0.5rem;
	border: 1px solid #27272a;
	background-color: #18181b;
	font-size: 0.75rem;
	color: #a1a1aa;
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.25),
		0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

/* Items */
.kt-nav-dropdown__item {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	padding: 10px 12px;
	border-radius: 0.375rem;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s, color 0.15s;
}
.kt-nav-dropdown__item:hover {
	background-color: rgba(39, 39, 42, 0.6);
	color: #fafafa;
}

.kt-nav-dropdown__title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #fafafa;
}

.kt-nav-dropdown__desc {
	display: block;
	font-size: 11px;
	color: #a1a1aa;
	margin-top:2px;
}

/* Desktop only — masquer sur mobile si tu as un menu burger séparé */
@media (max-width: 767px) {
	/*.kt-nav { display: none; }*/
}
/* ==========================================
VERSION RESPONSIVE (En dessous de 980px)
========================================== */
.kt-burger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10000;
	position: relative;
}

.kt-burger span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #ffffff;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.kt-burger.is-active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.kt-burger.is-active span:nth-child(2) {
	opacity: 0;
}

.kt-burger.is-active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 980px) {
	.kt-nav-dropdown {
		width: 100%;
		display:flex;
		flex-direction:column;
	}
	.kt-nav-dropdown > button {
		width: 100%;
		justify-content: space-between;
	}
	.kt-blog-header__inner > .links-header-column > div:first-child {
		justify-content: flex-end;
	}
	.kt-blog-header__inner > .links-header-column > div:last-child {
		display: none;
	}
	.kt-burger {
		display: flex;
	}

	.kt-nav {
		position: fixed;
		top: 80px;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100vh;
		height: calc(100vh - 80px);
		/*height: fit-content;*/
		background-color: #000000;
		padding: 24px;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 1.5rem;
		z-index: 9999;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}
	html, body {
		overflow-x: hidden;
	}
	.kt-nav.is-active {
		transform: translateX(0);
	}

	/* CORRECTION ICI : On réinitialise la position absolute du desktop */
	.kt-nav-dropdown .kt-nav-dropdown__panel {
		position: static !important; /* Force le flux normal pour pousser les liens */
		display: block !important;
		width: 100%;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		margin-top: 0;
		padding: 0 !important;
		border: none !important;
		background-color: transparent !important;
		box-shadow: none !important;
		transition: max-height 0.3s ease-out, opacity 0.2s ease;
	}

	/* Déploiement fluide du panneau */
	.kt-nav-dropdown.is-open .kt-nav-dropdown__panel {
		max-height: 500px; /* S'adapte à la hauteur du contenu */
		opacity: 1;
		padding-top: 0.5rem !important;
		padding-bottom: 0.5rem !important;
	}

	.kt-nav-dropdown.is-open .kt-nav-dropdown__chevron {
		transform: rotate(180deg);
	}
}
/* ===================================
Sidebar spacing Divi / WordPress
=================================== */

.et_pb_widget_area_left {
	border-right: none !important;
	padding-right: 0 !important;
}

.et_pb_widget {
	margin-bottom: 22px !important;
}

#block-8,
#block-9 {
	width: 100%;
}

.et_pb_sidebar_0_tb_body {
	position: sticky;
	top: 110px;
	z-index: 5;
}

#block-8 {
	position: relative;
	top: auto;
	margin:0!important;
	margin-bottom: 22px !important;
}

/* Important : éviter les marges WordPress */
#block-8 *,
#block-9 * {
	box-sizing: border-box;
}
#block-9 {
	margin:0!important;
}
@media (max-width: 980px) {
	#block-9 {
		margin-bottom: 20px !important;
	}
}
@media (min-width: 980px) {
	.article-content-ligne {
		display: flex;
		gap: 48px;
	}

	.article-content-ligne > .et_pb_column_2_5 {
		flex: 0 0 350px;
		width: 350px !important;
		margin:0!important;
	}

	.article-content-ligne > .et_pb_column_3_5 {
		flex: 1;
		min-width: 0;
		margin:0!important;
	}
}
.article-content-ligne:after{
	display:none;
}
/* ===================================
KookiTrust TOC
=================================== */

#kt-blog-toc {
	width: 100%;
}

.kt-blog-toc-card {
	padding: 24px;
	border-radius: 22px;
	background: linear-gradient(
		180deg,
		rgba(13, 18, 24, 0.94),
		rgba(8, 11, 15, 0.88)
	);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.kt-blog-toc-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
}

.kt-blog-toc-icon {
	width: 34px;
	min-width: 34px;
	height: 34px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(31, 214, 139, 0.12);
	color: #1fd68b;
	font-size: 16px;
}

.kt-blog-toc-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.kt-blog-toc-subtitle {
	color: rgba(255, 255, 255, 0.45);
	font-size: 12px;
	margin-top: 3px;
}

.kt-blog-toc-list {
	counter-reset: kt-toc-counter;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.kt-blog-toc-link {
	counter-increment: kt-toc-counter;
	position: relative;
	display: grid;
	grid-template-columns: 34px 1fr;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	color: rgba(255, 255, 255, 0.66) !important;
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none !important;
	transition: all 0.25s ease;
}

.kt-blog-toc-link::before {
	content: "0" counter(kt-toc-counter);
	color: rgba(31, 214, 139, 0.72);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.6;
}

.kt-blog-toc-link:hover {
	color: #ffffff !important;
	background: rgba(31, 214, 139, 0.08);
}

.kt-blog-toc-link.kt-is-active {
	color: #ffffff !important;
	background: rgba(31, 214, 139, 0.13);
	box-shadow: inset 0 0 0 1px rgba(31, 214, 139, 0.18);
}

.kt-blog-toc-link.kt-is-active::before {
	color: #1fd68b;
}

.kt-blog-toc-link.kt-is-active::after {
	content: "";
	position: absolute;
	left: 0;
	top: 13px;
	bottom: 13px;
	width: 3px;
	border-radius: 999px;
	background: #1fd68b;
	box-shadow: 0 0 16px rgba(31, 214, 139, 0.55);
}

/* Supprime l'ancien code de progress bar si présent */
.kt-blog-toc-footer,
.kt-blog-toc-progress,
.kt-blog-toc-progress-bar {
	display: none !important;
}

/* ===================================
KookiTrust Sidebar CTA
=================================== */

.kt-sidebar-cta {
	padding: 28px;
	border-radius: 22px;
	background: linear-gradient(
		180deg,
		rgba(13, 18, 24, 0.95),
		rgba(8, 11, 15, 0.9)
	);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	text-align: left;
}

.kt-sidebar-cta-logo {
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
}

.kt-sidebar-cta-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.kt-sidebar-cta-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(31, 214, 139, 0.1);
	color: #1fd68b;
	font-size: 12px;
	font-weight: 600;
}

.kt-sidebar-cta-title {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}

.kt-sidebar-cta-text {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.7;
}

.kt-sidebar-cta-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 52px;
	border-radius: 14px;
	background: #1fd68b;
	color: #08110f !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 700;
	transition: all 0.25s ease;
}

.kt-sidebar-cta-button:hover {
	transform: translateY(-2px);
	background: #2be99a;
	box-shadow: 0 12px 30px rgba(31, 214, 139, 0.3);
}

/* ===================================
Mobile
=================================== */

@media (max-width: 980px) {
	.article-content-ligne {
		display: flex;
		flex-direction: column-reverse;
	}

	#block-8 {
		position: relative;
		top: auto;
		width: 100%;
	}

	.kt-sidebar-cta {
		margin-top: 24px;
	}
}

/* ===================================
Caté Hero
=================================== */
/* Tags catégories Divi - style KookiTrust */
.cate-hero-article .et_pb_title_meta_container {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 !important;
	font-size: 0 !important;
	line-height: 1 !important;
}

.cate-hero-article .et_pb_title_meta_container a {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(34, 94, 255, 0.13);
	border: 1px solid rgba(34, 94, 255, 0.22);
	color: #8fb3ff !important;
	font-size: 11px !important;
	font-weight: 600;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: all 0.25s ease;
}

.cate-hero-article .et_pb_title_meta_container a:hover {
	background: rgba(34, 94, 255, 0.22);
	border-color: rgba(34, 94, 255, 0.38);
	color: #ffffff !important;
	transform: translateY(-1px);
}
/* ===================================
Details content Hero
=================================== */
.detail-article .et_pb_title_meta_container * {
	color: rgba(255, 255, 255, 0.78)!important;

}
.detail-article .et_pb_title_meta_container {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: rgba(255, 255, 255, 0.78)!important;

}
.kt-meta-separator {
	color: rgba(255, 255, 255, 0.35);
	margin: 0 8px;
}
.kt-reading-time {
	white-space: nowrap;
}

.kt-meta-separator {
	color: rgba(255, 255, 255, 0.35);
}

.kt-reading-time {
	color: rgba(255, 255, 255, 0.78);
	white-space: nowrap;
}

/* ===================================
Blog listing
=================================== */
.blog-listing .et_pb_salvattore_content{display:flex;gap:16px}
.blog-listing .et_pb_salvattore_content .column{display:flex;flex-direction:column;margin:0!important;gap:16px;flex:1}
.blog-listing .et_pb_salvattore_content .column article{margin:0!important;min-height:340px;height:auto;background:linear-gradient(180deg,rgba(13,18,24,.95),rgba(8,11,15,.9));border:1px solid rgba(255,255,255,.08);border-radius:22px;overflow:hidden;padding:0!important;transition:all .25s ease}
.blog-listing .et_pb_salvattore_content .column article:hover{transform:translateY(-4px);border-color:rgba(31,214,139,.22);box-shadow:0 24px 60px rgba(0,0,0,.35)}
.blog-listing .et_pb_salvattore_content .column article .et_pb_image_container{margin:0!important;overflow:hidden}
.blog-listing .et_pb_salvattore_content .column article .et_pb_image_container a{display:block;margin:0!important}
.blog-listing .et_pb_salvattore_content .column article img{display:block;width:100%;height:155px;max-height:155px;object-fit:cover;transition:transform .35s ease}
.blog-listing .et_pb_salvattore_content .column article:hover img{transform:scale(1.04)}
.blog-listing .et_pb_salvattore_content .column article .kt-card-tags{display:flex;flex-wrap:wrap;gap:7px;padding:18px 20px 0}
.kt-card-tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background-color: color-mix(in oklab,lab(66.9756% -58.27 19.5419)5%,transparent);border:1px solid rgba(34,94,255,.22);border-color:color-mix(in oklab, lab(66.9756% -58.27 19.5419) 25%, transparent);color:#34a853!important;font-size:11px;font-weight:600;line-height:1;text-decoration:none!important}
.blog-listing .et_pb_salvattore_content .column article .entry-title{padding:14px 20px 0;margin:0!important}
.blog-listing .et_pb_salvattore_content .column article .entry-title a{color:#fff!important;text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.blog-listing .et_pb_salvattore_content .column article .post-content{display:none;}
.blog-listing .et_pb_salvattore_content .column article .more-link{display:none!important}
.blog-listing .et_pb_salvattore_content .column article .post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px 0;margin:0!important;color:rgba(255,255,255,.66)!important;font-size:13px!important;line-height:1.2!important}
.blog-listing .et_pb_salvattore_content .column article .post-meta a{color:rgba(255,255,255,.78)!important;text-decoration:none!important;font-weight:500;transition:all 0.3s ease;}
.blog-listing .et_pb_salvattore_content .column article .post-meta a:hover{color:#1fd68b!important}
.blog-listing .kt-card-separator{color:rgba(255,255,255,.32)}
.blog-listing .kt-card-reading-time{color:#34a853;font-weight:600;white-space:nowrap;display:none;}
@media(max-width:980px){.blog-listing .et_pb_salvattore_content{flex-direction:column}.blog-listing .et_pb_salvattore_content .column article img{height:190px;max-height:190px}}
@media(max-width:767px){.blog-listing .et_pb_salvattore_content .column article .entry-title a{font-size:20px}}

/* Barre de recherche articles*/
.kt-blog-search{margin:0 0 0px}
.kt-blog-search input{width:100%;max-width:700px;height:38px;padding:0 22px;border-radius:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#fff;font-size:16px;outline:none}
.kt-blog-search input::placeholder{color:rgba(255,255,255,.45)}
.kt-blog-search input:focus{border-color:rgba(31,214,139,.45);box-shadow:0 0 0 4px rgba(31,214,139,.08)}

