/**
 * Footer Solar Reflect — navy #022b60 · orange #fbaf3f
 */
.wpcursor-component.wpcursor-footer-sr {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.78);
	--sr-line: rgba(255, 255, 255, 0.22);
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	background: var(--sr-navy);
	border-top: 3px solid var(--sr-orange);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	margin: 0;
	padding: 2.75rem 0 1.5rem;
	width: 100%;
}

.wpcursor-component.wpcursor-footer-sr *,
.wpcursor-component.wpcursor-footer-sr *::before,
.wpcursor-component.wpcursor-footer-sr *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__inner {
	margin: 0 auto;
	max-width: 84rem;
	padding: 0 var(--sr-pad);
	width: 100%;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__top {
	display: grid;
	gap: 2rem 1.5rem;
	grid-template-columns: 1fr;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__brand-name {
	color: var(--sr-white) !important;
	display: inline-block;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.15;
	margin: 0 0 0.85rem;
	text-decoration: none !important;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__tagline {
	color: var(--sr-muted);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 1.1rem;
	max-width: 18rem;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__contact {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.98rem;
	font-weight: 700;
	gap: 0.35rem;
	line-height: 1.3;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__contact:hover,
.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__contact:focus-visible {
	color: var(--sr-orange-hover) !important;
	gap: 0.55rem;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__col-title {
	color: var(--sr-orange) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0 0 0.9rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__list {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__list a {
	color: var(--sr-white) !important;
	font-size: 0.95rem;
	line-height: 1.4;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__list a:hover,
.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__list a:focus-visible {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__cta-wrap {
	align-items: flex-start;
	display: flex;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__cta {
	align-items: center;
	border: 2px solid var(--sr-orange);
	border-radius: 0.55rem;
	color: var(--sr-white) !important;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.45rem;
	justify-content: center;
	line-height: 1.25;
	padding: 0.8rem 1.15rem;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__cta:hover,
.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__cta:focus-visible {
	background: var(--sr-orange);
	border-color: var(--sr-orange);
	color: var(--sr-navy) !important;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__bottom {
	align-items: flex-start;
	border-top: 1px solid var(--sr-line);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: 2.25rem;
	padding-top: 1.15rem;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__copy {
	color: var(--sr-muted);
	font-size: 0.86rem;
	line-height: 1.4;
	margin: 0;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__legal a {
	color: var(--sr-muted) !important;
	font-size: 0.86rem;
	line-height: 1.4;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__legal a:hover,
.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__legal a:focus-visible {
	color: var(--sr-orange) !important;
}

/* Masquer le footer Astra / footer-site générique quand le footer SR est présent */
body:has(.wpcursor-footer-sr) #colophon,
body:has(.wpcursor-footer-sr) .site-footer,
body:has(.wpcursor-footer-sr) footer.site-footer,
body:has(.wpcursor-footer-sr) .ast-footer-overlay,
body:has(.wpcursor-footer-sr) .wpcursor-footer-site,
html:has(.wpcursor-footer-sr) #colophon,
html:has(.wpcursor-footer-sr) .site-footer {
	display: none !important;
}

/* Supprime la bande blanche Astra (#primary margin-bottom) avant le footer SR */
body:has(.wpcursor-footer-sr) #page {
	min-height: 0 !important;
}

body:has(.wpcursor-footer-sr) #page .site-content {
	flex-grow: 0 !important;
}

body:has(.wpcursor-footer-sr) #primary.content-area,
body:has(.wpcursor-footer-sr) #primary,
body:has(.wpcursor-footer-sr) .site-content > .ast-container {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

@media (min-width: 700px) {
	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.wpcursor-component.wpcursor-footer-sr {
		padding: 3.25rem 0 1.6rem;
	}

	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__top {
		align-items: start;
		grid-template-columns: minmax(14rem, 1.15fr) repeat(3, minmax(0, 0.85fr)) auto;
		gap: 1.75rem 1.75rem;
	}

	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__cta-wrap {
		justify-content: flex-end;
		padding-top: 0.15rem;
	}

	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__bottom {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__cta,
	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__contact,
	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__list a,
	.wpcursor-component.wpcursor-footer-sr .wpcursor-footer-sr__legal a {
		transition: none;
	}
}
