/*
 * SpringCard — feuille de styles principale.
 * Tokens de charte graphique officielle + transposition du prototype validé
 * (springcard-prototype-v3.html).
 *
 * Tailles de police en rem (base 16px = 1rem, héritée du navigateur) plutôt
 * qu'en px : ça respecte les réglages d'accessibilité de l'utilisateur
 * (zoom / taille de police système) au lieu de les ignorer.
 */

:root {
	--sc-rouge: #D80A1D;
	--sc-rouge-deep: #A30A17;
	--sc-rouge-tint: #FCE9EA;
	--sc-marine: #102C43;
	--sc-ardoise: #2C4D60;
	--sc-ink-soft: #3D5468;
	--sc-muted: #7A8894;
	--sc-paper: #FAFAFA;
	--sc-surface: #F1F4F6;
	--sc-line: #DEE3E7;
	--sc-line-strong: #C3CBD1;

	--sc-radius: 10px;
	--sc-mono: 'IBM Plex Mono', ui-monospace, monospace;
	--sc-heading: 'Nunito', sans-serif;
	--sc-body: 'Nunito', sans-serif;

	/* Hauteur réelle de .site-header (sticky), utilisée pour caler la nav
	   de gamme juste en dessous et pour le scroll-margin des ancres. */
	--sc-header-h: 65px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sc-paper);
	color: var(--sc-marine);
	font-family: var(--sc-body);
	line-height: 1.6;
	font-size: 1rem;
	overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
	font-family: var(--sc-heading);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.01em;
	color: var(--sc-marine);
}

.eyebrow {
	font-family: var(--sc-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sc-rouge);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}
.eyebrow::before {
	content: "";
	width: 14px;
	height: 1px;
	background: var(--sc-rouge);
	display: inline-block;
}

.rank-math-breadcrumb {
	padding-top: 18px;
}
.rank-math-breadcrumb p {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--sc-ardoise);
}
.rank-math-breadcrumb a {
	color: var(--sc-ardoise);
	text-decoration: none;
}
.rank-math-breadcrumb a:hover {
	color: var(--sc-rouge-deep);
	text-decoration: underline;
}
.rank-math-breadcrumb .separator {
	margin: 0 4px;
	color: var(--sc-line-strong);
}
.rank-math-breadcrumb .last {
	color: var(--sc-marine);
	font-weight: 600;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

/* Header & navigation */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 250, 250, 0.94);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--sc-line);
}
.header-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 16px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.logo { display: flex; align-items: center; }
.logo svg { height: 20px; width: auto; display: block; }
.logo a { display: flex; align-items: center; }

nav.mainnav { display: flex; gap: 4px; position: relative; }
nav.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
nav.mainnav li { position: relative; }
nav.mainnav a {
	font-family: var(--sc-body);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--sc-ink-soft);
	background: none;
	border: none;
	padding: 9px 14px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
}
nav.mainnav a:hover { background: var(--sc-surface); color: var(--sc-marine); }
nav.mainnav li.current-menu-item > a,
nav.mainnav li.current-menu-ancestor > a,
nav.mainnav li.current-menu-parent > a {
	color: var(--sc-rouge);
	background: var(--sc-rouge-tint);
}
nav.mainnav .caret { font-size: 0.6875rem; color: var(--sc-muted); transition: transform .15s; }
nav.mainnav [aria-expanded="true"] .caret { transform: rotate(180deg); }
nav.mainnav a:focus-visible,
.btn:focus-visible,
a:focus-visible {
	outline: 2px solid var(--sc-rouge);
	outline-offset: 2px;
}

.header-cta {
	font-family: var(--sc-body);
	font-weight: 700;
	font-size: 0.9375rem;
	color: #fff;
	background: var(--sc-rouge);
	padding: 9px 16px;
	border-radius: 8px;
	white-space: nowrap;
}
.header-cta:hover { background: var(--sc-rouge-deep); }

.navtoggle {
	display: none;
	background: none;
	border: 1px solid var(--sc-line-strong);
	border-radius: 8px;
	padding: 8px 10px;
	cursor: pointer;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-family: var(--sc-mono); font-size: 0.75rem; font-weight: 600; }
