/* Bourbon Street Band — feuille de style unique, pensée d'abord pour le téléphone. */

@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/lora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/lora-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/lora-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #17121d;
  --night-2: #211a29;
  --night-3: #2e2537;
  --gold: #c9a443;
  --gold-light: #e4c879;
  --gold-dark: #7a5d1c;
  --cream: #f6f0e4;
  --paper: #fdfbf6;
  --ink: #241c2b;
  --ink-soft: #5a4f60;
  --on-dark: #f1ead9;
  --on-dark-soft: #c2b7c7;
  --sign-plate: #fdfcf8;
  --sign-iron: #121014;
  --sign-ink: #b8620e;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1140px;
  --gutter: 16px;
  --header-h: 60px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--night); padding: .6rem 1rem; border-radius: 8px;
  font-family: var(--font-display); text-decoration: none;
}
.skip-link:focus { top: 8px; }

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 .9rem;
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ""; height: 1px; flex: 0 0 28px; background: currentColor; opacity: .6; }

/* ───────────── Panneaux de rue ───────────── */

.sign {
  --size: 1rem;
  display: inline-block;
  font-size: var(--size);
  padding: .3em;
  background: var(--sign-plate);
  border: 1.5px solid var(--sign-iron);
  border-radius: .8em;
  box-shadow: 0 .5em 1.4em rgba(0, 0, 0, .28);
  color: var(--sign-ink);
  text-decoration: none;
  transform-origin: 50% 0;
}
.sign-frame {
  display: flex; flex-direction: column; align-items: center;
  min-width: 8.4em;
  padding: 0 1.1em .35em;
  border: .2em solid var(--sign-iron);
  border-top-width: .9em;
  border-radius: .45em;
}
.sign-tab {
  position: relative;
  margin-top: -.84em;
  padding: .05em .7em .08em;
  background: var(--sign-plate);
  border: .12em solid var(--sign-iron);
  border-radius: .2em;
  font-family: var(--font-body); font-weight: 600; font-size: .62em; line-height: 1.25; letter-spacing: .02em;
  color: var(--sign-iron);
  white-space: nowrap;
}
/* arabesques en fer forgé de part et d'autre de l'onglet */
.sign-tab::before, .sign-tab::after {
  content: "";
  position: absolute; top: 50%;
  width: 2.6em; height: 1em; margin-top: -.62em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 14' fill='none' stroke='%23fdfcf8' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 7h20M44 7h6M22 7c0-3 2-5 5-5s4 2 4 3.5-1 2.5-2.5 2.5S26 7 26 5.5M22 7c0 3 2 5 5 5s4-2 4-3.5-1-2.5-2.5-2.5M31 5.5c2-2 6-2 8 0s5 2 5 1.5M31 8.5c2 2 6 2 8 0s5-2 5-1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sign-tab::before { right: calc(100% + .3em); }
.sign-tab::after { left: calc(100% + .3em); transform: scaleX(-1); }
.sign-text {
  padding-top: .12em;
  font-family: var(--font-body); font-weight: 600; font-size: 1.55em; line-height: 1.2;
  white-space: nowrap;
}

a.sign { transition: transform .5s var(--ease), box-shadow .3s; }
a.sign:hover { animation: swing 1.4s var(--ease); box-shadow: 0 .8em 1.8em rgba(0, 0, 0, .35); }
a.sign:focus-visible { outline-offset: 4px; border-radius: .8em; }
@keyframes swing {
  20% { transform: rotate(3deg); }
  45% { transform: rotate(-2deg); }
  70% { transform: rotate(1deg); }
  100% { transform: rotate(0); }
}

.section-title { margin: 0 0 .9rem; }
.section-title .sign { --size: clamp(1rem, 3.6vw, 1.3rem); }
.section-sub {
  margin: 0 0 2rem;
  font-family: var(--font-display); font-size: .9rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.section-cream .section-sub { color: var(--gold-dark); }

/* ───────────── En-tête ───────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 18, 29, .94);
  border-bottom: 1px solid rgba(201, 164, 67, .18);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(23, 18, 29, .8); backdrop-filter: blur(10px) saturate(1.2); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--font-display); font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light);
}
.brand img { width: 26px; height: auto; }

.menu-btn {
  display: none;
  align-items: center; gap: .55rem;
  min-height: 44px; padding: 0 .9rem;
  background: transparent; color: var(--on-dark);
  border: 1px solid rgba(201, 164, 67, .45); border-radius: 999px;
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
}
.menu-icon, .menu-icon span, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-icon { position: relative; background: transparent; }
.menu-icon span { position: absolute; top: 0; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon span { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: .5rem 0;
  text-decoration: none;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-soft);
  transition: color .2s;
}
.nav a:hover { color: var(--gold-light); }
.nav .nav-cta { color: var(--gold-light); }

@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav {
    position: absolute; inset: 100% 0 auto 0;
    background: var(--night-2);
    border-bottom: 1px solid rgba(201, 164, 67, .25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .35s var(--ease), visibility 0s .35s;
  }
  .js .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease); }
  .js .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .js .nav a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .js .nav li:last-child a { border-bottom: 0; }
  .brand span { font-size: .85rem; letter-spacing: .14em; }
}

/* ───────────── Accueil ───────────── */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 2.5rem 0 5.5rem;
  background: var(--night);
}
/* photo du coin de rue, assombrie pour garder le texte lisible */
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 18, 29, .3) 0%, rgba(23, 18, 29, .62) 32%, rgba(23, 18, 29, .82) 62%, var(--night) 100%);
}
.hero-grid { display: grid; }
.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }

