/* =========================================================
   Intercrosse France — feuille de style principale
   Direction : institutionnel français, bleu marine dominant,
   accent rouge tricolore, typographie Bricolage Grotesque + Public Sans
   ========================================================= */

:root {
	--navy: #0e2a4e;
	--navy-deep: #081b33;
	--navy-soft: #1d4063;
	--bleu: #235a96;
	--rouge: #ce2f3c;
	--or: #c9a227;
	--paper: #f6f7f4;
	--white: #ffffff;
	--ink: #182433;
	--ink-soft: #51606f;
	--line: #d8dde1;
	--font-display: "Bricolage Grotesque", "Georgia", serif;
	--font-body: "Public Sans", "Helvetica Neue", sans-serif;
	--wrap: 1160px;
	--radius: 10px;
	--shadow: 0 18px 40px -22px rgba(8, 27, 51, 0.35);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	color: var(--navy);
	margin: 0 0 0.6em;
	letter-spacing: -0.015em;
}

h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rouge); }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.screen-reader-text {
	position: absolute !important;
	clip-path: inset(50%);
	width: 1px; height: 1px;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--navy);
	color: var(--white);
	padding: 0.6rem 1rem;
	z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Composants ---------- */

.eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rouge);
	margin-bottom: 0.75rem;
}
.eyebrow--light { color: #9fc1e8; }

.tricolore {
	display: inline-flex;
	gap: 0;
	height: 5px;
	width: 72px;
	margin-top: 0.25rem;
}
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: #1f4e92; }
.tricolore i:nth-child(2) { background: var(--white); border-block: 1px solid var(--line); }
.tricolore i:nth-child(3) { background: var(--rouge); }

.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.7rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--rouge); color: var(--white); }
.btn--accent:hover { background: #b32531; color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; }

.link-arrow {
	font-weight: 600;
	text-decoration: none;
	color: var(--navy);
}
.link-arrow::after {
	content: "→";
	margin-left: 0.4em;
	transition: margin-left 0.25s var(--ease);
}
.link-arrow:hover::after { margin-left: 0.75em; }

/* ---------- En-tête ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy-deep);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Le menu occupe toute la largeur de l'écran (on annule le max-width du .wrap). */
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 92px;
	max-width: none;
	padding-inline: clamp(1.25rem, 3vw, 3rem);
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--white);
	text-decoration: none;
}
.brand__mark { color: var(--white); display: grid; }
.brand__text { font-family: var(--font-display); line-height: 1.05; }
.brand__text strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.01em; }
.brand__text em {
	font-style: normal;
	font-size: 0.72rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: #9fc1e8;
}

