/**
 * Trimidi HSE — components.css v1.8 (Redesign Committed)
 *
 * Composants du site : header, boutons, hero, piliers, méthode,
 * tarifs, FAQ, CTA final, footer, drawer mobile.
 *
 * Discipline impeccable :
 *   - Anti-bans : aucun side-stripe, aucun gradient text, aucun glassmorphism,
 *     aucun hero "big number", aucune grille de cards identiques.
 *   - Rythme : listes typographiques numérotées, timelines, tables réelles.
 *   - Asymétries volontaires (ribbon hero, longueurs de filets).
 */

/* ════════════════════════════════════════════════════════════════════
   HEADER + LOGO + NAVIGATION DESKTOP
   ════════════════════════════════════════════════════════════════════ */

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	gap: var(--th-sp-5);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.site-logo img,
.site-logo__custom {
	height: 48px;
	width: auto;
	display: block;
}
.site-logo__text {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-xl);
	font-weight: 900;
	color: var(--th-primary);
	letter-spacing: -0.02em;
}
.site-logo__text span { color: var(--th-accent); }

/* Navigation primaire desktop */
.nav-primary {
	display: flex;
	gap: 28px;
	align-items: center;
}
.nav-primary a {
	color: var(--th-text-soft);
	text-decoration: none;
	font-size: var(--th-fs-sm);
	font-weight: 500;
	transition: color var(--th-transition);
}
.nav-primary a:hover { color: var(--th-primary); }
.nav-primary .current-menu-item > a,
.nav-primary .current_page_item > a { color: var(--th-primary); }

.nav-primary ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

/* Bouton CTA desktop dans le header */
.header-cta {
	margin-left: auto;
}

/* Bouton burger mobile — caché en desktop */
.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: var(--th-primary);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
	.nav-primary { display: none; }
	.header-cta__btn { display: none; }  /* le CTA déplacé dans le drawer */
	.menu-toggle { display: block; }
}

/* ════════════════════════════════════════════════════════════════════
   DRAWER MOBILE (préservé de v1.7.0 — fix iOS Safari)
   ════════════════════════════════════════════════════════════════════ */

.mobile-drawer {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(360px, 88vw);
	height: 100vh;
	background: var(--th-bg);
	box-shadow: -8px 0 24px oklch(0.20 0.04 250 / 0.15);
	z-index: 110;
	transition: right 0.3s var(--th-ease-out-quart);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 24px 24px 48px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.mobile-drawer.is-open { right: 0; }

.drawer-backdrop {
	position: fixed;
	inset: 0;
	background: oklch(0.20 0.04 250 / 0.5);
	z-index: 105;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--th-ease-out-quart);
}
.drawer-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

.drawer-close {
	align-self: flex-end;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: var(--th-text-soft);
}
.drawer-close svg { width: 24px; height: 24px; }

.drawer-nav { list-style: none; padding: 0; margin: 0; }
.drawer-nav li { border-bottom: 1px solid var(--th-border-soft); }
.drawer-nav a {
	display: block;
	padding: 16px 0;
	font-family: var(--th-font-display);
	font-size: var(--th-fs-lg);
	font-weight: 700;
	color: var(--th-text);
	text-decoration: none;
}

.drawer-cta {
	display: block;
	margin-top: auto;
}

/* ════════════════════════════════════════════════════════════════════
   BOUTONS
   ════════════════════════════════════════════════════════════════════ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.7em 1.4em;
	border-radius: var(--th-radius-full);
	font-family: var(--th-font);
	font-weight: 600;
	font-size: var(--th-fs-sm);
	text-decoration: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--th-transition), background var(--th-transition), color var(--th-transition);
	line-height: 1.2;
}

.btn--primary {
	background: var(--th-accent);
	color: var(--th-white);
}
.btn--primary:hover {
	background: var(--th-accent-dark);
	color: var(--th-white);
	transform: translateY(-1px);
	text-decoration: none;
}

.btn--ghost {
	background: transparent;
	color: var(--th-primary);
	border: 1.5px solid var(--th-primary);
}
.btn--ghost:hover {
	background: var(--th-primary);
	color: var(--th-bg);
	text-decoration: none;
}

.btn--ghost-light {
	background: transparent;
	color: var(--th-bg);
	border: 1.5px solid oklch(0.6 0.03 250);
}
.btn--ghost-light:hover {
	background: var(--th-bg);
	color: var(--th-primary-dark);
	text-decoration: none;
}

.btn--large { padding: 0.95em 1.8em; font-size: var(--th-fs-base); }
.btn--xl    { padding: 1.1em 2.2em; font-size: var(--th-fs-lg); font-weight: 700; }
.btn--block { display: flex; width: 100%; }

/* ════════════════════════════════════════════════════════════════════
   HERO — Committed navy + ribbon asymétrique + citation aside
   ════════════════════════════════════════════════════════════════════ */

