/* ===================================================================
   AllRight Casino PL — render-88.css
   TYPO-10 · SPACE-03 · CONT-10 · BP-04 · GEO-05 · MOTION-02 · NAME-01
   =================================================================== */

/* ---------- Design tokens ---------- */
:root {
	--font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	--color-primary: #3a003c;
	--color-accent: #fd4a00;
	--color-accent-pressed: #d73901;
	--color-bg: #ffffff;
	--color-bg-elevated: #f6f1f6;
	--color-gradient-light: #ffa380;
	--color-gradient-mid: #ff6b2e;
	--color-text: #202c3a;
	--color-text-muted: #55505a;
	--color-line: rgba(32, 44, 58, 0.10);
	--color-line-soft: rgba(32, 44, 58, 0.08);
	--color-rg-banner: #dc2626;

	--fs-h1: 60px;
	--fs-h2: 34px;
	--fs-h3: 24px;
	--fs-h4: 19px;
	--fs-h5: 16px;
	--fs-h6: 14px;
	--fs-body: 16px;
	--fs-small: 13px;
	--fs-micro: 10px;

	--lh-tight: 1.1;
	--lh-normal: 1.5;
	--lh-loose: 1.65;
	--ls-tight: -0.02em;
	--ls-normal: 0;
	--ls-wide: 0.06em;
	--fw-regular: 400;
	--fw-medium: 600;
	--fw-bold: 800;

	--space-2xs: 2px;
	--space-xs: 6px;
	--space-sm: 10px;
	--space-md: 14px;
	--space-lg: 20px;
	--space-xl: 28px;
	--space-2xl: 48px;
	--space-3xl: 72px;

	--container-site: 1100px;
	--container-readable: 630px;
	--container-padding-mobile: 16px;
	--container-padding-tablet: 24px;
	--container-padding-desktop: 32px;

	--radius-xs: 4px;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 28px;
	--radius-pill: 9999px;
	--radius-circle: 50%;
	--shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.06);
	--shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 10px 28px rgba(0, 0, 0, 0.12);
	--shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.16);

	--dur-fast: 150ms;
	--dur-base: 200ms;
	--dur-slow: 300ms;
	--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1.0);
	--ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1.0);

	--header-h: 96px;
	--header-h-mobile: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-normal);
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

h1 { font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: var(--lh-tight); text-transform: uppercase; font-size: var(--fs-h1); overflow-wrap: anywhere; max-width: 100%; }
h2 { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h2); line-height: var(--lh-tight); overflow-wrap: anywhere; max-width: 100%; }
h3 { font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--fs-h3); overflow-wrap: anywhere; max-width: 100%; }

/* ---------- a11y ---------- */
.skip-link {
	position: absolute;
	left: var(--space-md);
	top: -200px;
	z-index: 200;
	background: var(--color-primary);
	color: #fff;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-sm); }
.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;
}
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- shared inner wrappers (single section width) ---------- */
.repere-inner, .rubrique-inner, .tablette-inner, .paroi-inner, .salon-inner,
.imposte-inner, .tympan-inner, .stele-inner, .volume-inner, .rosace-inner,
.poteau-inner, .niche-inner, .cahier-inner, .showcase-inner, .bureau-inner,
.crypte-inner, .carnet-inner {
	max-width: calc(var(--container-site) + 2 * var(--container-padding-desktop));
	margin-inline: auto;
	padding-inline: var(--container-padding-desktop);
	width: 100%;
}
/* readable column enforced on content, not on the -inner wrapper (A-11 widths) */
.crypte h2, .crypte p, .crypte-list,
.carnet-box, .rosace-form, .rosace-intro {
	max-width: var(--container-readable);
	margin-inline: auto;
}

/* generic section rhythm (SPACE-03 tight) */
.crypte, .salon, .imposte, .tympan, .stele, .volume, .carnet, .rosace, .niche, .cahier {
	padding-block: var(--space-xl);
}
.showcase { padding-block: var(--space-md); }

/* ---------- RG banner ---------- */
.rg-banner {
	margin: 0;
	background: var(--color-rg-banner);
	color: #fff;
	text-align: center;
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	padding: var(--space-xs) var(--space-md);
	line-height: 1.3;
}

