/* ============================================================
   ORGLEZ — Manufacture d'orgues, Forges-de-Lanouée (56)
   Feuille de style unique. Sections numérotées, dans l'ordre de la page.
   Polices auto-hébergées (fonts/) : Cormorant Garamond (titres),
   Instrument Sans (texte), IBM Plex Mono (fiches techniques).
   ============================================================ */

/* ============================================================
   0. POLICES
   ============================================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-500-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-500-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-normal-500-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-normal-500-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrument-sans-normal-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrument-sans-normal-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--color-accent); color: var(--color-white); }

/* ============================================================
   2. TOKENS — PALETTE
   ------------------------------------------------------------
   PALETTE — Orglez, manufacture d'orgues (Forges-de-Lanouée)
   Primaire : #3a2a1f  noyer — le bois des buffets (brun chaud)
   Ébène    : #1d1612  fonds sombres (hero, Bordeaux, pied de page)
   Accent   : #b3392a  « rouge anche » — sur les consoles, les jeux
              d'anches s'écrivent en rouge (analogique, ~20° du brun :
              métier d'art, on cherche l'harmonie plutôt que le choc)
   Étain    : #c9c4ba  le métal des tuyaux (façade, filets)
   Neutrals : ivoire / os des claviers (sous-teinte chaude)
   Règle    : 60 % ivoire / 30 % noyer-ébène / 10 % rouge anche
   ============================================================ */
:root {
  /* Brand */
  --color-primary:        #3a2a1f;
  --color-primary-dark:   #1d1612;
  --color-primary-light:  #6b4a33;
  --color-primary-subtle: #efe6d6;
  --color-accent:         #b3392a;
  --color-accent-dark:    #8e2b1f;

  /* Matières */
  --color-tin:       #c9c4ba;
  --color-tin-light: #e6e2da;
  --color-tin-dark:  #6f6a63;
  --color-brass:     #b8924a;

  /* Neutrals */
  --color-white:    #fffdf8;
  --color-gray-50:  #f7f2e8;
  --color-gray-100: #efe7d8;
  --color-gray-200: #ddd2bf;
  --color-gray-400: #a3978a;
  --color-gray-600: #6a5e53;
  --color-gray-900: #221b16;
  --color-black:    #0f0b09;

  /* Sémantiques */
  --color-surface:     var(--color-gray-50);
  --color-surface-alt: var(--color-gray-100);
  --color-text:        var(--color-gray-900);
  --color-text-muted:  var(--color-gray-600);
  --color-border:      var(--color-gray-200);
  --color-success:     #2f6b3a;
  --color-error:       #a8281b;
}

/* ============================================================
   3. TOKENS — SYSTÈME
   ============================================================ */
