:root {
	--theme-brand: #d1b887;
	--theme-accent-color: #fea761;
	--theme-accent-active: #ff9335;
	--theme-canvas: #0c0846;
	--theme-card-bg: #181253;
	--theme-color-bg-card: #1c1660;
	--theme-grad-light: #ffefe0;
	--theme-gradient-to: #ffcc94;
	--theme-text: #ffffff;
	--theme-text-muted: #bfbfbf;
	--theme-divider: rgba(255, 255, 255, 0.12);
	--theme-warning-bg: #b3261e;

	--theme-font-heading: "Outfit", "Segoe UI", system-ui, sans-serif;
	--theme-font-base: "Outfit", "Segoe UI", system-ui, sans-serif;

	--theme-size-h1: clamp(2rem, 1.3rem + 3vw, 3.1rem);
	--theme-text-h2: clamp(1.55rem, 1.2rem + 1.6vw, 2.15rem);
	--theme-fs-h3: 1.2rem;
	--theme-type-body: 1.0625rem;
	--theme-fs-sm: 0.9rem;
	--theme-fs-eyebrow: 0.78rem;

	--theme-gutter-3xs: 4px;
	--theme-gutter-2xs: 8px;
	--theme-spacing-xs: 12px;
	--theme-gutter-sm: 16px;
	--theme-spacing-md: 24px;
	--theme-spacing-lg: 32px;
	--theme-gutter-xl: 40px;
	--theme-space-2xl: 52px;
	--theme-space-section: 52px;

	--theme-max-width: 1320px;
	--theme-readable-width: 720px;
	--theme-edge-desktop: 24px;

	--theme-radius-sm: 8px;
	--theme-radius-md: 14px;
	--theme-corner-lg: 22px;
	--theme-pill: 999px;

	--theme-shadow-card: 0 18px 44px rgba(0, 0, 0, 0.35);
	--theme-transition: 180ms ease;
}

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

html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--theme-canvas);
	color: var(--theme-text);
	font-family: var(--theme-font-base);
	font-size: var(--theme-type-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	font-family: var(--theme-font-heading);
	line-height: 1.15;
	margin: 0;
	font-weight: 700;
}

p {
	margin: 0;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--theme-brand);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: 12px;
	z-index: 200;
	background: var(--theme-accent-color);
	color: #0c0846;
	padding: 10px 18px;
	border-radius: var(--theme-radius-sm);
	font-weight: 600;
}

.skip-link:not(:focus) {
	top: -200px !important;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.is-hidden {
	display: none !important;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--theme-font-heading);
	font-weight: 600;
	font-size: var(--theme-type-body);
	line-height: 1;
	border-radius: var(--theme-pill);
	padding: 14px 30px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background var(--theme-transition), color var(--theme-transition), border-color var(--theme-transition);
}

.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--theme-accent-color);
	color: #0c0846;
}

.btn-primary:hover {
	background: var(--theme-accent-active);
	color: #0c0846;
}

.btn-ghost {
	background: transparent;
	color: var(--theme-text);
	border-color: var(--theme-divider);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--theme-text);
}

.btn-lg {
	padding: 16px 36px;
	font-size: 1.1rem;
}

/* Responsible-gaming banner */
.rg-banner {
	background: var(--theme-warning-bg);
	color: #ffffff;
	text-align: center;
	font-size: var(--theme-fs-sm);
	font-weight: 600;
	padding: 7px 16px;
	letter-spacing: 0.02em;
}

/* Section inner wrappers — canonical single width */
.crypte-inner,
.grille-inner,
.volume-inner,
.trumeau-inner,
.cloche-inner,
.paroi-inner,
.secteur-inner,
.panneau-inner,
.lisere-inner,
.comptoir-inner,
.arcade-inner,
.module-inner,
.blason-inner {
	max-width: calc(var(--theme-max-width) + 2 * var(--theme-edge-desktop));
	margin-inline: auto;
	padding-inline: var(--theme-edge-desktop);
	width: 100%;
}

/* ===== Header (.cadre / HEAD-12) ===== */
.cadre {
	position: relative;
	z-index: 50;
	background: rgba(12, 8, 70, 0.94);
	border-bottom: 1px solid var(--theme-divider);
}

