/* ==================================================================
   CORBEAU - feuille de style
   Direction "Galerie de nuit" : photos noir et blanc plein cadre,
   grands titres en capitales condensees, legendes facon catalogue
   d'exposition (DM Mono), or reserve aux filets et aux details.
   Inspirations : sites de galeries et de mode, blocs Watermelon UI
   (hero plein cadre, FAQ numerotee, footer a grand logotype),
   Aceternity (curseur qui suit, apercu flottant). Aucune dependance.
   ================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --noir: #0a0a0a;
  --noir-2: #111110;
  --noir-3: #1a1918;
  --ivoire: #ede8df;
  --ivoire-2: #a39e94;
  --ivoire-3: #8c877e;
  --or: #c9a96e;
  --or-clair: #e0c592;
  --ligne: rgba(237, 232, 223, 0.12);
  --ligne-2: rgba(237, 232, 223, 0.22);
  --ligne-or: rgba(201, 169, 110, 0.5);

  --texte: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --cadre: 1480px;
  --marge: clamp(20px, 4vw, 64px);
  --section: clamp(88px, 11vw, 168px);
  --entete-h: 76px;
  --annonce-h: 32px;
  --courbe: cubic-bezier(0.22, 1, 0.36, 1);
}
html.sans-annonce { --annonce-h: 0px; }

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h) + var(--annonce-h) + 24px); }

body {
  margin: 0;
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.page-simple { padding-top: calc(var(--entete-h) + var(--annonce-h)); }

/* Grain photographique, tres leger */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }
::selection { background: var(--or); color: var(--noir); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--texte);
  font-weight: 600;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
  text-wrap: balance;
}
h1 { font-size: clamp(3.4rem, 10.5vw, 11rem); }
h2 { font-size: clamp(2.6rem, 6.5vw, 6.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; }
p { margin: 0; text-wrap: pretty; }

.cadre { width: 100%; max-width: var(--cadre); margin-inline: auto; padding-inline: var(--marge); }
.cadre-etroit { max-width: 900px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.saut { position: fixed; left: 16px; top: -80px; z-index: 500; padding: 12px 18px; background: var(--ivoire); color: var(--noir); font-family: var(--mono); font-size: 0.8rem; transition: top 0.2s; }
.saut:focus { top: 12px; }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Legendes facon catalogue d'exposition */
.legende {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivoire-2);
}
.legende .or,
.or { color: var(--or); }
.pale { color: var(--ivoire-2); }
.texte-large { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ivoire-2); max-width: 38em; }

/* Filet dore qui se deploie */
.filet { display: block; width: 120px; height: 1px; background: var(--or); transform-origin: left; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--ligne-2);
  background: transparent;
  color: var(--ivoire);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn .ico { width: 16px; height: 16px; transition: transform 0.3s var(--courbe); }
.btn:hover .ico { transform: translateX(4px); }
.btn-plein { background: var(--ivoire); border-color: var(--ivoire); color: var(--noir); }
.btn-plein:hover { background: var(--or); border-color: var(--or); color: var(--noir); }
.btn-contour:hover { border-color: var(--or); color: var(--or); }
.btn-or { border-color: var(--ligne-or); color: var(--or); }
.btn-or:hover { background: var(--or); border-color: var(--or); color: var(--noir); }
.boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.lien {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lien::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--or);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--courbe);
}
.lien:hover::after { transform: scaleX(1); }
.lien .ico { width: 15px; height: 15px; }