:root {
  /* Typographie */
  --font-display: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-sans:    'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.75rem;
  --text-4xl:  3.5rem;
  --text-5xl:  4.5rem;
  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --leading-tight:   1.05;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;

  /* Espacement */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-xl: 90rem;
  --container-lg: 75rem;
  --container-md: 60rem;
  --container-sm: 40rem;
  --nav-height:   4.5rem;

  /* Forme */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999rem;

  /* Ombres (chaudes) */
  --shadow-sm: 0 1px 3px rgba(29, 22, 18, 0.08);
  --shadow-md: 0 4px 16px rgba(29, 22, 18, 0.1);
  --shadow-lg: 0 12px 40px rgba(29, 22, 18, 0.16);

  /* Transitions */
  --ease-default: 200ms ease;
  --ease-hover:   300ms ease;
  --ease-reveal:  700ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   4. TYPOGRAPHIE
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 em, h3 em, h1 em { font-style: italic; font-weight: var(--weight-medium); }
p { text-wrap: pretty; }

.section_heading {
  font-size: clamp(2.5rem, 5vw, var(--text-5xl));
  color: var(--color-primary-dark);
}
.section_heading em { color: var(--color-accent); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

.credit {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: var(--leading-normal);
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}
.credit a { text-underline-offset: 0.15em; }

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.page-wrapper { overflow-x: clip; }
.container-large  { width: 100%; max-width: var(--container-lg); margin: 0 auto; padding: 0 var(--space-6); }
.container-medium { width: 100%; max-width: var(--container-md); margin: 0 auto; padding: 0 var(--space-6); }
.container-small  { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 var(--space-6); }
.padding-global   { padding-block: var(--space-24); }
.padding-section  { padding-block: var(--space-16); }

/* ============================================================
   6. BUTTONS & TAGS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3.25rem;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  text-decoration: none;
  color: var(--color-white);
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  transition: background-color var(--ease-default), border-color var(--ease-default), color var(--ease-default), transform var(--ease-default);
}
.btn:hover { background-color: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--ghost {
  color: var(--color-gray-50);
  background-color: transparent;
  border-color: rgba(230, 226, 218, 0.4);
}
.btn--ghost:hover { background-color: rgba(230, 226, 218, 0.1); border-color: var(--color-tin-light); }

.btn--dark { background-color: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn--dark:hover { background-color: var(--color-primary); border-color: var(--color-primary); }

.btn--small {
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.125rem var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  border-radius: var(--radius-sm);
}
.tag--mh { color: var(--color-white); background: var(--color-primary); }

/* ============================================================
   7. ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.5s ease, transform var(--ease-reveal);
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

@keyframes pipe-speak {
  0%   { filter: brightness(1.7) drop-shadow(0 0 0.6rem rgba(255, 226, 170, 0.75)); }
  100% { filter: brightness(1) drop-shadow(0 0 0 rgba(255, 226, 170, 0)); }
}
@keyframes dot-pulse {
  0%   { r: 7; opacity: 0.7; }
  100% { r: 18; opacity: 0; }
}

/* ============================================================
   8. SKIP LINK & A11Y
   ============================================================ */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  top: -10rem;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-white);
  background-color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

.visually-hidden {
  position: absolute !important;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.section_hero :focus-visible,
.section_bordeaux :focus-visible,
.footer_component :focus-visible { outline-color: var(--color-tin-light); }

/* ============================================================
   9. NAVBAR
   ============================================================ */
.navbar_component {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(247, 242, 232, 0.92);
  backdrop-filter: saturate(1.4) blur(0.75rem);
  -webkit-backdrop-filter: saturate(1.4) blur(0.75rem);
  border-bottom: 1px solid var(--color-border);
}
.navbar_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: var(--nav-height);
}
.navbar_brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--color-primary-dark);
}
.navbar_logo { width: 2.5rem; height: 2.5rem; flex: none; }
.navbar_wordmark { display: flex; flex-direction: column; line-height: 1; }
.navbar_wordmark strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--weight-semibold);
  font-style: italic;
  letter-spacing: -0.01em;
}
.navbar_wordmark small {
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.navbar_menu { display: flex; align-items: center; gap: var(--space-8); }
.navbar_links { display: flex; gap: var(--space-6); list-style: none; padding: 0; }
.navbar_links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  color: var(--color-primary);
  background: linear-gradient(currentColor, currentColor) no-repeat left calc(100% - 0.6rem) / 0 1px;
  transition: background-size var(--ease-hover), color var(--ease-default);
}
.navbar_links a:hover { color: var(--color-accent); background-size: 100% 1px; }

.navbar_burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.navbar_burger span {
  display: block;
  height: 1.5px;
  background: var(--color-primary-dark);
  transition: transform var(--ease-default), opacity var(--ease-default);
}
.navbar_burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.navbar_burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar_burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.4rem) rotate(-45deg); }

/* Pages secondaires : simple lien de retour */
.navbar_back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  color: var(--color-primary);
}
.navbar_back:hover { color: var(--color-accent); }

/* ============================================================
   10. HERO — LA NEF
   ============================================================ */
.section_hero {
  position: relative;
  isolation: isolate;
  color: var(--color-gray-50);
  background:
    radial-gradient(55rem 38rem at 78% 18%, rgba(184, 146, 74, 0.2), transparent 62%),
    radial-gradient(40rem 30rem at 5% 100%, rgba(179, 57, 42, 0.12), transparent 70%),
    var(--color-primary-dark);
  padding-top: var(--space-12);
  padding-bottom: clamp(10rem, 19vw, 17rem);
  overflow: hidden;
}
.hero_topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-bottom: var(--space-12);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-tin);
}
.hero_topline span + span::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: var(--space-5);
  vertical-align: middle;
  background: var(--color-accent);
  border-radius: 50%;
}