.cadre-bar {
	max-width: 1440px;
	margin-inline: auto;
	padding: 16px var(--theme-edge-desktop);
	display: flex;
	align-items: center;
	gap: var(--theme-spacing-lg);
}

.cadre-logo {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.cadre-logo img {
	height: 88px;
	width: auto;
}

.cadre-nav {
	margin-inline-start: auto;
}

.cadre-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--theme-spacing-md);
}

.cadre-nav-item,
.cadre-drawer-item {
	display: block;
}

.cadre-nav-link {
	color: var(--theme-text);
	font-weight: 500;
	font-size: 1rem;
	padding: 8px 4px;
	white-space: nowrap;
}

.cadre-nav-link:hover {
	color: var(--theme-brand);
	text-decoration: none;
}

.cadre-nav-link.is-current {
	color: var(--theme-brand);
}

.cadre-actions {
	display: flex;
	align-items: center;
	gap: var(--theme-gutter-2xs);
	flex-shrink: 0;
}

.cadre-auth {
	white-space: nowrap;
	flex-shrink: 0;
	padding: 10px 20px;
	border-radius: var(--theme-pill);
	font-weight: 600;
	font-size: 0.95rem;
	font-family: var(--theme-font-heading);
	border: 1px solid transparent;
	transition: background var(--theme-transition), color var(--theme-transition);
}

.cadre-auth--theme-login {
	color: var(--theme-text);
	border-color: var(--theme-divider);
	background: transparent;
}

.cadre-auth--theme-login:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--theme-text);
	text-decoration: none;
}

.cadre-auth--theme-register {
	background: var(--theme-accent-color);
	color: #0c0846;
}

.cadre-auth--theme-register:hover {
	background: var(--theme-accent-active);
	color: #0c0846;
	text-decoration: none;
}

.cadre-toggle {
	display: none;
	margin-left: auto !important;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 42px;
	padding: 0 10px;
	background: transparent;
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-sm);
	cursor: pointer;
}

.cadre-toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--theme-text);
	border-radius: 2px;
}

.cadre-drawer {
	display: none;
	position: fixed;
	inset: 0 0 0 auto;
	width: min(340px, 84vw);
	z-index: 120;
	background: var(--theme-card-bg);
	border-left: 1px solid var(--theme-divider);
	box-shadow: var(--theme-shadow-card);
	overflow-y: auto;
}

.cadre-drawer.is-open {
	display: block;
}

.cadre-drawer-panel {
	padding: 84px var(--theme-spacing-lg) var(--theme-spacing-lg);
}

.cadre-drawer-list {
	list-style: none;
	margin: 0 0 var(--theme-spacing-lg);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cadre-drawer-link {
	display: block;
	color: var(--theme-text);
	font-size: 1.1rem;
	font-weight: 500;
	padding: 12px 8px;
	border-radius: var(--theme-radius-sm);
}

.cadre-drawer-link:hover,
.cadre-drawer-link.is-current {
	background: rgba(255, 255, 255, 0.06);
	color: var(--theme-brand);
	text-decoration: none;
}

.cadre-drawer-actions {
	display: flex;
	flex-direction: column;
	gap: var(--theme-gutter-2xs);
}

/* ===== Breadcrumbs (.volume / BREAD-04) ===== */
.volume {
	padding-block: var(--theme-spacing-md);
	border-bottom: 1px solid var(--theme-divider);
}

.volume-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--theme-gutter-2xs);
	font-size: var(--theme-fs-sm);
}

.volume-item {
	display: inline-flex;
	align-items: center;
	gap: var(--theme-gutter-2xs);
}

.volume-link {
	color: var(--theme-text-muted);
}

.volume-link:hover {
	color: var(--theme-brand);
}

.volume-current {
	color: var(--theme-brand);
	font-weight: 600;
}

.volume-sep {
	color: var(--theme-text-muted);
}

/* ===== Hero (.crypte / HERO-07) ===== */
.crypte {
	padding-block: var(--theme-space-section);
	background:
		radial-gradient(1100px 460px at 78% 12%, rgba(254, 167, 97, 0.16), transparent 60%),
		linear-gradient(180deg, rgba(28, 22, 96, 0.55), rgba(12, 8, 70, 0));
}

.crypte-inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: var(--theme-space-2xl);
	align-items: center;
}

.crypte-eyebrow {
	display: inline-block;
	color: var(--theme-brand);
	font-weight: 600;
	font-size: var(--theme-fs-eyebrow);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: var(--theme-gutter-sm);
}

