/* =========================================================================
   Cabinet de Sciençage · site vitrine (prototype)
   Charte 2025 : Inter (textes), Akzidenz-Grotesk (titres), Nuit noire,
   Iridium, Charbon, Terre et Terra Cotta. Mise en page inspirée d'une
   galerie : grandes photographies, titres fins, un seul accent (la terre
   cuite), filets fins, ni ombres ni dégradés.
   ========================================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Italic-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Akzidenz Cond"; src: url("../fonts/Akzidenz-ExtraBoldCond.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Akzidenz Cond"; src: url("../fonts/Akzidenz-BoldCond.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Akzidenz Super"; src: url("../fonts/Akzidenz-Super.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  /* Charte 2025 */
  --nuit: #000A2B;      /* Nuit noire : universel, contraste */
  --iridium: #402A4A;   /* Spiritualité */
  --charbon: #061A1E;   /* Archives */
  --terre: #4E3E1E;     /* Art et culture */
  --tc: #BD4D20;        /* Terra Cotta : créativité, l'accent unique */
  --tc-dark: #9a3d17;
  /* Neutres */
  --ink: #0b0d12;
  --pewter: #5f6270;
  --smoke: #8d8f99;
  --mist: #e4e4e8;
  --fog: #f4f3f1;
  --paper: #ffffff;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Akzidenz Cond", "Arial Narrow", "Inter", sans-serif;
  --super: "Akzidenz Super", "Akzidenz Cond", "Inter", sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --section: 120px;
  --r-card: 8px;
  --r-pill: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; letter-spacing: .005em; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tc); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section.tight { padding: 80px 0; }
.section.dark { background: var(--nuit); color: var(--paper); }
.section.iridium { background: var(--iridium); color: var(--paper); }
.section.fog { background: var(--fog); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--paper); padding: 10px 16px; border-radius: var(--r-pill); }

/* ---------- Typographie ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pewter); }
.dark .eyebrow, .iridium .eyebrow, .on-photo .eyebrow { color: rgba(255, 255, 255, .72); }
.display { font-size: clamp(50px, 8.6vw, 116px); font-weight: 300; letter-spacing: -0.035em; line-height: .96; }
.h1 { font-size: clamp(40px, 6vw, 78px); }
.h2 { font-size: clamp(32px, 4.4vw, 58px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }
.cond { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--pewter); max-width: 620px; }
.dark .lead, .iridium .lead, .on-photo .lead { color: rgba(255, 255, 255, .82); }
.serif { font-size: 18px; line-height: 1.65; color: #2c2f38; max-width: 600px; }
.dark .serif, .iridium .serif { color: rgba(255, 255, 255, .84); }
.serif + .serif { margin-top: 18px; }
.muted { color: var(--pewter); }
.dark .muted, .iridium .muted { color: rgba(255, 255, 255, .65); }
.small { font-size: 14px; }
.accent { color: var(--tc); }

/* ---------- Liens et boutons ---------- */
.arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--tc); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.arrow::after { content: "→"; transition: transform .2s ease; }
.arrow:hover::after { transform: translateX(4px); }
.on-photo .arrow, .dark .arrow, .iridium .arrow { color: var(--paper); }
/* Boutons : charbon au repos, terre cuite au survol, partout.
   Les variantes .accent et .light sont conservées dans le HTML mais rendues en charbon. */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: var(--r-pill); background: var(--charbon); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.pill.accent, .pill.light { background: var(--charbon); color: var(--paper); }