.hero_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-16);
  align-items: end;
}

.hero_heading { display: flex; flex-direction: column; gap: var(--space-5); }
.hero_heading-kicker {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  letter-spacing: 0;
  color: var(--color-tin);
}
.hero_heading-main {
  font-size: clamp(3.25rem, 7.2vw, 6.75rem);
  line-height: 0.95;
  color: var(--color-white);
}
.hero_heading-main em { color: var(--color-tin-light); font-weight: var(--weight-medium); }

.hero_intro {
  max-width: 34rem;
  margin-top: var(--space-8);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: rgba(247, 242, 232, 0.82);
}
.hero_signature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-tin-light);
}
.hero_signature::before { content: ""; width: 2.5rem; height: 1px; background: var(--color-brass); }

.hero_actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }

.hero_figure { position: relative; justify-self: end; width: 100%; max-width: 26rem; }
.hero_arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 40% 40% var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45);
}
.hero_arch::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px solid rgba(230, 226, 218, 0.45);
  border-radius: inherit;
  pointer-events: none;
}
.hero_arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero_figure figcaption {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: var(--leading-normal);
  color: var(--color-tin);
}
.hero_figure figcaption .credit { display: block; margin-top: var(--space-1); color: rgba(201, 196, 186, 0.7); }

/* Façade de tuyaux : signature du site, jouable au clic */
.hero_facade {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: clamp(9rem, 17vw, 16rem);
}
.hero_facade svg { width: 100%; height: 100%; }
.hero_facade .pipe { cursor: pointer; transition: filter var(--ease-hover); }
.hero_facade .pipe:hover { filter: brightness(1.18); }
.hero_facade .pipe.is-speaking { animation: pipe-speak 1.4s ease-out; }
.pipe_body  { fill: url(#etain); }
.pipe_mouth { fill: var(--color-primary-dark); }
.hero_impost {
  position: absolute;
  inset: auto 0 0 0;
  height: 1.375rem;
  background: linear-gradient(180deg, #6b4a33 0, #3a2a1f 0.25rem, #2a1f17 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}
/* L'invitation à jouer est gravée dans l'impost, sous la tourelle */
.hero_hint {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  z-index: 1;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(230, 226, 218, 0.7);
  pointer-events: none;
}

/* ============================================================
   11. CHIFFRES — LA FICHE DE L'ATELIER
   ============================================================ */
.section_chiffres { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.chiffres_list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}
.chiffres_item {
  padding: var(--space-10) var(--space-6);
  border-left: 1px solid var(--color-border);
}
.chiffres_item:first-child { border-left: 0; padding-left: 0; }
.chiffres_value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 3.75rem);
  font-weight: var(--weight-semibold);
  line-height: 1;
  color: var(--color-primary-dark);
}
.chiffres_value small { font-size: 0.5em; font-style: italic; font-weight: var(--weight-medium); color: var(--color-accent); }
.chiffres_label { display: block; margin-top: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--color-text-muted); }
.chiffres_source { padding-bottom: var(--space-6); }

/* ============================================================
   12. L'ATELIER — DEUX FACTEURS
   ============================================================ */
.section_atelier { background: var(--color-surface); }
.atelier_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-16);
  align-items: start;
}
.atelier_text .lead { margin-top: var(--space-6); max-width: 36rem; }
.atelier_story { margin-top: var(--space-6); max-width: 36rem; color: var(--color-text); }
.atelier_story + .atelier_story { margin-top: var(--space-4); }

.fiches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-10); }
.fiche {
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.fiche_number { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); }
.fiche h3 { margin-top: var(--space-2); font-size: var(--text-2xl); color: var(--color-primary-dark); }
.fiche dl { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.fiche dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.fiche dd { font-size: var(--text-sm); line-height: var(--leading-normal); }

.atelier_quote {
  margin-top: var(--space-10);
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-accent);
}
.atelier_quote p {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-style: italic;
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--color-primary-dark);
}
.atelier_quote footer { margin-top: var(--space-2); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-muted); }

