html {
	scroll-behavior: smooth !important;
}

/* ============================================================
   COULEURS PERSONNALISÉES — MSN Batterie Solutions
   Jaune #FFBA00 / Noir #111111
   ============================================================ */

:root {
	--primary-color: #FFBA00;
	--primary-dark: #D99F00;
	--secondary-color: #111111;
	--dark-color: #000000;
}

/* ---- Texte ---- */
.text-color-primary,
html .text-color-primary,
html .text-primary {
	color: var(--primary-color) !important;
}

html .text-color-hover-primary:hover,
html .text-hover-primary:hover {
	color: var(--primary-color) !important;
}

/* ---- Fonds ---- */
.bg-color-primary,
html .bg-color-primary {
	background-color: var(--primary-color) !important;
}

/* ---- Boutons ---- */
.btn-primary {
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
	color: var(--secondary-color) !important;
	font-weight: 700 !important;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--primary-dark) !important;
	border-color: var(--primary-dark) !important;
	color: var(--secondary-color) !important;
	box-shadow: 0 0 0 0.2rem rgba(255, 186, 0, 0.35) !important;
}

/* ---- SVG fill ---- */
html .svg-fill-color-primary {
	fill: var(--primary-color) !important;
}

html .svg-fill-color-primary svg path,
html .svg-fill-color-primary svg rect,
html .svg-fill-color-primary svg line,
html .svg-fill-color-primary svg polyline,
html .svg-fill-color-primary svg polygon {
	fill: var(--primary-color) !important;
}

/* ---- Icônes featured ---- */
.icon-featured {
	color: var(--secondary-color) !important;
}

.icon-featured.bg-color-primary {
	background-color: var(--primary-color) !important;
	color: var(--secondary-color) !important;
}

.icon-featured.bg-color-grey {
	background-color: #f8f9fa !important;
	color: var(--primary-color) !important;
}

.icon-featured.text-color-primary {
	color: var(--primary-color) !important;
}

/* ---- Header sticky ---- */
#header .header-body {
	box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.55) !important;
}

@media (min-width: 992px) {
	html.sticky-header-enabled.sticky-header-active #header .header-nav.header-nav-links:not(.header-nav-light-text) nav > ul > li > a {
		color: #EDEDED;
	}
	html.sticky-header-enabled.sticky-header-active #header .header-nav.header-nav-links:not(.header-nav-light-text) nav > ul > li > a.nav-link.active {
		color: var(--primary-color);
	}
}

/* ---- Heading bar décorative ---- */
.custom-heading-bar {
	position: relative;
}

.custom-heading-bar:before {
	content: '';
	position: absolute;
	top: 50%;
	right: calc( 100% + 15px);
	width: 50px;
	border-top: 5px solid var(--primary-color);
	transform: translate3d(0, -50%, 0);
}

.custom-heading-bar.custom-heading-bar-right:before {
	right: auto;
	left: calc( 100% + 15px);
}

.custom-heading-bar.custom-heading-bar-with-padding {
	padding-left: 65px;
}

.custom-heading-bar.custom-heading-bar-with-padding:before {
	right: auto;
	left: 0;
}

/* ---- Témoignages ---- */
.client-testimonial p {
	position: relative;
	font-family: 'Playfair Display', serif;
	font-size: 20px;
}

.client-testimonial.client-testimonial-with-quotes p::before {
	color: var(--primary-color);
	display: block !important;
	left: -30px;
	top: -40px;
	content: "\201C";
	font-size: 60px;
	font-style: normal;
	line-height: 1;
	position: absolute;
}

/* ---- Star rating jaune ---- */
.star-rating .fas.fa-star {
	color: var(--primary-color) !important;
}

/* ---- Accordion dark theme ---- */
.accordion-button:not(.collapsed) {
	color: var(--primary-color) !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

.accordion-button:focus {
	box-shadow: none !important;
}

/* ---- Cartes services ---- */
.card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(255, 186, 0, 0.18) !important;
}

/* ---- featured-box-primary override ---- */
.featured-box.featured-box-primary .box-content .icon-featured {
	background-color: var(--primary-color) !important;
	color: var(--secondary-color) !important;
}

/* ---- Section barre sociale ---- */
.section.bg-primary a {
	color: var(--secondary-color) !important;
}

.section.bg-primary a:hover {
	opacity: 0.75;
}

/* ---- Bouton outline héro ---- */
.btn-outline-light {
	border-color: rgba(255,255,255,0.7) !important;
	color: #fff !important;
}

.btn-outline-light:hover {
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
	color: var(--secondary-color) !important;
}

/* ---- Responsive carousel nav ---- */
@media (max-width: 767px) {
	.owl-carousel.nav-style-4 .owl-nav .owl-prev {
		left: -10px;
	}
}
