/* ==========================================================================
   Harmonisation visuelle Batef Résine Extérieur (TaktikTech)
   Chargée en dernier : couleurs, typographie, boutons, bannières, mobile.
   Couleurs : bleu nuit du thème #0B141F, jaune des boutons #FFB600, orange du logo #ED9536
   ========================================================================== */
:root {
	--nuit: #0B141F;
	--jaune: #FFB600;
	--orange: #ED9536;
	--texte: #3a3a3a;
	--fond-clair: #f5f6f8;
}

/* ---------- Lecture : texte plus foncé, interligne confortable ---------- */
body {
	color: var(--texte);
	line-height: 1.7;
}
p, li {
	line-height: 1.75;
}
h1, h2, h3, h4,
.heading h2,
.text-service h2,
.text-service h3 {
	color: var(--nuit);
	font-family: 'Roboto', sans-serif;
	line-height: 1.3;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--jaune);
	outline-offset: 2px;
}

/* ---------- Boutons : un seul style partout, texte foncé lisible sur le jaune ---------- */
.btn-ca,
.btn-ca:visited,
.slider p.button a,
.contact-v1 .cform-1 .btn-success {
	background: var(--jaune) !important;
	color: var(--nuit) !important;
	border: 2px solid var(--jaune) !important;
	border-radius: 4px;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	letter-spacing: .3px;
	min-height: 46px;
	padding: 12px 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}
.btn-ca:hover,
.btn-ca:focus,
.slider p.button a:hover,
.contact-v1 .cform-1 .btn-success:hover {
	background: var(--nuit) !important;
	border-color: var(--nuit) !important;
	color: #fff !important;
}
.btn-ca-contour,
.btn-ca-contour:visited {
	background: transparent !important;
	color: var(--nuit) !important;
	border-color: var(--nuit) !important;
}
.btn-bloc {
	display: flex;
	width: 100%;
}

/* ---------- Bannières de page : même hauteur, titre lisible, fil d'Ariane ---------- */
.page-banner {
	padding-top: 70px;
	padding-bottom: 60px;
	background-position: center;
}
.page-banner .overlay {
	background: var(--nuit) !important;
	opacity: .65;
}
.banner-text h1 {
	font-size: 36px;
	margin-bottom: 10px;
	color: #fff !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.fil-ariane {
	color: #e8e8e8;
	font-size: 14px;
	margin: 0;
}
.fil-ariane a {
	color: #fff;
	text-decoration: underline;
}
.fil-ariane span {
	margin: 0 6px;
	color: var(--jaune);
}

/* ---------- Pages services ---------- */
.blog .post-item h1 {
	font-size: 30px;
}
.service-accroche {
	font-size: 19px;
	color: var(--nuit);
	font-weight: 500;
	border-left: 4px solid var(--jaune);
	padding: 4px 0 4px 16px;
	margin: 0 0 25px;
}
.image-holder-service img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 25px;
}
.blog .text-service {
	font-size: 17px;
	float: none !important;
}
.blog .image-holder-service {
	float: none !important;
}
.blog p,
.blog li,
.text-service p,
.text-service li,
.about-v2 p,
.about-v2 li {
	color: var(--texte);
}
.text-service h2 {
	font-size: 26px;
	margin: 35px 0 15px;
}
.text-service h3 {
	font-size: 21px;
	margin: 28px 0 12px;
}
.text-service ul,
.text-service ol {
	padding-left: 22px;
	margin-bottom: 20px;
}
.text-service li {
	margin-bottom: 8px;
}
.cta-service {
	clear: both;
	background: var(--nuit);
	color: #fff;
	border-radius: 8px;
	padding: 28px 30px;
	margin: 40px 0 10px;
}
.cta-service p {
	color: #e9ecef;
}
.cta-service .cta-service-titre {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}
.cta-service-boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 0;
}
.cta-service .btn-ca-contour {
	color: #fff !important;
	border-color: #fff !important;
}
.cta-service .btn-ca-contour:hover {
	background: #fff !important;
	color: var(--nuit) !important;
}

