/*---------------------------------------------------------------------------------
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.1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
------------------------------ ADDITIONAL CSS HERE ------------------------------*/
h1, h2, h3, h4, h5, h6{
	padding-bottom:0;
}
body {
	font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	background-color: #0b0716;
	color: #ffffff;
}
.gradient-text{
	background: linear-gradient(to right, #60a5fa, #b18cfd);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.text-gradient {
	background: linear-gradient(90deg, #b084f5 0%, #6bc0f5 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.text-gradient-custom{
	background: linear-gradient(to right, #22d3ee, #8b5cf6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
/*
 * Italique + background-clip:text : le glyphe dépasse à droite
 * et le clip coupe la dernière lettre (ex. le “s” de Univers).
 */
.gradient-text,
.text-gradient,
.text-gradient-custom,
.italic.text-gradient,
span.italic.text-gradient {
	display: inline-block;
	padding-right: 0.12em;
	margin-right: -0.06em; /* compense l’espace ajouté sans décaler trop la suite */
}
.glass-panel {
	background: rgba(30, 20, 50, 0.6);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-hero-glow {
	background: radial-gradient(circle at 50% 0%, rgba(85, 45, 145, 0.4) 0%, transparent 50%);
}
body.et-db .et_pb_row .et_pb_column.mx-auto-important{
	margin-right:auto!important;
	margin-left:auto!important;
}

.hero-ligne .et_pb_button_0_wrapper,
.hero-ligne .et_pb_button_1_wrapper {
	display: inline-block !important;
	float: none !important; /* On supprime le float qui casse le centrage */
	margin: 0 10px !important; /* Espacement horizontal entre les boutons */
	vertical-align: middle;
}
.hero-ligne .et_pb_button_0_wrapper > a:after,
.hero-ligne .et_pb_button_1_wrapper > a:after {
	position:relative!important;
	margin-left:0.6rem!important;
}
.btn-ligne:after,
.btn-ligne:after,
.appel-action-accueil a.et_pb_button:after{
	position:relative!important;
	margin-left:0.6rem!important;
}

@media screen and (max-width: 639px) {

	.hero-ligne .et_pb_button_0_wrapper,
	.hero-ligne .et_pb_button_1_wrapper {
		display: block !important;
		margin: 10px auto !important; /* Les empile et les centre individuellement */
		width: 100%;
	}
	.hero-ligne .et_pb_button_0_wrapper > a,
	.hero-ligne .et_pb_button_1_wrapper > a {
		width: 100%;
	}

}
.texte-module-flex .et_pb_text_inner{
	display:flex;
	flex-direction:column;
}
.bascule-faq{
	padding:0 !important;
	overflow: hidden;
}
.bascule-faq .et_pb_toggle_title{
	padding:1.05rem 3rem 1.05rem 1.2rem;
	font-weight:600;
}
.bascule-faq .et_pb_toggle_title:before{
	right: 1.1rem !important;
	top: 50% !important;
	margin-top: 0 !important;
	transform: translateY(-50%) !important;
	line-height: 1 !important;
}
.bascule-faq .et_pb_toggle_content{
	padding:0 1.2rem 1.15rem;
}


/* Lien nav : espace sous le texte pour le trait */
#menu-newheader li a {
	position: relative;
	display: inline-block;
	overflow: visible;
	padding-bottom: 0.4rem;
}

/* Trait gradient : largeur 0 → 100% */
#menu-newheader li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #22d3ee, #a855f7);
	transform: none;
	transition: width 0.3s ease;
}

#menu-newheader li a:hover::after,
#menu-newheader li.current-menu-item > a::after,
#menu-newheader li.current_page_item > a::after {
	width: 100%;
}
.glass-card{
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (min-width: 1024px) {
	.lg\:w-64 {
		width: 16rem!important;
	}
}
.w-100{width:100%!important;}
.p-0{padding:0!important;}
.m-0{margin:0!important;}

/* Blurbs “resume” : icône + titre sur la même ligne */
.resume-support-nav .et_pb_blurb_content{
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem;
}
.resume-support-nav .et_pb_blurb_content .et_pb_main_blurb_image{
	margin: 0 !important;
	float: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center;
	width: fit-content;
	flex-shrink: 0;
	line-height: 0;
}
.resume-support-nav .et_pb_image_wrap,
.resume-support-nav .et-pb-icon{
	display: flex !important;
	align-items: center !important;
	justify-content: center;
	line-height: 1 !important;
	margin: 0 !important;
}
.resume-support-nav .et_pb_blurb_content .et_pb_blurb_container{
	padding-left: 0 !important;
	display: flex !important;
	align-items: center !important;
}
.resume-support-nav .et_pb_blurb_description,
.resume-support-nav .et_pb_blurb_description p,
.resume-support-nav .et_pb_module_header,
.resume-support-nav h4{
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.25 !important;
}
.resume-support-nav{
	transition:all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.resume-support-nav:hover {
	background-color:#413257;
}
.resume-support-nav:hover .et_pb_main_blurb_image .et_pb_image_wrap .et-waypoint, .resume-support-nav:hover .et_pb_blurb_container .et_pb_blurb_description{
	color:#b18cfd;
}
/*======================
* HEADER
* */
#header-ligne{
	display:flex;
	align-items:center;
	justify-content:center;
}
#btn-colonne{
	display:flex;
	width: fit-content;
	align-items: center;
	gap: 10px;
}
#btn-colonne > .et_pb_module{
	display:flex;
}
#btn-colonne > .et_pb_module > a{
	display:flex;
}

