:root {
  --color-primary: #f79b36;
  --color-primary-pressed: #d97b1e;
  --color-accent: #0f111c;
  --color-bg: #030407;
  --color-bg-elevated: #101320;
  --color-accent-pressed: #000000;
  --color-gradient-light: #3b426e;
  --color-gradient-mid: #20263d;
  --color-text: #ffffff;
  --color-text-muted: #bdbdbd;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-rg-banner: #dc2626;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Roboto Condensed", system-ui, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 800;

  --fs-micro: 11px;
  --fs-small: 13px;
  --fs-body: 16px;
  --fs-h5: 18px;
  --fs-h4: 21px;
  --fs-h3: 25px;
  --fs-h2: 31px;
  --fs-h1: 44px;

  --lh-tight: 1.12;
  --lh-normal: 1.5;
  --lh-loose: 1.75;
  --ls-wide: 0.06em;

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 44px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --sec-y: 48px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);

  --container-site: 1020px;
  --container-readable: 580px;
  --container-padding-desktop: 24px;
}

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

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: var(--lh-tight); margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: var(--space-sm);
  z-index: 200;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--fw-bold);
}
.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;
}

.main { display: block; }

/* Responsible-gaming banner (header not fixed → normal flow) */
.rg-banner {
  margin: 0;
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  text-align: center;
  padding: 7px var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

/* Shared full-width inner (literal calc — verify-widths) */
.poteau-inner, .cahier-inner, .cloche-inner, .mur-inner, .bandeau-inner,
.seuil-inner, .coffre-inner, .tympan-inner, .grille-inner, .comptoir-inner,
.piedestal-inner, .crypte-inner, .fresque-wrap-inner, .page-media-inner {
  width: 100%;
  max-width: calc(var(--container-site) + 2 * var(--container-padding-desktop));
  margin-inline: auto;
  padding-inline: var(--container-padding-desktop);
}

/* Section vertical rhythm (A-09 safe: pairs = 96px) */
.poteau, .cahier, .cloche, .mur, .bandeau, .seuil, .coffre,
.tympan, .grille, .comptoir, .fresque-wrap, .page-media {
  display: block;
  width: 100%;
  padding-block: var(--sec-y);
}

/* ================= HEADER (HEAD-13 Big Logo Banner + NAV-02) ================= */
.rubrique { display: block; width: 100%; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.rubrique-bar {
  min-height: 120px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.rubrique-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.rubrique-logo-img { height: 96px; width: auto; flex-shrink: 0; }
.rubrique-nav { margin-left: auto; }
.rubrique-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-md);
}
.rubrique-item > a, .rubrique-more-toggle {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text);
  background: none; border: 0; cursor: pointer;
  padding: 6px 2px;
  display: inline-flex; align-items: center; gap: 4px;
}
.rubrique-item > a:hover, .rubrique-more-toggle:hover { color: var(--color-primary); }
.rubrique-item > a[aria-current="page"] { color: var(--color-primary); }
.rubrique-more { position: relative; }
.rubrique-more-caret { font-size: 10px; }
.rubrique-more-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: var(--space-xs);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px; z-index: 60;
  display: none;
}
.rubrique-more-menu.is-open { display: block; }
.rubrique-more-item > a {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--color-text); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: var(--ls-wide);
}
.rubrique-more-item > a:hover { background: rgba(255, 255, 255, 0.06); color: var(--color-primary); }
.rubrique-more-item > a[aria-current="page"] { color: var(--color-primary); }
.rubrique-auth {
  flex-shrink: 0; white-space: nowrap;
  background: var(--color-primary); color: var(--color-bg);
  font-family: var(--font-display); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--ls-wide); font-size: var(--fs-small);
  padding: 10px var(--space-lg); border-radius: var(--radius-md);
}
.rubrique-auth:hover { background: var(--color-primary-pressed); color: var(--color-bg); }
.rubrique-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.rubrique-toggle-bar { display: block; width: 26px; height: 2px; background: var(--color-text); }
.rubrique-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--color-bg-elevated);
  border-left: 1px solid var(--color-border);
  padding: var(--space-2xl) var(--space-md) var(--space-md);
  z-index: 120; overflow-y: auto;
  display: none;
}
.rubrique-drawer.is-open { display: block; }
.rubrique-drawer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rubrique-drawer-item > a {
  display: block; padding: 12px 8px; color: var(--color-text);
  font-size: var(--fs-body); text-transform: uppercase; letter-spacing: var(--ls-wide);
  border-bottom: 1px solid var(--color-border);
}
.rubrique-drawer-item > a:hover { color: var(--color-primary); }
.rubrique-drawer-cta {
  margin-top: var(--space-md); text-align: center;
  background: var(--color-primary) !important; color: var(--color-bg) !important;
  border-radius: var(--radius-md); font-family: var(--font-display); font-weight: var(--fw-bold);
  border-bottom: 0 !important;
}

