/* ==========================================================================
   TCGO : feuille de style principale
   --------------------------------------------------------------------------
   1. Variables
   2. Base
   3. Mise en page
   4. Typographie et éléments communs
   5. Boutons, pastilles, formulaires
   6. En-tête
   7. Panneaux (menu, recherche, panier)
   8. Accueil
   9. Journal et articles
   10. Pages, recherche, 404, commentaires
   11. Contenu éditorial (blocs)
   12. Pied de page
   13. Squelettes de chargement
   14. Accessibilité et mouvement
   ========================================================================== */

/* 1. Variables
   ========================================================================== */

@property --holo-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

:root {
	--c-ink: #08080a;
	--c-carbon: #111114;
	--c-graphite: #1a1a1f;
	--c-slate: #24242a;
	--c-steel: #8a8a94;
	--c-mist: #b9b9c1;
	--c-paper: #f3f2ef;
	--c-white: #ffffff;
	--c-volt: #f2d64b;
	--c-green: #5ad19a;
	--c-amber: #f0b45a;
	--c-red: #ff6b6b;

	--c-line: rgba(255, 255, 255, 0.075);
	--c-line-strong: rgba(255, 255, 255, 0.14);
	--c-hover: rgba(255, 255, 255, 0.05);
	--c-text-soft: #d6d5d1;

	--holo: conic-gradient(from var(--holo-angle), #7fe3ff, #a98bff, #ff8fcf, #ffd98a, #8cf5b4, #7fe3ff);

	--f-sans: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--fs-display: clamp(2.6rem, 1.55rem + 4.4vw, 5.4rem);
	--fs-h1: clamp(2.2rem, 1.5rem + 2.8vw, 3.9rem);
	--fs-h2: clamp(1.8rem, 1.3rem + 2vw, 3rem);
	--fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);

	--gutter: clamp(16px, 4vw, 40px);
	--container: 1360px;
	--section: clamp(72px, 9vw, 136px);

	--r-s: 8px;
	--r-m: 12px;
	--r-l: 18px;
	--r-xl: 24px;

	--header-h: 68px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--shadow-l: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--c-line);
}

/* 2. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
	color-scheme: dark;
}

body {
	margin: 0;
	background: var(--c-ink);
	color: var(--c-paper);
	font-family: var(--f-sans);
	font-size: 1rem;
	line-height: 1.6;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

::selection {
	background: var(--c-paper);
	color: var(--c-ink);
}

hr {
	border: 0;
	border-top: 1px solid var(--c-line);
	margin: 3rem 0;
}

/* 3. Mise en page
   ========================================================================== */

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.site-content {
	min-height: 60vh;
}

.section {
	padding-block: var(--section);
}

.section--tight {
	padding-block: clamp(40px, 5vw, 72px) var(--section);
}

.section + .section {
	padding-top: 0;
}

/* 4. Typographie et éléments communs
   ========================================================================== */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	margin: 0 0 1.1rem;
	font-family: var(--f-mono);
	font-size: 0.72rem;
	font-weight: 450;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.eyebrow__index {
	color: var(--c-paper);
}

.eyebrow__index::after {
	content: "/";
	margin-left: 0.6em;
	color: var(--c-slate);
}

.eyebrow--live .pulse {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c-volt);
}

.eyebrow--live .pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--c-volt);
	opacity: 0;
	animation: tcgo-pulse 2.4s var(--ease) infinite;
}

@keyframes tcgo-pulse {
	0% {
		transform: scale(0.5);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

.section-head {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 0 2rem;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head .eyebrow {
	grid-column: 1 / -1;
}

.section-head__title {
	font-size: var(--fs-h2);
	letter-spacing: -0.04em;
	line-height: 1.02;
	max-width: 18ch;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: var(--c-mist);
	white-space: nowrap;
	transition: color 0.2s, gap 0.3s var(--ease);
}

.link-arrow:hover {
	color: var(--c-paper);
	gap: 0.75rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--c-paper);
	color: var(--c-ink);
	border-radius: var(--r-s);
	font-weight: 500;
}

.avatar {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--c-slate), var(--c-graphite));
	box-shadow: inset 0 0 0 1px var(--c-line-strong);
	font-family: var(--f-mono);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.avatar--sm {
	width: 28px;
	height: 28px;
	font-size: 0.7rem;
}

.badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}

.badge {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border-radius: 6px;
	background: rgba(8, 8, 10, 0.72);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: inset 0 0 0 1px var(--c-line-strong);
	font-family: var(--f-mono);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-paper);
}

.badge--preorder {
	background: var(--c-volt);
	box-shadow: none;
	color: var(--c-ink);
}

.badge--sale {
	background: var(--c-paper);
	box-shadow: none;
	color: var(--c-ink);
}

.badge--soldout {
	color: var(--c-steel);
}

.availability {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--f-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-mist);
	white-space: nowrap;
}

.availability::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-green);
	box-shadow: 0 0 0 3px rgba(90, 209, 154, 0.14);
}

.availability--low::before {
	background: var(--c-amber);
	box-shadow: 0 0 0 3px rgba(240, 180, 90, 0.14);
}

.availability--preorder::before {
	background: var(--c-volt);
	box-shadow: 0 0 0 3px rgba(242, 214, 75, 0.14);
}