/* ---------- Header HEAD-15 · sticky STICKY-02 · NAV-01 ---------- */
.repere {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-bg);
	box-shadow: var(--shadow-xs);
	transition: padding var(--dur-base) var(--ease-out);
}
.repere-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: var(--header-h);
	padding-block: var(--space-sm);
}
.repere-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.repere-logo, .repere-logo-img { flex-shrink: 0; }
.repere-logo-img {
	height: 88px;
	width: auto;
	transition: height var(--dur-base) var(--ease-out);
}
.repere.is-shrunk { padding-block: 0; }
.repere.is-shrunk .repere-inner { min-height: 68px; }
.repere.is-shrunk .repere-logo-img { height: 60px; }

.repere-nav { display: flex; }
.repere-nav-list { display: flex; flex-wrap: nowrap; gap: var(--space-xs); align-items: center; }
.repere-link {
	font-family: var(--font-display);
	font-weight: var(--fw-medium);
	font-size: 12px;
	letter-spacing: var(--ls-normal);
	color: var(--color-text);
	white-space: nowrap;
	padding: var(--space-2xs) 4px;
	border-radius: var(--radius-xs);
	transition: color var(--dur-fast) var(--ease-out);
}
.repere-link:hover { color: var(--color-accent-pressed); }
.repere-link.is-active { color: var(--color-accent); font-weight: var(--fw-bold); }

.repere-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	margin-left: auto;
	width: 44px; height: 44px;
	padding: 9px;
	background: transparent;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}
.repere-toggle-bar { display: block; height: 2px; width: 100%; background: var(--color-text); border-radius: 2px; transition: transform var(--dur-fast) var(--ease-out); }

.repere-drawer { display: none; border-top: 1px solid var(--color-line); background: var(--color-bg); }
.repere-drawer.is-open { display: block; }
.repere-drawer-list { display: flex; flex-direction: column; padding: var(--space-sm) 0; }
.repere-drawer-link {
	display: block;
	font-family: var(--font-display);
	font-weight: var(--fw-medium);
	font-size: var(--fs-h5);
	color: var(--color-text);
	padding: var(--space-md) var(--container-padding-desktop);
}
.repere-drawer-link:hover { background: var(--color-bg-elevated); }
.repere-drawer-link.is-active { color: var(--color-accent); }

@media (max-width: 1199px) {
	.repere-nav { display: none; }
	.repere-toggle { display: flex; }
}