.lang-switch a { padding: 5px 7px; border-radius: 6px; color: var(--sc-muted); }
.lang-switch a:hover { color: var(--sc-marine); background: var(--sc-surface); }
.lang-switch a.active { color: var(--sc-marine); background: var(--sc-surface); }

.screen-reader-text:focus {
	position: static !important;
	clip: auto !important;
	width: auto; height: auto;
	display: inline-block;
	padding: 8px 14px;
	background: var(--sc-marine);
	color: #fff;
	border-radius: 6px;
	margin: 8px;
}

nav.mainnav .sub-menu {
	position: absolute;
	top: 44px;
	right: 0;
	background: #fff;
	border: 1px solid var(--sc-line);
	border-radius: 10px;
	padding: 6px;
	display: none;
	list-style: none;
	margin: 0;
	min-width: 170px;
	box-shadow: 0 8px 20px rgba(16, 44, 67, 0.08);
	flex-direction: column;
}
nav.mainnav .sub-menu.open { display: flex; }
nav.mainnav .sub-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 0.875rem; font-weight: 600; }
nav.mainnav .sub-menu a:hover { background: var(--sc-surface); color: var(--sc-marine); }

main { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

.section { padding: 56px 0; border-bottom: 1px solid var(--sc-line); }
.section:last-of-type { border-bottom: none; }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head p { color: var(--sc-muted); margin: 10px 0 0; }

.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) {
	.grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

.card {
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	padding: 20px;
	background: #fff;
	transition: border-color .15s, transform .15s;
	display: block;
}
.card:hover { border-color: var(--sc-rouge); transform: translateY(-2px); }
.card .ic {
	width: 32px; height: 32px; border-radius: 7px;
	background: var(--sc-rouge-tint); color: var(--sc-rouge-deep);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--sc-mono); font-size: 0.75rem; font-weight: 500; margin-bottom: 14px;
}
.card h3 { font-family: var(--sc-body); font-size: 1.0625rem; font-weight: 800; margin: 0 0 6px; }
.card p { color: var(--sc-muted); font-size: 0.9375rem; margin: 0; }
.card .go { display: inline-block; margin-top: 12px; font-size: 0.875rem; color: var(--sc-rouge-deep); font-weight: 700; }

/* Carrousel horizontal (ex. Secteurs en accueil) : mêmes cartes que .grid,
   défilement tactile/trackpad natif + boutons précédent/suivant en JS. */
.carousel-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 2px;
	scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card { flex: 0 0 260px; scroll-snap-align: start; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.carousel-btn {
	width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--sc-line); background: #fff; color: var(--sc-marine);
	font-size: 1rem; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: border-color .15s, color .15s;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--sc-rouge); color: var(--sc-rouge-deep); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) {
	.carousel-nav { display: none; }
}

.ghost {
	border: 1px dashed var(--sc-line-strong); background: transparent; display: flex; align-items: center;
	justify-content: center; text-align: center; color: var(--sc-muted); font-size: 0.875rem;
}

/* Contact Form 7 (page À propos) : le plugin ne fournit qu'un balisage
   minimal, on l'habille pour coller à la charte. */
.contact-card { max-width: 560px; }
.wpcf7-form label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--sc-marine); margin-bottom: 14px; }
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 480px) {
	.wpcf7-form .form-row { grid-template-columns: 1fr; }
}
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
/* CF7 met la classe "wpcf7-form-control" à la fois sur les vrais champs de
   saisie (input/textarea) et sur le conteneur des groupes radio/case à
   cocher — on ne doit habiller que les premiers, sinon les groupes héritent
   à tort d'une bordure/fond de champ texte vide. */