/* ---------- Barre d'annonce ---------- */
.annonce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--annonce-h);
  padding: 0 44px;
  background: #000;
  border-bottom: 1px solid var(--ligne);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivoire-2);
}
.annonce p { display: flex; align-items: center; gap: 10px; }
.annonce-point { width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
.annonce button { position: absolute; right: 8px; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; border: 0; background: transparent; cursor: pointer; color: var(--ivoire-2); }
.annonce button:hover { color: var(--ivoire); }
.annonce .ico { width: 14px; height: 14px; }
.sans-annonce .annonce { display: none; }
@media (max-width: 640px) { .annonce-detail { display: none; } }

/* ---------- En-tete ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.entete.opaque { background: rgba(10, 10, 10, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--ligne); }
.entete-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--entete-h); max-width: none; }

.marque {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 1.7rem;
  font-weight: 600;
  font-stretch: 75%;
  letter-spacing: 0.06em;
  line-height: 1;
}
.marque-point { width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: var(--or); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--ivoire-2);
  transition: color 0.25s;
}
.nav-num { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; color: var(--ivoire-3); margin-top: 2px; }
.nav a:not(.btn):hover,
.nav a[aria-current="page"]:not(.btn) { color: var(--ivoire); }
.nav a[aria-current="page"]:not(.btn) .nav-num { color: var(--or); }
.nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 22px; right: 0; bottom: 2px; height: 1px; background: var(--or); }
.nav .btn { min-height: 44px; padding: 0 20px; }
.nav .btn[aria-current="page"] { border-color: var(--or); color: var(--or); }

.menu-bouton { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 4px; border: 0; background: transparent; cursor: pointer; }
.menu-libelle { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.menu-bouton .ico { width: 22px; height: 22px; }
.menu-bouton .ico-fermer { display: none; }
.menu-bouton[aria-expanded="true"] .ico-ouvrir { display: none; }
.menu-bouton[aria-expanded="true"] .ico-fermer { display: block; }

@media (max-width: 1040px) {
  .menu-bouton { display: inline-flex; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    padding: calc(var(--entete-h) + var(--annonce-h) + 24px) var(--marge) 40px;
    background: var(--noir);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav.ouvert { opacity: 1; visibility: visible; }
  .nav a:not(.btn) {
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ligne);
    font-size: clamp(2.6rem, 11vw, 4rem);
    font-weight: 600;
    font-stretch: 75%;
    text-transform: uppercase;
    line-height: 1;
    color: var(--ivoire);
  }
  .nav-num { font-size: 0.72rem; margin-top: 8px; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--or); }
  .nav a[aria-current="page"]:not(.btn)::after { display: none; }
  #navigation .btn { margin-top: 32px; min-height: 56px; background: var(--ivoire); border-color: var(--ivoire); color: var(--noir); }
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .entete { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero plein ecran ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: zoom-lent 2.4s var(--courbe) both; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.55) 100%);
}
.hero-contenu { padding-top: calc(var(--entete-h) + var(--annonce-h) + 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero h1 { margin: 20px 0 0; }
.hero-bas {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--ligne);
}
.hero-bas .texte-large { max-width: 30em; color: var(--ivoire); }
.hero-infos { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 18px; }
@media (max-width: 800px) { .hero-bas { grid-template-columns: 1fr; } }

/* Titre qui se devoile ligne par ligne */
.ligne { display: block; overflow: hidden; padding: 0.14em 0 0.04em; margin-top: -0.14em; }
.ligne > span { display: block; animation: ligne-monte 1.1s var(--courbe) both; }
.ligne:nth-child(2) > span { animation-delay: 0.12s; }
.ligne:nth-child(3) > span { animation-delay: 0.24s; }
.entree > * { animation: fondu-monte 1s var(--courbe) both; }
.entree > :nth-child(2) { animation-delay: 0.1s; }
.entree > :nth-child(3) { animation-delay: 0.2s; }
.entree > :nth-child(4) { animation-delay: 0.3s; }

@keyframes ligne-monte { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fondu-monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoom-lent { from { transform: scale(1.08); opacity: 0.4; } to { transform: none; opacity: 1; } }

/* ---------- Bandeau des pages interieures ---------- */
.bandeau { position: relative; isolation: isolate; min-height: clamp(460px, 72vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.bandeau > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: zoom-lent 2s var(--courbe) both; }
.bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.4) 55%, rgba(10, 10, 10, 0.6) 100%); }
.bandeau-contenu { padding-top: calc(var(--entete-h) + var(--annonce-h) + 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.bandeau h1 { margin-top: 18px; font-size: clamp(3rem, 9vw, 9rem); }
.bandeau-texte { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ivoire-2); }

/* ---------- Defilement de styles ---------- */
.defile { overflow: hidden; border-block: 1px solid var(--ligne); }
.defile-piste { display: flex; width: max-content; animation: defiler 40s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile ul { display: flex; margin: 0; padding: 0; list-style: none; }
.defile li {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(18px, 2.4vw, 30px) 0 clamp(18px, 2.4vw, 30px) clamp(28px, 4vw, 56px);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 600;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--ivoire-2);
}
.defile li:nth-child(even) { color: var(--ivoire); -webkit-text-stroke: 0; }
.defile li::after { content: "✦"; font-size: 0.35em; color: var(--or); -webkit-text-stroke: 0; }
@keyframes defiler { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-2 { background: var(--noir-2); }
.tete {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.tete-texte { display: flex; flex-direction: column; gap: 28px; }
.tete-pied { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.tete-pied .texte-large { max-width: 34em; }
@media (max-width: 800px) { .tete { grid-template-columns: 1fr; } }

/* ---------- Pieces (galeries) ---------- */
.piece { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.piece-visuel { position: relative; display: block; overflow: hidden; background: var(--noir-3); }
.piece-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--courbe), filter 0.6s; filter: grayscale(1) brightness(0.92); }
.piece-visuel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--or);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.5s var(--courbe), transform 0.5s var(--courbe);
  pointer-events: none;
}
.piece:hover .piece-visuel img,
.piece:focus-visible .piece-visuel img { transform: scale(1.04); filter: grayscale(1) brightness(1.02); }
.piece:hover .piece-visuel::after,
.piece:focus-visible .piece-visuel::after { opacity: 1; transform: none; }
.piece-legende { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding-top: 14px; }
.piece-legende b { font-weight: 500; font-size: 1.02rem; }
.piece-legende .legende:last-child { text-align: right; }
.mosaique > *,
.galerie > *,
.piece-legende > * { min-width: 0; }
@media (max-width: 760px) {
  .piece-legende { grid-template-columns: auto 1fr; row-gap: 2px; }
  .piece-legende .legende:last-child { grid-column: 2; text-align: left; }
}

.mosaique {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px);
}
.mosaique .piece:nth-child(1) { grid-column: 1 / span 5; }
.mosaique .piece:nth-child(1) .piece-visuel { aspect-ratio: 4 / 5; }
.mosaique .piece:nth-child(2) { grid-column: 7 / span 6; margin-top: 18%; }
.mosaique .piece:nth-child(2) .piece-visuel { aspect-ratio: 5 / 4; }
.mosaique .piece:nth-child(3) { grid-column: 2 / span 4; }
.mosaique .piece:nth-child(3) .piece-visuel { aspect-ratio: 1; }
.mosaique .piece:nth-child(4) { grid-column: 7 / span 4; margin-top: -10%; }
.mosaique .piece:nth-child(4) .piece-visuel { aspect-ratio: 3 / 4; }
.mosaique .piece:nth-child(5) { grid-column: 1 / span 6; }
.mosaique .piece:nth-child(5) .piece-visuel { aspect-ratio: 16 / 10; }
.mosaique .piece:nth-child(6) { grid-column: 8 / span 5; margin-top: 8%; }
.mosaique .piece:nth-child(6) .piece-visuel { aspect-ratio: 1; }
@media (max-width: 760px) {
  .mosaique { grid-template-columns: 1fr 1fr; }
  .mosaique .piece:nth-child(n) { grid-column: auto; margin-top: 0; }
  .mosaique .piece:nth-child(n) .piece-visuel { aspect-ratio: 4 / 5; }
  .mosaique .piece:nth-child(3n + 1) { grid-column: 1 / -1; }
  .mosaique .piece:nth-child(3n + 1) .piece-visuel { aspect-ratio: 4 / 3; }
}

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3vw, 48px) clamp(14px, 1.6vw, 24px); }
.galerie .piece-visuel { aspect-ratio: 1; }
.galerie .piece[hidden] { display: none; }
@media (max-width: 960px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .galerie { grid-template-columns: 1fr; } }