.plaque {
  width: min(64vw, 250px);
  padding: 2.6rem 1.3rem 1.3rem;
  background: var(--cream);
  border-radius: 999px 999px 14px 14px;
  outline: 1px solid rgba(201, 164, 67, .7);
  outline-offset: 7px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  margin-bottom: 2rem;
}
.plaque img { width: 100%; }

/* panneau de rue « New Orleans / Bourbon Street », fixé au réverbère de l'accueil */
.street-sign {
  --size: clamp(.8rem, 3.2vw, 1rem);
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  margin: 0; padding: 0 1.1em .3em;
  font-size: var(--size);
  background: var(--sign-iron); color: var(--sign-plate);
  border: .2em solid var(--sign-iron); border-radius: .5em;
  box-shadow: inset 0 0 0 .1em var(--sign-plate), 0 .6em 1.4em rgba(0, 0, 0, .45);
}
.ss-tab {
  position: relative;
  padding: .02em .75em .1em;
  background: var(--sign-plate); color: var(--sign-iron);
  border-radius: 0 0 .25em .25em;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05em; line-height: 1.2; letter-spacing: .03em;
  white-space: nowrap;
}
.ss-tab::before, .ss-tab::after {
  content: "";
  position: absolute; top: 50%;
  width: 2.4em; height: .9em; margin-top: -.45em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 14' fill='none' stroke='%23fdfcf8' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 7h20M44 7h6M22 7c0-3 2-5 5-5s4 2 4 3.5-1 2.5-2.5 2.5S26 7 26 5.5M22 7c0 3 2 5 5 5s4-2 4-3.5-1-2.5-2.5-2.5M31 5.5c2-2 6-2 8 0s5 2 5 1.5M31 8.5c2 2 6 2 8 0s5-2 5-1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ss-tab::before { right: calc(100% + .4em); }
.ss-tab::after { left: calc(100% + .4em); transform: scaleX(-1); }
.ss-name { font-family: var(--font-body); font-weight: 600; font-size: 2.1em; line-height: 1.15; letter-spacing: .01em; white-space: nowrap; }
.hero .eyebrow { justify-content: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.hero-intro {
  max-width: 34rem; margin: 0 0 2.2rem;
  font-size: 1.12rem; font-style: italic; color: var(--on-dark);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 18px rgba(0, 0, 0, .55);
}

.signposts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem .75rem; width: 100%; max-width: 30rem;
}
.signposts .sign { --size: clamp(.78rem, 3.4vw, .95rem); display: block; }
.signposts .sign-frame { padding-inline: .4em; }
.signposts .sign-text { font-size: 1.4em; }
/* le réverbère se pose sur la rambarde du balcon, en bas de l'accueil */
.hero .lamp-sign { justify-self: center; margin: 2.5rem 0 calc(46px - 5.5rem); }

/* balcon en fer forgé */
.balcony {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='46' viewBox='0 0 36 46' fill='none' stroke='%23c9a443' stroke-width='1.5'%3E%3Cpath d='M0 2h36M0 7h36M0 45h36M0 7v38M18 7v9M18 30v15'/%3E%3Ccircle cx='18' cy='23' r='6.5'/%3E%3Ccircle cx='18' cy='23' r='2'/%3E%3Cpath d='M0 26c5 0 9-4 11.5-7.5M36 26c-5 0-9-4-11.5-7.5M0 20c5 0 9 4 11.5 7.5M36 20c-5 0-9 4-11.5 7.5'/%3E%3C/svg%3E") repeat-x bottom left / 36px 46px;
  opacity: .45;
}

@media (min-width: 900px) {
  .hero { display: flex; align-items: center; min-height: min(92vh, 880px); padding: 4.5rem 0 7.5rem; }
  .hero-bg img { object-position: 50% 35%; }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(23, 18, 29, .8) 0%, rgba(23, 18, 29, .62) 34%, rgba(23, 18, 29, .28) 60%, rgba(23, 18, 29, .1) 100%),
      linear-gradient(180deg, rgba(23, 18, 29, .3) 0%, transparent 25%, transparent 72%, var(--night) 100%);
  }
  .hero-text { align-items: flex-start; text-align: left; max-width: 37rem; }
  .hero .eyebrow { justify-content: flex-start; }
  .plaque { width: 230px; }
  .signposts { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 36rem; }
  .signposts .sign { --size: .9rem; }
  .hero .lamp-sign { margin-bottom: calc(46px - 7.5rem); }
}