.availability--out {
	color: var(--c-steel);
}

.availability--out::before {
	background: var(--c-steel);
	box-shadow: none;
}

.spec-list {
	margin: 0;
	border-top: 1px solid var(--c-line);
}

.spec-list__row {
	display: grid;
	grid-template-columns: minmax(96px, 38%) 1fr;
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 0.9rem;
}

.spec-list dt {
	font-family: var(--f-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-steel);
	padding-top: 0.2em;
}

.spec-list dd {
	margin: 0;
	color: var(--c-paper);
}

.spec-list--compact .spec-list__row {
	padding: 0.55rem 0;
	font-size: 0.85rem;
}

/* 5. Boutons, pastilles, formulaires
   ========================================================================== */

.button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 46px;
	padding: 0 1.4rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-sans);
	font-size: 0.94rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--c-white);
	color: var(--c-ink);
	box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35);
}

.button:active {
	transform: translateY(1px) scale(0.99);
}

.button .tcgo-icon {
	transition: transform 0.3s var(--ease);
}

.button:hover .tcgo-icon--arrow-right {
	transform: translateX(3px);
}

.button--ghost,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--c-line-strong);
	color: var(--c-paper);
}

.button--ghost:hover,
.is-style-outline > .wp-block-button__link:hover {
	background: var(--c-hover);
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--c-paper);
	box-shadow: none;
}

.button--lg {
	min-height: 54px;
	padding: 0 1.75rem;
	font-size: 1rem;
}

.button--sm {
	min-height: 38px;
	padding: 0 1rem;
	font-size: 0.85rem;
}

.button--block {
	width: 100%;
}

.button[disabled],
.button.disabled {
	opacity: 0.45;
	pointer-events: none;
}

.icon-button {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--c-mist);
	cursor: pointer;
	transition: color 0.2s, background-color 0.2s;
}

.icon-button:hover {
	color: var(--c-paper);
	background: var(--c-hover);
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--c-line-strong);
	font-size: 0.86rem;
	color: var(--c-mist);
	white-space: nowrap;
	transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.chip:hover {
	color: var(--c-paper);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.chip.is-active {
	background: var(--c-paper);
	box-shadow: none;
	color: var(--c-ink);
}

.chip__count {
	font-family: var(--f-mono);
	font-size: 0.7rem;
	color: var(--c-steel);
}

.chip.is-active .chip__count {
	color: rgba(8, 8, 10, 0.55);
}

.chip--accent::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-volt);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--r-m);
	background: var(--c-carbon);
	color: var(--c-paper);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

select {
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23b9b9c1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 18px;
}

input::placeholder,
textarea::placeholder {
	color: var(--c-steel);
	opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
	border-color: rgba(255, 255, 255, 0.24);
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.55);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
	background-color: var(--c-graphite);
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--c-paper);
	vertical-align: -3px;
}

label {
	font-size: 0.9rem;
	color: var(--c-mist);
}

.search-form {
	position: relative;
	display: flex;
	max-width: 520px;
}

.search-form__input {
	padding-right: 3.25rem;
	border-radius: 999px;
}

.search-form__submit {
	position: absolute;
	top: 50%;
	right: 6px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--c-paper);
	color: var(--c-ink);
	transform: translateY(-50%);
	cursor: pointer;
}

/* 6. En-tête
   ========================================================================== */

.announcement {
	position: relative;
	z-index: 51;
	background: var(--c-ink);
	border-bottom: 1px solid var(--c-line);
	font-family: var(--f-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-mist);
}

.announcement__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 36px;
	text-align: center;
}

.announcement a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.2s;
}

.announcement a:hover {
	color: var(--c-paper);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(8, 8, 10, 0.72);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled {
	border-bottom-color: var(--c-line);
	background: rgba(8, 8, 10, 0.86);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* Sous 600 px, la barre d'administration défile avec la page : l'en-tête se colle en haut. */
@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
}

.site-header__burger {
	display: none;
	margin-left: -10px;
}

.site-header__brand {
	justify-self: start;
}

.site-header__actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 2px;
	margin-right: -10px;
}

/* Logo officiel horizontal (assets/img/brand), version fond sombre. */
.brand {
	display: inline-flex;
	align-items: center;
}

.brand__logo {
	display: block;
	width: auto;
	height: 30px;
	transition: opacity 0.2s;
}

.brand:hover .brand__logo {
	opacity: 0.85;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	max-height: 36px;
	width: auto;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.site-nav__list > li {
	position: relative;
}

.site-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.89rem;
	color: var(--c-mist);
	transition: color 0.2s, background-color 0.2s;
}

.site-nav__list > li > a:hover,
.site-nav__list > .current-menu-item > a,
.site-nav__list > .current-menu-ancestor > a,
.site-nav__list > .current-product_cat-ancestor > a {
	color: var(--c-paper);
	background: var(--c-hover);
}

.site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 220px;
	padding: 8px;
	list-style: none;
	border-radius: var(--r-m);
	background: var(--c-carbon);
	box-shadow: var(--shadow-l);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.site-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--r-s);
	font-size: 0.88rem;
	color: var(--c-mist);
}

.site-nav .sub-menu a:hover {
	background: var(--c-hover);
	color: var(--c-paper);
}

.cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-mono);
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1;
	transition: transform 0.4s var(--ease);
}