.filtres { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--ligne); }
.filtre {
  position: relative;
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivoire-3);
  transition: color 0.25s;
}
.filtre sup { margin-left: 3px; font-size: 0.65rem; color: var(--ivoire-3); }
.filtre:hover { color: var(--ivoire); }
.filtre[aria-pressed="true"] { color: var(--ivoire); }
.filtre[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -19px; height: 1px; background: var(--or); }
.filtre[aria-pressed="true"] sup { color: var(--or); }

/* ---------- Liste des artistes avec apercu flottant ---------- */
.liste-artistes { border-top: 1px solid var(--ligne); }
.ligne-artiste {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1.6fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--ligne);
  transition: padding 0.5s var(--courbe);
}
.ligne-artiste h3 { font-size: clamp(2.4rem, 6vw, 5.5rem); transition: color 0.4s, transform 0.5s var(--courbe); }
.ligne-artiste .ico { width: 34px; height: 34px; color: var(--ivoire-3); transition: color 0.3s, transform 0.5s var(--courbe); }
.ligne-artiste .miniature { display: none; }
.liste-artistes:hover .ligne-artiste h3 { color: var(--ivoire-3); }
.liste-artistes .ligne-artiste:hover h3 { color: var(--ivoire); transform: translateX(12px); }
.ligne-artiste:hover .ico { color: var(--or); transform: rotate(45deg); }
@media (max-width: 760px) {
  .ligne-artiste { grid-template-columns: 72px 1fr; gap: 6px 18px; }
  .ligne-artiste .miniature { display: block; grid-row: span 3; width: 72px; aspect-ratio: 3 / 4; object-fit: cover; }
  .ligne-artiste .legende:first-child { display: none; }
  .ligne-artiste .ico { display: none; }
}
.apercu-flottant {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 240px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.9);
  transition: opacity 0.35s, scale 0.35s;
}
.apercu-flottant img { width: 100%; height: 100%; object-fit: cover; }
.apercu-flottant.visible { opacity: 1; }