/* ---------- Hero HERO-05 Bordered Plate Editorial ---------- */
.tablette-inner { padding-block: var(--space-2xl); }
.tablette-frame {
	position: relative;
	outline: 4px solid var(--color-text);
	box-shadow: 0 0 0 8px var(--color-bg), 0 0 0 9px var(--color-text);
	padding: var(--space-2xl);
	background: var(--color-bg);
}
.tablette-content { text-align: center; max-width: 760px; margin-inline: auto; }
.tablette-eyebrow {
	font-family: var(--font-body);
	font-style: italic;
	font-size: var(--fs-small);
	color: var(--color-text-muted);
	letter-spacing: var(--ls-wide);
	margin-bottom: var(--space-md);
}
.tablette-title { font-size: clamp(32px, 6vw, var(--fs-h1)); overflow-wrap: anywhere; max-width: 100%; }
.tablette-divider { width: 80px; height: 1px; border: 0; background: var(--color-accent); margin: var(--space-lg) auto; }
.tablette-subtitle {
	font-size: var(--fs-h5);
	font-family: var(--font-body);
	line-height: var(--lh-loose);
	color: var(--color-text);
	max-width: 620px;
	margin-inline: auto;
}
.tablette-cta {
	display: inline-block;
	margin-top: var(--space-xl);
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	font-size: var(--fs-h6);
	padding: var(--space-md) var(--space-xl);
	border-radius: var(--radius-xs);
	transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.tablette-cta:hover { background: var(--color-accent-pressed); color: #fff; transform: translateY(-1px); }

/* ---------- Showcase image band ---------- */
.showcase { display: block; }
.showcase--context, .showcase--detail { display: block; }
.showcase-fig { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.showcase-fig img { width: 100%; height: auto; max-height: 56vh; object-fit: cover; }
.showcase--detail .showcase-fig { max-width: 760px; margin-inline: auto; }

/* ---------- Page-header PHEAD-10 Manifesto ---------- */
.paroi-inner { padding-block: var(--space-2xl); text-align: center; }
.paroi-title { font-size: clamp(32px, 7vw, 80px); line-height: var(--lh-tight); overflow-wrap: anywhere; max-width: 100%; }
.paroi-dot { display: block; color: var(--color-accent); font-size: var(--fs-h2); line-height: 1; margin-block: var(--space-sm); overflow-wrap: anywhere; max-width: 100%; }
.paroi-desc {
	font-style: italic;
	font-size: var(--fs-h4);
	color: var(--color-text-muted);
	max-width: 600px;
	margin-inline: auto;
	line-height: var(--lh-normal);
}

/* ---------- Prose PROSE-06 Centered Quiet ---------- */
.crypte-inner { text-align: center; }
.crypte h2 {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: var(--fs-h3);
	color: var(--color-text);
	margin-bottom: var(--space-md);
	text-transform: none;
	letter-spacing: var(--ls-normal); overflow-wrap: anywhere; max-width: 100%; }
.crypte p {
	font-size: var(--fs-body);
	line-height: var(--lh-loose);
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}
.crypte-list { text-align: left; display: inline-block; margin: 0 auto var(--space-md); }
.crypte-list li {
	position: relative;
	padding-left: var(--space-lg);
	margin-bottom: var(--space-xs);
	line-height: var(--lh-normal);
	color: var(--color-text-muted);
}
.crypte-list li::before { content: '›'; position: absolute; left: 0; color: var(--color-accent); font-weight: var(--fw-bold); }
.crypte a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.crypte a:hover { color: var(--color-accent-pressed); }
.crypte strong { color: var(--color-text); font-weight: var(--fw-bold); }

/* ---------- Items-grid GRID-12 Initial-Block + Text ---------- */
.salon-heading { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); text-align: center; margin-bottom: var(--space-xl); text-transform: none; overflow-wrap: anywhere; max-width: 100%; }
.salon-card {
	display: flex;
	gap: var(--space-lg);
	align-items: flex-start;
	padding: var(--space-lg) 0;
	border-bottom: 1px solid var(--color-line-soft);
}
.salon-initial {
	flex-shrink: 0;
	width: 120px; height: 120px;
	display: grid; place-items: center;
	background: var(--color-accent);
	color: var(--color-bg);
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: var(--fs-h1);
	border-radius: var(--radius-md); overflow-wrap: anywhere; max-width: 100%; }
.salon-title { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin-bottom: var(--space-xs); }
.salon-desc { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--color-text-muted); }

/* ---------- Reviews REV-07 Color-Coded Grid ---------- */
.tympan-heading { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); text-align: center; margin-bottom: var(--space-xl); text-transform: none; overflow-wrap: anywhere; max-width: 100%; }
.tympan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.tympan-card { padding: var(--space-lg); border-radius: var(--radius-md); border: 1px solid var(--color-line-soft); }
.tympan-card.is-high { background: rgba(253, 74, 0, 0.08); }
.tympan-card.is-mid { background: var(--color-bg-elevated); }
.tympan-card.is-low { background: rgba(58, 0, 60, 0.08); }
.tympan-head { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.tympan-score { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); color: var(--color-accent); line-height: 1; overflow-wrap: anywhere; max-width: 100%; }
.tympan-dots { display: inline-flex; gap: 4px; }
.tympan-dot { width: 9px; height: 9px; border-radius: var(--radius-circle); background: var(--color-line); }
.tympan-dot.is-on { background: var(--color-accent); }
.tympan-body { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--color-text); margin-bottom: var(--space-sm); }
.tympan-author { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-small); color: var(--color-text-muted); }

/* ---------- FAQ FAQ-08 Bordered Box + Indicator Bar ---------- */
.imposte-heading { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); text-align: center; margin-bottom: var(--space-xl); text-transform: none; overflow-wrap: anywhere; max-width: 100%; }
.imposte-box {
	background: rgba(58, 0, 60, 0.04);
	border: 1px solid rgba(32, 44, 58, 0.10);
	border-radius: var(--radius-lg);
	padding: var(--space-2xl);
}
.imposte-item {
	position: relative;
	box-shadow: inset 4px 0 0 var(--color-accent);
	padding-left: var(--space-md);
	border-bottom: 1px solid var(--color-line-soft);
}
.imposte-item:last-child { border-bottom: 0; }
.imposte-q {
	list-style: none;
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: var(--fw-medium);
	font-size: var(--fs-h5);
	color: var(--color-text);
	padding: var(--space-md) var(--space-xl) var(--space-md) var(--space-sm);
	position: relative;
}
.imposte-q::-webkit-details-marker { display: none; }
.imposte-q::after { content: '+'; position: absolute; right: var(--space-sm); top: 50%; transform: translateY(-50%); font-size: var(--fs-h3); color: var(--color-accent); transition: transform var(--dur-base) var(--ease-out); overflow-wrap: anywhere; max-width: 100%; }
.imposte-item[open] .imposte-q::after { content: '−'; }
.imposte-a { padding: 0 var(--space-sm) var(--space-md) var(--space-sm); }
.imposte-a p { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); }