.site-nav { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-end; }
.site-nav__list {
	display: flex;
	gap: clamp(1.25rem, 2.2vw, 2.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 500;
	padding-block: 0.35rem;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a { color: var(--white); border-bottom-color: var(--rouge); }

/* Bouton « Référencer mon club » mis en valeur. */
.site-nav__cta {
	font-size: 1.02rem;
	padding: 0.85rem 1.9rem;
	box-shadow: 0 8px 22px -8px rgba(206, 47, 60, 0.65), inset 0 0 0 0 rgba(255, 255, 255, 0.35);
	outline: 1px solid rgba(255, 255, 255, 0.25);
	outline-offset: 3px;
	white-space: nowrap;
}
.site-nav__cta:hover {
	transform: translateY(-2px) scale(1.03);
	outline-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0 12px 28px -8px rgba(206, 47, 60, 0.8);
}

.lang-switch {
	display: flex;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0.2rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
}
.lang-switch a {
	display: block;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch .current-lang a { background: var(--white); color: var(--navy-deep); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.75rem;
	cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: "";
	display: block;
	width: 26px;
	height: 2px;
	background: var(--white);
	transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before { position: absolute; top: -8px; }
.nav-toggle__bar::after { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute;
		inset: 92px 0 auto 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		background: var(--navy-deep);
		padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
		border-bottom: 3px solid var(--rouge);
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 0.75rem; }
}

/* ---------- Héros (accueil) ---------- */

.hero {
	position: relative;
	background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
	color: var(--white);
	overflow: hidden;
}

/* Filet de crosse stylisé en losanges */
.hero__net {
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(60deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 56px),
		repeating-linear-gradient(-60deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 56px);
	mask-image: radial-gradient(ellipse 90% 80% at 80% 20%, black 30%, transparent 75%);
}

.hero__inner {
	position: relative;
	padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
	max-width: 860px;
	margin-inline: 0;
	margin-left: max(calc((100% - var(--wrap)) / 2), 0px);
}

.hero__title {
	font-size: clamp(2.6rem, 6.5vw, 4.6rem);
	font-weight: 800;
	color: var(--white);
	margin-bottom: 0.4em;
}
.hero__title span { color: #9fc1e8; }

.hero__lede {
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, 0.82);
	max-width: 56ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero__stats {
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(8, 27, 51, 0.45);
	backdrop-filter: blur(4px);
}
.hero__stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
}
.stat {
	padding: 1.5rem 1.25rem;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stat:first-child { border-left: 0; }
.stat strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	color: var(--white);
}
.stat span { font-size: 0.85rem; color: #9fc1e8; }

@media (max-width: 760px) {
	.hero__stats-grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(odd) { border-left: 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tint { background: var(--white); border-block: 1px solid var(--line); }

.section__num {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--line);
	letter-spacing: 0.1em;
	margin-bottom: 0.25rem;
}
.section__num::after {
	content: "";
	display: inline-block;
	width: 48px;
	height: 1px;
	background: var(--rouge);
	vertical-align: middle;
	margin-left: 0.75rem;
}

.section__split {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.section__body { font-size: 1.1rem; }

.section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}
.section__head h2 { margin-bottom: 0; }

@media (max-width: 820px) {
	.section__split { grid-template-columns: 1fr; }
}

/* ---------- Valeurs ---------- */

.values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.value {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.75rem 1.5rem 1.5rem;
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__index {
	position: absolute;
	top: -1.4rem;
	right: -0.4rem;
	font-family: var(--font-display);
	font-size: 6rem;
	font-weight: 800;
	color: rgba(14, 42, 78, 0.06);
	line-height: 1;
	pointer-events: none;
}
.value h3 { margin-bottom: 0.4em; }
.value h3::before {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	background: var(--rouge);
	margin-bottom: 0.9rem;
}
.value p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 980px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Cartes club ---------- */

.club-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
@media (max-width: 980px) { .club-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .club-grid { grid-template-columns: 1fr; } }

.club-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--navy);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 1.4rem 1.5rem 1.25rem;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.club-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--rouge); }
.club-card.is-hidden { display: none; }

.club-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.9rem;
}
.club-card__pays {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bleu);
}
.club-card__type {
	font-size: 0.72rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.15rem 0.65rem;
	color: var(--ink-soft);
}
.club-card__name { margin-bottom: 0.15em; font-size: 1.2rem; }
.club-card__name a { color: var(--navy); text-decoration: none; }
.club-card__name a:hover { color: var(--rouge); }
.club-card__ville { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1rem; }
.club-card__foot {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	border-top: 1px dashed var(--line);
	padding-top: 0.85rem;
	font-size: 0.9rem;
}

/* ---------- Filtres annuaire ---------- */

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.25rem;
}
.filter-btn {
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink-soft);
	cursor: pointer;
	transition: all 0.2s;
}
.filter-btn span { opacity: 0.55; font-weight: 400; margin-left: 0.25em; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-btn.is-active span { opacity: 0.7; }

/* ---------- Bandeau CTA ---------- */

.cta-band {
	background: linear-gradient(120deg, var(--navy-deep), var(--navy));
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.cta-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(60deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 48px),
		repeating-linear-gradient(-60deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 48px);
	pointer-events: none;
}
.cta-band__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 56ch; }
.cta-band--inset {
	margin-top: 3.5rem;
	border-radius: var(--radius);
}
.cta-band--inset .cta-band__inner { padding: clamp(2rem, 4vw, 3rem); }

/* ---------- Actualités ---------- */

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.news-grid--archive { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .news-grid, .news-grid--archive { grid-template-columns: 1fr; } }

.news-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem 1.6rem 1.4rem;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card time {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rouge);
}
.news-card h2, .news-card h3 { font-size: 1.25rem; margin: 0.5rem 0 0.5rem; }
.news-card h2 a, .news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--rouge); }
.news-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- En-têtes de page internes ---------- */