.hero {
	background: var(--th-primary-dark);
	color: var(--th-bg);
	padding-top: clamp(80px, 10vw, 140px);
	padding-bottom: clamp(72px, 9vw, 120px);
	position: relative;
	overflow: hidden;
}

/* Ribbon asymétrique en bas (référence subtile au relief martiniquais) */
.hero::before {
	content: '';
	position: absolute;
	inset: auto -20% -10% -20%;
	height: 240px;
	background: var(--th-primary);
	clip-path: polygon(0 60%, 30% 30%, 65% 55%, 100% 25%, 100% 100%, 0 100%);
	opacity: 0.55;
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 64px;
	align-items: center;
}
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero .kicker { color: var(--th-accent); }
.hero .display { color: var(--th-bg); }
.hero .display em {
	font-style: italic;
	font-weight: 400;
	color: oklch(0.85 0.08 60);
}

.hero .lede {
	color: oklch(0.85 0.02 250);
	margin-top: 24px;
}

.hero-cta {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 40px;
	flex-wrap: wrap;
}

.hero-meta {
	display: flex;
	gap: 32px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid oklch(0.4 0.03 250);
	font-size: var(--th-fs-sm);
	color: oklch(0.78 0.02 250);
	flex-wrap: wrap;
}
.hero-meta > div { min-width: 140px; }
.hero-meta strong {
	color: var(--th-bg);
	font-weight: 600;
	display: block;
	font-size: var(--th-fs-base);
	margin-bottom: 2px;
}

/* Citation aside dans le hero (à droite) */
.hero-aside {
	position: relative;
	padding: 36px 32px;
	background: oklch(0.92 0.02 75);
	color: var(--th-text);
	font-family: var(--th-font-display);
}
.hero-aside::before {
	content: '\201C';  /* Guillemet ouvrant typographique */
	position: absolute;
	top: -24px;
	left: 24px;
	font-size: 96px;
	color: var(--th-accent);
	line-height: 1;
	font-family: var(--th-font-display);
}
.hero-aside p {
	font-size: var(--th-fs-lg);
	line-height: 1.45;
	font-style: italic;
	max-width: none;
}
.hero-aside .attribution {
	margin-top: 20px;
	font-family: var(--th-font);
	font-style: normal;
	font-size: var(--th-fs-sm);
	color: var(--th-text-soft);
}
.hero-aside .attribution strong { color: var(--th-text); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════
   LEGAL CALLOUT — fond chaud, bordure pleine (PAS de side-stripe)
   ════════════════════════════════════════════════════════════════════ */

.legal-banner {
	background: oklch(0.95 0.025 60);
	border: 1px solid oklch(0.88 0.04 60);
	padding: 24px 32px;
	margin: var(--th-space-block) auto;
	max-width: var(--th-container);
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 24px;
	align-items: center;
	border-radius: var(--th-radius-sm);
}
@media (max-width: 720px) {
	.legal-banner { grid-template-columns: 1fr; text-align: left; }
}
.legal-banner__icon {
	font-size: 32px;
	line-height: 1;
}
.legal-banner__text {
	color: var(--th-text);
	font-size: var(--th-fs-base);
	max-width: 60ch;
	margin: 0;
}
.legal-banner__text strong { color: oklch(0.45 0.18 30); }

/* ════════════════════════════════════════════════════════════════════
   SECTION PILIERS — Liste typographique numérotée (PAS de card-grid)
   ════════════════════════════════════════════════════════════════════ */

.pillars-header {
	text-align: center;
	margin-bottom: var(--th-space-block);
}

.pillars-list {
	list-style: none;
	max-width: var(--th-container-sm);
	margin: 0 auto;
	padding: 0;
}

.pillar {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 32px;
	padding: 40px 0;
	border-top: 1px solid var(--th-border);
	align-items: start;
}
.pillar:last-child { border-bottom: 1px solid var(--th-border); }

.pillar-num {
	font-family: var(--th-font-display);
	font-weight: 900;
	font-style: italic;
	font-size: var(--th-fs-3xl);
	color: var(--th-accent);
	line-height: 0.9;
}
.pillar h3 {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-xl);
	margin-bottom: 10px;
}
.pillar p {
	color: var(--th-text-soft);
	margin-bottom: 0;
	max-width: 60ch;
}