/* ---------- Data-table TABLE-03 Card-per-row ---------- */
.volume-table { width: 100%; border-collapse: collapse; }
.volume-table thead th {
	text-align: left;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: var(--fs-small);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	color: var(--color-bg);
	background: var(--color-primary);
	padding: var(--space-md);
}
.volume-table tbody { background: var(--color-bg-elevated); }
.volume-table tbody td { padding: var(--space-md); font-size: var(--fs-small); border-bottom: 1px solid var(--color-line-soft); }
.volume-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- CTA-block CTA-02 Centered Box ---------- */
.stele-inner { text-align: center; }
.stele-box {
	max-width: 720px;
	margin-inline: auto;
	background: rgba(58, 0, 60, 0.04);
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-lg);
	padding: var(--space-2xl);
}
.stele-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); color: var(--color-text); text-transform: none; overflow-wrap: anywhere; max-width: 100%; }
.stele-text { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); margin-block: var(--space-md); }
.stele-btn {
	display: inline-block;
	min-height: 52px;
	line-height: 52px;
	padding-inline: var(--space-xl);
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	border-radius: var(--radius-md);
	transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.stele-btn:hover { background: var(--color-accent-pressed); color: #fff; transform: translateY(-1px); }

/* ---------- Inline-CTA INLINE-CTA-03 ---------- */
.niche-inner { text-align: center; }
.niche-line { font-family: var(--font-display); font-size: var(--fs-h6); line-height: var(--lh-normal); }
.niche-line strong { color: var(--color-text); font-weight: var(--fw-bold); }
.niche-link { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.niche-link:hover { color: var(--color-accent-pressed); text-decoration-thickness: 2px; }

/* ---------- Legal-section LEGAL-04 Bordered Article Box ---------- */
.carnet-box {
	position: relative;
	background: var(--color-bg-elevated);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: var(--space-2xl);
}
.carnet-updated { position: absolute; top: var(--space-md); right: var(--space-md); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text-muted); }
.carnet-intro { font-size: var(--fs-h5); line-height: var(--lh-loose); color: var(--color-text); margin-bottom: var(--space-xl); }
.carnet-block { margin-bottom: var(--space-xl); }
.carnet-h { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); margin-bottom: var(--space-sm); text-transform: none; letter-spacing: var(--ls-normal); overflow-wrap: anywhere; max-width: 100%; }
.carnet-block p { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.carnet-support { margin: 0; }
.carnet-support li { position: relative; padding-left: var(--space-lg); margin-bottom: var(--space-xs); color: var(--color-text-muted); line-height: var(--lh-normal); }
.carnet-support li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-weight: var(--fw-bold); }
.carnet-disclaimer { font-size: var(--fs-small); font-style: italic; color: var(--color-text-muted); line-height: var(--lh-normal); border-top: 1px solid var(--color-line-soft); padding-top: var(--space-md); }
.carnet a { color: var(--color-accent); text-decoration: underline; }
.carnet a:hover { color: var(--color-accent-pressed); }

/* ---------- Contact-form FORM-05 Bordered Editorial ---------- */
.rosace-intro { font-size: var(--fs-h5); line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-lg); text-align: center; }
.rosace-form { border: 2px solid var(--color-accent); border-radius: var(--radius-md); padding: var(--space-xl); }
.rosace-field { margin-bottom: var(--space-lg); }
.rosace-field label { display: block; font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text-muted); margin-bottom: var(--space-xs); }
.rosace-field input, .rosace-field textarea {
	width: 100%;
	font: inherit;
	font-size: var(--fs-h5);
	color: var(--color-text);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--color-line);
	padding: var(--space-sm) 0;
	border-radius: 0;
}
.rosace-field input:focus, .rosace-field textarea:focus { outline: none; border-bottom-color: var(--color-accent); }
.rosace-field textarea { resize: vertical; }
.rosace-submit {
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	border: 0;
	border-radius: var(--radius-md);
	padding: var(--space-md) var(--space-xl);
	min-height: 48px;
	transition: background var(--dur-base) var(--ease-out);
}
.rosace-submit:hover { background: var(--color-accent-pressed); color: #fff; }
.rosace-success { margin-top: var(--space-md); color: var(--color-primary); font-weight: var(--fw-medium); background: rgba(58, 0, 60, 0.06); padding: var(--space-md); border-radius: var(--radius-sm); }

/* ---------- Author-card AUTH-02 Vertical Centered ---------- */
.bureau-inner { text-align: center; padding-block: var(--space-2xl); }
.bureau-portrait, .bureau-role, .bureau-name, .bureau-bio, .bureau-tags, .bureau-articles { max-width: 640px; margin-inline: auto; }
.bureau-portrait { width: 140px; height: 140px; border-radius: var(--radius-circle); object-fit: cover; object-position: center top; margin: 0 auto var(--space-lg); }
.bureau-role { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-accent); margin-bottom: var(--space-xs); }
.bureau-name { font-size: var(--fs-h2); text-transform: none; margin-bottom: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.bureau-bio { line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.bureau-tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); justify-content: center; margin-bottom: var(--space-2xl); }
.bureau-tag { font-size: var(--fs-small); background: var(--color-bg-elevated); border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: var(--space-2xs) var(--space-md); color: var(--color-text); }
.bureau-articles { text-align: left; border-top: 1px solid var(--color-line); padding-top: var(--space-lg); }
.bureau-articles-heading { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); text-align: center; margin-bottom: var(--space-md); text-transform: none; }
.bureau-articles-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.bureau-articles-item a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-line-soft); display: block; padding: var(--space-xs) 0; transition: color var(--dur-fast) var(--ease-out); }
.bureau-articles-item a:hover { color: var(--color-accent); }

