/* TLS SERVICES — compléments (accessibilité, vidéo masquée) */
html {
	scroll-behavior: smooth;
}
/* Pages juridiques : lisibilité */
.tls-legal h2 {
	margin-top: 2.25rem;
	margin-bottom: 1rem;
	font-size: 1.35rem;
}
.tls-legal h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.65rem;
	font-size: 1.1rem;
}
.tls-legal p,
.tls-legal li {
	line-height: 1.65;
}
.tls-legal ul {
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}
#ftth, #ftto, #deploiement, #maintenance, #soudure, #stoc, #grille-tarifaire, #devis {
	scroll-margin-top: 100px;
}
.contact-info h2.tls-contact-phone-line {
	white-space: nowrap;
}
.tls-story .home-video .video-play {
	display: none !important;
}
.tls-video-static .play-btn {
	display: none !important;
}

/* Bloc « NOTRE ENGAGEMENT » : photo plein cadre + voile pour texte blanc */
.tls-video-static .bg-about-video {
	overflow: hidden;
}
.tls-video-static .bg-about-video img {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.tls-video-static .bg-about-video::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
	z-index: 1;
}
.tls-video-static .container-custom > .container {
	position: relative;
	z-index: 2;
}

/* Bandeau titre : voile sombre au-dessus du fond (image en inline style) */
.page-header.tls-header-darken::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	pointer-events: none;
	z-index: 0;
}
.page-header.tls-header-darken .container {
	position: relative;
	z-index: 1;
}

.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.tls-price-table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 1rem;
	background: #fff;
}
.tls-price-table th,
.tls-price-table td {
	padding: 12px 14px;
	border: 1px solid #e5e5e5;
	vertical-align: middle;
}
.tls-price-table thead th {
	background: #f5f5f5;
	font-weight: 600;
}

/* Hero (accueil uniquement — seule page avec .slider principal) : cadre fixe 16:9, pas de saut entre slides */
.slider .slider-item {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 85vh;
}
.slider .slider-item > img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}
/* Voile sombre pour lisibilité du texte */
.slider .slider-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
	z-index: 1;
}
/* Couche texte : pleine hauteur du slide (le thème plaçait .slider-content en absolute dans un parent à hauteur 0) */
.slider .slider-item > .container {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	padding-bottom: clamp(50px, 20vh, 240px);
	pointer-events: none;
}
.slider .slider-item .slider-content {
	position: relative !important;
	bottom: auto !important;
	left: auto;
	right: auto;
	width: 100%;
	margin-top: 0;
	margin-left: 0 !important;
	pointer-events: auto;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.slider .prev-nav,
.slider .next-nav {
	z-index: 3;
}
@media (max-width: 1400px) {
	.slider .slider-item > .container {
		padding-bottom: clamp(48px, 16vh, 160px);
	}
}
@media (max-width: 767px) {
	.slider .slider-item > .container {
		padding-bottom: clamp(40px, 14vh, 120px);
	}
}
@media (max-width: 576px) {
	.slider .slider-item > .container {
		padding-bottom: clamp(36px, 12vh, 90px);
	}
}

/* Tarifs : texte et prix visibles sans survol */
.project-feature-slider .project-item .inner .project-info {
	opacity: 1;
	visibility: visible;
	top: 0;
}

/* Bandeaux sombres : liens lisibles (évite a #03132b sur fond #03132b) */
.header-topbar .topbar-left a,
.footer-bottom .topbar-left a {
	color: rgba(255, 255, 255, 0.92);
}
.header-topbar .topbar-left a:hover,
.header-topbar .topbar-left a:focus,
.footer-bottom .topbar-left a:hover,
.footer-bottom .topbar-left a:focus {
	color: #ffd100;
}

.slider .slider-content .slider-main-title {
	color: #fff;
	margin-bottom: 35px;
	margin-top: 0;
	font-size: 2.25rem;
	line-height: 1.2;
	font-weight: 700;
}

@media (min-width: 992px) {
	.slider .slider-content .slider-main-title {
		font-size: 3rem;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