.crypte-title {
	font-size: var(--theme-size-h1);
	margin-bottom: var(--theme-spacing-md);
}

.crypte-subtitle {
	color: var(--theme-text-muted);
	max-width: 540px;
	margin-bottom: var(--theme-spacing-lg);
}

.crypte-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--theme-gutter-sm);
	margin-bottom: var(--theme-gutter-xl);
}

.crypte-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: var(--theme-spacing-lg);
}

.crypte-highlight {
	min-width: 120px;
}

.crypte-highlight-num {
	display: block;
	font-family: var(--theme-font-heading);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--theme-brand);
}

.crypte-highlight-label {
	display: block;
	font-size: var(--theme-fs-sm);
	color: var(--theme-text-muted);
}

.crypte-content {
	min-width: 0;
}

.crypte-media {
	position: relative;
}

.crypte-media-img {
	width: 100%;
	height: auto;
	border-radius: var(--theme-corner-lg);
	box-shadow: var(--theme-shadow-card);
	border: 1px solid var(--theme-divider);
}

/* ===== Page header (.grille / PHEAD-05) ===== */
.grille {
	padding-block: var(--theme-space-section);
	background: linear-gradient(180deg, rgba(28, 22, 96, 0.5), rgba(12, 8, 70, 0));
}

.grille-eyebrow {
	display: inline-block;
	color: var(--theme-brand);
	font-weight: 600;
	font-size: var(--theme-fs-eyebrow);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: var(--theme-gutter-sm);
}

.grille-title {
	font-size: var(--theme-size-h1);
	max-width: 900px;
}

.grille-intro {
	color: var(--theme-text-muted);
	max-width: 760px;
	margin-top: var(--theme-spacing-md);
	font-size: 1.12rem;
}

.grille-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--theme-spacing-md);
	margin-top: var(--theme-spacing-md);
	font-size: var(--theme-fs-sm);
	color: var(--theme-text-muted);
}

.grille-meta-item {
	display: inline-flex;
	gap: 6px;
}

.grille-time {
	color: var(--theme-text);
}

/* ===== Prose (.plaque / PROSE-08) ===== */
.plaque {
	padding-block: var(--theme-space-section);
}

.plaque-col {
	max-width: var(--theme-readable-width);
	margin-inline: auto;
	padding-inline: var(--theme-edge-desktop);
}

.plaque-section + .plaque-section {
	margin-top: var(--theme-gutter-xl);
}

.plaque-h2 {
	font-size: var(--theme-text-h2);
	margin-bottom: var(--theme-gutter-sm);
	color: var(--theme-text);
}

.plaque-p + .plaque-p {
	margin-top: var(--theme-gutter-sm);
}

.plaque-p {
	color: #e7e6f2;
}

.plaque a {
	color: var(--theme-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.plaque-list,
.plaque-ol {
	margin: var(--theme-gutter-sm) 0 0;
	padding-left: 1.35rem;
	color: #e7e6f2;
}

.plaque-list-item {
	margin-bottom: var(--theme-gutter-2xs);
}

/* ===== Items grid (.trumeau / GRID-03) ===== */
.trumeau {
	padding-block: var(--theme-space-section);
}

.trumeau-head {
	margin-bottom: var(--theme-gutter-xl);
	max-width: 760px;
}

.trumeau-eyebrow {
	display: inline-block;
	color: var(--theme-brand);
	font-weight: 600;
	font-size: var(--theme-fs-eyebrow);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: var(--theme-gutter-sm);
}

.trumeau-title {
	font-size: var(--theme-text-h2);
}

.trumeau-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--theme-spacing-lg);
}

.trumeau-card {
	background: var(--theme-card-bg);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-md);
	padding: var(--theme-spacing-lg);
	transition: transform var(--theme-transition), border-color var(--theme-transition);
}

.trumeau-card:hover {
	transform: translateY(-4px);
	border-color: rgba(254, 167, 97, 0.5);
}

.trumeau-card-icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--theme-pill);
	background: rgba(254, 167, 97, 0.16);
	color: var(--theme-accent-color);
	font-size: 1.2rem;
	margin-bottom: var(--theme-gutter-sm);
}