.atelier_media { position: sticky; top: calc(var(--nav-height) + var(--space-8)); }
.atelier_photo { position: relative; }
.atelier_photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 52% 50%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.atelier_media figcaption { margin-top: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--color-text-muted); }
.atelier_plaque {
  position: absolute;
  top: calc(var(--space-10) * -1);
  right: calc(var(--space-8) * -1);
  width: 14rem;
  transform: rotate(6deg);
  filter: drop-shadow(0 0.75rem 1.25rem rgba(29, 22, 18, 0.35));
}
.atelier_address {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
}
.atelier_address strong { font-family: var(--font-display); font-size: var(--text-xl); font-style: italic; color: var(--color-primary-dark); }

/* ============================================================
   13. SAVOIR-FAIRE — LES REGISTRES
   ============================================================ */
/* Fond de portées : cinq lignes, un blanc, cinq lignes… */
.section_savoir {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='112'%3E%3Cpath d='M0 .5h16M0 12.5h16M0 24.5h16M0 36.5h16M0 48.5h16' stroke='%23ddd2bf'/%3E%3C/svg%3E") 0 2rem / 1rem 7rem repeat,
    var(--color-surface-alt);
}
.savoir_header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: end; margin-bottom: var(--space-16); }
.savoir_header .lead { max-width: 32rem; }

.registres_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}
.registre {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--ease-hover), box-shadow var(--ease-hover), transform var(--ease-hover);
}
.registre:hover { border-color: var(--color-gray-400); box-shadow: var(--shadow-md); }

/* Tirant de jeu : bouton en bois tourné + pastille de porcelaine */
.registre_knob {
  display: grid;
  place-items: center;
  width: 5.75rem;
  height: 5.75rem;
  margin-bottom: var(--space-6);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #5a412f 0%, #2a1f17 62%, #1d1612 100%);
  box-shadow: 0 0.35rem 0.5rem rgba(29, 22, 18, 0.28), inset 0 -0.2rem 0.35rem rgba(0, 0, 0, 0.5);
  transition: transform var(--ease-hover), box-shadow var(--ease-hover);
}
.registre_disc {
  display: grid;
  place-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-semibold);
  font-size: 0.875rem;
  line-height: 1.05;
  color: var(--color-primary-dark);
  background: radial-gradient(circle at 36% 30%, #ffffff 0%, #f5efe3 50%, #d9ccb4 100%);
  box-shadow: inset 0 0 0 1px rgba(29, 22, 18, 0.15);
}
.registre_disc b { display: block; margin-top: 0.1rem; font-size: 1.05rem; font-style: normal; font-weight: var(--weight-bold); }
.registre_disc--anche { color: var(--color-accent); }
.registre:hover .registre_knob {
  transform: translateY(-0.3rem) scale(1.05);
  box-shadow: 0 1rem 1.25rem rgba(29, 22, 18, 0.28), inset 0 -0.2rem 0.35rem rgba(0, 0, 0, 0.5);
}
.registre h3 { font-size: var(--text-2xl); color: var(--color-primary-dark); }
.registre p { margin-top: var(--space-3); font-size: var(--text-base); line-height: var(--leading-normal); color: var(--color-text-muted); }
.registre_ex {
  margin-top: auto;
  padding-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: var(--leading-normal);
  color: var(--color-primary-light);
}
.registre_ex::before { content: "Ex. — "; color: var(--color-accent); }

.savoir_note {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  background: var(--color-white);
  border: 1px dashed var(--color-gray-400);
  border-radius: var(--radius-lg);
}
.savoir_note svg { width: 2rem; height: 2rem; flex: none; color: var(--color-accent); }

/* ============================================================
   14. BORDEAUX — LE GRAND CHANTIER
   ============================================================ */