.pill:hover, .pill.accent:hover, .pill.light:hover { background: var(--tc); color: var(--paper); box-shadow: none; }
.pill.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.pill.line:hover { background: var(--tc); color: var(--paper); box-shadow: inset 0 0 0 1px var(--tc); }
.pill:disabled, .pill:disabled:hover { background: var(--mist); color: var(--smoke); cursor: not-allowed; box-shadow: none; }
/* Sur fond sombre ou photo, le bouton charbon reçoit un filet clair pour rester lisible */
:is(.dark, .iridium, .on-photo, .footer, .menu-panel, .door, .panel.nuit, .panel.iridium, .panel.terre, .panel.charbon, .panel.tc) .pill:not(.line):not(:hover) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); }
.pill.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.block-cta { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--paper); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; max-width: 1380px; }
.header .logo img { height: 40px; width: auto; }
.header .logo .dark-logo { display: none; }
.header.solid, .header.light { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--mist); }
.header.solid .light-logo, .header.light .light-logo { display: none; }
.header.solid .dark-logo, .header.light .dark-logo { display: block; }
.head-ctas { display: flex; gap: 18px; align-items: center; }
.head-link { background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.head-link:hover { color: var(--tc); }
.header:not(.solid):not(.light) .head-link:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 5px; }
.header .cta { height: 40px; }
.header:not(.solid):not(.light) .cta:not(:hover), body.nav-open .header .cta:not(:hover) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 16px; border-radius: var(--r-pill); border: 0; background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; cursor: pointer; font-weight: 600; font-size: 14px; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.menu-btn:hover { background: var(--tc); color: var(--paper); box-shadow: inset 0 0 0 1px var(--tc); }
.burger { position: relative; width: 30px; height: 30px; border-radius: 50%; display: inline-block; }
.burger i { position: absolute; left: 8px; right: 8px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.burger i:nth-child(1) { top: 10px; } .burger i:nth-child(2) { top: 14.5px; } .burger i:nth-child(3) { top: 19px; }
body.nav-open .burger i:nth-child(1) { top: 14.5px; transform: rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { top: 14.5px; transform: rotate(-45deg); }

/* Menu plein écran (burger) */
.menu-panel { position: fixed; inset: 0; z-index: 45; background: var(--charbon); color: var(--paper); overflow-y: auto; padding: 120px 0 56px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s ease, transform .3s ease, visibility .25s; }
body.nav-open { overflow: hidden; }
body.nav-open .menu-panel { opacity: 1; visibility: visible; transform: none; }
body.nav-open .header, body.nav-open .header.solid, body.nav-open .header.light { background: var(--charbon); color: var(--paper); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
body.nav-open .header .light-logo { display: block; }
body.nav-open .header .dark-logo { display: none; }
.menu-panel .wrap { max-width: 1380px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.menu-col { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.menu-num { font-size: 12px; letter-spacing: .14em; font-weight: 600; color: rgba(255, 255, 255, .5); }
.menu-top { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.3vw, 34px); line-height: .95; text-decoration: none; overflow-wrap: anywhere; }
.menu-top:hover, .menu-top[aria-current="page"] { color: var(--tc); }
.menu-col ul { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.menu-col li a { text-decoration: none; font-size: 15px; color: rgba(255, 255, 255, .72); }
.menu-col li a:hover, .menu-col li a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.menu-side { display: flex; flex-direction: column; gap: 30px; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .18); }
.menu-side h4, .footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.menu-side li { font-size: 15px; margin-bottom: 6px; color: rgba(255, 255, 255, .86); }
.menu-side a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.menu-side a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: var(--paper); transition: background .2s ease, box-shadow .2s ease; }
.socials a:hover { background: var(--tc); box-shadow: none; text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.proto-note { background: var(--tc); color: var(--paper); font-size: 12px; padding: 7px 14px; position: fixed; left: 16px; bottom: 16px; z-index: 60; border-radius: var(--r-pill); }

/* ---------- Ouvertures photographiques ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--charbon); }
.hero.short { min-height: 78vh; }
.hero > img, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 10, 43, .45); }
.hero .wrap, .band .wrap { position: relative; z-index: 1; }
.hero .inner { padding: 160px 0 72px; display: flex; flex-direction: column; gap: 26px; }
.hero .wordmark { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(76px, 15vw, 210px); letter-spacing: -0.005em; line-height: .82; padding-bottom: .12em; }
.hero .wordmark small { display: block; font-family: var(--sans); text-transform: none; font-size: clamp(18px, 2vw, 26px); letter-spacing: .01em; font-weight: 400; margin-bottom: 14px; }
.hero .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .35); }
.hero .credit, .band .credit { font-size: 12px; color: rgba(255, 255, 255, .62); }
.band { position: relative; min-height: 72vh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--charbon); }
.band .inner { padding: 120px 0 64px; display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.band.center { align-items: center; text-align: center; }
.band.center .inner { margin: 0 auto; align-items: center; }

/* ---------- Mise en page ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.head-row .stack { gap: 16px; max-width: 760px; }
.rule { border: 0; border-top: 1px solid var(--mist); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* ---------- Chiffres ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.figures.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dark .figures, .iridium .figures { border-top-color: rgba(255, 255, 255, .5); }
.figure { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--mist); }
.dark .figure + .figure, .iridium .figure + .figure { border-left-color: rgba(255, 255, 255, .16); }
.figure b { font-family: var(--cond); font-weight: 800; font-size: clamp(54px, 6vw, 88px); line-height: .9; letter-spacing: 0; }
.figure span { font-size: 15px; color: var(--pewter); max-width: 240px; }
.dark .figure span, .iridium .figure span { color: rgba(255, 255, 255, .72); }
.figure em, .figure a { font-style: normal; font-size: 12px; color: var(--smoke); }
.figure a { color: var(--tc); font-weight: 600; text-decoration: none; }

/* ---------- Portes d'entrée ---------- */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.door { border-radius: var(--r-card); padding: 28px 24px; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; color: var(--paper); text-decoration: none; }
.door.nuit { background: var(--nuit); } .door.iridium { background: var(--iridium); } .door.terre { background: var(--terre); } .door.charbon { background: var(--charbon); } .door.tc { background: var(--tc); }
.door h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 2.6vw, 40px); line-height: .95; letter-spacing: 0; }
.door p { color: rgba(255, 255, 255, .8); font-size: 15px; }
.door .num { font-size: 12px; color: rgba(255, 255, 255, .65); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.door .hours { display: inline-flex; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); align-self: flex-start; }
.door .arrow { color: var(--paper); }
.door:hover .arrow::after { transform: translateX(4px); }
/* Grille 2 × 2, photo en fond à basse opacité sur la couleur de la charte */
.doors.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doors.two .door { min-height: 380px; padding: 36px 34px; }
.door { position: relative; overflow: hidden; isolation: isolate; }
.door-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(1); z-index: -1; transition: opacity .5s ease, transform .8s ease, filter .5s ease; }
.door:hover .door-bg { opacity: .34; filter: grayscale(.3); transform: scale(1.04); }
.doors.two .door h3 { font-size: clamp(36px, 3.4vw, 52px); }
.doors.two .door p { max-width: 460px; font-size: 16px; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.card .ph { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.card .ph.tall { aspect-ratio: 4 / 5; }
.card .ph.square { aspect-ratio: 1; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .ph img { transform: scale(1.03); }
.card .meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--pewter); }
.card h3 { font-size: 23px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }
.card p { font-size: 15px; color: var(--pewter); }
.dark .card p, .dark .card .meta { color: rgba(255, 255, 255, .72); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--mist); color: var(--pewter); }
.dark .tag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .85); }
.tag.tc { box-shadow: none; background: var(--tc); color: var(--paper); }