.trumeau-card-title {
	font-size: 1.18rem;
	margin-bottom: var(--theme-gutter-2xs);
	color: var(--theme-brand);
}

.trumeau-card-text {
	color: var(--theme-text-muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

/* ===== Reviews (.cloche / REV-06) ===== */
.cloche {
	padding-block: var(--theme-space-section);
	background: linear-gradient(180deg, rgba(24, 18, 83, 0.4), rgba(12, 8, 70, 0));
}

.cloche-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--theme-spacing-md);
	margin-bottom: var(--theme-gutter-xl);
}

.cloche-title {
	font-size: var(--theme-text-h2);
}

.cloche-agg {
	display: flex;
	align-items: center;
	gap: var(--theme-gutter-sm);
}

.cloche-agg-score {
	font-family: var(--theme-font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--theme-brand);
}

.cloche-agg-stars {
	color: var(--theme-accent-color);
	font-size: 1.1rem;
	letter-spacing: 2px;
}

.cloche-agg-count {
	display: block;
	color: var(--theme-text-muted);
	font-size: var(--theme-fs-sm);
}

.cloche-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--theme-spacing-md);
}

.cloche-card {
	background: var(--theme-card-bg);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-md);
	padding: var(--theme-spacing-md);
	display: flex;
	flex-direction: column;
	gap: var(--theme-gutter-2xs);
}

.cloche-card-head {
	display: flex;
	align-items: center;
	gap: var(--theme-gutter-2xs);
}

.cloche-avatar {
	width: 40px;
	height: 40px;
	border-radius: var(--theme-pill);
	background: rgba(254, 167, 97, 0.2);
	color: var(--theme-accent-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-family: var(--theme-font-heading);
}

.cloche-author {
	font-weight: 600;
	color: var(--theme-text);
}

.cloche-stars {
	color: var(--theme-accent-color);
	letter-spacing: 2px;
	font-size: 0.95rem;
}

.cloche-date {
	color: var(--theme-text-muted);
	font-size: 0.82rem;
}

.cloche-text {
	color: var(--theme-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ===== FAQ (.paroi / FAQ-04) ===== */
.paroi {
	padding-block: var(--theme-space-section);
}

.paroi-title {
	font-size: var(--theme-text-h2);
	margin-bottom: var(--theme-gutter-xl);
}

.paroi-list {
	display: flex;
	flex-direction: column;
	gap: var(--theme-spacing-xs);
	max-width: 880px;
}

.paroi-item {
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-md);
	background: var(--theme-card-bg);
	overflow: hidden;
}

.paroi-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--theme-spacing-md);
	text-align: left;
	background: transparent;
	border: 0;
	color: var(--theme-text);
	font-family: var(--theme-font-heading);
	font-size: 1.08rem;
	font-weight: 600;
	padding: var(--theme-spacing-md) var(--theme-spacing-md);
	cursor: pointer;
}

.paroi-q-text {
	flex: 1;
}

.paroi-icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	position: relative;
	transition: transform var(--theme-transition);
	color: var(--theme-accent-color);
}

.paroi-icon::before,
.paroi-icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 2px;
}

.paroi-icon::before {
	top: 12px;
	left: 4px;
	right: 4px;
	height: 2px;
}

.paroi-icon::after {
	left: 12px;
	top: 4px;
	bottom: 4px;
	width: 2px;
	transition: transform var(--theme-transition), opacity var(--theme-transition);
}

.paroi-q[aria-expanded="true"] .paroi-icon::after {
	opacity: 0;
	transform: scaleY(0);
}

.paroi-a {
	padding: 0 var(--theme-spacing-md);
}

.paroi-a-body {
	padding-bottom: var(--theme-spacing-md);
	color: var(--theme-text-muted);
	line-height: 1.6;
}

/* ===== CTA (.secteur / CTA-06) ===== */
.secteur {
	padding-block: var(--theme-space-section);
}

.secteur-panel {
	background:
		radial-gradient(600px 240px at 85% 0%, rgba(254, 167, 97, 0.22), transparent 60%),
		var(--theme-color-bg-card);
	border: 1px solid rgba(254, 167, 97, 0.4);
	border-radius: var(--theme-corner-lg);
	padding: clamp(28px, 4vw, 56px);
	text-align: center;
}

.secteur-eyebrow {
	display: inline-block;
	color: var(--theme-brand);
	font-weight: 600;
	font-size: var(--theme-fs-eyebrow);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: var(--theme-gutter-sm);
}