/* ---------- Curseur "Voir" au survol des galeries ---------- */
.curseur {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--or);
  color: var(--noir);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.3);
  transition: opacity 0.25s;
}
.curseur.visible { opacity: 1; }
@media (hover: none), (pointer: coarse) { .curseur, .apercu-flottant { display: none; } }

/* ---------- Duo image / texte ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.duo-inverse > :first-child { order: 2; }
.duo figure { margin: 0; }
.duo figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.duo figcaption { margin-top: 12px; }
.duo h2 { margin: 18px 0 28px; }
.duo .texte-large + .texte-large { margin-top: 18px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo-inverse > :first-child { order: 0; } }

.engagements { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.engagements li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.engagements b { display: block; margin-bottom: 4px; font-weight: 500; }
.engagements p { color: var(--ivoire-2); font-size: 0.98rem; }

/* ---------- Agenda des guests ---------- */
.agenda { border-top: 1px solid var(--ligne); }
.agenda-ligne {
  display: grid;
  grid-template-columns: 160px 1.4fr 1fr 1fr 170px;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ligne);
  transition: background-color 0.3s;
}
.agenda-ligne:hover { background: rgba(237, 232, 223, 0.02); }
.agenda-date { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--or); }
.agenda-ligne h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
.agenda-ligne .pale { font-size: 0.95rem; }
.statut {
  justify-self: end;
  padding: 7px 12px;
  border: 1px solid var(--ligne-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.statut-ouvert { border-color: var(--ligne-or); color: var(--or); }
.statut-libre { background: var(--ivoire); border-color: var(--ivoire); color: var(--noir); }
.statut-complet { color: var(--ivoire-3); text-decoration: line-through; }
.statut-attente { color: var(--ivoire-2); }
@media (max-width: 900px) {
  .agenda-ligne { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .agenda-ligne h3 { grid-column: 1 / -1; order: -1; }
  .agenda-ligne .pale { grid-column: 1; }
  .statut { grid-row: 2; grid-column: 2; }
}

/* ---------- Artistes (page) ---------- */
.artiste { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ligne); }
.artiste:first-child { border-top: 0; padding-top: 0; }
.artiste-portrait { position: sticky; top: calc(var(--entete-h) + var(--annonce-h) + 24px); align-self: start; margin: 0; }
.artiste-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); }
.artiste h2 { margin: 18px 0 14px; font-size: clamp(3rem, 7vw, 7rem); }
.artiste-role { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 28px; }
.artiste-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 40px; padding: 0; list-style: none; }
.artiste-tags li { padding: 7px 12px; border: 1px solid var(--ligne-2); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivoire-2); }
.mini-galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 32px; }
.mini-galerie .piece-visuel { aspect-ratio: 1; }
@media (max-width: 900px) { .artiste { grid-template-columns: 1fr; } .artiste-portrait { position: static; max-width: 420px; } }