.cart-count.is-empty {
	transform: scale(0);
}

.cart-count.is-bumped {
	animation: tcgo-bump 0.5s var(--ease);
}

@keyframes tcgo-bump {
	40% {
		transform: scale(1.35);
	}
}

/* 7. Panneaux (menu, recherche, panier)
   ========================================================================== */

dialog {
	padding: 0;
	border: 0;
	color: var(--c-paper);
	background: transparent;
	max-width: none;
	max-height: none;
}

/* Un panneau fermé reste masqué, quel que soit son affichage une fois ouvert. */
dialog:not([open]) {
	display: none !important;
}

dialog::backdrop {
	background: rgba(4, 4, 6, 0.62);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: tcgo-fade 0.3s var(--ease);
}

dialog.is-closing::backdrop {
	animation: tcgo-fade-out 0.25s var(--ease) forwards;
}

@keyframes tcgo-fade {
	from {
		opacity: 0;
	}
}

@keyframes tcgo-fade-out {
	to {
		opacity: 0;
	}
}

html:has(dialog[open]) {
	overflow: hidden;
}

.sheet {
	position: fixed;
	inset: 0 0 0 auto;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	height: 100dvh;
	margin: 0;
	background: var(--c-carbon);
	box-shadow: -1px 0 0 var(--c-line), -40px 0 120px rgba(0, 0, 0, 0.5);
}

.sheet[open] {
	animation: tcgo-sheet-right 0.45s var(--ease);
}

.sheet.is-closing {
	animation: tcgo-sheet-right-out 0.3s var(--ease-in-out) forwards;
}

.sheet--left {
	inset: 0 auto 0 0;
	box-shadow: 1px 0 0 var(--c-line), 40px 0 120px rgba(0, 0, 0, 0.5);
}

.sheet--left[open] {
	animation-name: tcgo-sheet-left;
}

.sheet--left.is-closing {
	animation-name: tcgo-sheet-left-out;
}

@keyframes tcgo-sheet-right {
	from {
		transform: translateX(100%);
	}
}

@keyframes tcgo-sheet-left {
	from {
		transform: translateX(-100%);
	}
}

@keyframes tcgo-sheet-right-out {
	to {
		transform: translateX(100%);
	}
}

@keyframes tcgo-sheet-left-out {
	to {
		transform: translateX(-100%);
	}
}

.sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
	padding: 0 14px 0 24px;
	border-bottom: 1px solid var(--c-line);
}

.sheet__title {
	font-size: 1.05rem;
	font-weight: 500;
}

.sheet__body {
	position: relative;
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 20px 24px;
}

.sheet__foot {
	display: grid;
	gap: 14px;
	padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--c-line);
}

.mobile-nav__list {
	list-style: none;
}

.mobile-nav__list > li {
	border-bottom: 1px solid var(--c-line);
}

.mobile-nav__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	font-size: 1.35rem;
	font-weight: 450;
	letter-spacing: -0.03em;
}

.mobile-nav__list .sub-menu {
	padding: 0 0 12px 12px;
	list-style: none;
}

.mobile-nav__list .sub-menu a {
	padding: 8px 0;
	font-size: 1rem;
	color: var(--c-mist);
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--c-mist);
	transition: color 0.2s;
}

.social-link:hover {
	color: var(--c-paper);
}

.search-dialog {
	width: min(760px, 100% - 32px);
	margin: clamp(16px, 10vh, 120px) auto auto;
}

.search-dialog[open] {
	animation: tcgo-rise 0.4s var(--ease);
}

.search-dialog.is-closing {
	animation: tcgo-rise-out 0.25s var(--ease) forwards;
}

@keyframes tcgo-rise {
	from {
		opacity: 0;
		transform: translateY(-12px) scale(0.985);
	}
}

@keyframes tcgo-rise-out {
	to {
		opacity: 0;
		transform: translateY(-12px) scale(0.985);
	}
}

.search-dialog__panel {
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--c-carbon);
	box-shadow: var(--shadow-l);
}

.search-dialog__form {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 22px;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-steel);
}

.search-dialog__form input[type="search"] {
	flex: 1;
	min-height: 56px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.search-dialog__form input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.search-dialog__results:empty {
	display: none;
}

.search-dialog__results {
	max-height: min(56vh, 520px);
	overflow-y: auto;
	padding: 8px;
}

.search-dialog__suggest {
	padding: 22px;
}

.search-dialog__results:not(:empty) + .search-dialog__suggest {
	display: none;
}

.search-result {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 10px 14px 10px 10px;
	border-radius: var(--r-m);
	transition: background-color 0.15s;
}

.search-result:hover,
.search-result:focus-visible {
	background: var(--c-hover);
}

.search-result__media {
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: var(--r-s);
	background: var(--c-graphite);
}

.search-result__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.search-result__name {
	display: block;
	font-size: 0.95rem;
	line-height: 1.3;
}

.search-result__cat {
	display: block;
	margin-top: 2px;
	font-family: var(--f-mono);
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.search-result__price {
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	color: var(--c-mist);
}

.search-dialog__all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 6px;
	padding: 14px;
	border-radius: var(--r-m);
	font-size: 0.9rem;
	color: var(--c-mist);
	box-shadow: inset 0 0 0 1px var(--c-line);
}

.search-dialog__all:hover {
	color: var(--c-paper);
	background: var(--c-hover);
}

.search-dialog__empty {
	padding: 28px 18px;
	text-align: center;
	color: var(--c-steel);
}

/* 8. Accueil
   ========================================================================== */

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 128px);
}

