/* G2 Theme — chrome (header + footer + boutons + switcher). */

/* ---------- Accessibilité ---------- */
.g2-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--g2-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 10px 0;
	z-index: 100;
}
.g2-skip-link:focus { left: 0; }

/* ---------- Bouton dégradé (réutilisé) ---------- */
.g2-btn {
	display: inline-block;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.g2-btn--grad {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--g2-grad);
	padding: 11px 20px;
	border-radius: var(--g2-radius-pill);
	white-space: nowrap;
	transition: filter .15s ease;
}
.g2-btn--grad:hover { filter: brightness(1.06); }

/* ---------- Header ---------- */
.g2-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255,255,255,.86);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--g2-line);
}
.g2-header__inner {
	max-width: var(--g2-maxw);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 16px 28px;
}
.g2-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.g2-header__logo { width: 44px; height: auto; display: block; }
.g2-header__brand-text { line-height: 1.05; }
.g2-header__brand-name {
	display: block;
	font-weight: 800;
	font-size: 20px;
	color: var(--g2-ink);
	letter-spacing: -.01em;
}
.g2-header__brand-tagline {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--g2-faint);
	margin-top: 3px;
}
.g2-header__slogan {
	flex: 1;
	text-align: center;
	font-size: 16px;
	color: var(--g2-muted-2);
	margin: 0;
}
.g2-header__slogan-strike { text-decoration: line-through; opacity: .5; }
.g2-header__slogan-main { color: var(--g2-ink); font-weight: 600; }
.g2-header__right {
	display: flex;
	align-items: center;
	gap: 24px;
}

/* ---------- Switcher de langue ---------- */
.g2-langs {
	display: flex;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}
.g2-langs__item {
	color: var(--g2-placeholder);
	text-decoration: none;
	transition: color .15s ease;
}
.g2-langs__item:hover { color: var(--g2-accent); }
.g2-langs__item--current { color: var(--g2-accent); }

/* ---------- Footer ---------- */
.g2-footer { background: var(--g2-paper); border-top: 1px solid var(--g2-line); }
.g2-footer__inner { max-width: var(--g2-maxw); margin: 0 auto; padding: 40px 28px 30px; }
.g2-footer__cols {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
}
.g2-footer__brandcol { max-width: 300px; }
.g2-footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	text-decoration: none;
}
.g2-footer__brand-name { font-weight: 800; font-size: 17px; color: var(--g2-ink); }
.g2-footer__blurb { font-size: 14px; line-height: 1.6; color: var(--g2-muted); margin: 0; }
.g2-footer__linkgroups { display: flex; gap: 56px; flex-wrap: wrap; }
.g2-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.g2-footer__col-title { color: var(--g2-ink); font-weight: 700; margin-bottom: 3px; }
.g2-footer__col a { color: var(--g2-muted); text-decoration: none; transition: color .15s ease; }
.g2-footer__col a:hover { color: var(--g2-accent); }
.g2-footer__legal {
	margin-top: 34px;
	padding-top: 18px;
	border-top: 1px solid var(--g2-line);
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--g2-faint-2);
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
	.g2-header__inner { flex-wrap: wrap; gap: 14px; row-gap: 12px; }
	.g2-header__slogan { display: none; }
	.g2-header__right { width: 100%; justify-content: space-between; gap: 14px; }
	.g2-footer__cols { gap: 32px; }
}