/* ================= HERO (HERO-11 Compact Right Image) ================= */
.poteau { background: linear-gradient(160deg, var(--color-bg), var(--color-gradient-mid)); }
.poteau-inner {
  display: grid; grid-template-columns: 63% 1fr; gap: var(--space-2xl);
  align-items: center; min-height: 420px;
}
.poteau-content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
.poteau-eyebrow {
  color: var(--color-primary); font-family: var(--font-display); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--ls-wide); font-size: var(--fs-small); margin: 0;
}
.poteau-title { font-size: var(--fs-h1); font-weight: var(--fw-black); overflow-wrap: anywhere; max-width: 100%; }
.poteau-subtitle { max-width: 520px; color: var(--color-text-muted); line-height: var(--lh-loose); }
.poteau-cta {
  background: var(--color-primary); color: var(--color-bg);
  font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: var(--ls-wide); padding: 14px var(--space-xl); border-radius: var(--radius-md);
}
.poteau-cta:hover { background: var(--color-primary-pressed); color: var(--color-bg); }
.poteau-figure { margin: 0; }
.poteau-img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-lg); }

/* ================= PAGE HEADER (PHEAD-02 Compact Centered) ================= */
.cahier { text-align: center; }
.cahier-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.cahier-title { font-size: var(--fs-h1); font-weight: var(--fw-black); overflow-wrap: anywhere; max-width: 100%; }
.cahier-divider { display: block; width: 72px; height: 4px; background: var(--color-primary); border-radius: var(--radius-pill); }