.hero__backdrop {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		radial-gradient(ellipse 60% 50% at 70% 0%, rgba(255, 255, 255, 0.075), transparent 70%),
		linear-gradient(var(--c-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
	background-size: auto, 88px 88px, 88px 88px;
	background-position: center, -1px -1px, -1px -1px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 30%, transparent 75%);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.hero--solo .hero__grid {
	grid-template-columns: minmax(0, 1fr);
	max-width: 980px;
}

/* Ouverture avec image de fond plein écran.
   Le voile assombrit le côté du texte et fond l'image dans la page en bas. */
.hero--image {
	display: flex;
	align-items: center;
	min-height: min(calc(100svh - var(--header-h) - 36px), 900px);
	padding-block: clamp(72px, 10vw, 140px);
}

.hero--image .hero__grid {
	width: min(100% - 2 * var(--gutter), var(--container));
	max-width: none;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	background: var(--c-ink);
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 35%;
	transform-origin: 60% 40%;
	animation: tcgo-hero-in 2.4s var(--ease) both;
}

@keyframes tcgo-hero-in {
	from {
		opacity: 0;
		transform: scale(1.08);
	}
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0) 22%),
		linear-gradient(0deg, var(--c-ink) 0%, rgba(8, 8, 10, 0.6) 18%, rgba(8, 8, 10, 0) 45%),
		linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.84) max(28%, calc(50% - 260px)), rgba(8, 8, 10, 0.35) max(55%, calc(50% + 120px)), rgba(8, 8, 10, 0.1) max(75%, calc(50% + 420px)));
}

.hero--image .hero__title {
	text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero--image .hero__text {
	color: var(--c-text-soft);
}

.hero--image .button--ghost {
	background: rgba(8, 8, 10, 0.35);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-color: rgba(255, 255, 255, 0.22);
}

.hero--image + .promises {
	border-top-color: transparent;
}

.hero__title {
	font-size: var(--fs-display);
	font-weight: 520;
	line-height: 0.98;
	letter-spacing: -0.052em;
	max-width: 13ch;
}

.hero__text {
	max-width: 52ch;
	margin-top: 1.75rem;
	font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
	line-height: 1.65;
	color: var(--c-mist);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 2.25rem;
}

.hero__specimen {
	margin: 0;
	perspective: 1400px;
}

.specimen {
	--mx: 50%;
	--my: 30%;
	position: relative;
	isolation: isolate;
	padding: 1px;
	border-radius: var(--r-xl);
	background: var(--c-line-strong);
	box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8);
	transition: transform 0.6s var(--ease);
}

.specimen::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--holo);
	opacity: 0.55;
	animation: tcgo-holo-spin 9s linear infinite;
}

@keyframes tcgo-holo-spin {
	to {
		--holo-angle: 360deg;
	}
}

.specimen > * {
	position: relative;
	background: var(--c-carbon);
}

.specimen::after {
	content: "";
	position: absolute;
	inset: 1px;
	z-index: 1;
	border-radius: calc(var(--r-xl) - 1px);
	background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.09), transparent 45%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s;
}

.specimen:hover::after {
	opacity: 1;
}

.specimen__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-radius: calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0 0;
	border-bottom: 1px solid var(--c-line);
	font-family: var(--f-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.specimen__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: radial-gradient(ellipse at 50% 40%, #202026, var(--c-carbon) 70%);
	border-bottom: 1px solid var(--c-line);
}

.specimen__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8% 12%;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
	transition: transform 0.8s var(--ease);
}

.specimen:hover .specimen__media img {
	transform: translateY(-6px) scale(1.02);
}

.specimen__body {
	padding: 20px 20px 22px;
	border-radius: 0 0 calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px);
}

.specimen__format {
	margin-bottom: 6px;
	font-family: var(--f-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.specimen__title {
	margin-bottom: 16px;
	font-size: 1.3rem;
	letter-spacing: -0.03em;
}

.specimen__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 18px;
}

.specimen__price {
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.specimen__price del {
	margin-right: 6px;
	font-size: 0.9rem;
	color: var(--c-steel);
}

.specimen__price ins {
	text-decoration: none;
}

.promises {
	border-block: 1px solid var(--c-line);
}

.promises__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
}

.promise {
	padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
	border-left: 1px solid var(--c-line);
}

.promise:first-child {
	padding-left: 0;
	border-left: 0;
}

.promise__icon {
	margin-bottom: 18px;
	color: var(--c-paper);
}

.promise__title {
	margin-bottom: 6px;
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.promise__text {
	font-size: 0.87rem;
	line-height: 1.55;
	color: var(--c-steel);
}

.format-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
}

.format-tile a {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: clamp(220px, 22vw, 300px);
	height: 100%;
	padding: 22px;
	overflow: hidden;
	border-radius: var(--r-l);
	background: var(--c-carbon);
	box-shadow: inset 0 0 0 1px var(--c-line);
	transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.format-tile a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	padding: 1px;
	background: var(--holo);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}

.format-tile a:hover {
	background: var(--c-graphite);
}

.format-tile a:hover::before {
	opacity: 0.7;
	animation: tcgo-holo-spin 6s linear infinite;
}

.format-tile__index {
	font-family: var(--f-mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	color: var(--c-steel);
}

.format-tile__media {
	position: absolute;
	inset: 0 0 0 40%;
	z-index: -1;
	background: none;
}

.format-tile__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
	padding: 18px 12px 18px 0;
	opacity: 0.85;
	transition: transform 0.8s var(--ease), opacity 0.4s;
}

.format-tile a:hover .format-tile__image {
	transform: translateX(-6px) scale(1.03);
	opacity: 1;
}

.format-tile__body {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	max-width: 62%;
	padding-top: 24px;
}

.format-tile:not(.has-image) .format-tile__body {
	max-width: 30ch;
}

.format-tile__name {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.045em;
}

.format-tile__desc {
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--c-steel);
}