.section_bordeaux {
  position: relative;
  isolation: isolate;
  color: var(--color-gray-50);
  background: var(--color-primary-dark);
  overflow: hidden;
}
.bordeaux_media { position: absolute; inset: 0 0 0 38%; z-index: -1; margin: 0; }
.bordeaux_media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.bordeaux_media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, rgba(29, 22, 18, 0.75) 22%, rgba(29, 22, 18, 0.1) 60%, rgba(29, 22, 18, 0.35) 100%);
}
.bordeaux_media figcaption {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-4);
  z-index: 1;
  color: rgba(247, 242, 232, 0.75);
}
.bordeaux_content { max-width: 36rem; }
.section_bordeaux .kicker { color: var(--color-tin); }
.section_bordeaux .section_heading { color: var(--color-white); }
.section_bordeaux .section_heading em { color: var(--color-tin-light); }
.bordeaux_text { margin-top: var(--space-6); font-size: var(--text-lg); line-height: var(--leading-normal); color: rgba(247, 242, 232, 0.86); }
.bordeaux_facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(230, 226, 218, 0.2);
}
.bordeaux_facts dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-tin); }
.bordeaux_facts dd { margin-top: var(--space-1); font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-semibold); line-height: var(--leading-snug); color: var(--color-white); }
.bordeaux_actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.bordeaux_partners { margin-top: var(--space-8); font-size: var(--text-sm); line-height: var(--leading-normal); color: rgba(247, 242, 232, 0.7); }

/* ============================================================
   15. RÉALISATIONS — CARTE & FICHES
   ============================================================ */
.section_realisations { background: var(--color-surface); }
.realisations_header { max-width: 46rem; margin-bottom: var(--space-10); }
.realisations_header .lead { margin-top: var(--space-6); }

.realisations_filters { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-10); }
.realisations_filter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: background-color var(--ease-default), color var(--ease-default), border-color var(--ease-default);
}
.realisations_filter sup { font-family: var(--font-mono); font-size: 0.6875rem; top: 0; color: var(--color-accent); }
.realisations_filter:hover { border-color: var(--color-primary-light); }
.realisations_filter.is-active { color: var(--color-white); background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.realisations_filter.is-active sup { color: var(--color-tin); }

.realisations_layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-12);
  align-items: start;
}
.map_component {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.map_svg { width: 100%; height: auto; }
.map_france { fill: #e9e0cf; stroke: var(--color-white); stroke-width: 1.2; stroke-linejoin: round; }
.map_bretagne { fill: #cdb38c; stroke: var(--color-white); stroke-width: 1.2; stroke-linejoin: round; }
.map_dot { fill: var(--color-primary); stroke: var(--color-white); stroke-width: 2; cursor: pointer; transition: fill var(--ease-default); }
.map_dot.is-active { fill: var(--color-accent); }
.map_dot.is-dimmed { fill: var(--color-gray-400); }
.map_pulse { fill: var(--color-accent); opacity: 0; pointer-events: none; }
.map_pulse.is-active { animation: dot-pulse 1.4s ease-out infinite; }
.map_atelier-ring { fill: none; stroke: var(--color-accent); stroke-width: 2; }
.map_atelier { fill: var(--color-accent); }
/* Tailles en unités du viewBox SVG (la carte est mise à l'échelle), pas en pixels écran */
.map_label {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  fill: var(--color-primary-dark);
  paint-order: stroke;
  stroke: var(--color-white);
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}
.map_label--atelier { fill: var(--color-accent); font-size: 14px; }
.map_legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}
.map_legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.map_legend i { display: inline-block; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--color-primary); }
.map_legend i.is-atelier { background: var(--color-white); border: 2px solid var(--color-accent); box-shadow: inset 0 0 0 2px var(--color-white), inset 0 0 0 4px var(--color-accent); }
.map_legend i.is-bzh { border-radius: 2px; background: #cdb38c; }

.orgues_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}
.orgue_card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ease-hover), border-color var(--ease-hover), transform var(--ease-hover);
}
.orgue_card:hover, .orgue_card.is-active { border-color: var(--color-gray-400); box-shadow: var(--shadow-md); }
.orgue_card.is-flash { box-shadow: 0 0 0 3px var(--color-accent), var(--shadow-md); }
.orgue_media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-gray-100); }
.orgue_media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.orgue_card:hover .orgue_media img { transform: scale(1.04); }
.orgue_media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 100%;
  padding: 0.15rem var(--space-2);
  font-size: 0.625rem;
  color: rgba(255, 253, 248, 0.92);
  background: rgba(15, 11, 9, 0.55);
  border-top-left-radius: var(--radius-sm);
}
.orgue_media figcaption a { color: inherit; }
.orgue_tags { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.orgue_body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5) var(--space-6) var(--space-6); }
.orgue_intervention {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  color: var(--color-accent);
}
.orgue_card h3 { margin-top: var(--space-2); font-size: var(--text-2xl); color: var(--color-primary-dark); }
.orgue_place { font-size: var(--text-sm); color: var(--color-text-muted); }
.orgue_desc { margin-top: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-normal); }
.orgue_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-top: auto;
  padding-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.orgue_meta a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block: calc(var(--space-3) * -1);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  text-underline-offset: 0.2em;
}
.orgue_meta a:hover { color: var(--color-accent); }
.orgue_item[hidden] { display: none; }