/* ================= PROSE (PROSE-04 Drop-Cap Magazine) ================= */
.cloche-inner { display: block; }
.cloche-h { font-size: var(--fs-h2); font-weight: var(--fw-bold); margin-bottom: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.cloche-p { color: var(--color-text); line-height: var(--lh-loose); margin-bottom: var(--space-md); max-width: var(--container-readable); }
.cloche-p a { color: var(--color-primary); text-decoration: underline; }
.cloche-p a:hover { color: var(--color-primary-pressed); }
.cloche-h + .cloche-p::first-letter {
  font-size: 3.6em; float: left; line-height: 0.8;
  margin-right: 0.08em; margin-top: 0.06em;
  color: var(--color-primary); font-family: var(--font-display); font-weight: var(--fw-bold);
}

/* ================= ITEMS GRID (GRID-08 Top-Border Accent) ================= */
.mur-heading { font-size: var(--fs-h2); font-weight: var(--fw-bold); margin-bottom: var(--space-lg); text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.mur-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.mur-card {
  background: var(--color-bg-elevated);
  border-top: 4px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}
.mur-card-title { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin-bottom: var(--space-xs); }
.mur-card-text { color: var(--color-text-muted); line-height: var(--lh-loose); font-size: var(--fs-small); }

/* ================= DATA TABLE (TABLE-05 Compact Dense) ================= */
.bandeau-scroll { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.bandeau-table { width: 100%; border-collapse: collapse; }
.bandeau-thead { background: var(--color-bg-elevated); }
.bandeau-th {
  background: var(--color-bg-elevated); color: var(--color-text);
  text-align: left; padding: var(--space-sm); font-size: var(--fs-micro);
  text-transform: uppercase; letter-spacing: var(--ls-wide); font-weight: var(--fw-bold);
  position: sticky; top: 0; z-index: 1;
}
.bandeau-tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.bandeau-td { padding: var(--space-xs) var(--space-sm); font-size: var(--fs-small); color: var(--color-text); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

/* ================= REVIEWS (REV-10 Minimal Underlined) ================= */
.seuil-heading { font-size: var(--fs-h2); font-weight: var(--fw-bold); margin-bottom: var(--space-lg); text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.seuil-list { display: block; }
.seuil-item { padding-block: var(--space-md); border-bottom: 1px dotted var(--color-border); }
.seuil-head { margin-bottom: var(--space-2xs); }
.seuil-author { font-weight: var(--fw-medium); color: var(--color-text); }
.seuil-rating { color: var(--color-text-muted); font-size: var(--fs-small); }
.seuil-text { color: var(--color-text-muted); line-height: var(--lh-loose); }

/* ================= FAQ (FAQ-04 Side-Numbered Accordion) ================= */
.coffre-heading { font-size: var(--fs-h2); font-weight: var(--fw-bold); margin-bottom: var(--space-lg); text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.coffre-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.coffre-item { display: grid; grid-template-columns: 60px 1fr; align-items: start; gap: var(--space-sm); border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-sm); }
.coffre-num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); color: var(--color-primary); overflow-wrap: anywhere; max-width: 100%; }
.coffre-details { display: block; }
.coffre-q {
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-h5); color: var(--color-text); display: flex; justify-content: space-between; gap: var(--space-sm);
}
.coffre-q::-webkit-details-marker { display: none; }
.coffre-q::after { content: "▾"; color: var(--color-primary); }
.coffre-details[open] .coffre-q::after { content: "▴"; }
.coffre-a { color: var(--color-text-muted); line-height: var(--lh-loose); padding-top: var(--space-xs); }
.coffre-a a { color: var(--color-primary); text-decoration: underline; }

/* ================= CTA (CTA-03 Split Visual + Text) ================= */
.tympan-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.tympan-content { background: var(--color-bg-elevated); padding: var(--space-2xl); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
.tympan-title { font-size: var(--fs-h2); font-weight: var(--fw-bold); overflow-wrap: anywhere; max-width: 100%; }
.tympan-text { color: var(--color-text-muted); line-height: var(--lh-loose); }
.tympan-btn { background: var(--color-primary); color: var(--color-bg); font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); padding: 14px var(--space-xl); border-radius: var(--radius-md); }
.tympan-btn:hover { background: var(--color-primary-pressed); color: var(--color-bg); }
.tympan-visual { background: var(--color-gradient-mid); background-image: linear-gradient(135deg, var(--color-gradient-mid), var(--color-gradient-light)); min-height: 300px; display: flex; align-items: center; justify-content: center; }
.tympan-mark { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 160px; color: var(--color-primary); line-height: 1; }

/* ================= AUTHOR BYLINE (BYLINE-07 Expertise Tags) ================= */
.voussure { display: block; width: 100%; max-width: calc(var(--container-site) + 2 * var(--container-padding-desktop)); margin-inline: auto; padding: var(--sec-y) var(--container-padding-desktop); }
.voussure-card { background: var(--color-bg-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--space-lg); }
.voussure-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.voussure-portrait { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.voussure-id { display: block; }
.voussure-name { font-size: var(--fs-h4); font-weight: var(--fw-bold); }
.voussure-name a { color: var(--color-text); }
.voussure-name a:hover { color: var(--color-primary); }
.voussure-role { font-size: var(--fs-small); color: var(--color-text-muted); }
.voussure-bio { color: var(--color-text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-sm); }
.voussure-expertise { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-sm); }
.voussure-tag { background: var(--color-primary); color: var(--color-bg); padding: 3px var(--space-sm); border-radius: var(--radius-pill); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.voussure-link { color: var(--color-primary); text-decoration: underline; font-weight: var(--fw-medium); }
.voussure-link:hover { color: var(--color-primary-pressed); }

/* ================= AUTHOR CARD (AUTH-05) ================= */
.fresque-wrap { display: block; }
.fresque { display: flex; flex-direction: column; gap: var(--space-lg); }
.fresque-card { background: var(--color-bg-elevated); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-lg); display: flex; gap: var(--space-lg); align-items: flex-start; }
.fresque-portrait { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.fresque-body { display: flex; flex-direction: column; gap: var(--space-xs); }
.fresque-role { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-primary); }
.fresque-name { font-size: var(--fs-h3); font-weight: var(--fw-bold); overflow-wrap: anywhere; max-width: 100%; }
.fresque-bio { color: var(--color-text-muted); line-height: var(--lh-loose); }
.fresque-expertise { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xs); }
.fresque-tag { background: var(--color-primary); color: var(--color-bg); padding: 3px var(--space-sm); border-radius: var(--radius-pill); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.fresque-articles { background: var(--color-bg-elevated); border-radius: var(--radius-lg); padding: var(--space-lg); }
.fresque-articles-heading { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin-bottom: var(--space-sm); }
.fresque-articles-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xs); }
.fresque-article { border-bottom: 1px solid var(--color-border); padding: 8px 0; }
.fresque-article a { color: var(--color-primary); }
.fresque-article a:hover { color: var(--color-primary-pressed); }