.format-tile__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--c-line);
}

.format-tile__count {
	font-family: var(--f-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-mist);
}

.format-tile__arrow {
	color: var(--c-steel);
	transition: transform 0.4s var(--ease), color 0.2s;
}

.format-tile a:hover .format-tile__arrow {
	color: var(--c-paper);
	transform: translate(2px, -2px);
}

.statement {
	border-top: 1px solid var(--c-line);
}

.statement__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 1.5rem clamp(32px, 5vw, 80px);
	padding-top: var(--section);
}

.statement .eyebrow {
	grid-row: span 2;
	align-self: start;
	margin-top: 0.9rem;
}

.statement__title {
	font-size: clamp(1.9rem, 1.1rem + 3vw, 3.75rem);
	font-weight: 450;
	line-height: 1.06;
	letter-spacing: -0.045em;
	max-width: 22ch;
	background: linear-gradient(180deg, var(--c-paper) 30%, rgba(243, 242, 239, 0.55));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.statement__text {
	max-width: 58ch;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--c-steel);
}

.instagram-band {
	border-top: 1px solid var(--c-line);
}

.instagram-band__link {
	position: relative;
	display: grid;
	gap: 0.5rem;
	padding-top: var(--section);
}

.instagram-band__handle {
	display: block;
	font-size: clamp(2.75rem, 1rem + 9vw, 10rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.06em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(243, 242, 239, 0.35);
	transition: color 0.6s var(--ease), -webkit-text-stroke-color 0.6s;
	overflow-wrap: anywhere;
}

.instagram-band__link:hover .instagram-band__handle {
	color: var(--c-paper);
	-webkit-text-stroke-color: transparent;
}

.instagram-band__arrow {
	position: absolute;
	right: 0;
	bottom: 0.5rem;
	color: var(--c-steel);
	transition: transform 0.5s var(--ease), color 0.3s;
}

.instagram-band__link:hover .instagram-band__arrow {
	color: var(--c-paper);
	transform: translate(4px, -4px);
}

/* 9. Journal et articles
   ========================================================================== */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}

.post-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--r-l);
	background: var(--c-carbon);
	box-shadow: inset 0 0 0 1px var(--c-line);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.035);
}

.post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 50%),
		linear-gradient(135deg, var(--c-graphite), var(--c-carbon));
}

.post-card__title {
	font-size: var(--fs-h3);
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.post-card__title a {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.5s var(--ease);
}

.post-card:hover .post-card__title a {
	background-size: 100% 1px;
}

.post-card__excerpt {
	margin-top: 10px;
	font-size: 0.95rem;
	color: var(--c-steel);
}

.post-card--featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
}

.post-card--featured .post-card__title {
	font-size: var(--fs-h2);
	letter-spacing: -0.04em;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 12px;
	font-family: var(--f-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.post-meta__cat {
	color: var(--c-paper);
}

.post-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-right: 14px;
	border-radius: 50%;
	background: var(--c-slate);
	vertical-align: middle;
}

.article__head {
	max-width: 880px;
	padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px);
	text-align: center;
}

.article__head .post-meta {
	justify-content: center;
	margin-bottom: 24px;
}

.article__title {
	font-size: var(--fs-h1);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.article__lede {
	max-width: 60ch;
	margin: 1.5rem auto 0;
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--c-mist);
}

.article__byline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	font-size: 0.88rem;
	color: var(--c-mist);
}

.article__cover {
	max-width: 1200px;
	margin-bottom: clamp(40px, 5vw, 72px);
	overflow: hidden;
	border-radius: var(--r-xl);
}

.article__cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article__cover figcaption {
	padding-top: 12px;
	font-size: 0.82rem;
	color: var(--c-steel);
	text-align: center;
}

.article__foot {
	display: grid;
	gap: 24px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--c-line);
}

.share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.share .eyebrow {
	margin: 0;
}

.related-posts {
	margin-top: var(--section);
	border-top: 1px solid var(--c-line);
}

/* 10. Pages, recherche, 404, commentaires
   ========================================================================== */

.page-head {
	padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px);
	border-bottom: 1px solid var(--c-line);
}

.page-head__title {
	font-size: var(--fs-h1);
	line-height: 1.02;
	letter-spacing: -0.045em;
	max-width: 20ch;
}