.page-hero {
	background: linear-gradient(150deg, var(--navy-deep), var(--navy));
	color: var(--white);
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
	position: relative;
	overflow: hidden;
}
.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(60deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 48px),
		repeating-linear-gradient(-60deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 48px);
	mask-image: radial-gradient(ellipse 70% 100% at 85% 50%, black 20%, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__title {
	color: var(--white);
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 800;
	margin-bottom: 0.2em;
}

/* ---------- Prose (contenu de page) ---------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; font-size: 1.65rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
	margin: 1.5em 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-left: 3px solid var(--rouge);
	color: var(--ink-soft);
	font-style: italic;
}
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6em 0.9em; text-align: left; }
.prose th { background: var(--white); font-family: var(--font-display); }
.prose .wp-block-image { margin: 1.5em 0; }
.prose figcaption { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Fiche club ---------- */

.club-single__grid {
	display: grid;
	grid-template-columns: 7fr 4fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
@media (max-width: 820px) { .club-single__grid { grid-template-columns: 1fr; } }

.club-single__infos {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--rouge);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 1.75rem;
	position: sticky;
	top: 100px;
}
.club-single__infos h2 { font-size: 1.1rem; }
.club-single__infos dl { margin: 0 0 1.5rem; }
.club-single__infos dt {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-top: 0.9rem;
}
.club-single__infos dd { margin: 0.1rem 0 0; }

/* ---------- Galerie photos des clubs ---------- */

.club-gallery { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.club-gallery h2 { font-size: 1.35rem; }
.club-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-top: 1.25rem;
}
@media (max-width: 700px) { .club-gallery__grid { grid-template-columns: 1fr 1fr; } }

.club-gallery__item {
	display: block;
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--navy-deep);
}
.club-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--ease), opacity 0.3s;
}
.club-gallery__item:hover img { transform: scale(1.05); opacity: 0.85; }
.club-gallery__item::after {
	content: "⊕";
	position: absolute;
	inset: auto 0.6rem 0.5rem auto;
	color: var(--white);
	font-size: 1.2rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.3s;
}
.club-gallery__item:hover::after { opacity: 1; }

/* Visionneuse plein écran */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: rgba(8, 27, 51, 0.94);
	padding: clamp(1rem, 4vw, 3rem);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
	max-width: 100%;
	max-height: 82vh;
	border-radius: 6px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; text-align: center; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	color: var(--white);
	font-size: 1.5rem;
	line-height: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Formulaire ---------- */

.form-page__grid {
	display: grid;
	grid-template-columns: 4fr 7fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
@media (max-width: 880px) { .form-page__grid { grid-template-columns: 1fr; } }

.form-steps {
	counter-reset: etape;
	list-style: none;
	padding: 0;
	margin-top: 1.5rem;
}
.form-steps li {
	counter-increment: etape;
	position: relative;
	padding: 0 0 1.4rem 3.2rem;
}
.form-steps li::before {
	content: counter(etape, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -0.15rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--rouge);
}
.form-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	top: 1.8rem;
	bottom: 0.3rem;
	width: 1px;
	background: var(--line);
}

.form-page__form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: var(--shadow);
}
.form-page__form label {
	display: block;
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 0.35rem;
	color: var(--navy);
}
.form-page__form input[type="text"],
.form-page__form input[type="email"],
.form-page__form input[type="url"],
.form-page__form select,
.form-page__form textarea {
	width: 100%;
	font: inherit;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--paper);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.form-page__form input:focus,
.form-page__form select:focus,
.form-page__form textarea:focus {
	outline: none;
	border-color: var(--bleu);
	box-shadow: 0 0 0 3px rgba(35, 90, 150, 0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-page__rgpd { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1rem; }

.hp-field { position: absolute !important; left: -9999px; }

.notice {
	border-radius: 6px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}
.notice strong { display: block; font-family: var(--font-display); }
.notice--ok { background: #e8f4ea; border: 1px solid #9ec9a8; color: #1d5230; }
.notice--err { background: #fbeaec; border: 1px solid #e3a3aa; color: #8c1f2a; }

/* ---------- Pagination & navigation d'article ---------- */

.pagination-nav { margin-top: 3rem; }
.pagination-nav .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination-nav .page-numbers {
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	text-decoration: none;
	background: var(--white);
}
.pagination-nav .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.post-nav a { text-decoration: none; font-weight: 600; }

/* ---------- Pied de page ---------- */

.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.75);
	margin-top: 0;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 5fr 3fr 3fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__logo {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--white);
	margin-bottom: 0.5rem;
}
.site-footer__logo span { color: var(--rouge); }
.site-footer__brand p { font-size: 0.92rem; max-width: 42ch; }

.site-footer__nav h2 {
	color: var(--white);
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 0.55rem; }
.site-footer__list a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 0.95rem;
}
.site-footer__list a:hover { color: var(--white); text-decoration: underline; }

.site-footer__legal {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.82rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__top { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer__top:hover { color: var(--white); }

/* ---------- Révélation au défilement ---------- */

@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	}
	.reveal.is-visible { opacity: 1; transform: none; }
}
