/* G6M_FOOTER_UNIFY_V431
   Shared footer harmonization between site and forum.
   - Legal text: leave casing/typography to g6m-footer-legal-premium-v241.css
   - Cookie pill: responsive nowrap pill + shared spacing
   - Back-to-top: avoids overlap with cookie bar
*/

/* Legal box width — match forum (56rem) */
html body .g6m-footer-legal,
html#XF body .g6m-footer-legal {
	max-width: min(56rem, 100%) !important;
}

/* Site-only legal casing/spacing to match forum rendering */
html:not(#XF) body .g6m-footer-legal__line--primary,
html:not(#XF) body .g6m-footer-legal__line--primary .g6m-footer-legal__brand,
html:not(#XF) body .g6m-footer-legal__line--primary .g6m-footer-legal__rights {
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	font-size: 1rem !important;
}

html:not(#XF) body .g6m-footer-legal__version-badge {
	text-transform: uppercase !important;
	letter-spacing: 0.18em !important;
}

/* Site-only legal + cookie metrics — mirror g6m-site-footer-canonical-v375 (forum) */
html:not(#XF) body .g6m-site-footer .g6m-footer-legal,
html:not(#XF) body .g6m-site-footer .g6m-footer-legal--premium {
	padding: 28px 28px 24px !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	box-sizing: border-box !important;
	gap: 0 !important;
}

html:not(#XF) body .g6m-site-footer .g6m-footer-legal__line {
	margin: 8.8px auto 0 !important;
	max-width: 36rem !important;
	font-size: 12.8px !important;
	line-height: 1.7 !important;
}

html:not(#XF) body .g6m-site-footer .g6m-footer-legal__line:not(.g6m-footer-legal__line--primary) {
	font-family: Inter, Rajdhani, system-ui, sans-serif !important;
}

html:not(#XF) body .g6m-site-footer .g6m-footer-legal__line--primary {
	font-size: 16px !important;
	line-height: 1.5 !important;
	letter-spacing: 0.1em !important;
}

html:not(#XF) body .g6m-site-footer .g6m-footer-legal__line--muted {
	font-size: 11.84px !important;
}

html:not(#XF) body .g6m-site-footer .g6m-footer-legal__version {
	margin: 16.8px 0 0 !important;
	padding-top: 16.8px !important;
	font-family: Inter, Rajdhani, system-ui, sans-serif !important;
}

html:not(#XF) body .g6m-site-footer .g6m-footer-legal__version-badge {
	padding: 6.4px 17.6px !important;
	font-size: 11.2px !important;
	letter-spacing: 0.18em !important;
}

@media (max-width: 639px) {
	html:not(#XF) body .g6m-site-footer .g6m-footer-legal,
	html:not(#XF) body .g6m-site-footer .g6m-footer-legal--premium {
		padding: 28px 28px 24px !important;
		border-radius: 28px !important;
	}

	html:not(#XF) body .g6m-site-footer .g6m-footer-legal__line--primary {
		letter-spacing: 0.1em !important;
	}
}

/* —— Cookie pill unified —— */
html body .g6m-site-footer__cookies,
html#XF body .g6m-site-footer__cookies {
	flex-wrap: nowrap !important;
	gap: 18px !important;
	border-radius: 999px !important;
	padding: 10px 22px !important;
	min-height: 39px !important;
	height: 39px !important;
	box-sizing: border-box !important;
	line-height: 1.2 !important;
}

html body .g6m-site-footer__cookies-link,
html#XF body .g6m-site-footer__cookies-link {
	font-family: Inter, Rajdhani, system-ui, sans-serif !important;
	font-size: 11px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
}

/* —— Back-to-top clearance —— */
html body .g6m-back-to-top,
html#XF body .g6m-back-to-top,
html body #scroll-top,
html#XF body #scroll-top {
	bottom: 80px !important;
}

/* —— G6M_FOOTER_PARITE_V432 (23/08/2026) — parite site / forum ——
   Ecarts releves au comparateur, a 1920px, entre les deux pieds :

   1. COULEUR DU TEXTE. Le forum pose rgba(220,220,230,0.85) sur le pied ;
      le site, lui, n en posait aucune et heritait du blanc pur de son
      <body> (text-white). Tous les descendants suivaient : 13 blocs
      differaient pour cette seule raison.

   2. LIEN « COOKIES ». app.css — le bundle Tailwind du site, que le forum
      ne charge pas — impose min-height:24px a .g6m-site-footer__cookies-link.
      D ou 24px cote site contre 13px cote forum, dans une pastille qui fait
      pourtant 39px des deux cotes.

   Sans !important : cette feuille est chargee apres app.css, et les deux
   selecteurs ci-dessous sont plus specifiques que ceux qu ils corrigent. */
html body .g6m-site-footer,
html#XF body .g6m-site-footer {
	color: rgba(220, 220, 230, 0.85);
}

html:not(#XF) body .g6m-site-footer .g6m-site-footer__cookies-link {
	min-height: 0;
}