.panel { border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--fog); }
.panel.line { background: transparent; box-shadow: inset 0 0 0 1px var(--mist); }
.panel.nuit, .panel.iridium, .panel.terre, .panel.charbon, .panel.tc { color: var(--paper); }
.panel.nuit { background: var(--nuit); } .panel.iridium { background: var(--iridium); } .panel.terre { background: var(--terre); } .panel.charbon { background: var(--charbon); } .panel.tc { background: var(--tc); }
.panel h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 28px; letter-spacing: 0; line-height: 1; }
.panel p, .panel li { font-size: 15px; color: var(--pewter); }
.panel.nuit p, .panel.iridium p, .panel.terre p, .panel.charbon p, .panel.tc p, .panel.nuit li, .panel.iridium li, .panel.terre li, .panel.charbon li { color: rgba(255, 255, 255, .8); }
.panel .num { font-family: var(--cond); font-weight: 800; font-size: 15px; letter-spacing: .06em; opacity: .7; }
.panel ul { display: flex; flex-direction: column; gap: 8px; }
.panel li { padding-left: 18px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: currentColor; }
.panel .actions { margin-top: auto; padding-top: 8px; }

/* ---------- Projet vedette ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature .ph { border-radius: var(--r-card); overflow: hidden; }
.feature .ph img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.mosaic img { border-radius: var(--r-card); width: 100%; height: 100%; object-fit: cover; }
.mosaic .col { display: grid; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--mist); margin: 0; }
.facts > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--mist); display: flex; flex-direction: column; gap: 4px; }
.facts dt, .facts .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); font-weight: 600; }
.facts dd, .facts .v { margin: 0; font-size: 15px; }
.dark .facts, .dark .facts > div, .on-photo .facts, .on-photo .facts > div { border-color: rgba(255, 255, 255, .2); }

/* ---------- Pans d'activité ---------- */
.pans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--mist); border-left: 1px solid var(--mist); }
.pan { border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: 28px 22px; display: flex; flex-direction: column; gap: 16px; min-height: 210px; }
.pan img { width: 50px; height: 50px; object-fit: contain; }
.pan b { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 21px; letter-spacing: .01em; line-height: 1; }
.pan span { font-size: 14px; color: var(--pewter); }