.realisations_note { margin-top: var(--space-10); font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--color-text-muted); }

/* ============================================================
   16. CITATION — BANDE ROUGE ANCHE
   ============================================================ */
.section_citation {
  position: relative;
  color: var(--color-white);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1.5rem, transparent 1.5rem 3rem),
    var(--color-accent);
}
.citation_quote { text-align: center; }
.citation_quote p {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-style: italic;
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: -0.01em;
}
.citation_quote footer {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: rgba(255, 253, 248, 0.82);
}
.citation_note { max-width: 34rem; margin: var(--space-6) auto 0; text-align: center; font-size: var(--text-base); line-height: var(--leading-normal); color: rgba(255, 253, 248, 0.9); }

/* ============================================================
   17. MÉTHODE — DU DIAGNOSTIC À L'INAUGURATION
   ============================================================ */
.section_methode { background: var(--color-white); }
.methode_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-16);
  align-items: start;
}
.methode_intro .lead { margin-top: var(--space-6); }
.publics_list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); list-style: none; padding: 0; }
.publics_list li {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.methode_photo { margin-top: var(--space-10); }
.methode_photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); }
.methode_photo figcaption { margin-top: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--color-text-muted); }

.etapes_list { position: relative; list-style: none; padding: 0; counter-reset: etape; }
/* Le porte-vent : le conduit qui relie les étapes */
.etapes_list::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.4rem;
  width: 0.3rem;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--color-gray-200), var(--color-primary-subtle));
}
.etape {
  position: relative;
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-10);
  counter-increment: etape;
}
.etape:last-child { padding-bottom: 0; }
.etape::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: var(--weight-bold);
  color: var(--color-primary-dark);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #ffffff 0%, #f5efe3 50%, #d9ccb4 100%);
  box-shadow: 0 0 0 0.3rem var(--color-primary-dark), 0 0.5rem 1rem rgba(29, 22, 18, 0.2);
  position: relative;
}
.etape h3 { font-size: var(--text-2xl); color: var(--color-primary-dark); padding-top: var(--space-2); }
.etape p { margin-top: var(--space-2); line-height: var(--leading-normal); color: var(--color-text-muted); }
.etape--suite::before { content: "∞"; font-style: normal; color: var(--color-accent); }

/* ============================================================
   18. CONTACT — LA FICHE INSTRUMENT
   ============================================================ */