.secteur-title {
	font-size: var(--theme-text-h2);
	margin-bottom: var(--theme-gutter-sm);
}

.secteur-text {
	color: var(--theme-text-muted);
	max-width: 640px;
	margin: 0 auto var(--theme-spacing-lg);
}

.secteur-actions {
	display: flex;
	justify-content: center;
	gap: var(--theme-gutter-sm);
	flex-wrap: wrap;
}

/* ===== Data table (.panneau / TABLE-04) ===== */
.panneau {
	padding-block: var(--theme-space-section);
}

.panneau-title {
	font-size: var(--theme-text-h2);
	margin-bottom: var(--theme-spacing-lg);
}

.panneau-scroll {
	overflow-x: auto;
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-md);
}

.panneau-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.panneau-table thead th {
	background: var(--theme-brand);
	color: #0c0846;
	text-align: left;
	font-family: var(--theme-font-heading);
	font-size: 0.92rem;
	letter-spacing: 0.03em;
	padding: 14px var(--theme-spacing-md);
}

.panneau-table tbody td {
	padding: 13px var(--theme-spacing-md);
	border-top: 1px solid var(--theme-divider);
	color: #e7e6f2;
	font-size: 0.96rem;
}

.panneau-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.03);
}

/* ===== Legal (.porte / LEGAL-02) ===== */
.porte {
	padding-block: var(--theme-space-section);
}

.porte-col {
	max-width: var(--theme-readable-width);
	margin-inline: auto;
	padding-inline: var(--theme-edge-desktop);
}

.porte-intro {
	font-size: 1.12rem;
	color: var(--theme-text-muted);
	margin-bottom: var(--theme-spacing-lg);
}

.porte-block {
	margin-bottom: var(--theme-spacing-lg);
}

.porte-heading {
	font-size: 1.35rem;
	color: var(--theme-brand);
	margin-bottom: var(--theme-gutter-2xs);
}

.porte-p + .porte-p {
	margin-top: var(--theme-gutter-sm);
}

.porte-p {
	color: #e7e6f2;
}

.porte-sub {
	margin-top: var(--theme-gutter-xl);
	padding-top: var(--theme-spacing-lg);
	border-top: 1px solid var(--theme-divider);
}

.porte-contacts-title {
	font-size: 1.15rem;
	margin-bottom: var(--theme-gutter-2xs);
}

.porte-contacts-list {
	margin: 0;
	padding-left: 1.35rem;
	color: var(--theme-text-muted);
}

.porte-contact-item {
	margin-bottom: var(--theme-gutter-2xs);
}

.porte-disclaimer {
	margin-top: var(--theme-spacing-lg);
	padding: var(--theme-spacing-md);
	background: var(--theme-card-bg);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-md);
	color: var(--theme-text-muted);
	font-size: var(--theme-fs-sm);
}

.porte-updated {
	margin-top: var(--theme-spacing-md);
	color: var(--theme-text-muted);
	font-size: var(--theme-fs-sm);
}

/* ===== Contact form (.lisere / FORM-05) ===== */
.lisere {
	padding-block: var(--theme-space-section);
}

.lisere-intro {
	color: var(--theme-text-muted);
	max-width: 640px;
	margin-bottom: var(--theme-spacing-lg);
}

.lisere-form {
	max-width: 640px;
	display: flex;
	flex-direction: column;
	gap: var(--theme-spacing-md);
	background: var(--theme-card-bg);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-corner-lg);
	padding: clamp(24px, 3vw, 40px);
}

.lisere-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lisere-label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--theme-text);
}

.lisere-input,
.lisere-textarea {
	background: var(--theme-canvas);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-sm);
	padding: 12px 14px;
	color: var(--theme-text);
	font-family: var(--theme-font-base);
	font-size: 1rem;
}

.lisere-input:focus,
.lisere-textarea:focus {
	outline: 2px solid var(--theme-accent-color);
	outline-offset: 1px;
	border-color: var(--theme-accent-color);
}

.lisere-textarea {
	min-height: 150px;
	resize: vertical;
}

.lisere-submit {
	align-self: flex-start;
	background: var(--theme-accent-color);
	color: #0c0846;
	border: 0;
	border-radius: var(--theme-pill);
	padding: 14px 32px;
	font-family: var(--theme-font-heading);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background var(--theme-transition);
}