.page-head__intro {
	max-width: 62ch;
	margin-top: 1.25rem;
	font-size: 1.08rem;
	color: var(--c-mist);
}

.page-head .chip-list,
.page-head__search {
	margin-top: 2rem;
}

.page-head--compact {
	padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px);
}

.page-head--compact .page-head__title {
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.page-cover {
	margin-top: clamp(32px, 4vw, 56px);
	overflow: hidden;
	border-radius: var(--r-xl);
}

.page-article__content {
	padding-block: clamp(40px, 5vw, 72px) var(--section);
}

.commerce-page .page-article__content {
	padding-top: clamp(32px, 4vw, 56px);
}

.not-found {
	padding-block: clamp(80px, 12vw, 180px);
	text-align: center;
}

.not-found__inner {
	display: grid;
	justify-items: center;
}

.not-found__code {
	margin-bottom: 0.25em;
	font-family: var(--f-mono);
	font-size: clamp(5rem, 20vw, 14rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.08em;
	color: transparent;
	-webkit-text-stroke: 1px var(--c-line-strong);
}

.not-found__text {
	max-width: 46ch;
	margin-top: 1.25rem;
	color: var(--c-mist);
}

.not-found .hero__actions {
	justify-content: center;
}

.tcgo3d.not-found__logo {
	--s: clamp(150px, 22vw, 200px);
	margin-bottom: 8px;
}

/* Accueil : logo 3D centré à cheval sur la ligne qui sépare la dernière section du pied de page. */
.has-home-seal {
	--seal-s: clamp(170px, 22vw, 230px);
}

.home-seal {
	position: relative;
	z-index: 2;
	/* Réserve la moitié haute du logo quand la marge de la section précédente ne suffit pas. */
	padding-top: max(0px, calc(var(--seal-s) / 2 + 24px - var(--section)));
}

.tcgo3d.home-seal__logo {
	--s: var(--seal-s);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 50%);
}

.has-home-seal .site-footer {
	padding-top: calc(var(--seal-s) / 2 + clamp(40px, 5vw, 72px));
}

.empty-state {
	display: grid;
	justify-items: start;
	gap: 14px;
	padding: 32px;
	border-radius: var(--r-l);
	box-shadow: inset 0 0 0 1px var(--c-line);
	color: var(--c-mist);
}

.empty-state--page {
	justify-items: center;
	padding: clamp(40px, 6vw, 80px) 24px;
	text-align: center;
}

.empty-state h2 {
	font-size: 1.5rem;
	color: var(--c-paper);
}

.comments {
	max-width: 720px;
	padding-block: var(--section);
}

.comments__title,
.comment-reply-title {
	margin-bottom: 28px;
	font-size: 1.5rem;
	letter-spacing: -0.03em;
}

.comment-list,
.comment-list .children {
	list-style: none;
}

.comment-list .children {
	padding-left: clamp(16px, 4vw, 48px);
}

.comment-body {
	padding: 22px 0;
	border-top: 1px solid var(--c-line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}

.comment-author .avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	margin: 4px 0 12px 48px;
	font-family: var(--f-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.comment-content {
	margin-left: 48px;
	color: var(--c-text-soft);
}

.reply {
	margin: 10px 0 0 48px;
	font-size: 0.85rem;
	color: var(--c-mist);
}

.comment-respond {
	margin-top: 40px;
}

.comment-form {
	display: grid;
	gap: 18px;
}

.comment-form p {
	display: grid;
	gap: 8px;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.comment-notes,
.logged-in-as {
	font-size: 0.88rem;
	color: var(--c-steel);
}

/* 11. Contenu éditorial (blocs)
   ========================================================================== */

.entry-content {
	width: min(100% - 2 * var(--gutter), 720px);
	margin-inline: auto;
	font-size: 1.08rem;
	line-height: 1.78;
	color: var(--c-text-soft);
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content > .alignwide {
	width: min(100vw - 2 * var(--gutter), 1200px);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content > .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--c-paper);
	margin-top: 2.2em;
}

.entry-content h2 {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	letter-spacing: -0.035em;
}

.entry-content h3 {
	font-size: 1.4rem;
	letter-spacing: -0.025em;
}

.entry-content h4 {
	font-size: 1.1rem;
}

.entry-content h2 + *,
.entry-content h3 + *,
.entry-content h4 + * {
	margin-top: 0.75em;
}

.entry-content a:not(.wp-block-button__link):not(.button) {
	color: var(--c-paper);
	text-decoration: underline;
	text-decoration-color: rgba(243, 242, 239, 0.35);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: text-decoration-color 0.2s;
}

.entry-content a:not(.wp-block-button__link):not(.button):hover {
	text-decoration-color: var(--c-paper);
}

.entry-content strong {
	color: var(--c-paper);
	font-weight: 600;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li + li {
	margin-top: 0.45em;
}

.entry-content li::marker {
	color: var(--c-steel);
}

.entry-content blockquote,
.wp-block-quote {
	margin-inline: 0;
	padding: 0.25em 0 0.25em 1.5em;
	border-left: 1px solid var(--c-paper);
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--c-paper);
}

.wp-block-quote cite,
.wp-block-pullquote cite {
	display: block;
	margin-top: 0.75em;
	font-family: var(--f-mono);
	font-size: 0.72rem;
	font-style: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.wp-block-pullquote {
	padding: 2em 0;
	border-block: 1px solid var(--c-line);
	text-align: left;
}

.wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
	letter-spacing: -0.03em;
	line-height: 1.25;
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content img {
	border-radius: var(--r-m);
}

.entry-content figcaption,
.wp-element-caption {
	margin-top: 0.75em;
	font-size: 0.82rem;
	color: var(--c-steel);
	text-align: center;
}

.entry-content code,
.entry-content kbd,
.entry-content pre {
	font-family: var(--f-mono);
	font-size: 0.88em;
}

.entry-content :not(pre) > code {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: var(--c-graphite);
	color: var(--c-paper);
}

.entry-content pre {
	overflow-x: auto;
	padding: 1.25em 1.5em;
	border-radius: var(--r-m);
	background: var(--c-carbon);
	box-shadow: inset 0 0 0 1px var(--c-line);
	line-height: 1.6;
}

.entry-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 0.8em 1em;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
}

.entry-content th {
	font-family: var(--f-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--c-line);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wp-block-image.is-style-rounded img {
	border-radius: 999px;
}

.wp-block-embed iframe {
	max-width: 100%;
	border-radius: var(--r-m);
}

.wp-block-details {
	padding: 1.1em 0;
	border-bottom: 1px solid var(--c-line);
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 500;
	color: var(--c-paper);
	list-style-position: outside;
}

.page-links {
	display: flex;
	gap: 8px;
	margin-top: 2em;
}

.has-text-align-center {
	text-align: center;
}

.has-text-align-right {
	text-align: right;
}

.has-ink-color { color: var(--c-ink); }
.has-carbon-color { color: var(--c-carbon); }
.has-paper-color { color: var(--c-paper); }
.has-volt-color { color: var(--c-volt); }
.has-ink-background-color { background-color: var(--c-ink); }
.has-carbon-background-color { background-color: var(--c-carbon); }
.has-graphite-background-color { background-color: var(--c-graphite); }

.has-background {
	padding: 1.5em 1.75em;
	border-radius: var(--r-l);
}

/* Pagination */

.pagination,
.navigation.posts-navigation,
.comments-pagination {
	margin-top: clamp(40px, 5vw, 72px);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	font-family: var(--f-mono);
	font-size: 0.82rem;
	color: var(--c-mist);
	box-shadow: inset 0 0 0 1px var(--c-line);
	transition: background-color 0.2s, color 0.2s;
}

a.page-numbers:hover {
	background: var(--c-hover);
	color: var(--c-paper);
}

.page-numbers.current {
	background: var(--c-paper);
	color: var(--c-ink);
	box-shadow: none;
}

.page-numbers.dots {
	box-shadow: none;
}

/* 12. Pied de page
   ========================================================================== */

.site-footer {
	padding-top: clamp(56px, 7vw, 96px);
	border-top: 1px solid var(--c-line);
	background: linear-gradient(180deg, var(--c-ink), #050506);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
	gap: 40px clamp(24px, 4vw, 64px);
}

.site-footer__about {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 18px;
}

.site-footer__about p {
	max-width: 34ch;
	font-size: 0.92rem;
	color: var(--c-steel);
}

.site-footer__title,
.site-footer .widget-title {
	margin-bottom: 18px;
	font-family: var(--f-mono);
	font-size: 0.7rem;
	font-weight: 450;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-steel);
}

.site-footer__menu {
	display: grid;
	gap: 10px;
	list-style: none;
}

.site-footer__menu a {
	font-size: 0.92rem;
	color: var(--c-mist);
	transition: color 0.2s;
}

.site-footer__menu a:hover {
	color: var(--c-paper);
}

.site-footer__newsletter {
	font-size: 0.9rem;
	color: var(--c-mist);
}

/* Formulaire de l'extension TCGO Newsletter : champ en pilule, bouton intégré. */
.newsletter-form {
	display: grid;
	gap: 14px;
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.newsletter-form__lead {
	max-width: 36ch;
	font-size: 0.92rem;
	color: var(--c-steel);
}

.newsletter-form__row {
	position: relative;
}

.newsletter-form__row input[type="email"] {
	padding-right: 8.5rem;
	border-radius: 999px;
}

.newsletter-form__row .button {
	position: absolute;
	top: 5px;
	right: 5px;
	min-height: 38px;
	padding: 0 1.1rem;
	font-size: 0.88rem;
}

.newsletter-form__row .button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.newsletter-form__consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--c-steel);
	cursor: pointer;
}

.newsletter-form__consent input {
	margin-top: 1px;
}

.newsletter-form__consent a {
	color: var(--c-mist);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.newsletter-form__consent a:hover {
	color: var(--c-paper);
}

/* Champ piège anti-robots, hors de l'écran. */
.newsletter-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.newsletter-form__status {
	font-size: 0.85rem;
}

.newsletter-form__status:empty {
	display: none;
}

.newsletter-form__status.is-success {
	color: var(--c-green);
}

.newsletter-form__status.is-error {
	color: var(--c-red);
}

/* Le SVG s'étire sur toute la largeur de l'écran, avec une fine marge. */
.site-footer__wordmark {
	margin-top: clamp(48px, 7vw, 96px);
	padding-inline: clamp(8px, 1.2vw, 20px);
	user-select: none;
}

/* Hauteur visible du nom : environ 85 % des lettres. */
.site-footer__wordmark svg {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 397 / 65;
	overflow: hidden;
	/* Fondu progressif du bas des lettres avant la coupe. */
	-webkit-mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.35) 80%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.35) 80%, transparent 100%);
}

.site-footer__wordmark text {
	font-family: var(--f-sans);
	font-size: 100px;
	font-weight: 600;
	letter-spacing: -4.5px;
}

/* La bande des mentions coupe le nom à mi-hauteur, d'un bord à l'autre de l'écran. */
.site-footer__wordmark {
	border-bottom: 1px solid var(--c-line-strong);
}

.site-footer__wordmark + .container .site-footer__bottom {
	margin-top: 0;
	border-top: 0;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 22px 0;
	border-top: 1px solid var(--c-line);
	font-size: 0.82rem;
	color: var(--c-steel);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	list-style: none;
}

.site-footer__legal a:hover {
	color: var(--c-paper);
}

.site-footer__disclaimer {
	padding-bottom: 28px;
	font-size: 0.74rem;
	line-height: 1.6;
	color: #5c5c64;
	max-width: 110ch;
}

/* 13. Squelettes de chargement
   --------------------------------------------------------------------------
   Les zones média affichent un reflet animé jusqu'au chargement réel de
   l'image (classe .is-loaded posée par main.js). Sans JavaScript, les
   images s'affichent normalement.
   ========================================================================== */

.skeleton {
	display: block;
	border-radius: 6px;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.04) 60%) 0 0 / 220% 100%;
	animation: tcgo-shimmer 1.5s linear infinite;
}