.section_contact { background: var(--color-surface-alt); }
.contact_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-16);
  align-items: start;
}
.contact_info .lead { margin-top: var(--space-6); }
.contact_list { display: grid; gap: var(--space-4); margin-top: var(--space-10); list-style: none; padding: 0; }
.contact_item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}
.contact_icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-white);
  background: var(--color-primary-dark);
  border-radius: 50%;
}
.contact_icon svg { width: 1.2rem; height: 1.2rem; }
.contact_label { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.contact_value { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-semibold); line-height: 1.2; color: var(--color-primary-dark); text-decoration: none; }
a.contact_value:hover { color: var(--color-accent); }
.contact_value--small { font-family: var(--font-sans); font-size: var(--text-base); font-weight: var(--weight-normal); line-height: var(--leading-normal); }
.contact_zone {
  margin-top: var(--space-10);
  padding: var(--space-6);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  background: var(--color-white);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.contact_zone strong { display: block; margin-bottom: var(--space-1); font-family: var(--font-display); font-size: var(--text-xl); font-style: italic; color: var(--color-primary-dark); }

.form_component {
  position: relative;
  padding: var(--space-10);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.form_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-8);
  border-bottom: 1px dashed var(--color-gray-400);
}
.form_title { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--weight-semibold); font-style: italic; line-height: 1; color: var(--color-primary-dark); }
.form_sub { margin-top: var(--space-2); font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-muted); }
.form_plaque { width: 7.5rem; flex: none; transform: rotate(5deg); }
.form_form { display: grid; gap: var(--space-5); }
.form_row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label, .form_choice legend {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease-default), background-color var(--ease-default);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary-light); background: var(--color-white); box-shadow: 0 0 0 3px rgba(179, 57, 42, 0.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--color-gray-400); }

.form_choice { border: 0; padding: 0; min-width: 0; }
.form_choice legend { margin-bottom: var(--space-3); }
.form_choice-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice {
  position: relative;
  display: inline-flex;
}
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: background-color var(--ease-default), color var(--ease-default), border-color var(--ease-default);
}
.choice input:checked + span { color: var(--color-white); background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.choice input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.form_footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-2); }
.form_legal { max-width: 22rem; font-size: 0.75rem; line-height: var(--leading-normal); color: var(--color-text-muted); }
.form_status { min-height: 1.5rem; font-size: var(--text-sm); font-weight: var(--weight-medium); }
.form_status.is-success { color: var(--color-success); }
.form_status.is-error { color: var(--color-error); }

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer_component {
  padding-block: var(--space-20) var(--space-8);
  color: var(--color-tin);
  background: var(--color-primary-dark);
}
.footer_component--simple { padding-block: var(--space-4); }
.footer_component--simple .footer_bottom { padding-top: var(--space-4); }
.footer_top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(230, 226, 218, 0.15);
}
.footer_plaque { width: 14rem; }
.footer_tagline { max-width: 20rem; margin-top: var(--space-5); font-size: var(--text-sm); line-height: var(--leading-normal); }
.footer_title { margin-bottom: var(--space-4); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-tin-light); }
.footer_text, .footer_links { font-size: var(--text-sm); line-height: var(--leading-relaxed); }
.footer_links { list-style: none; padding: 0; }
.footer_links a, .footer_text a { color: var(--color-gray-50); text-decoration: none; }
.footer_links a:hover, .footer_text a:hover { color: var(--color-white); text-decoration: underline; text-underline-offset: 0.2em; }
.footer_bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.footer_bottom a { color: var(--color-gray-50); }

/* ============================================================
   20. PAGES SECONDAIRES — MENTIONS LÉGALES & 404
   ============================================================ */
.section_legal { background: var(--color-surface); }
.legal_header { max-width: 46rem; }
.legal_header .lead { margin-top: var(--space-6); }
.legal_updated { margin-top: var(--space-4); font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-muted); }
.legal_body { display: grid; gap: var(--space-12); max-width: 50rem; margin-top: var(--space-16); }
.legal_block h2 {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: var(--text-3xl);
  color: var(--color-primary-dark);
}
.legal_block h2 span { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-accent); }
.legal_block p + p,
.legal_block p + ul,
.legal_block ul + p { margin-top: var(--space-4); }
.legal_block a { color: var(--color-primary); text-underline-offset: 0.2em; }
.legal_list { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: var(--space-3) var(--space-6); }
.legal_list dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); padding-top: 0.2rem; }
.legal_list dd { line-height: var(--leading-normal); }
.legal_todo { padding: 0 0.25rem; background: #fde68a; border-radius: 2px; }
.credits_list { display: grid; gap: var(--space-2); padding-left: var(--space-5); font-size: var(--text-sm); line-height: var(--leading-normal); }

.section_404 {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--nav-height));
  text-align: center;
  color: var(--color-gray-50);
  background: var(--color-primary-dark);
}
.section_404 h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--color-white); }
.section_404 h1 em { color: var(--color-tin-light); }
.section_404 p { max-width: 30rem; margin: var(--space-6) auto var(--space-10); color: rgba(247, 242, 232, 0.8); }
.section_404 .kicker { color: var(--color-tin); justify-content: center; }
.section_404 .kicker::before { display: none; }

