/* ==========================================================================
   Site footer (footer.php) — the black of the approved header, gold accents, Red Hat Display.
   A closing band (logo, "Qui sommes nous?", newsletter) over faint tile joints, then links,
   contact and social networks, then the copyright line.
   ========================================================================== */

.sf {
	--sf-ink: #000;
	--sf-line: rgba(255, 255, 255, 0.12);
	--sf-text: rgba(255, 255, 255, 0.68);
	--sf-gold: #c99a3f;
	--sf-gold-soft: #e3c27a;
	--sf-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sf-head: "Red Hat Display", var(--o-heading, sans-serif);
	position: relative;
	overflow: hidden;
	padding-top: clamp(56px, 7vw, 96px);
	font-family: var(--o-body, Arial, sans-serif);
	color: var(--sf-text);
	background: var(--sf-ink);
	isolation: isolate;
}
.sf-wrap {
	width: min(1240px, 100% - 40px);
	margin-inline: auto;
}
.sf svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.sf a:focus-visible,
.sf button:focus-visible,
.sf input:focus-visible {
	outline: 2px solid var(--sf-gold);
	outline-offset: 3px;
}
/* Gold rule drawn across the top edge, and faint 60 × 60 tile joints. */
.sf::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--sf-gold) 30%, var(--sf-gold-soft) 50%, var(--sf-gold) 70%, transparent);
	transform: scaleX(var(--sf-rule, 1));
	transition: transform 1.6s var(--sf-ease);
}
.sf__joints {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 132px 132px,
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 132px 132px;
	mask-image: radial-gradient(70% 80% at 15% 0%, #000, transparent 75%);
	pointer-events: none;
}

/* ------------------------------------------------------------ Closing band */
.sf__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: end;
	gap: clamp(32px, 5vw, 96px);
	padding-bottom: clamp(40px, 5vw, 64px);
	border-bottom: 1px solid var(--sf-line);
}
.sf__logo {
	display: inline-block;
}
.sf__logo img {
	display: block;
	width: clamp(200px, 22vw, 300px);
	height: auto;
}
.sf__eyebrow {
	margin: clamp(26px, 3vw, 38px) 0 0;
	font-family: var(--sf-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--sf-gold-soft);
}
.sf__about {
	max-width: 34ch;
	margin: 10px 0 0;
	font-family: var(--sf-head);
	font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: #fff;
	text-wrap: balance;
}
.sf__nl-title {
	margin: 0 0 14px;
	font-family: var(--sf-head);
	font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
	font-weight: 700;
	line-height: 1;
	color: #fff;
}
.sf__nl-field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 20px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	transition: border-color 0.3s, background-color 0.3s;
}
.sf__nl-field:focus-within {
	border-color: var(--sf-gold-soft);
	background: rgba(255, 255, 255, 0.04);
}
.sf__nl-field input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 15px;
	color: #fff;
}
.sf__nl-field input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}
.sf__nl-field input:focus-visible {
	outline: none;
}
.sf__nl-field button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--sf-gold-soft);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #000;
	cursor: pointer;
	transition: background-color 0.25s;
}
.sf__nl-field button:hover {
	background: #fff;
}
.sf__nl-status {
	min-height: 1.4em;
	margin: 10px 0 0 20px;
	font-size: 14px;
	color: var(--sf-gold-soft);
}

/* ------------------------------------------------------------ Columns */
.sf__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	padding: clamp(40px, 5vw, 64px) 0;
}
.sf__title {
	margin: 0 0 18px;
	font-family: var(--sf-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
}
.sf__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 10px 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf__links a {
	position: relative;
	display: inline-block;
	padding: 4px 0;
	font-size: 15px;
	color: var(--sf-text);
	text-decoration: none;
	transition: color 0.25s;
}
.sf__links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--sf-gold-soft);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--sf-ease);
}
.sf__links a:hover {
	color: #fff;
}
.sf__links a:hover::after {
	transform: none;
}
.sf__contact {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf__contact li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 15px;
	line-height: 1.55;
}
.sf__contact small {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}
.sf__contact a {
	color: #fff;
	text-decoration: none;
	transition: color 0.25s;
}
.sf__contact a:hover {
	color: var(--sf-gold-soft);
}
.sf__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--sf-line);
	border-radius: 50%;
	color: var(--sf-gold-soft);
}
.sf__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* The original icons, on light discs so they read on black. */
.sf__socials a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.4s var(--sf-ease), background-color 0.25s, box-shadow 0.4s var(--sf-ease);
}
.sf__socials img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}
.sf__socials a:hover {
	background: var(--sf-gold-soft);
	box-shadow: 0 10px 24px -10px rgba(227, 194, 122, 0.6);
	transform: translateY(-3px);
}

/* ------------------------------------------------------------ Bottom line */
.sf__bottom {
	border-top: 1px solid var(--sf-line);
}
.sf__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	/* Room below for the fixed WhatsApp and back-to-top buttons, so they never cover the line. */
	padding: 22px 0 calc(88px + env(safe-area-inset-bottom));
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}
.sf__bottom-inner p {
	margin: 0;
}
.sf__bottom-inner a {
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}
.sf__bottom-inner a:hover {
	color: var(--sf-gold-soft);
}

/* Reveal, once (assets/js/footer.js) */
.sf-js {
	--sf-rule: 0;
}
.sf-js.is-in {
	--sf-rule: 1;
}
.sf-js [data-sf-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--sf-ease), transform 0.9s var(--sf-ease);
}
.sf-js [data-sf-reveal]:nth-child(2) {
	transition-delay: 0.08s;
}
.sf-js [data-sf-reveal]:nth-child(3) {
	transition-delay: 0.16s;
}
.sf-js.is-in [data-sf-reveal] {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1023px) {
	.sf__intro {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}
	.sf__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sf__grid > :last-child {
		grid-column: 1 / -1;
	}
}
@media (max-width: 599px) {
	.sf-wrap {
		width: calc(100% - 32px);
	}
	.sf__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.sf__nl-field {
		flex-wrap: wrap;
		padding: 6px;
		border-radius: 24px;
	}
	.sf__nl-field input {
		flex-basis: 100%;
		padding: 0 14px;
	}
	.sf__nl-field button {
		flex: 1;
		justify-content: center;
	}
	.sf__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sf *,
	.sf::before {
		transition: none !important;
	}
	.sf-js [data-sf-reveal] {
		opacity: 1;
		transform: none;
	}
	.sf-js {
		--sf-rule: 1;
	}
}
