/* ==========================================================================
   SAB FORMALITÉS — THE PRINTED ANNUAL (EDITORIAL REPORT)
   Direction: Imbue + Albert Sans | Palette: Bone, Post Red, Mustard, Slate
   ========================================================================== */

:root {
  /* Layer 1: Primitive & Semantic Palette ("The Printed Annual") */
  --bg: #e2dccf;
  --surface: #d7d0c1;
  --ink: #2a1110;
  --muted: #3d2420;
  --accent: #4a6f84;
  --accent-hover: #3b596b;
  --accent-ink: #ffffff;

  /* Chapter Full-Bleed Colour Fields */
  --field-1: #dc1928;
  --field-1-ink: #ffffff;

  --field-2: #952625;
  --field-2-ink: #ffffff;

  --field-3: #e0a912;
  --field-3-ink: #2a1110;

  --field-4: #4a6f84;
  --field-4-ink: #ffffff;

  --field-5: #e2dccf;
  --field-5-ink: #2a1110;

  /* Layer 2: Strict 2-Font System */
  --font-display: 'Imbue', Georgia, serif;
  --font-sans: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layer 2: Strict 5-Step Fluid Type Scale (Body >= 17px, Small >= 16px) */
  --step-small: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --step-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1.18rem + 0.35vw, 1.4375rem);
  --step-head: clamp(2rem, 1.65rem + 1.4vw, 3rem);
  --step-display: clamp(2.75rem, 2.1rem + 3.1vw, 4.75rem);

  /* Layer 3: Spatial Grid & Motion Tokens */
  --margin: clamp(1.25rem, 4vw, 3.5rem);
  --gutter: clamp(1.25rem, 2vw, 2rem);
  --section-pad: clamp(3.75rem, 6vw, 5.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   1. RESET & CRAFT FLOOR
   ========================================================================== */

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

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
  min-height: 100svh;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button,
input,
select,
textarea,
table,
th,
td {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 200ms var(--ease-out), opacity 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--accent);
  }
}

ul,
ol {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--margin);
  background-color: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-size: var(--step-small);
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   2. TYPOGRAPHY & HIERARCHY (ZERO DESCENDER/ASCENDER OVERLAP)
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--step-head);
  line-height: 1.08;
}

h3,
h4 {
  font-family: var(--font-sans);
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

p {
  font-size: var(--step-body);
  line-height: 1.6;
  max-width: 68ch;
  color: inherit;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.45;
  font-weight: 500;
  max-width: 68ch;
}

.small-note,
figcaption,
.credits {
  font-size: var(--step-small);
  line-height: 1.55;
  color: var(--muted);
  max-width: 68ch;
}

.tabular,
[data-roll],
td,
th {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   3. EDITORIAL 12-COLUMN GRID & 42% VERTICAL AXIS
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--margin);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(2.25rem, 3.5vw, 3.25rem);
  align-items: start;
}

/* Left Margin Zone: Columns 1 to 5 (0% to 41.6%) */
.axis-left {
  grid-column: 1 / 6;
}

/* Fixed 42% Editorial Axis: Columns 6 to 12 (Starts at 41.6% across viewport) */
.axis-main {
  grid-column: 6 / 13;
}

.span-full {
  grid-column: 1 / 13;
}

.chapter {
  padding-block: var(--section-pad);
  position: relative;
}

.chapter-surface {
  background-color: var(--surface);
  color: var(--ink);
  padding-inline: 1rem;
}

.chapter-field-1 {
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding-inline: 1rem;
}

.chapter-field-2 {
  background-color: var(--field-2);
  color: var(--field-2-ink);
  padding-inline: 1rem;
}

.chapter-field-3 {
  background-color: var(--field-3);
  color: var(--field-3-ink);
}

.chapter-field-4 {
  background-color: var(--field-4);
  color: var(--field-4-ink);
}