/* ════════════════════════════════════════════════════════════════════
   SECTION MÉTHODE — Timeline verticale
   ════════════════════════════════════════════════════════════════════ */

.method-header {
	max-width: var(--th-container-sm);
	margin: 0 auto var(--th-space-block);
	text-align: center;
}

.method-steps {
	position: relative;
	max-width: var(--th-container-sm);
	margin: 0 auto;
	padding-left: 40px;
	list-style: none;
}
.method-steps::before {
	content: '';
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 14px;
	width: 2px;
	background: var(--th-border);
}

.method-step {
	position: relative;
	padding: 12px 0 36px 36px;
}
.method-step::before {
	content: '';
	position: absolute;
	left: -39px;
	top: 16px;
	width: 16px;
	height: 16px;
	background: var(--th-primary);
	border-radius: 50%;
	border: 3px solid var(--th-paper-warm);
	box-shadow: 0 0 0 1px var(--th-primary);
}
.method-step:last-child::before {
	background: var(--th-accent);
	box-shadow: 0 0 0 1px var(--th-accent);
}
.method-step h3 {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-xl);
	color: var(--th-primary-dark);
	margin-bottom: 6px;
}
.method-step .step-meta {
	font-family: var(--th-font);
	font-size: var(--th-fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--th-accent);
	font-weight: 600;
	margin-bottom: 8px;
}
.method-step p {
	color: var(--th-text-soft);
	max-width: 55ch;
}

/* ════════════════════════════════════════════════════════════════════
   SECTION TARIFS — Table typographique (PAS de pricing cards)
   ════════════════════════════════════════════════════════════════════ */

.pricing-header {
	text-align: center;
	max-width: var(--th-container-sm);
	margin: 0 auto var(--th-space-block);
}

.pricing-promo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background: oklch(0.95 0.04 60);
	border: 1px solid oklch(0.85 0.07 60);
	border-radius: var(--th-radius-full);
	color: oklch(0.45 0.18 50);
	font-weight: 600;
	font-size: var(--th-fs-sm);
	margin-bottom: 16px;
}

.pricing-table {
	max-width: var(--th-container);
	margin: 0 auto;
	border-top: 2px solid var(--th-primary);
}

.pricing-row {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr auto;
	gap: 32px;
	padding: 32px 0;
	border-bottom: 1px solid var(--th-border);
	align-items: center;
}
@media (max-width: 800px) {
	.pricing-row {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 24px 0;
	}
}

.pricing-row__effectif {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-xl);
	font-weight: 700;
	color: var(--th-text);
}
.pricing-row__effectif small {
	display: block;
	font-family: var(--th-font);
	font-size: var(--th-fs-sm);
	font-weight: 400;
	color: var(--th-muted);
	margin-top: 2px;
}

.pricing-row__price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.pricing-row__price-strike {
	font-size: var(--th-fs-sm);
	color: var(--th-muted);
	text-decoration: line-through;
}
.pricing-row__price-promo {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-2xl);
	font-weight: 900;
	color: var(--th-primary);
	line-height: 1;
}
.pricing-row__price-promo span {
	font-family: var(--th-font);
	font-size: var(--th-fs-sm);
	font-weight: 500;
	color: var(--th-muted);
	margin-left: 4px;
}

.pricing-row__contains {
	color: var(--th-text-soft);
	font-size: var(--th-fs-sm);
}

.pricing-fine-print {
	text-align: center;
	margin-top: 32px;
	font-size: var(--th-fs-sm);
	color: var(--th-muted);
	max-width: var(--th-container);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--th-sp-5);
}

/* ════════════════════════════════════════════════════════════════════
   FAQ — Accordéons natifs <details>
   ════════════════════════════════════════════════════════════════════ */

.faq-list {
	max-width: var(--th-container-sm);
	margin: 0 auto;
}

details.faq-item {
	border-bottom: 1px solid var(--th-border);
	padding: 24px 0;
}
details.faq-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-family: var(--th-font-display);
	font-size: var(--th-fs-lg);
	font-weight: 700;
	color: var(--th-text);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
	content: '+';
	font-family: var(--th-font);
	font-size: var(--th-fs-2xl);
	font-weight: 400;
	color: var(--th-primary);
	transition: transform var(--th-transition);
	flex-shrink: 0;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item p {
	margin-top: 16px;
	color: var(--th-text-soft);
	max-width: 60ch;
}