/* ---------- Artistes ---------- */
.artists { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.artists.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.artist { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; text-decoration: none; color: inherit; }
.artist .round { width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--mist); }
.artist .round img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.artist:hover .round img { transform: scale(1.05); }
.artist b { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; }
.artist span { font-size: 14px; color: var(--pewter); }
.dark .artist span { color: rgba(255, 255, 255, .7); }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.member { display: flex; gap: 16px; align-items: center; }
.member .round { width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--cond); font-weight: 800; font-size: 24px; color: var(--paper); overflow: hidden; }
.member .round img { width: 100%; height: 100%; object-fit: cover; }
.member b { display: block; font-weight: 600; font-size: 16px; }
.member span { font-size: 14px; color: var(--pewter); }
.dark .member span { color: rgba(255, 255, 255, .7); }

/* ---------- Agenda ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { height: 38px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--mist); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--pewter); }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--smoke); }
.chip[aria-pressed="true"] { background: var(--charbon); color: var(--paper); box-shadow: none; }
.dark .chip { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .78); }
.dark .chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.agenda { border-top: 1px solid var(--ink); }
.dark .agenda { border-top-color: rgba(255, 255, 255, .5); }
.event { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--mist); display: grid; grid-template-columns: 130px minmax(0, 1fr) 230px auto; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; color: inherit; }
.dark .event { border-bottom-color: rgba(255, 255, 255, .14); }
.event .date b { display: block; font-family: var(--cond); font-weight: 800; font-size: 48px; line-height: .9; }
.event .date b.now { font-size: 26px; color: var(--tc); text-transform: uppercase; }
.event .date span { font-size: 12px; color: var(--pewter); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.event .kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc); font-weight: 600; }
.dark .event .kicker { color: #e3825a; }
.dark .event .date span, .dark .event .where { color: rgba(255, 255, 255, .62); }
.event h3 { font-size: 23px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; margin-top: 4px; }
.event .where { font-size: 14px; color: var(--pewter); }
.event:hover h3 { color: var(--tc); }
.dark .event:hover h3 { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.dark .event .arrow { color: var(--paper); }

/* ---------- Défilement des formats ---------- */
.marquee { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; gap: 14px; width: max-content; padding: 0 var(--gutter); }
.m-item { position: relative; width: 340px; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--charbon); flex: none; }
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.m-item:hover img { transform: scale(1.04); }
.m-item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 10, 43, .35); }
.m-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--paper); text-align: left; }
.m-label b { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: .95; }
.m-label em { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* ---------- Partenaires et logos ---------- */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--mist); border-left: 1px solid var(--mist); }
.partners.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.partners li { border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: 24px 20px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.partners .logo-slot { height: 54px; display: flex; align-items: center; }
.partners .logo-slot img { max-height: 54px; max-width: 150px; object-fit: contain; }
.partners .logo-slot.empty { width: 54px; border-radius: 6px; background: var(--fog); justify-content: center; font-family: var(--cond); font-weight: 800; font-size: 18px; color: var(--smoke); }
.partners b { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.partners span { font-size: 13px; color: var(--pewter); }

/* ---------- Frise ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.timeline.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline > div { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.timeline > div + div { padding-left: 24px; border-left: 1px solid var(--mist); }
.timeline b { font-family: var(--cond); font-weight: 800; font-size: 54px; line-height: .9; }
.timeline b.now { color: var(--tc); }
.timeline p { font-size: 15px; color: var(--pewter); }
.dark .timeline { border-top-color: rgba(255, 255, 255, .5); }
.dark .timeline > div + div { border-left-color: rgba(255, 255, 255, .16); }
.dark .timeline p { color: rgba(255, 255, 255, .74); }

/* ---------- Tableaux ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); font-weight: 600; padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink); }
.table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--mist); vertical-align: middle; }
.table td.r, .table th.r { text-align: right; white-space: nowrap; }
.table td b { font-weight: 600; }
.panel.nuit .table td, .panel.iridium .table td, .panel.terre .table td, .panel.charbon .table td { border-bottom-color: rgba(255, 255, 255, .18); padding: 12px 10px 12px 0; font-size: 14px; color: var(--paper); }
.table-wrap { overflow-x: auto; }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .choice legend { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); font-weight: 600; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { padding: 0; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choice { position: relative; }
.chip-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-choice span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--mist); font-size: 14px; font-weight: 500; color: var(--pewter); cursor: pointer; }
.chip-choice input:checked + span { background: var(--charbon); color: var(--paper); box-shadow: none; }
.chip-choice input:focus-visible + span { outline: 2px solid var(--tc); outline-offset: 2px; }
.input, .select, .textarea { font: inherit; font-size: 16px; border: 0; border-bottom: 1px solid var(--smoke); padding: 9px 0; background: transparent; color: inherit; border-radius: 0; width: 100%; }
.input.file { border-bottom-style: dashed; font-size: 14px; }
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--tc); }
.dark .input, .dark .select, .dark .textarea { border-bottom-color: rgba(255, 255, 255, .45); }
.select option { color: var(--ink); }
/* Listes déroulantes au style des champs : filet bas, flèche à droite */
.select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 30px; text-overflow: ellipsis;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%235f6270' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center / 16px; }
.select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23BD4D20' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.select:invalid, .select option[value=""] { color: var(--smoke); }
:is(.dark, .footer) .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.select::-ms-expand { display: none; }
.field-note { font-size: 14px; color: var(--pewter); background: var(--fog); border-radius: 6px; padding: 12px 14px; }
.form-msg { font-size: 15px; color: var(--tc); }
.form-msg.ok { color: #1f6b46; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--pewter); }
.check input { margin-top: 3px; accent-color: var(--tc); }

/* ---------- Onglets ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--mist); margin-bottom: 8px; }
.tab { background: none; border: 0; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--pewter); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tc); }
.dark .tab { color: rgba(255, 255, 255, .65); } .dark .tab[aria-selected="true"] { color: var(--paper); }

/* ---------- Fenêtres ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0, 10, 43, .6); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; opacity: 0; transition: opacity .2s ease; }
.overlay.in { opacity: 1; }
.dialog { position: relative; background: var(--paper); color: var(--ink); border-radius: 12px; width: 100%; max-width: 640px; padding: 40px; transform: translateY(12px); transition: transform .25s ease; }
.dialog.wide { max-width: 940px; }
.overlay.in .dialog { transform: none; }
.dialog .title { margin: 8px 0 4px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fog); cursor: pointer; font-size: 16px; }
.dialog-close:hover { background: var(--mist); }
.event-pop { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: start; }
.event-pop .poster img { width: 100%; border-radius: var(--r-card); }

/* ---------- Liste légère avec vignette ---------- */
.lite { border-top: 1px solid var(--ink); }
.lite a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 160px auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--mist); text-decoration: none; color: inherit; }
.lite b { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.lite span { font-size: 15px; color: var(--pewter); }
.lite .yr { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.lite a:hover b { color: var(--tc); }
.lite .mini { display: none; width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.peek { position: fixed; z-index: 90; width: 220px; height: 180px; object-fit: cover; border-radius: var(--r-card); pointer-events: none; opacity: 0; transform: scale(.94); transition: opacity .2s ease, transform .2s ease; }
.peek.on { opacity: 1; transform: none; }

/* ---------- Galerie ---------- */
.gallery { columns: 3 260px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; border: 0; padding: 0; border-radius: var(--r-card); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--mist); }
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.03); }
.names { display: flex; flex-wrap: wrap; gap: 8px; }
.names li { padding: 8px 14px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--mist); font-size: 14px; }