/* Colonne latérale : service en cours bien visible + carte contact */
.sidebar .widget ul li.actif a {
	color: var(--nuit) !important;
	font-weight: 700;
	border-left: 4px solid var(--jaune);
	padding-left: 10px;
}
.sidebar .widget ul li a {
	display: block;
	padding: 8px 0;
}
.widget-contact {
	background: var(--fond-clair);
	border-radius: 8px;
	padding-bottom: 15px;
}
.widget-contact p {
	padding: 0 15px;
	margin-bottom: 12px;
	font-size: 15px;
}
.widget-contact h4 {
	margin-bottom: 15px;
}

/* ---------- Page contact : coordonnées à côté du formulaire ---------- */
.contact-infos {
	background: var(--fond-clair);
	border-left: 4px solid var(--jaune);
	border-radius: 6px;
	padding: 22px 24px;
	margin-bottom: 25px;
}
.contact-infos p {
	margin-bottom: 12px;
	font-size: 16px;
}
.contact-infos .contact-infos-titre {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--nuit);
}
.contact-infos i {
	color: var(--orange);
	width: 20px;
}
.contact-infos a {
	color: var(--nuit);
	font-weight: 600;
}
.contact-v1 .form-control,
.wizard .form-control {
	min-height: 46px;
	font-size: 16px;
	border: 1px solid #cfd4da;
	border-radius: 4px;
}
.contact-v1 textarea.form-control {
	min-height: 140px;
}

/* ---------- Accueil ---------- */
.service-v1 .text h3 a {
	color: var(--nuit) !important;
}
.why-us-counter .title {
	text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

/* ---------- Barre d'action mobile (cachée sur ordinateur) ---------- */
.barre-mobile {
	display: none;
}

/* ---------- Tablette : le menu tient sur une seule ligne ---------- */
@media (min-width: 768px) and (max-width: 991px) {
	.sf-menu li a {
		padding-left: 10px !important;
		padding-right: 10px !important;
		font-size: 15px;
	}
	header .logo img {
		max-width: 160px;
		height: auto;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	/* Bandeau du haut réduit : seulement le téléphone, plus de réseaux sociaux vides */
	.top-bar .top-social {
		display: none;
	}
	.top-contact .list:first-child {
		display: none;
	}
	.top-contact .list a {
		display: inline-block;
		padding: 8px 0;
		font-size: 16px;
	}

	.banner-text h1 {
		font-size: 26px;
	}
	.page-banner {
		padding-top: 45px;
		padding-bottom: 40px;
	}
	.blog .post-item h1 {
		font-size: 24px;
	}
	.service-accroche {
		font-size: 17px;
	}
	.cta-service {
		padding: 22px 18px;
	}
	.cta-service-boutons .btn-ca {
		width: 100%;
	}

	/* Points forts : 2 par ligne au lieu d'un seul (page 2 à 3 fois moins longue) */
	.why-us-counter > [class*="col-md-"] {
		width: 50%;
		float: left;
		padding-left: 8px;
		padding-right: 8px;
	}
	.why-us-counter > [class*="col-md-"]:nth-child(2n+1) {
		clear: left;
	}
	.why-us-counter > [class*="col-md-"] > div:first-child {
		width: 110px !important;
		height: 110px !important;
		padding: 8px !important;
	}
	.why-us-counter svg {
		width: 100%;
		height: 100%;
	}
	.why-us-counter .title {
		font-size: 15px;
		line-height: 1.3;
		margin-top: 8px;
	}

	/* Zones tactiles confortables */
	.sidebar .widget ul li a,
	.footer-main a {
		display: inline-block;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	/* Barre d'action fixe en bas de l'écran */
	.barre-mobile {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .2);
	}
	.barre-mobile a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 56px;
		font-family: 'Roboto', sans-serif;
		font-weight: 700;
		font-size: 17px;
		text-decoration: none;
	}
	.barre-mobile-appel {
		background: var(--nuit);
		color: #fff !important;
	}
	.barre-mobile-devis {
		background: var(--jaune);
		color: var(--nuit) !important;
	}
	body {
		padding-bottom: 56px;
	}
	.whatsapp-button {
		bottom: 72px !important;
	}
	.scrollup {
		bottom: 72px !important;
	}
}