/* High-contrast text inside coloured fields (> 4.5:1 everywhere) */
.chapter-field-1 p,
.chapter-field-1 .small-note,
.chapter-field-1 .muted-ink,
.chapter-field-1 a,
.chapter-field-2 p,
.chapter-field-2 .small-note,
.chapter-field-2 .muted-ink,
.chapter-field-2 a,
.chapter-field-4 p,
.chapter-field-4 .small-note,
.chapter-field-4 .muted-ink,
.chapter-field-4 a,
.mosaic-tile-urgent p,
.mosaic-tile-urgent .small-note,
.mosaic-tile-urgent a,
.pole-sheet-featured p,
.pole-sheet-featured .small-note,
.pole-sheet-featured .muted-ink,
.pole-sheet-featured li,
.plan-field-red p,
.plan-field-red .small-note,
.plan-field-red .muted-ink,
.plan-field-red span,
.plan-field-slate p,
.plan-field-slate .small-note,
.plan-field-slate .muted-ink,
.plan-field-slate span {
  color: #ffffff;
}

.hourly-band p,
.hourly-band .small-note {
  color: var(--ink);
}

/* ==========================================================================
   4. HEADER & NAVIGATION (ZERO COLLISION BETWEEN LINKS AND CTA BUTTON)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 1.15rem;
  background-color: rgba(226, 220, 207, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 17, 16, 0.08);
  box-shadow: 0 4px 20px -2px rgba(42, 17, 16, 0.03);
  transition: padding-block 200ms var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-cell {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-body);
  color: var(--ink);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .brand-link:hover {
    transform: translateY(-1px);
  }
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  background-color: var(--ink);
  padding: 0.35rem 0.65rem;
  border-radius: 0;
  box-shadow: 0 2px 8px -2px rgba(42, 17, 16, 0.15);
  transition: box-shadow 200ms ease;
}

.nav-cell {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.75rem);
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  padding-block: 0.25rem;
  transition: color 180ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--field-1);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--field-1);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

.nav-link[aria-current="page"] {
  font-weight: 600;
  color: var(--field-1);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.action-cell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background-color: var(--surface);
  color: var(--ink);
  border: none;
  padding: 0.6rem 1rem;
  font-size: var(--step-small);
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
}

/* Buttons: Spatial Tactile Feel, Weightless Lift & Active Press */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.35rem;
  font-size: var(--step-small);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px -2px rgba(42, 17, 16, 0.08);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -2px rgba(42, 17, 16, 0.16);
  }
}

.btn:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 2px 4px -1px rgba(42, 17, 16, 0.1);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink) !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--accent-ink) !important;
  }
}

.btn-dark {
  background-color: var(--ink);
  color: var(--bg) !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover {
    background-color: #43201e;
    color: var(--bg) !important;
  }
}

.btn-surface {
  background-color: var(--surface);
  color: var(--ink) !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-surface:hover {
    background-color: #c9c0ae;
    color: var(--ink) !important;
  }
}

.btn-light {
  background-color: #ffffff;
  color: var(--ink) !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-light:hover {
    background-color: var(--bg);
    color: var(--ink) !important;
  }
}

/* ==========================================================================
   5. HERO STATEMENT ON THE 42% AXIS + BALANCED 3-COLUMN MASTHEAD MOSAIC
   ========================================================================== */

.hero-statement {
  padding-top: 1.5rem;
  padding-bottom: var(--section-pad);
}

@media (min-width: 1025px) {
  .hero-statement .axis-left,
  .hero-statement .axis-main {
    grid-row: 1;
  }
}

.hero-aside-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  background-color: var(--surface);
  padding: 1.75rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: var(--step-head);
  line-height: 1.05;
  color: var(--ink);
}

.hero-main-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  padding-top: 0.25rem;
}

/* Balanced 3-Column Mosaic Band (4 cols + 4 cols + 4 cols) */
.masthead-mosaic {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
  margin-top: 1.5rem;
}

.mosaic-photo-wide {
  grid-column: 1 / 5;
  background-color: var(--surface);
  overflow: hidden;
  position: relative;
  height: 340px;
}

.mosaic-photo-center {
  grid-column: 5 / 9;
  background-color: var(--surface);
  overflow: hidden;
  position: relative;
  height: 340px;
}

.mosaic-photo-wide img,
.mosaic-photo-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mosaic-tile-urgent {
  grid-column: 9 / 13;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 340px;
}

/* ==========================================================================
   6. LIVE INTERACTIVE COMPONENT ([data-ui] GREFFE DOSSIER SIMULATOR)
   ========================================================================== */