/* ---------- Boutique ---------- */
.shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
.product { display: flex; flex-direction: column; gap: 10px; }
.product .ph { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--fog); position: relative; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .badge { position: absolute; top: 12px; left: 12px; height: 26px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--paper); color: var(--ink); }
.product .badge.vendu { background: var(--charbon); color: var(--paper); }
.product .badge.unique { background: var(--tc); color: var(--paper); }
.product h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.product .maker { font-size: 13px; color: var(--pewter); }
.product .size { font-size: 13px; color: var(--pewter); }
.product .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.product .price { font-family: var(--cond); font-weight: 800; font-size: 22px; }

/* ---------- Bibliothèque ---------- */
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
.book { display: flex; flex-direction: column; gap: 10px; }
.book .cover { aspect-ratio: 2 / 3; border-radius: 4px 8px 8px 4px; padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); box-shadow: inset 6px 0 0 rgba(0, 0, 0, .18); }
.book .cover b { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: .95; }
.book .cover span { font-size: 13px; opacity: .8; }
.book .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Article ---------- */
.article { max-width: 680px; margin: 0 auto; }
.article .serif { max-width: none; font-size: 19px; }
.article .serif + .serif { margin-top: 24px; }
.article blockquote { margin: 40px 0; padding: 0 0 0 24px; border-left: 2px solid var(--tc); font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.25; }