.lisere-submit:hover {
	background: var(--theme-accent-active);
}

.lisere-success {
	background: rgba(254, 167, 97, 0.12);
	border: 1px solid rgba(254, 167, 97, 0.5);
	border-radius: var(--theme-radius-md);
	padding: var(--theme-spacing-md);
	color: var(--theme-text);
	max-width: 640px;
}

/* ===== Author card (.comptoir / AUTH-05) ===== */
.comptoir {
	padding-block: var(--theme-space-section);
}

.comptoir-card {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--theme-gutter-xl);
	background: var(--theme-card-bg);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-corner-lg);
	padding: clamp(24px, 3vw, 44px);
	align-items: start;
}

.comptoir-portrait,
.comptoir-body {
	min-width: 0;
}

.comptoir-portrait-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--theme-corner-lg);
	border: 1px solid var(--theme-divider);
}

.comptoir-name {
	font-size: 1.8rem;
	margin-bottom: 4px;
}

.comptoir-role {
	color: var(--theme-brand);
	font-weight: 600;
	margin-bottom: var(--theme-spacing-md);
}

.comptoir-bio {
	color: var(--theme-text-muted);
	margin-bottom: var(--theme-spacing-md);
}

.comptoir-expertise-title {
	font-size: 1.05rem;
	margin-bottom: var(--theme-gutter-2xs);
}

.comptoir-expertise-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--theme-gutter-2xs);
	list-style: none;
	margin: 0;
	padding: 0;
}

.comptoir-expertise-item {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-pill);
	padding: 6px 14px;
	font-size: 0.88rem;
	color: var(--theme-text);
}

.comptoir-articles {
	max-width: calc(var(--theme-max-width) + 2 * var(--theme-edge-desktop));
	margin: var(--theme-gutter-xl) auto 0;
	padding-inline: var(--theme-edge-desktop);
}

.comptoir-articles-title {
	font-size: 1.3rem;
	margin-bottom: var(--theme-gutter-sm);
}

.comptoir-articles-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--theme-gutter-2xs);
}

.comptoir-articles-item {
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-md);
	background: var(--theme-card-bg);
}

.comptoir-articles-link {
	display: block;
	padding: var(--theme-spacing-md);
	color: var(--theme-text);
	font-weight: 500;
}

.comptoir-articles-link:hover {
	color: var(--theme-brand);
	text-decoration: none;
}

/* ===== Author byline (.arcade / BYLINE-05) ===== */
.arcade {
	padding-block: var(--theme-space-section);
}

.arcade-card {
	display: flex;
	align-items: center;
	gap: var(--theme-spacing-md);
	background: var(--theme-card-bg);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-corner-lg);
	padding: var(--theme-spacing-md) var(--theme-spacing-lg);
	max-width: 760px;
}

.arcade-portrait-img {
	width: 64px;
	height: 64px;
	border-radius: var(--theme-pill);
	object-fit: cover;
	border: 2px solid rgba(254, 167, 97, 0.5);
	flex-shrink: 0;
}

.arcade-body {
	min-width: 0;
}

.arcade-label {
	display: block;
	color: var(--theme-text-muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 2px;
}

.arcade-name {
	font-family: var(--theme-font-heading);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--theme-text);
}

.arcade-role {
	color: var(--theme-brand);
	font-size: 0.92rem;
}

.arcade-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--theme-gutter-sm);
	margin-top: 4px;
	font-size: 0.82rem;
	color: var(--theme-text-muted);
}

.arcade-time {
	color: var(--theme-text);
}

/* ===== Error block (.module / ERR-01) ===== */
.module {
	padding-block: clamp(64px, 12vw, 140px);
	text-align: center;
}

.module-code {
	font-family: var(--theme-font-heading);
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 700;
	color: var(--theme-brand);
	line-height: 1;
}

.module-title {
	font-size: var(--theme-text-h2);
	margin: var(--theme-spacing-md) 0 var(--theme-gutter-sm);
}

.module-text {
	color: var(--theme-text-muted);
	max-width: 520px;
	margin: 0 auto var(--theme-spacing-lg);
}

.module-actions {
	display: flex;
	justify-content: center;
}