.simulator-shell {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.simulator-controls {
  grid-column: 1 / 6;
  background-color: var(--surface);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(42, 17, 16, 0.08);
  box-shadow: 0 4px 16px -2px rgba(42, 17, 16, 0.04);
}

.simulator-output {
  grid-column: 6 / 13;
  background-color: var(--surface);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(42, 17, 16, 0.08);
  box-shadow: 0 4px 16px -2px rgba(42, 17, 16, 0.04);
}

[data-ui] .control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[data-ui] label {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
}

[data-ui] select,
[data-ui] input,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background-color: var(--bg);
  color: var(--ink);
  border: 1px solid #8c7f70;
  border-radius: 0;
  font-size: var(--step-body);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

[data-ui] select:focus-visible,
[data-ui] input:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 111, 132, 0.18);
}

[data-ui] .pole-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

[data-ui] .pole-tab {
  background-color: var(--bg);
  color: var(--ink);
  border: 1px solid #9e9183;
  padding: 0.55rem 0.9rem;
  font-size: var(--step-small);
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(42, 17, 16, 0.04);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  [data-ui] .pole-tab:hover {
    transform: translateY(-1px);
    border-color: var(--ink);
  }
}

[data-ui] .pole-tab:active {
  transform: scale(0.97);
}

[data-ui] .pole-tab[aria-selected="true"] {
  background-color: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 2px 8px -1px rgba(42, 17, 16, 0.18);
}

.dossier-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  background-color: var(--bg);
  padding: 1.25rem;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--step-small);
  color: var(--ink);
}

.checklist-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  margin-top: 0.48rem;
  flex-shrink: 0;
}

/* ==========================================================================
   7. INLINE PICTURE PARAGRAPH & 5 PÔLES D'EXPERTISE
   ========================================================================== */

.picture-paragraph {
  font-family: var(--font-sans);
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink);
}

.inline-pic {
  display: inline-block;
  vertical-align: middle;
  width: 2.2em;
  height: 1.15em;
  overflow: hidden;
  margin-inline: 0.15em;
  background-color: var(--surface);
}