/* ---------- Pied de page ---------- */
.footer { background: var(--charbon); color: var(--paper); padding: 0 0 100px; }
.footer .motif { height: 110px; background: var(--charbon) url("../img/motif-terracotta.png") center top / 852px auto repeat-x; }
.foot-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding: 96px 0 72px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot-cta .h2 { max-width: 640px; }
.foot-mid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 72px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot-news img { height: 48px; width: auto; margin-bottom: 36px; }
.foot-news p { color: rgba(255, 255, 255, .7); font-size: 15px; max-width: 420px; }
.footer li { margin-bottom: 12px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .86); }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer .news { display: flex; gap: 12px; margin-top: 22px; max-width: 460px; align-items: flex-end; }
.footer .news .input { border-bottom-color: rgba(255, 255, 255, .45); font-size: 15px; }
.footer .news .pill { height: 44px; flex: none; }
#news-msg { margin-top: 12px; color: rgba(255, 255, 255, .7); }
.foot-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; padding: 72px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot-links .foot-top { display: block; font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1; margin-bottom: 18px; color: var(--paper); overflow-wrap: anywhere; }
.foot-links .foot-top:hover { color: var(--tc); text-decoration: none; }
.foot-links li { font-size: 14px; margin-bottom: 10px; }
.foot-links li a { color: rgba(255, 255, 255, .66); }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 32px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer .bottom a { color: rgba(255, 255, 255, .65); }

