/* Page Web SIG — alignée sur les pages internes (about, projets) */

body.page-sig-web {
	background-color: #f8f7f0;
}

.page-inner-bg {
	background-color: #f8f7f0;
}

/* Header opaque : le fond clair de la page ne transparaît plus sous la navbar */
body.page-sig-web .header-section-1 {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1100;
	background-color: var(--theme-color-3, #004540);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

body.page-sig-web .header-section-1 .header-bottom-layout-2 {
	background-color: var(--theme-color-3, #004540);
}

body.page-sig-web .header-section-1 .header-middle,
body.page-sig-web .header-section-1 .header-bar-3 {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	border-radius: 0;
}

body.page-sig-web .header-section-1 .header-middle {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Décalage sous le header fixe */
body.page-sig-web .sig-main {
	padding-top: 130px;
}

@media (max-width: 1199.98px) {
	body.page-sig-web .sig-main {
		padding-top: 100px;
	}
}

@media (max-width: 767.98px) {
	body.page-sig-web .sig-main {
		padding-top: 80px;
	}
}

.sig-intro-text {
	color: #5a6a7a;
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0;
}

.sig-intro-text a {
	color: var(--theme-color-2, #0d6efd);
	text-decoration: underline;
}

.sig-map-container {
	padding-left: 85px;
	padding-right: 85px;
}

@media (min-width: 1400px) and (max-width: 1700px) {
	.sig-map-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 1399.98px) {
	.sig-map-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 767.98px) {
	.sig-map-container {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.sig-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 0;
	min-height: 620px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991.98px) {
	.sig-layout {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		min-height: 520px;
	}
}

.sig-sidebar {
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 20px 16px;
	overflow-y: auto;
	max-height: 70vh;
}

@media (max-width: 991.98px) {
	.sig-sidebar {
		max-height: none;
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
	}
}

.sig-sidebar h3 {
	font-size: 0.95rem;
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #334155;
}

.sig-layer-group {
	margin-bottom: 16px;
}

.sig-layer-group-title {
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 8px;
	color: #0f172a;
}

.sig-layer-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	font-size: 0.875rem;
}

.sig-layer-item input[type="range"] {
	flex: 1;
	max-width: 80px;
}

.sig-map-wrap {
	position: relative;
	min-height: 620px;
}

@media (max-width: 991.98px) {
	.sig-map-wrap {
		min-height: 480px;
	}
}

#sig-map {
	width: 100%;
	height: 100%;
	min-height: 620px;
}

@media (max-width: 991.98px) {
	#sig-map {
		min-height: 480px;
	}
}

.sig-map-toolbar {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1000;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sig-map-toolbar button {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 0.8rem;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sig-map-toolbar button:hover {
	background: #f1f5f9;
}

.sig-coords {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.92);
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-family: monospace;
	border: 1px solid #e2e8f0;
}

.sig-loading,
.sig-error,
.sig-inactive {
	padding: 48px 24px;
	text-align: center;
}

.sig-error {
	color: #b91c1c;
	background: #fef2f2;
	border-radius: 8px;
}

.sig-inactive {
	color: #475569;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.sig-help {
	font-size: 0.8rem;
	color: #64748b;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
}

.sig-help ul {
	padding-left: 1.2rem;
	margin: 8px 0;
}

.sig-help a {
	color: #0d6efd;
}

/* Image breadcrumb : couvrir la zone */
body.page-sig-web .breadcrumb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