/* ================= CONTACT FORM (FORM-01 Stacked) ================= */
.grille-intro { color: var(--color-text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-lg); max-width: var(--container-readable); }
.grille-success { background: var(--color-bg-elevated); border-left: 4px solid var(--color-primary); padding: var(--space-md); border-radius: var(--radius-md); margin-bottom: var(--space-md); }
.grille-form { max-width: 640px; display: flex; flex-direction: column; gap: var(--space-md); }
.grille-field { display: flex; flex-direction: column; gap: var(--space-2xs); }
.grille-label { font-weight: var(--fw-medium); font-size: var(--fs-small); }
.grille-input { background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px var(--space-sm); color: var(--color-text); font-family: var(--font-body); font-size: var(--fs-body); }
.grille-input:focus { outline: 2px solid var(--color-primary); }
.grille-textarea { resize: vertical; min-height: 140px; }
.grille-submit { align-self: flex-start; background: var(--color-primary); color: var(--color-bg); border: 0; cursor: pointer; font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); padding: 14px var(--space-xl); border-radius: var(--radius-md); }
.grille-submit:hover { background: var(--color-primary-pressed); color: var(--color-bg); }

/* ================= LEGAL (LEGAL-02 Numbered Sections) ================= */
.comptoir-intro { color: var(--color-text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-lg); max-width: var(--container-readable); }
.comptoir-body { counter-reset: legal-section; }
.comptoir-section { counter-increment: legal-section; margin-bottom: var(--space-lg); }
.comptoir-h3 { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin-bottom: var(--space-xs); }
.comptoir-h3::before { content: counter(legal-section) ". "; color: var(--color-primary); font-family: var(--font-display); font-weight: var(--fw-bold); margin-right: var(--space-2xs); }
.comptoir-p { color: var(--color-text-muted); line-height: var(--lh-loose); padding-left: var(--space-md); margin-bottom: var(--space-sm); max-width: var(--container-readable); }
.comptoir-p a { color: var(--color-primary); text-decoration: underline; }
.comptoir-contacts { padding-left: var(--space-md); color: var(--color-text-muted); line-height: var(--lh-loose); }
.comptoir-contact { margin-bottom: var(--space-2xs); }
.comptoir-disclaimer { margin-top: var(--space-lg); color: var(--color-text-muted); font-size: var(--fs-small); font-style: italic; }

/* ================= FOOTER (FOOT-02 Two-Row Brand + Nav) ================= */
.piedestal { display: block; width: 100%; background: var(--color-bg); border-top: 1px solid var(--color-border); padding-block: var(--space-xl); }
.piedestal-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.piedestal-row--top { padding-bottom: var(--space-md); }
.piedestal-row--bottom { border-top: 1px solid var(--color-border); padding-top: var(--space-md); }
.piedestal-logo { flex-shrink: 0; }
.piedestal-logo-img { height: 72px; width: auto; }
.piedestal-nav { display: block; }
.piedestal-nav-list, .piedestal-legal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-md); }
.piedestal-nav-list a { color: var(--color-text-muted); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.piedestal-nav-list a:hover { color: var(--color-text); }
.piedestal-copy { color: var(--color-text-muted); font-size: var(--fs-small); }
.piedestal-legal-nav { display: block; }
.piedestal-legal-list { gap: var(--space-sm); }
.piedestal-legal-list a { color: var(--color-text-muted); font-size: var(--fs-micro); }
.piedestal-legal-list a:hover { color: var(--color-text); }

/* ================= COOKIE (COOK-04 Slide-Up + Backdrop) ================= */
.crypte-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 89; }
.crypte-backdrop[hidden] { display: none; }
.crypte { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--color-bg); border-top: 4px solid var(--color-primary); box-shadow: var(--shadow-md); }
.crypte[hidden] { display: none; }
.crypte-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); padding-block: var(--space-xl); text-align: center; }
.crypte-title { font-size: var(--fs-h4); }
.crypte-message { max-width: 720px; color: var(--color-text-muted); line-height: var(--lh-loose); }
.crypte-actions { display: flex; gap: var(--space-md); }
.crypte-accept { background: var(--color-primary); color: var(--color-bg); border: 0; cursor: pointer; font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); height: 48px; padding-inline: var(--space-lg); border-radius: var(--radius-md); }
.crypte-accept:hover { background: var(--color-primary-pressed); color: var(--color-bg); }
.crypte-decline { background: var(--color-bg-elevated); color: var(--color-text); border: 1px solid var(--color-border); cursor: pointer; font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); height: 48px; padding-inline: var(--space-lg); border-radius: var(--radius-md); }
.crypte-decline:hover { background: rgba(255, 255, 255, 0.08); color: var(--color-text); }