input.wpcf7-form-control,
textarea.wpcf7-form-control {
	width: 100%; font-family: var(--sc-body); font-size: 0.9375rem;
	padding: 10px 12px; border: 1px solid var(--sc-line); border-radius: 8px;
	background: #fff; color: var(--sc-marine);
}
input.wpcf7-form-control:focus-visible,
textarea.wpcf7-form-control:focus-visible { outline: 2px solid var(--sc-rouge); outline-offset: 1px; }
.wpcf7-form textarea.wpcf7-form-control { min-height: 120px; resize: vertical; }
.wpcf7-not-valid-tip { color: var(--sc-rouge-deep); font-size: 0.8125rem; font-weight: 600; margin-top: 4px; }
.wpcf7-form input[type="submit"] {
	font-family: var(--sc-body); font-weight: 700; font-size: 0.9375rem;
	color: #fff; background: var(--sc-rouge); border: none; border-radius: 8px;
	padding: 11px 22px; cursor: pointer; transition: background .15s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--sc-rouge-deep); }
.wpcf7-form input[type="submit"]:disabled { opacity: .6; cursor: default; }
.wpcf7-response-output {
	margin-top: 16px; padding: 10px 14px; border-radius: 8px; font-size: 0.875rem;
	border: 1px solid var(--sc-line); background: var(--sc-surface); color: var(--sc-ink-soft);
}
.wpcf7-form.sent .wpcf7-response-output { border-color: #2f9e44; background: #eefaf0; color: #1c6b30; }
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output { border-color: var(--sc-rouge); background: var(--sc-rouge-tint); color: var(--sc-rouge-deep); }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output { border-color: #e8a33d; background: #fdf3e3; color: #8a5a12; }
.wpcf7-acceptance .wpcf7-list-item { margin: 4px 0 0; }
.wpcf7-acceptance .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; cursor: pointer; }
.wpcf7-acceptance .wpcf7-list-item-label { font-size: 0.8125rem; color: var(--sc-ink-soft); line-height: 1.5; }
.wpcf7-acceptance input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--sc-rouge); }
.wpcf7-acceptance a { color: var(--sc-rouge-deep); font-weight: 600; }
.wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label { color: var(--sc-rouge-deep); }
.wpcf7-radio .wpcf7-list-item { display: block; margin: 0 0 8px; }
.wpcf7-radio .wpcf7-list-item label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.wpcf7-radio .wpcf7-list-item-label { font-size: 0.9375rem; color: var(--sc-marine); }
.wpcf7-radio input[type="radio"] { width: 16px; height: 16px; accent-color: var(--sc-rouge); }
.ghost:hover { transform: none; border-color: var(--sc-line-strong); }

.btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 9px;
	font-weight: 700; font-size: 0.9375rem; cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--sc-rouge); color: #fff; }