/* Header/footer chrome: see tunalika-chrome.css (cache-busted enqueue) */

/*======================
* Barre de recherche
* */
.custom-search-wrapper {
	position: relative;
	width: 100%;
	max-width: 400px;
}

.search-input-container {
	display: flex;
	align-items: center;
	background-color: #281447; /* Ton violet */
	border-radius: 30px;
	padding: 5px 15px;
	position: relative;
}

.search-icon {
	display: flex;
	margin-right: 10px;
	width: 14px;
}

#ajax-search-input {
	width: 100%;
	min-width:180px;
	background: transparent !important;
	border: none !important;
	color: white !important;
	font-size: 14px;
	padding: 10px 0 !important;
	outline: none !important;
}

#ajax-search-input::placeholder {
	color: rgba(255, 255, 255, 0.8);
}

/* Liste des résultats AJAX */
.search-results-list {
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	z-index: 9999;
	display: none; /* Caché par défaut */
	max-height: 300px;
	overflow-y: auto;
}

.search-result-item {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	display: block;
	color: #333;
	text-decoration: none;
	transition: background 0.2s;
}

.search-result-item:hover {
	background: #f4f4f4;
}

.search-result-item:last-child { border: none; }

/*======================
* Formulaire de contact
* */
.form-support .et_pb_contact_form.clearfix,
.form-support .et_pb_contact_form {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}
.form-support .et_pb_contact_form > p,
.form-support .et_pb_contact_field {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.form-support .et_contact_bottom_container{
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.form-support .et_contact_bottom_container button.et_pb_contact_submit {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/*======================
* Librairie — cartes thématiques
* */
.lib-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.lib-card:hover {
	transform: translateY(-4px);
	border-color: rgba(177, 140, 253, 0.35);
	background: rgba(255, 255, 255, 0.05);
}
.lib-card .et_pb_image_wrap img,
.lib-card .et_pb_module_inner img {
	border-radius: 16px;
	width: 100%;
	height: auto;
	display: block;
}
.lib-cat {
	margin: 0 0 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #22d3ee;
}
.lib-card h3 {
	margin: 0 0 0.5rem;
	color: #fff;
}
.lib-card p:not(.lib-cat) {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	line-height: 1.5;
}