@media (min-width: 960px) {
  .hero .lamp-sign {
    position: absolute; bottom: 46px; margin: 0;
    right: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter) + 1rem);
  }
}

/* ───────────── Sections ───────────── */

.section { padding: clamp(4rem, 11vw, 7rem) 0; }
.section-dark { background: var(--night); color: var(--on-dark); }
.section-dark:nth-of-type(4n+3) { background: var(--night-2); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-cream .prose a { color: var(--gold-dark); }

.prose p { max-width: 40rem; }
.prose p:first-child::first-letter {
  float: left; margin: .08em .1em 0 0;
  font-family: var(--font-display); font-weight: 600; font-size: 3.4em; line-height: .8;
  color: var(--gold-dark);
}

.lead { font-size: 1.1rem; color: var(--on-dark-soft); max-width: 40rem; }
.section-cream .lead { color: var(--ink-soft); }
.fineprint { margin-top: 1.5rem; font-size: .85rem; font-style: italic; color: var(--on-dark-soft); }

/* Le groupe */
.groupe-grid { display: grid; gap: 3rem; align-items: start; }
.subhead {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display); font-weight: 400; font-size: 1rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink);
}
.musiciens { display: grid; gap: 0 2rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.musiciens li { display: flex; flex-direction: column; padding: .9rem 0; border-top: 1px solid rgba(122, 93, 28, .3); }
.m-nom { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; }
.m-inst { font-style: italic; color: var(--ink-soft); }

.doc-link {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.2rem;
  border: 1px solid var(--gold-dark); border-radius: 999px;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.section-cream .doc-link { color: var(--gold-dark); }
.section-cream .doc-link:hover { background: var(--gold-dark); color: var(--cream); }
.doc-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.groupe-photo { margin: 0; justify-self: center; max-width: 380px; transform: rotate(1.5deg); }
.groupe-photo img {
  width: 100%;
  padding: 10px 10px 44px; background: var(--paper);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 24px 50px rgba(36, 28, 43, .22);
}
.groupe-photo figcaption {
  margin-top: -36px; position: relative; text-align: center;
  font-style: italic; font-size: .95rem; color: var(--ink-soft);
}

@media (min-width: 560px) { .musiciens { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .groupe-grid { grid-template-columns: 1.25fr .75fr; gap: 5rem; } .groupe-photo { margin-top: 4rem; } }

/* Concerts */
.concerts { margin: 0; padding: 0; list-style: none; }
.concert {
  display: grid; grid-template-columns: 76px 1fr; gap: 1.1rem; align-items: start;
  padding: 1.25rem 0; border-top: 1px solid rgba(201, 164, 67, .2);
}
.concert:last-child { border-bottom: 1px solid rgba(201, 164, 67, .2); }
.c-date {
  display: flex; flex-direction: column; align-items: center;
  padding: .5rem 0 .6rem;
  border: 1px solid rgba(201, 164, 67, .55); border-radius: 10px;
  font-family: var(--font-display); text-transform: uppercase; line-height: 1.1;
}
.c-day { font-size: 2rem; font-weight: 600; color: var(--gold-light); }
.c-month { font-size: .8rem; letter-spacing: .14em; }
.c-year { font-size: .72rem; letter-spacing: .1em; color: var(--on-dark-soft); }
.c-when { margin: 0 0 .2rem; font-family: var(--font-display); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.c-place { font-size: 1.3rem; font-weight: 600; }
.c-city { margin: .1rem 0 0; color: var(--on-dark-soft); }
.c-infos { margin: .5rem 0 0; font-size: .97rem; color: var(--on-dark-soft); }
.c-link { display: inline-block; margin-top: .5rem; color: var(--gold-light); font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }

.empty {
  padding: 2rem 1.5rem; text-align: center;
  border: 1px dashed rgba(201, 164, 67, .4); border-radius: var(--radius);
  font-style: italic; color: var(--on-dark-soft);
}
.empty p:first-child { font-size: 1.15rem; color: var(--on-dark); }
.empty p:last-child { margin: 0; }
.empty a { color: var(--gold-light); }

.past { margin-top: 2.5rem; }
.past summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft);
}
.past summary::-webkit-details-marker { display: none; }
.past summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border: 1px solid currentColor; border-radius: 50%; transition: transform .3s; }
.past[open] summary::before { transform: rotate(45deg); }
.concerts-past .concert { grid-template-columns: 60px 1fr; padding: .9rem 0; opacity: .8; }
.concerts-past .c-day { font-size: 1.5rem; }
.concerts-past .c-place { font-size: 1.1rem; }

/* Lecteur audio */
.player {
  background: var(--night); color: var(--on-dark);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(36, 28, 43, .3);
}
.player-now { display: none; align-items: center; gap: 1rem; padding: 1.25rem; background: linear-gradient(135deg, var(--night-3), var(--night)); border-bottom: 1px solid rgba(201, 164, 67, .25); }
.js .player-now { display: flex; }
.play-btn {
  flex: none; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--gold); color: var(--night);
  cursor: pointer; transition: transform .2s var(--ease), background .2s;
}
.play-btn:hover { background: var(--gold-light); transform: scale(1.06); }
.play-btn svg { width: 26px; height: 26px; fill: currentColor; }
.play-btn .i-pause, .is-playing .play-btn .i-play { display: none; }
.is-playing .play-btn .i-pause { display: block; }
.player-info { flex: 1; min-width: 0; }
.player-title { margin: 0 0 .35rem; font-weight: 600; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.player-bar input { flex: 1; min-width: 0; accent-color: var(--gold); height: 24px; margin: 0; cursor: pointer; }

.tracks { margin: 0; padding: .4rem 0; list-style: none; counter-reset: t; }
.track {
  display: flex; align-items: center; gap: 1rem;
  min-height: 52px; padding: .6rem 1.25rem;
  text-decoration: none; color: var(--on-dark);
  transition: background .2s, color .2s;
}
.track:hover { background: rgba(255, 255, 255, .05); }
.t-num { width: 1.6rem; font-family: var(--font-display); font-size: .85rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.t-title { flex: 1; }
.t-state { display: flex; align-items: flex-end; gap: 2px; width: 16px; height: 14px; opacity: 0; }
.t-state i { flex: 1; height: 30%; background: var(--gold-light); border-radius: 1px; }
.track[aria-current="true"] { color: var(--gold-light); background: rgba(201, 164, 67, .08); }
.track[aria-current="true"] .t-state { opacity: 1; }
.is-playing .track[aria-current="true"] .t-state i { animation: eq 1s ease-in-out infinite; }
.is-playing .track[aria-current="true"] .t-state i:nth-child(2) { animation-delay: -.4s; }
.is-playing .track[aria-current="true"] .t-state i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Vidéos */
.videos { display: grid; gap: 2rem; margin-top: 2rem; }
.video { margin: 0; }
.video-frame {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); border: 0;
  background: var(--night-3) radial-gradient(circle at 50% 40%, rgba(201, 164, 67, .25), transparent 60%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(.85); }
.video-frame:hover img { transform: scale(1.04); filter: saturate(1); }
.video-play {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(23, 18, 29, .75); border: 2px solid var(--gold-light); color: var(--gold-light);
  transition: transform .3s var(--ease), background .3s;
}
.video-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video-frame:hover .video-play { transform: scale(1.1); background: var(--gold); color: var(--night); }
.video figcaption { margin-top: .9rem; }
.video figcaption strong { display: block; font-weight: 600; font-size: 1.1rem; }
.video figcaption span { color: var(--on-dark-soft); font-style: italic; }
@media (min-width: 760px) { .videos { grid-template-columns: 1fr 1fr; } }

/* Photos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: var(--night-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; } }

/* Visionneuse */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 9, 15, .96); color: var(--on-dark);
}
.lightbox[open] { display: flex; flex-direction: column; animation: fade .25s ease-out; }
.lightbox::backdrop { background: rgba(12, 9, 15, .8); }
.lb-stage { flex: 1; display: grid; place-items: center; min-height: 0; padding: 56px 12px 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-caption { margin: 0; padding: 1rem var(--gutter) 1.5rem; text-align: center; font-style: italic; }
.lb-count { font-family: var(--font-display); font-style: normal; font-size: .8rem; letter-spacing: .12em; color: var(--on-dark-soft); margin-left: .5rem; }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(46, 37, 55, .85); color: var(--on-dark); border: 1px solid rgba(201, 164, 67, .35);
  cursor: pointer;
}
.lb-btn:hover { background: var(--gold); color: var(--night); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 10px; right: 10px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
@keyframes fade { from { opacity: 0; } }

/* Contact */
.contact { text-align: center; position: relative; overflow: hidden; }
.contact .section-sub { margin-bottom: 1rem; }
.contact .lead { margin-inline: auto; }
.contact .sign-contact { margin-bottom: 2rem; }

.sign-contact { --size: clamp(.82rem, 3.5vw, 1.1rem); position: relative; z-index: 1; }

/* réverbère de l'accueil, avec le panneau de rue comme sur l'ancien site */
.lamp-sign { --lamp-w: 48px; display: flex; align-items: flex-start; justify-content: center; }
/* le panneau commence sous le bras du réverbère et touche le poteau */
.lamp-sign .street-sign { margin: calc(var(--lamp-w) * 1.32) calc(var(--lamp-w) * -.5) 0 0; }
.sign-contact .sign-frame { padding: 0 1.3em .55em; }
.sign-contact .sign-text { margin: 0; font-size: 2em; }
.sc-item { align-self: stretch; padding: .25em 0; text-align: center; }
.sc-item + .sc-item { border-top: 1px solid rgba(18, 16, 20, .15); }
.sc-name { margin: 0; font-size: .85em; font-style: italic; color: var(--ink-soft); }
.sc-link {
  display: flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 2.5em; padding: 0 .3em;
  font-family: var(--font-body); font-weight: 600; font-size: 1.15em;
  color: var(--sign-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.sc-link:hover { color: #8f4a08; }
.sc-link svg { flex: none; width: .95em; height: .95em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.lamppost { flex: none; width: var(--lamp-w); height: auto; overflow: visible; }
.lamppost .frame { stroke: #231d29; stroke-width: 3; stroke-linejoin: round; }
.lamppost .halo, .lamppost .glass, .lamppost .flame { animation: flicker 6s infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .65; } 49% { opacity: 1; } 51% { opacity: .8; } 52% { opacity: 1; } }

@media (min-width: 640px) { .lamp-sign { --lamp-w: 86px; } }

/* Pied de page */
.site-footer { background: #0f0b13; color: var(--on-dark-soft); padding: 2.5rem 0 3rem; font-size: .92rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; }
.footer-inner img { width: 28px; margin-bottom: .6rem; opacity: .85; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--on-dark-soft); }
.footer-inner a:hover { color: var(--gold-light); }

/* Apparition douce au défilement (activée par main.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