/* ════════════════════════════════════════════════════════════════════
   CTA FINAL — Drenched navy
   ════════════════════════════════════════════════════════════════════ */

.cta-final {
	background: var(--th-primary-dark);
	color: var(--th-bg);
	text-align: center;
	padding: clamp(80px, 10vw, 140px) 0;
	position: relative;
	overflow: hidden;
}
.cta-final::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 80% 20%, oklch(0.32 0.08 250) 0%, transparent 60%);
	opacity: 0.6;
	pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final h2 {
	color: var(--th-bg);
	font-size: clamp(var(--th-fs-2xl), 5vw, var(--th-fs-4xl));
	max-width: 16ch;
	margin: 0 auto 24px;
}
.cta-final p {
	color: oklch(0.85 0.02 250);
	font-size: var(--th-fs-lg);
	max-width: 50ch;
	margin: 0 auto 40px;
}
.cta-final .btn--primary {
	padding: 1.1em 2.4em;
	font-size: var(--th-fs-lg);
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER — 4 colonnes navy
   ════════════════════════════════════════════════════════════════════ */

.site-footer {
	background: var(--th-primary-dark);
	color: oklch(0.78 0.02 250);
	padding: 64px 0 32px;
	font-size: var(--th-fs-sm);
	border-top: 1px solid oklch(0.32 0.04 250);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-base);
	color: var(--th-bg);
	margin-bottom: 16px;
	font-weight: 700;
}
.footer-grid a {
	color: oklch(0.78 0.02 250);
	text-decoration: none;
	display: block;
	padding: 4px 0;
}
.footer-grid a:hover { color: var(--th-bg); }
.footer-grid img { max-height: 44px; width: auto; }

.footer-baseline {
	border-top: 1px solid oklch(0.32 0.04 250);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	color: oklch(0.65 0.02 250);
}

/* ════════════════════════════════════════════════════════════════════
   SECTION HEADER GÉNÉRIQUE (utilisé par piliers, faq, etc.)
   ════════════════════════════════════════════════════════════════════ */

.section-header {
	text-align: center;
	max-width: var(--th-container-sm);
	margin: 0 auto var(--th-space-block);
}

/* Section dans une page (autre que home) */
.page-hero {
	background: var(--th-primary-dark);
	color: var(--th-bg);
	padding: clamp(64px, 8vw, 100px) 0;
	text-align: center;
}
.page-hero h1 { color: var(--th-bg); }
.page-hero .lede { color: oklch(0.85 0.02 250); margin: 16px auto 0; }

/* ════════════════════════════════════════════════════════════════════
   COMPATIBILITÉ HEADER + FOOTER + MOBILE-NAV existants (v1.7.x)
   ════════════════════════════════════════════════════════════════════ */

/* Conteneur header (alias de .wrap) */
.th-container {
	width: 100%;
	max-width: var(--th-container);
	margin: 0 auto;
	padding: 0 var(--th-sp-5);
}
.th-container--sm { max-width: var(--th-container-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	gap: var(--th-sp-5);
}

/* Navigation principale desktop (.main-nav ul li) */
.main-nav ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}
.main-nav a {
	color: var(--th-text-soft);
	text-decoration: none;
	font-size: var(--th-fs-sm);
	font-weight: 500;
	transition: color var(--th-transition);
}
.main-nav a:hover { color: var(--th-primary); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--th-primary); font-weight: 600; }

/* Header CTA group */
.header-cta {
	display: flex;
	align-items: center;
	gap: var(--th-sp-4);
}

/* Cart icon */
.header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--th-primary);
	text-decoration: none;
	padding: 8px;
}
.header-cart:hover { color: var(--th-accent); }
.header-cart__count {
	position: absolute;
	top: 2px;
	right: 0;
	background: var(--th-accent);
	color: var(--th-white);
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	opacity: 0;
	transition: opacity var(--th-transition);
}
.header-cart__count.is-active { opacity: 1; }