/* ---------- Flashs ---------- */
.flashs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.flash { position: relative; }
.flash-papier { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--ivoire); }
.flash-papier img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 0.9s var(--courbe); }
.flash:hover .flash-papier img { transform: scale(1.04) rotate(-1deg); }
.flash-infos { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 16px; border-bottom: 1px solid var(--ligne); padding-bottom: 16px; }
.flash-infos h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.flash-prix { font-family: var(--mono); font-size: 1.1rem; color: var(--or); }
.flash-pris .flash-papier img { opacity: 0.35; filter: grayscale(1); }
.flash-pris .flash-prix { color: var(--ivoire-3); text-decoration: line-through; }
.tampon {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px 18px;
  border: 2px solid var(--noir);
  color: var(--noir);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-8deg);
}
@media (max-width: 900px) { .flashs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flashs { grid-template-columns: 1fr; } }

/* ---------- Etapes et encadres ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.etapes li { padding: 32px 28px 0 0; }
.etapes li + li { padding-left: 28px; border-left: 1px solid var(--ligne); }
.etapes .num-grand {
  display: block;
  margin-bottom: 40px;
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  font-weight: 600;
  font-stretch: 75%;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--or);
}
.etapes h3 { margin-bottom: 12px; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.etapes p { color: var(--ivoire-2); font-size: 0.98rem; }
@media (max-width: 960px) {
  .etapes { grid-template-columns: 1fr 1fr; }
  .etapes li:nth-child(3) { padding-left: 0; border-left: 0; }
  .etapes li:nth-child(n+3) { padding-top: 40px; }
}
@media (max-width: 560px) {
  .etapes { grid-template-columns: 1fr; }
  .etapes li,
  .etapes li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--ligne); }
  .etapes .num-grand { margin-bottom: 18px; }
}

.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.encadre { padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--ligne); }
.encadre h3 { margin: 14px 0 24px; }
.encadre ul { margin: 0; padding: 0; list-style: none; }
.encadre li { padding: 14px 0; border-top: 1px solid var(--ligne); color: var(--ivoire-2); }
.encadre li b { display: block; color: var(--ivoire); font-weight: 500; }
@media (max-width: 800px) { .colonnes { grid-template-columns: 1fr; } }

/* ---------- FAQ numerotee (d'apres Watermelon faq-6) ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(32px, 6vw, 96px); }
.faq-tete h2 { margin-top: 18px; }
.faq-tete p { margin-top: 24px; color: var(--ivoire-2); max-width: 24rem; }
.faq-tete .btn { margin-top: 32px; }
.faq-liste { border-top: 1px dashed var(--ligne-2); }
.faq-liste details { border-bottom: 1px dashed var(--ligne-2); }
.faq-liste summary { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 16px; padding: 26px 0; list-style: none; cursor: pointer; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary span:nth-child(2) { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; }
.faq-signe { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ligne-2); transition: transform 0.4s var(--courbe), border-color 0.3s, color 0.3s; }
.faq-signe .ico { width: 14px; height: 14px; }
.faq-liste summary:hover .faq-signe { border-color: var(--or); color: var(--or); }
.faq-liste details[open] .faq-signe { transform: rotate(45deg); border-color: var(--or); color: var(--or); }
.faq-liste details p { padding: 0 48px 28px 60px; color: var(--ivoire-2); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-tete { margin-bottom: 40px; } .faq-liste details p { padding: 0 0 24px 60px; } }

/* ---------- Guide de cicatrisation ---------- */
.frise-onglets { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ligne); }
.frise-progres { position: absolute; left: 0; top: -1px; height: 1px; background: var(--or); transition: width 0.6s var(--courbe); }
.frise-onglet {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 16px 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ivoire-3);
  transition: color 0.3s;
}
.frise-onglet .legende { color: inherit; }
.frise-onglet b { font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 600; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.frise-onglet:hover,
.frise-onglet[aria-selected="true"] { color: var(--ivoire); }
.frise-onglet[aria-selected="true"] .legende { color: var(--or); }
.frise-panneau { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(24px, 4vw, 64px); padding-top: clamp(32px, 4vw, 56px); }
.frise-panneau[hidden] { display: none; }
.frise-panneau h3 { font-size: clamp(2.6rem, 5vw, 4.5rem); margin-top: 14px; }
.frise-panneau .texte-large { margin-top: 20px; }
.frise-panneau ul { margin: 14px 0 0; padding: 0; list-style: none; }
.frise-panneau li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ligne); color: var(--ivoire-2); }
.frise-panneau li .ico { width: 16px; height: 16px; margin-top: 5px; color: var(--or); }
.frise-panneau .eviter li .ico { color: var(--ivoire-3); }
.js .frise-panneau:not(.actif) { display: none; }
@media (max-width: 900px) {
  .frise-onglets { grid-template-columns: repeat(3, 1fr); }
  .frise-panneau { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .frise-onglets { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Estimateur de prix ---------- */
.estimateur { display: grid; grid-template-columns: 7fr 5fr; border: 1px solid var(--ligne); }
.estimateur-choix { padding: clamp(28px, 3.6vw, 48px); }
.estimateur fieldset { margin: 0 0 28px; padding: 0; border: 0; }
.estimateur legend { margin-bottom: 12px; padding: 0; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ligne-2);
  font-size: 0.92rem;
  color: var(--ivoire-2);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.puce span:hover { border-color: var(--ivoire-2); color: var(--ivoire); }
.puce input:checked + span { background: var(--ivoire); border-color: var(--ivoire); color: var(--noir); }
.puce input:focus-visible + span { outline: 1px solid var(--or); outline-offset: 3px; }
.estimateur-resultat {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(28px, 3.6vw, 48px);
  border-left: 1px solid var(--ligne);
  overflow: hidden;
}
.estimateur-resultat > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.estimateur-resultat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--noir) 20%, rgba(10, 10, 10, 0.4) 100%); }
.estimateur-resultat .prix-estime { color: var(--ivoire); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; font-stretch: 75%; line-height: 0.9; text-transform: uppercase; }
.estimateur-resultat .prix-estime small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.08em; color: var(--or); }
.estimateur-resultat p { color: var(--ivoire-2); font-size: 0.95rem; }
@media (max-width: 900px) { .estimateur { grid-template-columns: 1fr; } .estimateur-resultat { border-left: 0; border-top: 1px solid var(--ligne); min-height: 360px; } }