/* ---------- Author-byline BYLINE-02 Card Block ---------- */
.cahier-card {
	max-width: 720px;
	margin-inline: auto;
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
	background: var(--color-bg-elevated);
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
}
.cahier-portrait { flex-shrink: 0; }
.cahier-portrait img { width: 64px; height: 64px; border-radius: var(--radius-circle); object-fit: cover; object-position: center top; }
.cahier-label { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text-muted); }
.cahier-name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); text-transform: none; margin-block: var(--space-2xs); }
.cahier-name a { color: var(--color-text); }
.cahier-name a:hover { text-decoration: underline; }
.cahier-role { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: var(--space-xs); }
.cahier-bio { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--color-text); margin-bottom: var(--space-xs); }
.cahier-link { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-accent); }
.cahier-link:hover { color: var(--color-accent-pressed); }

/* ---------- Error-block ERR-05 Glitch ---------- */
.poteau { padding-block: var(--space-3xl); text-align: center; }
.poteau-title { position: relative; display: inline-block; font-size: clamp(32px, 18vw, 160px); color: var(--color-text); overflow-wrap: anywhere; max-width: 100%; }
.poteau-title::before, .poteau-title::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0.55; }
.poteau-title::before { transform: translate(3px, -3px); color: var(--color-accent); }
.poteau-title::after { transform: translate(-3px, 3px); color: var(--color-accent-pressed); }
.poteau-lead { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); margin-block: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.poteau-text { max-width: 560px; margin: 0 auto var(--space-xl); color: var(--color-text-muted); line-height: var(--lh-loose); }
.poteau-btn { display: inline-block; background: var(--color-accent); color: #fff; font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); padding: var(--space-md) var(--space-xl); border-radius: var(--radius-md); transition: background var(--dur-base) var(--ease-out); }
.poteau-btn:hover { background: var(--color-accent-pressed); color: #fff; }

/* ---------- Footer FOOT-03 Massive Centered ---------- */
.rubrique { background: var(--color-bg); border-top: 1px solid var(--color-line); }
.rubrique-inner { padding-block: var(--space-3xl); display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; }
.rubrique-logo-img { height: 88px; width: auto; }
.rubrique-nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg); }
.rubrique-nav-link { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-body); color: var(--color-text); }
.rubrique-nav-link:hover { color: var(--color-accent); }
.rubrique-tagline { font-size: var(--fs-small); color: var(--color-text-muted); max-width: 480px; line-height: var(--lh-loose); }
.rubrique-legal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.rubrique-legal-row a { color: var(--color-text-muted); }
.rubrique-legal-row a:hover { color: var(--color-accent); }
.rubrique-dot { color: var(--color-text-muted); }
.rubrique-copyright { font-size: var(--fs-micro); color: var(--color-text-muted); }