.btn-primary:hover { background: var(--sc-rouge-deep); }
.btn-ghost { border-color: var(--sc-marine); color: var(--sc-marine); background: #fff; }
.btn-ghost:hover { background: var(--sc-surface); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

.hero {
	position: relative;
	margin: 24px 0 48px;
	min-height: 72vh;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	background: var(--sc-marine);
}
@media (max-width: 860px) { .hero { min-height: 560px; } }
.hero-scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(100deg, rgba(16, 44, 67, .92) 0%, rgba(16, 44, 67, .75) 30%, rgba(16, 44, 67, .25) 58%, rgba(16, 44, 67, 0) 78%),
		linear-gradient(0deg, rgba(16, 44, 67, .78) 0%, rgba(16, 44, 67, 0) 42%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; width: 100%; padding: 64px 28px 40px; }
.hero-inner .eyebrow { color: #FFD9DC; }
.hero-inner .eyebrow::before { background: var(--sc-rouge); }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.08; margin-bottom: 16px; color: #fff; max-width: 780px; }
.hero p.lead { color: #CBD8DF; font-size: 1.125rem; max-width: 480px; margin: 0 0 26px; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.hero-visual {
	position: absolute;
	inset: 0;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual .bg-grid {
	position: absolute; inset: -20%; width: 140%; height: 140%;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 26px 26px;
	animation: gridDrift 14s linear infinite;
}
@keyframes gridDrift {
	0% { transform: translate(0, 0); }
	100% { transform: translate(26px, 26px); }
}
.hero-visual .sweep {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 30%, rgba(216, 10, 29, 0.16) 48%, transparent 66%);
	background-size: 250% 100%;
	animation: sweepMove 6s ease-in-out infinite;
}
@keyframes sweepMove {
	0% { background-position: 120% 0; }
	50% { background-position: -20% 0; }
	100% { background-position: 120% 0; }
}
.hero-visual .chip {
	position: absolute; top: 50%; left: 76%; transform: translate(-50%, -50%);
	width: 92px; height: 92px; background: var(--sc-paper); border: 2px solid var(--sc-rouge); border-radius: 12px;
	animation: chipPulse 3.2s ease-in-out infinite;
}
@media (max-width: 860px) {
	.hero-visual .chip { display: none; }
}
.hero-visual .chip::before, .hero-visual .chip::after {
	content: ""; position: absolute; top: 22px; bottom: 22px; width: 9px;
	background: repeating-linear-gradient(var(--sc-rouge) 0 4px, transparent 4px 10px);
}
.hero-visual .chip::before { left: -9px; }
.hero-visual .chip::after { right: -9px; }
@keyframes chipPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(216, 10, 29, 0.35); }
	50% { box-shadow: 0 0 0 14px rgba(216, 10, 29, 0); }
}

.stat-strip { display: flex; gap: 0; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; margin-top: 8px; }
.stat-strip > div { flex: 1; padding: 18px 20px; border-right: 1px solid var(--sc-line); }
.stat-strip > div:last-child { border-right: none; }
.stat-strip .ic { color: var(--sc-rouge-deep); font-family: var(--sc-mono); font-size: 0.75rem; margin-bottom: 8px; }
.stat-strip p { margin: 0; color: var(--sc-muted); font-size: 0.9375rem; }

.pillbar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.pillbar { display: flex; gap: 8px; flex-wrap: wrap; }
.pillbar button {
	font-family: var(--sc-mono); font-size: 0.8125rem; padding: 8px 14px; border-radius: 999px;
	border: 1px solid var(--sc-line-strong); background: #fff; color: var(--sc-ink-soft); cursor: pointer;
}
.pillbar button.active { background: var(--sc-marine); color: #fff; border-color: var(--sc-marine); }
.external-link {
	font-size: 0.8125rem; font-weight: 700; color: var(--sc-ardoise); white-space: nowrap;
	padding-left: 16px; border-left: 1px solid var(--sc-line-strong);
}
.external-link:hover { color: var(--sc-rouge-deep); }

table.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; }
table.compare th { background: var(--sc-marine); color: #fff; font-weight: 700; text-align: left; padding: 12px 16px; font-size: 0.9375rem; }
table.compare td { padding: 12px 16px; border-top: 1px solid var(--sc-line); font-size: 0.9375rem; }
table.compare tr td:first-child { color: var(--sc-muted); width: 34%; }
table.compare th:not(:first-child), table.compare td:not(:first-child) { text-align: center; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-rouge); margin: 0 1px; }

.cta-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	background: var(--sc-marine); color: #fff; border-radius: 14px; padding: 30px 32px; margin: 8px 0;
	position: relative; overflow: hidden;
}
.cta-banner::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 22px 22px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h3 { color: #fff; font-size: 1.1875rem; margin-bottom: 6px; }
.cta-banner p { color: #B7C4CD; margin: 0; font-size: 0.9375rem; }
.cta-banner .btn-primary:hover { background: var(--sc-rouge-deep); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps > div { padding: 0 18px; border-left: 1px solid var(--sc-line); }
.steps > div:first-child { border-left: none; padding-left: 0; }
.steps .num { font-family: var(--sc-mono); color: var(--sc-rouge-deep); font-size: 0.8125rem; margin-bottom: 8px; }
.steps h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.steps p { color: var(--sc-muted); font-size: 0.9375rem; margin: 0; }

.logos-track { display: flex; gap: 16px; width: max-content; animation: marquee 18s linear infinite; }
.logos-viewport {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-viewport:hover .logos-track { animation-play-state: paused; }
.logos-track div {
	width: 110px; height: 38px; border: 1px dashed var(--sc-line-strong); border-radius: 7px; flex-shrink: 0;
}
.logos-track img,
.logos-track a {
	height: 38px; width: auto; max-width: 140px; flex-shrink: 0;
	object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: opacity .15s, filter .15s;
}
.logos-track a:hover img,
.logos-track a:focus-visible img { filter: grayscale(0); opacity: 1; }
@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.case { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.case-img {
	width: 210px; height: 110px; border-radius: var(--sc-radius); background: var(--sc-surface); border: 1px solid var(--sc-line); flex-shrink: 0;
	display: flex; align-items: center; justify-content: center; color: var(--sc-muted); font-size: 0.8125rem;
	overflow: hidden;
}
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-body h3 { font-size: 1.125rem; margin-bottom: 4px; }
.case-body p { color: var(--sc-muted); font-size: 0.9375rem; margin: 0 0 10px; }

.site-footer { border-top: 1px solid var(--sc-line); margin-top: 12px; }
.footer-inner {
	max-width: 1160px; margin: 0 auto; padding: 32px 28px 24px; display: flex; justify-content: space-between;
	align-items: flex-start; color: var(--sc-muted); font-size: 0.875rem; flex-wrap: wrap; gap: 24px;
}
.footer-col { min-width: 160px; }
.footer-brand { max-width: 260px; }
.footer-logo svg { height: 18px; width: auto; display: block; margin-bottom: 10px; }
.footer-brand address { font-style: normal; line-height: 1.5; }
.footer-inner nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-inner nav a:hover { color: var(--sc-rouge-deep); }
.footer-social { display: flex; gap: 10px; align-items: flex-start; }
.footer-social a {
	display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
	border: 1px solid var(--sc-line-strong); border-radius: 8px; color: var(--sc-ink-soft);
}
.footer-social a:hover { background: var(--sc-rouge-tint); border-color: var(--sc-rouge); color: var(--sc-rouge-deep); }
.footer-social .dashicons { font-size: 17px; width: 17px; height: 17px; }
.footer-bottom {
	max-width: 1160px; margin: 0 auto; padding: 16px 28px 26px; border-top: 1px solid var(--sc-line);
	color: var(--sc-muted); font-size: 0.8125rem;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-legal a:hover { color: var(--sc-marine); }
@media (max-width: 640px) {
	.footer-inner { flex-direction: column; gap: 22px; }
}

.crumb { font-size: 0.875rem; color: var(--sc-muted); padding: 16px 0 0; font-family: var(--sc-mono); }
.crumb a { color: var(--sc-muted); }
.crumb a:hover { color: var(--sc-rouge-deep); }

.prose { color: var(--sc-ink-soft); max-width: 640px; font-size: 1.0625rem; line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; }
.prose h2 { font-size: 1.1875rem; margin: 28px 0 12px; }
.prose h2:first-child { margin-top: 0; }

.tag {
	display: inline-block; background: var(--sc-rouge-tint); color: var(--sc-rouge-deep); font-size: 0.8125rem; font-weight: 700;
	padding: 4px 10px; border-radius: 999px;
}
.tag-tech { background: #E9EEF1; color: var(--sc-ardoise); }
a.tag:hover { filter: brightness(0.96); }

/* Gabarits "single" (cas d'usage, article, article technique) : image
   d'en-tête, ligne méta, tags de secteurs/rubrique liés en bas de contenu. */
.single-hero-img {
	width: 100%; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden;
	background: var(--sc-surface); margin: 20px 0 28px;
}
.single-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-meta { display: flex; gap: 12px; align-items: center; color: var(--sc-muted); font-size: 0.875rem; margin-bottom: 4px; flex-wrap: wrap; }
.single-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }

/* Animations d'apparition au scroll */
.reveal {
	opacity: 0; transform: translateY(18px);
	transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
.grid .reveal:nth-child(1) { transition-delay: 0ms; }
.grid .reveal:nth-child(2) { transition-delay: 70ms; }
.grid .reveal:nth-child(3) { transition-delay: 140ms; }
.grid .reveal:nth-child(4) { transition-delay: 210ms; }
.grid .reveal:nth-child(5) { transition-delay: 280ms; }
.grid .reveal:nth-child(6) { transition-delay: 350ms; }
.steps .reveal:nth-child(1) { transition-delay: 0ms; }
.steps .reveal:nth-child(2) { transition-delay: 90ms; }
.steps .reveal:nth-child(3) { transition-delay: 180ms; }
.steps .reveal:nth-child(4) { transition-delay: 270ms; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
 * Page gamme (single-gamme.php) — hero plein cadre et sections associées
 * ------------------------------------------------------------------ */

.section.tight { padding: 40px 0; }
.section.surface { background: var(--sc-surface); }

.section-head-center { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.section-head-center p { color: var(--sc-muted); margin: 10px 0 0; }
.eyebrow-x {
	font-family: var(--sc-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--sc-rouge-deep); margin-bottom: 10px;
}

/* Nav rapide de gamme : sticky juste sous le header principal (lui-même sticky). */
.gamme-nav {
	position: sticky; top: var(--sc-header-h); z-index: 40;
	background: rgba(250, 250, 250, 0.92); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--sc-line);
}
.gamme-nav-inner {
	max-width: 1160px; margin: 0 auto; padding: 13px 28px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.gamme-nav-name { font-weight: 800; font-size: 0.9375rem; white-space: nowrap; }
.gamme-nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; color: var(--sc-ink-soft); }
.gamme-nav-links a { padding: 4px 0; border-bottom: 2px solid transparent; }
.gamme-nav-links a:hover { color: var(--sc-marine); border-color: var(--sc-rouge); }
.gamme-nav-cta { font-family: var(--sc-mono); font-size: 0.8125rem; color: var(--sc-ink-soft); white-space: nowrap; }
.gamme-nav-cta:hover { color: var(--sc-rouge-deep); }
@media (max-width: 760px) { .gamme-nav-links { display: none; } }

/* Ancres ciblées par la nav de gamme : décaler sous les deux barres sticky. */
#variantes, #comparer, #ressources { scroll-margin-top: calc(var(--sc-header-h) + 58px); }

.gamme-hero {
	position: relative; min-height: 72vh; display: flex; align-items: flex-end;
	margin: 24px 0 48px; border-radius: 16px;
	background: var(--sc-marine); overflow: hidden;
}
@media (max-width: 860px) { .gamme-hero { min-height: 560px; } }
.gamme-hero-media { position: absolute; inset: 0; background-size: cover; background-position: 72% 45%; }
.gamme-hero-scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(100deg, rgba(16,44,67,.96) 0%, rgba(16,44,67,.88) 24%, rgba(16,44,67,.4) 50%, rgba(16,44,67,.05) 70%, rgba(16,44,67,0) 84%),
		linear-gradient(0deg, rgba(16,44,67,.7) 0%, rgba(16,44,67,0) 32%);
}
.gamme-hero-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 64px 28px 40px; width: 100%; }
.crumb-on-dark, .crumb-on-dark a { color: #9FB2BF; }
.crumb-on-dark a:hover { color: #fff; }
.eyebrow-on-dark { color: #FFD9DC; }
.eyebrow-on-dark::before { background: var(--sc-rouge); }
.gamme-hero-title {
	font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.08; color: #fff; margin: 0 0 18px;
	letter-spacing: -0.02em; max-width: 780px;
}
.gamme-hero-lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: #CBD8DF; max-width: 480px; margin: 0 0 28px; line-height: 1.55; }
.gamme-hero .btn-row { margin-bottom: 36px; }
.gamme-hero .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.gamme-hero .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.gamme-hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 1px solid rgba(255,255,255,.16); max-width: 640px; }
.gamme-hero-facts > div { padding: 16px 18px 0 0; }
.gamme-hero-facts .k { font-family: var(--sc-mono); font-size: 0.8125rem; color: #fff; font-weight: 600; margin-bottom: 4px; }
.gamme-hero-facts .v { font-size: 0.875rem; color: #9FB2BF; }

/* Rangées feature (fabrication / bureau d'études) : image + texte en alternance. */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--sc-surface); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy .num { font-family: var(--sc-mono); color: var(--sc-rouge-deep); font-size: 0.8125rem; margin-bottom: 12px; letter-spacing: .04em; }
.feature-copy h3 { font-size: clamp(1.3125rem, 2.4vw, 1.6875rem); font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; line-height: 1.18; }
.feature-copy p { color: var(--sc-ink-soft); font-size: 1.0625rem; line-height: 1.6; max-width: 400px; margin: 0; }
@media (max-width: 860px) {
	.feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 22px; }
	.feature-row.reverse .feature-media { order: 0; }
}

/* Hero avec visuel produit détouré (ex. Bureau d'études) : texte + image incrustée
   dans un panneau sombre (plutôt que flottante sur la page), pour un rendu plus
   « produit » et éviter l'effet autocollant sur fond blanc. */
.hero-split { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-split-copy { flex: 1; min-width: 0; }
.hero-split-visual { flex: 1; display: flex; justify-content: center; min-width: 0; }
.hero-split-visual.reveal { transition-delay: 180ms; }
.hero-visual-panel {
	position: relative; overflow: hidden; width: 100%; max-width: 460px;
	background: var(--sc-marine); border-radius: 16px;
	display: flex; align-items: center; justify-content: center; padding: 40px;
}
.hero-visual-panel::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 22px 22px;
}
.hero-visual-panel img { position: relative; z-index: 1; max-width: 100%; width: 340px; height: auto; display: block; filter: drop-shadow(0 18px 28px rgba(0,0,0,.35)); }
@media (max-width: 860px) {
	.hero-split { flex-direction: column; }
	.hero-visual-panel { max-width: 100%; padding: 32px; }
	.hero-visual-panel img { width: 280px; }
}

/* Cartes "d'un coup d'œil" par variante. */
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.glance-card {
	background: #fff; border: 1px solid var(--sc-line); border-radius: 16px; overflow: hidden;
	display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.glance-card:hover { border-color: var(--sc-rouge); transform: translateY(-3px); box-shadow: 0 16px 32px -22px rgba(16,44,67,.4); }
.glance-media { aspect-ratio: 5/4; background: var(--sc-marine); position: relative; overflow: hidden; }
.glance-media img { width: 100%; height: 100%; object-fit: cover; }
.glance-placeholder { position: absolute; inset: 0; background: linear-gradient(160deg, var(--sc-marine), var(--sc-ardoise)); }
.tag-overlay {
	position: absolute; top: 14px; left: 14px; z-index: 1;
	font-family: var(--sc-mono); font-size: 0.75rem; letter-spacing: .03em; text-transform: uppercase;
	background: rgba(255,255,255,.94); color: var(--sc-marine); padding: 4px 10px; border-radius: 999px;
}
.glance-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.glance-body h3 { font-size: 1.1875rem; font-weight: 800; margin: 0; }
.glance-body p { color: var(--sc-muted); font-size: 0.9375rem; line-height: 1.55; margin: 0; flex: 1; }
.glance-body .go { font-size: 0.875rem; font-weight: 700; color: var(--sc-rouge-deep); margin-top: 2px; }
@media (max-width: 860px) { .glance-grid { grid-template-columns: 1fr; } }
.glance-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.glance-grid .reveal:nth-child(2) { transition-delay: 90ms; }
.glance-grid .reveal:nth-child(3) { transition-delay: 180ms; }

/* Tableau comparatif : défilement horizontal sur mobile + zébrage. */
.compare-scroll { overflow-x: auto; border-radius: var(--sc-radius); border: 1px solid var(--sc-line); }
.compare-scroll table.compare { border: none; border-radius: 0; min-width: 560px; }
.compare-scroll table.compare thead th { position: sticky; top: 0; }
.compare-scroll table.compare tbody tr:nth-child(even) { background: var(--sc-surface); }

@media (max-width: 760px) {
	nav.mainnav {
		position: absolute; top: 100%; left: 0; right: 0; background: var(--sc-paper); flex-direction: column;
		border-bottom: 1px solid var(--sc-line); padding: 8px; display: none;
	}
	nav.mainnav.open { display: flex; }
	nav.mainnav ul { flex-direction: column; width: 100%; }
	.navtoggle { display: block; }
	.header-cta { display: none; }
	.hero h1 { font-size: 1.875rem; }
	nav.mainnav .sub-menu { position: static; box-shadow: none; border: none; padding-left: 12px; }
}