@keyframes tcgo-shimmer {
	from {
		background-position: 110% 0;
	}
	to {
		background-position: -110% 0;
	}
}

.skeleton--line {
	height: 12px;
	width: 100%;
}

.skeleton--short {
	width: 55%;
}

.skeleton--thumb {
	width: 64px;
	height: 64px;
	flex: none;
	border-radius: var(--r-s);
}

.skeleton-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
}

.skeleton-row__lines {
	display: grid;
	flex: 1;
	gap: 10px;
}

.js .skeleton-media:not(.is-loaded),
.js .product-card__media:not(.is-loaded) {
	background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0) 60%);
	background-size: 220% 100%;
	animation: tcgo-shimmer 1.5s linear infinite;
}

.js .skeleton-media img,
.js .product-card__media img,
.js .specimen__media img {
	opacity: 0;
	transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}

.js .skeleton-media.is-loaded img,
.js .product-card__media.is-loaded img,
.js .specimen__media.is-loaded img {
	opacity: 1;
}

.search-skeleton {
	display: grid;
	gap: 4px;
	padding: 6px;
}

.search-skeleton .skeleton-row {
	padding: 6px 4px;
}

.search-skeleton .skeleton--thumb {
	width: 56px;
	height: 56px;
}

/* 14. Accessibilité et mouvement
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--c-volt);
	outline-offset: 3px;
	border-radius: 4px;
}

.button:focus-visible,
.chip:focus-visible,
.icon-button:focus-visible {
	border-radius: 999px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: none;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* Responsive
   ========================================================================== */