/* ---------- Formulaire ---------- */
.contact { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivoire-2); }
.champ label .opt { color: var(--ivoire-3); }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ligne-2);
  border-radius: 0;
  background: transparent;
  color: var(--ivoire);
  font: 400 1.05rem/1.4 var(--texte);
  transition: border-color 0.3s;
}
.champ select { appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 16px; }
.champ select option { background: var(--noir-2); color: var(--ivoire); }
.champ textarea { min-height: 150px; resize: vertical; }
.champ input::placeholder,
.champ textarea::placeholder { color: var(--ivoire-3); }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: none; border-color: var(--or); }
.champ .erreur-msg { font-size: 0.86rem; color: #e58f7c; }
.champ [aria-invalid="true"] { border-color: #e58f7c; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.formulaire-pied p { max-width: 30rem; font-size: 0.86rem; color: var(--ivoire-3); }
.formulaire-pied a { text-decoration: underline; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }

.alerte { margin-bottom: 40px; padding: 22px 24px; border: 1px solid var(--ligne-or); }
.alerte b { display: block; margin-bottom: 6px; font-weight: 500; color: var(--or); }
.alerte p { color: var(--ivoire-2); }
.alerte ul { margin: 10px 0 0; padding-left: 18px; color: var(--ivoire-2); }
.alerte a { text-decoration: underline; }
.alerte-ko { border-color: rgba(229, 143, 124, 0.5); }
.alerte-ko b { color: #e58f7c; }

.coordonnees { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.coordonnees > div { padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees .legende { margin-bottom: 8px; }
.coordonnees a:hover { color: var(--or); }
.coordonnees dl { margin: 0; display: grid; gap: 6px; }
.coordonnees dt { color: var(--ivoire); }
.coordonnees dd { margin: 0 0 8px; color: var(--ivoire-2); }
.carte { width: 100%; height: 420px; border: 1px solid var(--ligne); filter: grayscale(1) invert(0.92) contrast(0.85); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Appel a l'action ---------- */
.appel { position: relative; isolation: isolate; overflow: hidden; }
.appel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.appel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, 0.72); }
.appel .cadre { padding-block: clamp(120px, 16vw, 240px); text-align: center; }
.appel h2 { font-size: clamp(3.2rem, 10vw, 10rem); }
.appel p { max-width: 34em; margin: 28px auto 40px; color: var(--ivoire-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.appel .boutons { justify-content: center; }

/* ---------- Note de demonstration ---------- */
.note-demo { display: flex; gap: 12px; max-width: 760px; margin-top: 56px; padding: 16px 18px; border: 1px dashed var(--ligne-2); font-size: 0.9rem; color: var(--ivoire-2); }
.note-demo .ico { width: 16px; height: 16px; margin-top: 4px; color: var(--or); }

/* ---------- Pages texte ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(3rem, 8vw, 6.5rem); margin: 18px 0 28px; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.prose p,
.prose li { color: var(--ivoire-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ivoire); font-weight: 500; }
.prose a { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }

.introuvable { min-height: calc(100svh - var(--entete-h) - var(--annonce-h)); display: flex; align-items: center; padding-block: 64px; }
.introuvable .code { font-size: clamp(9rem, 30vw, 26rem); font-weight: 600; font-stretch: 75%; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--or); }
.introuvable h1 { margin-top: 24px; font-size: clamp(2.6rem, 6vw, 5rem); }
.introuvable p { margin: 20px 0 36px; max-width: 32rem; color: var(--ivoire-2); }

/* ---------- Pied de page (grand logotype, d'apres Watermelon footer-15) ---------- */
.pied { position: relative; overflow: hidden; border-top: 1px solid var(--ligne); background: var(--noir); }
.pied-haut { display: grid; grid-template-columns: 5fr 7fr; gap: 56px clamp(40px, 6vw, 96px); padding-top: clamp(72px, 9vw, 128px); }
.pied-phrase { margin: 16px 0 32px; max-width: 16em; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; font-stretch: 75%; text-transform: uppercase; line-height: 0.95; }
.pied-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pied-nav ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pied-nav li { font-size: 0.95rem; }
.pied-nav a { transition: color 0.25s; }
.pied-nav a:hover { color: var(--or); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--ligne); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivoire-3); }
.pied-geant { width: 100%; height: auto; margin-top: 24px; transform: translateY(14%); }
.pied-geant text { font-family: var(--texte); font-weight: 600; font-stretch: 75%; fill: none; stroke: var(--or); stroke-width: 1; opacity: 0.55; }
@media (max-width: 960px) { .pied-haut { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pied-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 5, 0.97); color: var(--ivoire); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: fondu 0.3s ease; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; padding: 72px 88px 32px; max-height: 100vh; }
.lightbox img { max-width: min(88vw, 1100px); max-height: calc(100vh - 190px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 18px; text-align: center; }
.lightbox figcaption b { font-size: 1.4rem; font-weight: 600; font-stretch: 75%; text-transform: uppercase; }
.lightbox figcaption span:last-child { color: var(--ivoire-2); font-size: 0.95rem; }
.lightbox-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ligne-2); background: rgba(10, 10, 10, 0.6); cursor: pointer; transition: border-color 0.25s, color 0.25s; }
.lightbox-btn:hover { border-color: var(--or); color: var(--or); }
.lightbox-prec { left: 20px; top: 50%; margin-top: -26px; }
.lightbox-suiv { right: 20px; top: 50%; margin-top: -26px; }
.lightbox-fermer { right: 20px; top: 20px; }
@media (max-width: 640px) {
  .lightbox figure { padding: 72px 16px 96px; }
  .lightbox-prec,
  .lightbox-suiv { top: auto; bottom: 20px; margin: 0; }
  .lightbox-prec { left: calc(50% - 60px); }
  .lightbox-suiv { right: calc(50% - 60px); }
}
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Apparition au defilement ---------- */
.js [data-apparait] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--courbe), transform 1s var(--courbe); }
.js [data-apparait].visible { opacity: 1; transform: none; }
.js [data-apparait] .filet { transform: scaleX(0); transition: transform 1.2s var(--courbe) 0.2s; }
.js [data-apparait].visible .filet { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .defile-piste { animation: none !important; }
  .js [data-apparait] { opacity: 1; transform: none; }
  .js [data-apparait] .filet { transform: none; }
}