/* ================= ERROR (ERR-01 Centered Hero-Style) ================= */
.pupitre { display: block; width: 100%; padding-block: var(--space-2xl); text-align: center; }
.pupitre-box { max-width: 720px; margin-inline: auto; padding-inline: var(--container-padding-desktop); display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.pupitre-code { font-family: var(--font-display); font-weight: var(--fw-black); font-size: clamp(29px, 18vw, 200px); color: var(--color-primary); line-height: var(--lh-tight); overflow-wrap: anywhere; max-width: 100%; }
.pupitre-title { font-size: var(--fs-h1); font-weight: var(--fw-black); overflow-wrap: anywhere; max-width: 100%; }
.pupitre-text { color: var(--color-text-muted); font-size: var(--fs-h5); }
.pupitre-btn { background: var(--color-primary); color: var(--color-bg); font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); height: 52px; display: inline-flex; align-items: center; padding-inline: var(--space-xl); border-radius: var(--radius-md); }
.pupitre-btn:hover { background: var(--color-primary-pressed); color: var(--color-bg); }

/* ================= PAGE MEDIA ================= */
.page-media-inner { display: block; }
.page-media-item { margin: 0; }
.page-media-item img { width: 100%; max-height: 58vh; object-fit: cover; border-radius: var(--radius-lg); }
.page-media-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1120px) {
  .rubrique-nav, .rubrique-auth { display: none; }
  .rubrique-toggle { display: flex; }
  .rubrique-logo-img { height: 76px; }
  .rubrique-bar { min-height: 80px; }
}

@media (max-width: 860px) {
  :root { --fs-h1: 34px; --fs-h2: 26px; --sec-y: 40px; }
  .poteau-inner { grid-template-columns: 1fr; gap: var(--space-lg); min-height: 0; }
  .poteau-figure { order: 2; }
  .poteau-img { aspect-ratio: 16 / 9; max-height: 260px; }
  .mur-grid { grid-template-columns: 1fr 1fr; }
  .tympan-inner { grid-template-columns: 1fr; }
  .tympan-visual { min-height: 180px; }
  .tympan-mark { font-size: 110px; }
  .fresque-articles-list { grid-template-columns: 1fr; }
  .piedestal-row { flex-direction: column; align-items: center; text-align: center; }
  .piedestal-nav-list, .piedestal-legal-list { justify-content: center; }
}

@media (max-width: 560px) {
  :root { --fs-h1: 28px; }
  .mur-grid { grid-template-columns: 1fr; }
  .coffre-item { grid-template-columns: 40px 1fr; gap: var(--space-xs); }
  .fresque-card { flex-direction: column; align-items: center; text-align: center; }
  .tympan-content { padding: var(--space-lg); }
  .tympan-mark { font-size: 84px; }
}

@media (max-width: 720px) {
  .crypte, .crypte-inner { padding: 12px 14px !important; gap: 8px !important; font-size: 13px !important; line-height: 1.35 !important; }
  .crypte-title { display: none !important; }
  .crypte-actions { flex-direction: column; width: 100%; }
  .crypte-accept, .crypte-decline { width: 100%; padding: 8px 14px !important; font-size: 12px !important; min-height: 36px !important; }
}

@media (max-width: 1136px) {
  .rubrique-nav,
  .rubrique-list,
  .rubrique-auth { display: none !important; }
  .rubrique-toggle { display: flex !important; }
}