/* ============================================================
   21. RESPONSIVE
   ============================================================ */
@media (max-width: 62rem) {
  .padding-global { padding-block: var(--space-16); }

  .navbar_burger { display: inline-flex; }
  .navbar_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6) var(--space-8);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .navbar_menu.is-open { display: flex; }
  .navbar_links { flex-direction: column; gap: 0; }
  .navbar_links a { width: 100%; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-semibold); border-bottom: 1px solid var(--color-border); background: none; }

  .hero_grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .hero_figure { justify-self: start; max-width: 22rem; }

  .chiffres_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres_item { padding: var(--space-8) var(--space-6); }
  .chiffres_item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .chiffres_item:nth-child(n + 3) { border-top: 1px solid var(--color-border); }

  .atelier_grid, .savoir_header, .methode_grid, .contact_grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .atelier_media { position: static; max-width: 32rem; }
  .registres_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bordeaux_media { position: relative; inset: auto; height: 22rem; z-index: 0; }
  .bordeaux_media::after { background: linear-gradient(0deg, var(--color-primary-dark) 0%, rgba(29, 22, 18, 0.2) 55%, rgba(29, 22, 18, 0.3) 100%); }
  .section_bordeaux .padding-global { padding-top: var(--space-8); }

  .realisations_layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .map_component { position: static; max-width: 30rem; }

  .footer_top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer_brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  .padding-global { padding-block: var(--space-12); }
  .container-large, .container-medium, .container-small { padding: 0 var(--space-4); }

  .navbar_wordmark small { display: none; }

  .section_hero { padding-top: var(--space-8); }
  .hero_topline { margin-bottom: var(--space-8); font-size: 0.6875rem; letter-spacing: 0.08em; gap: var(--space-2) var(--space-3); }
  .hero_topline span:first-child { display: none; }
  .hero_topline span + span::before { margin-right: var(--space-3); }
  .hero_topline span:nth-child(2)::before { display: none; }
  .hero_signature { font-size: var(--text-lg); }
  .hero_signature::before { display: none; }
  .hero_heading-kicker { font-size: var(--text-base); }
  .hero_intro { font-size: var(--text-md); }
  .hero_actions .btn { flex: 1 1 100%; }

  .fiches { grid-template-columns: minmax(0, 1fr); }
  .atelier_quote p { font-size: var(--text-2xl); }
  .atelier_plaque { width: 9.5rem; top: calc(var(--space-6) * -1); right: calc(var(--space-2) * -1); }

  .registres_list, .orgues_list { grid-template-columns: minmax(0, 1fr); }
  .bordeaux_facts { grid-template-columns: minmax(0, 1fr); }
  .bordeaux_media { height: 16rem; }

  .form_component { padding: var(--space-6); }
  .form_row { grid-template-columns: minmax(0, 1fr); }
  .form_plaque { width: 5.5rem; }
  .form_footer .btn { width: 100%; }

  .footer_top { grid-template-columns: minmax(0, 1fr); }
  .legal_list { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .legal_list dd { margin-bottom: var(--space-3); }
}

@media (max-width: 30rem) {
  .hero_heading-main { font-size: 2.85rem; }
  .section_heading { font-size: 2.35rem; }
  .chiffres_list { grid-template-columns: minmax(0, 1fr); }
  .chiffres_item, .chiffres_item:nth-child(odd) { padding: var(--space-6) 0; border-left: 0; }
  .chiffres_item + .chiffres_item { border-top: 1px solid var(--color-border); }
  .form_title { font-size: var(--text-2xl); }
}

/* ============================================================
   22. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
}