/* ---------- Cookie COOK-06 ---------- */
.nef {
	position: fixed;
	left: var(--space-md);
	right: var(--space-md);
	bottom: var(--space-md);
	z-index: 150;
	background: var(--color-primary);
	color: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	animation: nef-in var(--dur-slow) var(--ease-out);
}
.nef[hidden] { display: none; }
.nef-inner { display: flex; align-items: center; gap: var(--space-lg); padding: var(--space-lg); max-width: calc(var(--container-site) + 2 * var(--container-padding-desktop)); margin-inline: auto; flex-wrap: wrap; }
.nef-message { font-size: var(--fs-small); line-height: var(--lh-normal); flex: 1 1 320px; }
.nef-actions { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.nef-prefs { color: #fff; text-decoration: underline; font-size: var(--fs-small); }
.nef-prefs:hover { color: var(--color-gradient-light); }
.nef-decline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md); font-size: var(--fs-small); }
.nef-decline:hover { background: #5a2a5c; color: #fff; border-color: #fff; }
.nef-accept { background: var(--color-accent); color: #fff; border: 0; border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-lg); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-small); }
.nef-accept:hover { background: var(--color-accent-pressed); color: #fff; }
@keyframes nef-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Structural / wrapper classes (A-14 completeness) ---------- */
.page { display: block; }
.tablette { display: block; }
.paroi { display: block; }
.bureau { display: block; }
.repere-nav-item { display: flex; }
.repere-drawer-item { display: block; }
.rubrique-nav { display: block; }
.rubrique-nav-item { display: inline-flex; }
.rubrique-logo { display: inline-flex; align-items: center; }
.salon-text { flex: 1 1 auto; min-width: 0; }
.cahier-body { flex: 1 1 auto; min-width: 0; }

/* ===================================================================
   Mobile overrides (BP-04 · desktop-first)
   =================================================================== */
@media (max-width: 880px) {
	:root {
		--fs-h1: 36px; --fs-h2: 26px; --fs-h3: 20px; --fs-h4: 17px;
		--fs-h5: 14px; --fs-h6: 12px; --fs-body: 15px; --fs-small: 12px; --fs-micro: 9px;
	}
	.repere-inner, .rubrique-inner, .tablette-inner, .paroi-inner, .salon-inner,
	.imposte-inner, .tympan-inner, .stele-inner, .volume-inner, .rosace-inner,
	.poteau-inner, .niche-inner, .cahier-inner, .showcase-inner, .bureau-inner,
	.crypte-inner, .carnet-inner {
		padding-inline: var(--container-padding-mobile);
	}
	.tympan-grid { grid-template-columns: 1fr; }
	.tablette-frame { padding: var(--space-xl) var(--space-lg); box-shadow: 0 0 0 6px var(--color-bg), 0 0 0 7px var(--color-text); }
	.imposte-box { padding: var(--space-lg) var(--space-md); }
	.carnet-box, .stele-box { padding: var(--space-xl) var(--space-lg); }
	.carnet-updated { position: static; display: block; margin-bottom: var(--space-sm); }
	.salon-card { flex-direction: column; align-items: flex-start; }
	.salon-initial { width: 80px; height: 80px; font-size: var(--fs-h2); overflow-wrap: anywhere; max-width: 100%; }
	.cahier-card { flex-direction: column; }
	.rubrique-nav-list { gap: var(--space-md); }
}

@media (max-width: 720px) {
	.nef-inner { flex-direction: column; align-items: stretch; padding: 12px 14px; gap: 8px; }
	.nef-message { font-size: 13px; line-height: 1.35; flex: 1 1 auto; }
	.nef-actions { justify-content: stretch; }
	.nef-decline, .nef-accept { flex: 1 1 auto; text-align: center; padding: 8px 14px; font-size: 12px; min-height: 36px; }
	.nef-prefs { text-align: center; padding: 6px; }
}

@media (max-width: 540px) {
	.repere-logo-img { height: 60px; }
	.volume-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.volume-table, .volume-table tbody, .volume-table tr, .volume-table td { display: block; width: 100%; }
	.volume-table tbody { background: transparent; }
	.volume-table tr { margin-bottom: var(--space-md); padding: var(--space-md); background: var(--color-bg-elevated); border-radius: var(--radius-md); }
	.volume-table td { display: flex; justify-content: space-between; gap: var(--space-md); text-align: right; border-bottom: 1px solid var(--color-line-soft); padding: var(--space-xs) 0; }
	.volume-table td::before { content: attr(data-label); font-weight: var(--fw-bold); text-align: left; color: var(--color-text); }
	.volume-table tr td:last-child { border-bottom: 0; }
}

@media (max-width: 1221px) {
  .repere-nav,
  .repere-nav-list,
  .repere-link { display: none !important; }
  .repere-toggle { display: flex !important; }
}