.inline-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poles-matrix {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.pole-sheet {
  background-color: var(--surface);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(42, 17, 16, 0.08);
  box-shadow: 0 4px 16px -2px rgba(42, 17, 16, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pole-sheet:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -4px rgba(42, 17, 16, 0.08);
    border-color: rgba(42, 17, 16, 0.16);
  }
}

.pole-sheet-left {
  grid-column: 1 / 6;
}

.pole-sheet-right {
  grid-column: 6 / 13;
}

.pole-sheet-featured {
  grid-column: 1 / 13;
  background-color: var(--field-2);
  color: var(--field-2-ink);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}

.pole-sheet-featured .pole-col-left {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pole-sheet-featured .pole-col-right {
  grid-column: 6 / 13;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.service-points li {
  font-size: var(--step-small);
  line-height: 1.5;
}

/* ==========================================================================
   8. DIRECTION & GOUVERNANCE (PORTRAIT MOUNT & ARCHIVAL FRAME - ZERO OVERLAP)
   ========================================================================== */

.portrait-mount {
  background-color: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.portrait-frame-sharp {
  width: 220px;
  height: 220px;
  overflow: hidden;
  background-color: var(--surface);
}

.portrait-frame-sharp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.archival-feature {
  background-color: var(--bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.chapter .archival-feature {
  background-color: var(--surface);
}

.chapter-surface .archival-feature {
  background-color: var(--bg);
}

.archival-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.member-thumb {
  width: 140px;
  height: 154px;
  object-fit: cover;
  object-position: center top;
  background-color: var(--surface);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   9. HOW IT WORKS: MANY INTO ONE DIAGRAM & DIPLOMATIC CHAIN
   ========================================================================== */

.diagram-frame {
  background-color: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ==========================================================================
   10. PRICING: TWO PLANS, TWO FULL-HEIGHT COLOUR FIELDS
   ========================================================================== */

.pricing-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.plan-field-red {
  grid-column: 1 / 6;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.plan-field-slate {
  grid-column: 6 / 13;
  background-color: var(--field-4);
  color: var(--field-4-ink);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.fee-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: rgba(0, 0, 0, 0.18);
}

.fee-amount {
  font-weight: 600;
  white-space: nowrap;
}

.hourly-band {
  grid-column: 1 / 13;
  background-color: var(--field-3);
  color: var(--field-3-ink);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}

.hourly-left {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hourly-right {
  grid-column: 6 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* ==========================================================================
   11. PROOF: BORDERLESS ZEBRA TABLES (CHRONOLOGY, 5 BUREAUX & PARTNERS)
   ========================================================================== */

.zebra-table-wrap {
  width: 100%;
}

.zebra-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--step-body);
}

.zebra-table th {
  font-weight: 600;
  font-size: var(--step-small);
  color: var(--muted);
  padding: 0.9rem 1.15rem;
  background-color: var(--surface);
}

.zebra-table td {
  padding: 1.05rem 1.15rem;
  vertical-align: middle;
}

.zebra-table tbody tr:nth-child(even) {
  background-color: var(--surface);
}

.partner-logo-inline {
  width: auto;
  max-width: 120px;
  height: 44px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: 0;
  display: block;
}

/* ==========================================================================
   PARTENAIRES & JURIDICTIONS (AFFICHAGE HORIZONTAL)
   ========================================================================== */

.partners-horizontal-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

.partners-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.partners-horizontal-scroll::-webkit-scrollbar-track {
  background: var(--surface);
}

.partners-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.partners-horizontal-track {
  display: flex;
  gap: 1.25rem;
  min-width: min-content;
}

.partner-horiz-card {
  flex: 0 0 280px;
  background: var(--bg);
  border-radius: 0;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  transition: transform 0.2s ease;
}

.partner-horiz-card:hover {
  transform: translateY(-2px);
}

.partner-card-emblem-wrap {
  height: 52px;
  display: flex;
  align-items: center;
}

.partner-badge-sub {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.partner-horiz-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.partner-horiz-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   12. FOOTER: FULL-WIDTH MONUMENT WORDMARK & PLACES
   ========================================================================== */

.site-footer {
  background-color: var(--ink);
  color: var(--bg);
  padding-top: var(--section-pad);
  padding-bottom: 0;
  overflow: hidden;
}

.site-footer p,
.site-footer .small-note,
.site-footer .credits {
  color: #e2dccf;
}

.site-footer a {
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover {
    color: #e0a912;
  }
}

.footer-places-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  padding-bottom: 2.5rem;
}

.footer-meta-bar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  padding-block: 2rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: var(--step-small);
}

.footer-monument {
  font-family: var(--font-display);
  font-size: var(--step-display);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--bg);
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  user-select: none;
  white-space: nowrap;
}

/* ==========================================================================
   13. MODAL DIALOG & TOAST NOTIFICATION
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(42, 17, 16, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--margin);
  z-index: 1000;
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop[aria-hidden="true"] {
  display: none;
  visibility: hidden;
  opacity: 0;
}

.modal-backdrop[aria-hidden="false"] {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.modal-sheet {
  background-color: var(--bg);
  color: var(--ink);
  width: 100%;
  max-width: 680px;
  max-height: 90svh;
  overflow-y: auto;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(42, 17, 16, 0.12);
  border-radius: 0;
  transform: translateY(0);
  animation: modalSheetPop 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSheetPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--step-small);
  font-weight: 600;
}

.toast-region {
  position: fixed;
  bottom: 1.5rem;
  right: var(--margin);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
}

.toast-banner {
  background-color: var(--ink);
  color: var(--bg);
  padding: 1rem 1.35rem;
  font-size: var(--step-small);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   14. MOTION CHOREOGRAPHY (SAFE NON-OVERLAPPING REVEALS)
   ========================================================================== */

.lines .line {
  display: block;
  overflow: hidden;
  padding-top: 0.08em;
  padding-bottom: 0.16em;
  margin-top: -0.08em;
  margin-bottom: -0.1em;
}

.lines [data-line] {
  display: block;
  transform: translateY(0);
  transition: transform 720ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js-motion .lines:not(.is-in) [data-line] {
  transform: translateY(24%);
}

[data-reveal] {
  transform: translateY(0);
  transition: transform 560ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.js-motion [data-reveal]:not(.is-in) {
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lines [data-line],
  [data-reveal],
  .btn {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (1080PX, 768PX & 390PX)
   ========================================================================== */

@media (max-width: 1080px) {
  .header-grid {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-cell {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--surface);
    padding: 1.25rem;
    gap: 0.85rem;
  }

  .nav-cell.is-open {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .axis-left,
  .axis-main,
  .simulator-controls,
  .simulator-output,
  .pole-sheet-left,
  .pole-sheet-right,
  .plan-field-red,
  .plan-field-slate,
  .hourly-left,
  .hourly-right {
    grid-column: 1 / 13;
  }

  .mosaic-photo-wide {
    grid-column: 1 / 7;
    height: 280px;
  }

  .mosaic-photo-center {
    grid-column: 7 / 13;
    height: 280px;
  }

  .mosaic-tile-urgent {
    grid-column: 1 / 13;
    min-height: auto;
  }

  .pole-sheet-featured .pole-col-left,
  .pole-sheet-featured .pole-col-right {
    grid-column: 1 / 13;
  }
}

@media (max-width: 720px) {
  :root {
    --step-head: clamp(1.75rem, 6vw, 2.2rem);
    --step-display: clamp(2.25rem, 8.2vw, 3rem);
  }

  .action-cell {
    width: 100%;
    justify-content: flex-start;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .simulator-controls,
  .simulator-output,
  .pole-sheet,
  .portrait-mount,
  .plan-field-red,
  .plan-field-slate,
  .hourly-band {
    padding: 1.35rem;
  }

  .mosaic-photo-wide,
  .mosaic-photo-center,
  .mosaic-tile-urgent {
    grid-column: 1 / 13;
    height: auto;
    min-height: 220px;
  }

  .service-points,
  .hourly-right,
  .form-grid,
  .dossier-meta-grid,
  .checklist-items {
    grid-template-columns: 1fr;
  }

  .fee-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  /* Stack Zebra Tables cleanly on 390px mobile so zero horizontal scroll occurs */
  .zebra-table,
  .zebra-table tbody,
  .zebra-table tr,
  .zebra-table td {
    display: block;
    width: 100%;
  }

  .zebra-table thead {
    display: none;
  }

  .zebra-table tr {
    padding: 0.75rem 0;
  }

  .zebra-table td {
    padding: 0.35rem 1rem;
  }
}

/* ==========================================================================
   14. PORTAL TEASER CARDS (CLEAN & AIRY)
   ========================================================================== */
.portal-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.portal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-3px);
  background: #FFF;
}

.portal-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--post-red);
  margin-bottom: 0.5rem;
}

.portal-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.portal-card-desc {
  font-size: var(--step-small);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.portal-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--post-red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   FINE-ART NOIR & BLANC (BLACK & WHITE PARIS ARCHITECTURE IDENTITY)
   ========================================================================== */
.mosaic-photo-wide img,
.mosaic-photo-center img,
.archival-feature img,
.bw-paris-photo,
.teaser-photo-wrap img {
  filter: grayscale(100%) contrast(114%) brightness(96%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.mosaic-photo-wide:hover img,
.mosaic-photo-center:hover img,
.teaser-photo-wrap:hover img {
  filter: grayscale(90%) contrast(118%) brightness(98%);
}

.teaser-hero-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #1C1615;
  color: #FFF1E8;
  border-radius: 0;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .teaser-hero-banner {
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
  }
}

.teaser-hero-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  color: #FFF1E8;
  margin-bottom: 0.85rem;
}

.teaser-hero-banner p {
  color: rgba(255, 241, 232, 0.9);
  font-size: var(--step-body);
  line-height: 1.55;
}


.teaser-photo-wrap {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 280px;
  background: #000;
}

.teaser-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teaser-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 241, 232, 0.85);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.teaser-inner-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.teaser-inner-box h4 {
  color: #FFD479;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.teaser-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.teaser-check-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 241, 232, 0.95);
  line-height: 1.4;
}

.teaser-check-list li span.bullet {
  color: var(--mustard);
  font-weight: bold;
}

.governance-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.governance-mini-card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 0;
  border: 1px solid rgba(42, 17, 16, 0.08);
  box-shadow: 0 4px 16px -2px rgba(42, 17, 16, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .governance-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -4px rgba(42, 17, 16, 0.08), 0 4px 8px -2px rgba(42, 17, 16, 0.03);
    border-color: rgba(42, 17, 16, 0.18);
  }
}

.office-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.office-mini-card {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 0;
  border: 1px solid rgba(42, 17, 16, 0.08);
  box-shadow: 0 4px 16px -2px rgba(42, 17, 16, 0.04);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .office-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -4px rgba(42, 17, 16, 0.08), 0 4px 8px -2px rgba(42, 17, 16, 0.03);
    border-color: rgba(42, 17, 16, 0.18);
  }
}