@media (max-width: 1180px) {
	.site-nav {
		display: none;
	}

	.site-header__inner {
		grid-template-columns: 1fr auto 1fr;
	}

	.site-header__burger {
		display: inline-grid;
		justify-self: start;
	}

	.site-header__brand {
		justify-self: center;
	}
}

@media (max-width: 1024px) {
	.hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__specimen {
		max-width: 520px;
	}

	.promises__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.promise:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	.promise:nth-child(n + 3) {
		border-top: 1px solid var(--c-line);
	}

	.format-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}

	.statement__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.statement .eyebrow {
		grid-row: auto;
	}
}

@media (max-width: 720px) {
	:root {
		--header-h: 60px;
	}

	.section-head {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.hero__actions .button {
		flex: 1 1 100%;
	}

	/* Sur mobile, le visuel occupe le haut de l'écran puis se fond dans le noir :
	   le texte se pose dessous, sur fond sombre, toujours lisible. */
	.hero--image {
		align-items: flex-end;
		min-height: 0;
		padding-block: min(52svh, 440px) 48px;
	}

	.hero--image .hero__media {
		bottom: auto;
		height: min(66svh, 560px);
	}

	.hero__image {
		object-position: 52% 42%;
	}

	.hero__media::after {
		background:
			linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, rgba(8, 8, 10, 0) 16%),
			linear-gradient(0deg, var(--c-ink) 0%, rgba(8, 8, 10, 0.88) 16%, rgba(8, 8, 10, 0.25) 45%, rgba(8, 8, 10, 0) 62%);
	}

	.promises__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.promise,
	.promise:nth-child(3) {
		padding: 22px 0;
		border-left: 0;
	}

	.promise + .promise {
		border-top: 1px solid var(--c-line);
	}

	.format-grid,
	.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-card--featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-header__account {
		display: none;
	}

	.announcement {
		font-size: 0.62rem;
		letter-spacing: 0.06em;
	}

	.announcement__inner p,
	.announcement__inner a {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.share {
		flex-direction: column;
		align-items: flex-start;
	}

	.instagram-band__arrow {
		display: none;
	}
}