/* ---------- Apparition douce ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Adaptation ---------- */
@media (max-width: 1240px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-panel .wrap { grid-template-columns: 1fr; gap: 48px; }
  .menu-side { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .menu-side .actions { grid-column: 1 / -1; }
  .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .pans, .artists, .artists.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners, .partners.five, .team, .shop, .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-mid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .foot-news { grid-column: 1 / -1; }
  .cards.four, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lite a { grid-template-columns: minmax(0, 1fr) 140px auto; }
  .lite a > span:nth-child(2) { display: none; }
}
@media (max-width: 860px) {
  :root { --section: 80px; --gutter: 16px; }
  .split, .split.wide-left, .feature, .event-pop { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip > :first-child { order: 0; }
  .cards, .grid-3 { grid-template-columns: 1fr; }
  .cards.two, .grid-2 { grid-template-columns: 1fr; }
  .figures, .timeline, .figures.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3), .timeline > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure, .timeline > div { padding-bottom: 28px; }
  .event { grid-template-columns: 82px minmax(0, 1fr); gap: 6px 16px; }
  .event .date b { font-size: 36px; }
  .event .where, .event .go { grid-column: 2; }
  .form { grid-template-columns: 1fr; }
  .door { min-height: 300px; }
  .facts { grid-template-columns: 1fr; }
  .header .wrap { height: 72px; }
  .head-ctas .head-link, .head-ctas .cta { display: none; }
  .menu-panel { padding-top: 100px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .header .logo img { height: 34px; }
  .doors.two { grid-template-columns: 1fr; }
  .doors.two .door { min-height: 300px; padding: 28px 24px; }
  .dialog { padding: 28px 20px; }
  .m-item { width: 260px; }
  .lite .mini { display: block; }
  .lite a { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .lite .yr { display: none; }
}
@media (max-width: 560px) {
  .doors, .pans, .partners, .partners.five, .team, .cards.four, .grid-4, .timeline.two { grid-template-columns: 1fr; }
  .artists, .artists.six, .shop, .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline.two > div + div { padding-left: 0; border-left: 0; }
  .foot-mid { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid, .menu-side { grid-template-columns: 1fr; }
  .menu-top { font-size: 30px; }
  .footer .news { flex-wrap: wrap; }
  .hero .wordmark { font-size: 21vw; }
  .proto-note { font-size: 11px; }
}

/* Icônes de la charte en monochrome (l'accent terre cuite reste le seul chromatisme) */
img[src*="assets/icons/"] { filter: brightness(0); }
.dark img[src*="assets/icons/"], .panel.nuit img[src*="assets/icons/"], .panel.iridium img[src*="assets/icons/"], .panel.terre img[src*="assets/icons/"], .panel.charbon img[src*="assets/icons/"] { filter: brightness(0) invert(1); }
.field label.chip-choice { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: inherit; }
.book .cover b { overflow-wrap: anywhere; hyphens: auto; }
.split > *, .feature > * { min-width: 0; }
@media (max-width: 560px) { .book .cover { padding: 16px 12px; } .book .cover b { font-size: 19px; } .display { overflow-wrap: anywhere; } }

/* Puces de filtre : même logique que les boutons (charbon actif, terre cuite au survol) */
.chip:hover { color: var(--tc); box-shadow: inset 0 0 0 1px var(--tc); }
.chip[aria-pressed="true"]:hover { background: var(--tc); color: var(--paper); }
.dark .chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.dark .chip:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--tc); }

/* Références d'accompagnement : vignette en fond, dégradé, texte en bas ; N&B puis couleur au survol */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ref { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 440px; padding: 28px; border-radius: var(--r-card); overflow: hidden; isolation: isolate; color: var(--paper); text-decoration: none; background: var(--charbon); }
.ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1); transition: filter .6s ease, transform .9s ease; }
.ref::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 30, .05) 0%, rgba(6, 26, 30, .25) 30%, rgba(6, 26, 30, .8) 58%, rgba(6, 26, 30, .96) 100%); }
.ref:hover img, .ref:focus-visible img { filter: grayscale(0); transform: scale(1.05); }
.ref .eyebrow { color: rgba(255, 255, 255, .75); }
.ref h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.4vw, 36px); line-height: .95; letter-spacing: 0; }
.ref p { font-size: 15px; color: rgba(255, 255, 255, .82); }
.ref .arrow { color: var(--paper); margin-top: 6px; }
.ref:hover .arrow::after { transform: translateX(4px); }

/* Accompagnements : formulaire intégré */
.acc-form { background: var(--paper); border-radius: 12px; padding: 40px; }
.acc-side .actions { margin-top: 8px; }
.wa-btn svg { width: 18px; height: 18px; }
.steps { counter-reset: s; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--mist); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: .9; color: var(--tc); }
.steps b { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; }
.steps span { color: var(--pewter); font-size: 16px; }

@media (max-width: 1080px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .acc-form { padding: 28px 20px; } .steps li { grid-template-columns: 56px minmax(0, 1fr); } .steps li span { grid-column: 2; } .steps li::before { font-size: 30px; } }
@media (max-width: 560px) { .refs { grid-template-columns: 1fr; } .ref { min-height: 360px; } }
.dark .acc-form, .acc-form { color: var(--ink); }
.dark .acc-form .eyebrow { color: var(--pewter); }
.dark .acc-form :is(.input, .select, .textarea) { border-bottom-color: var(--smoke); }
.dark .acc-form .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%235f6270' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dark .acc-form .pill:not(.line):not(:hover) { box-shadow: none; }