/* ===== Footer (.blason / FOOT-05) ===== */
.blason {
	background: #08052f;
	border-top: 1px solid var(--theme-divider);
	padding-block: var(--theme-space-section) var(--theme-spacing-lg);
	margin-top: var(--theme-spacing-lg);
}

.blason-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: var(--theme-gutter-xl);
	padding-bottom: var(--theme-gutter-xl);
	border-bottom: 1px solid var(--theme-divider);
}

.blason-brand,
.blason-col {
	min-width: 0;
}

.blason-item {
	display: block;
}

.blason-logo img {
	height: 66px;
	width: auto;
	margin-bottom: var(--theme-spacing-md);
}

.blason-about {
	color: var(--theme-text-muted);
	font-size: 0.95rem;
	max-width: 380px;
}

.blason-col-title {
	font-family: var(--theme-font-heading);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--theme-text);
	margin-bottom: var(--theme-spacing-md);
}

.blason-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--theme-gutter-2xs);
}

.blason-link {
	color: var(--theme-text-muted);
	font-size: 0.95rem;
}

.blason-link:hover {
	color: var(--theme-brand);
}

.blason-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--theme-gutter-sm);
	padding-top: var(--theme-spacing-lg);
}

.blason-copy {
	color: var(--theme-text-muted);
	font-size: 0.88rem;
}

.blason-note {
	color: var(--theme-text-muted);
	font-size: 0.82rem;
	max-width: 640px;
	margin-top: var(--theme-gutter-2xs);
}

.blason-badges {
	display: flex;
	align-items: center;
	gap: var(--theme-gutter-sm);
}

.blason-badge {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-radius-sm);
	padding: 6px 12px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--theme-text);
}

/* ===== Cookie banner (.retable / COOK-07) ===== */
.retable {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 130;
	display: flex;
	justify-content: center;
}

.retable-panel {
	display: flex;
	align-items: center;
	gap: var(--theme-spacing-md);
	max-width: 960px;
	width: 100%;
	background: var(--theme-color-bg-card);
	border: 1px solid rgba(254, 167, 97, 0.4);
	border-radius: var(--theme-corner-lg);
	box-shadow: var(--theme-shadow-card);
	padding: var(--theme-spacing-md) var(--theme-spacing-lg);
}

.retable-text {
	flex: 1;
	color: var(--theme-text-muted);
	font-size: 0.9rem;
	margin: 0;
}

.retable-actions {
	display: flex;
	gap: var(--theme-gutter-2xs);
	flex-shrink: 0;
}

.retable-accept {
	background: var(--theme-accent-color);
	color: #0c0846;
	border: 0;
	border-radius: var(--theme-pill);
	padding: 11px 22px;
	font-weight: 600;
	font-family: var(--theme-font-heading);
	cursor: pointer;
	transition: background var(--theme-transition);
}

.retable-accept:hover {
	background: var(--theme-accent-active);
}

.retable-decline {
	background: transparent;
	color: var(--theme-text);
	border: 1px solid var(--theme-divider);
	border-radius: var(--theme-pill);
	padding: 11px 22px;
	font-weight: 600;
	font-family: var(--theme-font-heading);
	cursor: pointer;
}

.retable-decline:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.trumeau-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.crypte-inner {
		grid-template-columns: 1fr;
	}

	.crypte-media {
		order: -1;
	}
}

@media (max-width: 1199px) {
	.cadre-nav,
	.cadre-actions {
		display: none;
	}

	.cadre-toggle {
		display: flex;
	}

	.cadre-logo img {
		height: 64px;
	}

	.comptoir-card {
		grid-template-columns: 1fr;
	}

	.comptoir-portrait-img {
		max-width: 200px;
	}

	.blason-top {
		grid-template-columns: 1fr;
		gap: var(--theme-spacing-lg);
	}
}

@media (max-width: 640px) {
	.trumeau-grid,
	.cloche-grid {
		grid-template-columns: 1fr;
	}

	.arcade-card {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.arcade-meta {
		justify-content: center;
	}
}

@media (max-width: 720px) {
	.retable-panel {
		flex-direction: column;
		align-items: stretch;
		padding: 14px 16px;
		gap: 10px;
	}

	.retable-actions {
		justify-content: stretch;
	}

	.retable-accept,
	.retable-decline {
		flex: 1;
		padding: 10px 14px;
		font-size: 0.9rem;
	}

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