/* Boutons legacy (.th-btn) → alias des .btn */
.th-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.7em 1.4em;
	border-radius: var(--th-radius-full);
	font-family: var(--th-font);
	font-weight: 600;
	font-size: var(--th-fs-sm);
	text-decoration: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--th-transition), background var(--th-transition);
	line-height: 1.2;
}
.th-btn--accent {
	background: var(--th-accent);
	color: var(--th-white);
}
.th-btn--accent:hover {
	background: var(--th-accent-dark);
	color: var(--th-white);
	transform: translateY(-1px);
	text-decoration: none;
}
.th-btn--outline,
.th-btn--ghost {
	background: transparent;
	color: var(--th-primary);
	border: 1.5px solid var(--th-primary);
}
.th-btn--outline:hover,
.th-btn--ghost:hover {
	background: var(--th-primary);
	color: var(--th-bg);
	text-decoration: none;
}
.th-btn--sm { padding: 0.55em 1.1em; font-size: var(--th-fs-sm); }
.th-btn--lg { padding: 1.1em 2.2em; font-size: var(--th-fs-lg); font-weight: 700; }

/* Burger menu (.menu-toggle existant) */
.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--th-primary);
	border-radius: 1px;
	transition: transform var(--th-transition);
}

@media (max-width: 900px) {
	.main-nav { display: none; }
	.header-cta__btn { display: none; }
	.menu-toggle { display: flex; }
}

/* Mobile nav drawer (préservé de v1.7.0 — fix iOS Safari) */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(360px, 88vw);
	height: 100vh;
	background: var(--th-bg);
	box-shadow: -8px 0 24px oklch(0.20 0.04 250 / 0.15);
	z-index: 110;
	transition: right 0.3s var(--th-ease-out-quart);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 80px 24px 48px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.mobile-nav.is-open { right: 0; }

.mobile-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.mobile-nav li {
	border-bottom: 1px solid var(--th-border-soft);
}
.mobile-nav a {
	display: block;
	padding: 16px 0;
	font-family: var(--th-font-display);
	font-size: var(--th-fs-lg);
	font-weight: 700;
	color: var(--th-text);
	text-decoration: none;
}

.mobile-nav__cta {
	margin-bottom: 8px;
}

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: oklch(0.20 0.04 250 / 0.5);
	z-index: 105;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--th-ease-out-quart);
}
.mobile-nav-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* Footer (alias des nouvelles classes vers les anciennes du footer.php) */
.site-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 48px;
}
@media (max-width: 800px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__top { grid-template-columns: 1fr; } }

.site-footer h4 {
	font-family: var(--th-font-display);
	font-size: var(--th-fs-base);
	color: var(--th-bg);
	margin-bottom: 16px;
	font-weight: 700;
}
.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer ul li { padding: 4px 0; }
.site-footer ul a {
	color: oklch(0.78 0.02 250);
	text-decoration: none;
}
.site-footer ul a:hover { color: var(--th-bg); }

.site-footer__brand p {
	color: oklch(0.78 0.02 250);
	font-size: var(--th-fs-sm);
	max-width: 36ch;
}
.site-footer__brand a {
	color: oklch(0.78 0.02 250);
	text-decoration: none;
}
.site-footer__brand a:hover { color: var(--th-bg); }

.site-footer__bottom {
	border-top: 1px solid oklch(0.32 0.04 250);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	color: oklch(0.65 0.02 250);
	font-size: var(--th-fs-sm);
}
.site-footer__bottom a {
	color: oklch(0.65 0.02 250);
	text-decoration: none;
}
.site-footer__bottom a:hover { color: var(--th-bg); }

/* Sections "Pour qui ?" et autres legacy (.th-section, .th-card, .th-grid) */
.th-section { padding: var(--th-space-section) 0; }
.th-section--soft  { background: var(--th-paper-warm); }
.th-section--primary { background: var(--th-primary-dark); color: var(--th-bg); }
.th-section--primary h2 { color: var(--th-bg); }
.th-mb-6 { margin-bottom: var(--th-space-block); }
.th-text-center { text-align: center; }

.th-grid {
	display: grid;
	gap: var(--th-sp-6);
}
.th-grid--4 { grid-template-columns: repeat(4, 1fr); }
.th-grid--3 { grid-template-columns: repeat(3, 1fr); }
.th-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
	.th-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.th-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.th-grid--4 { grid-template-columns: 1fr; }
	.th-grid--2 { grid-template-columns: 1fr; }
}

.th-card {
	background: var(--th-white);
	border: 1px solid var(--th-border);
	border-radius: var(--th-radius-lg);
	padding: var(--th-sp-6);
	transition: transform var(--th-transition), box-shadow var(--th-transition);
}
.th-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--th-shadow-md);
}

/* Animations legacy */
.th-animate, .th-animate-stagger { opacity: 1; }
