/*
Theme Name: Compagnie_Foubadours
Theme URI: https://foubadours.crossord-homelab.xyz/
Author: Tom
Description: Thème WordPress pour La Compagnie des Foubadours.
Version: 1.1.1
Text Domain: compagnie-foubadours
*/

:root {
  --ink: #201a18;
  --muted: #6f6660;
  --paper: #fffdf8;
  --soft: #f6efe6;
  --line: #e5d8ca;
  --red: #c3191d;
  --gold: #f19a1a;
  --green: #146c52;
  --shadow: 0 24px 60px rgba(57, 42, 30, 0.14);
}

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

html {
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 92px;
  overflow: hidden;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img { width: 112px; height: auto; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  font-size: 0.93rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav a,
.site-footer a { text-decoration: none; }

.main-nav a:hover,
.site-footer a:hover { color: var(--red); }

.quick-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 22px);
}

.mobile-quick-links { display: none; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(32, 26, 24, 0.08);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  grid-area: 1 / 1;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.icon-link,
.round-button {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(229, 216, 202, 0.9);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(32, 26, 24, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(32, 26, 24, 0.14);
}

.image-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.helloasso-link img { width: 158px; height: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 6vw, 84px) 34px;
  background:
    linear-gradient(90deg, rgba(246, 239, 230, 0.9), rgba(255, 253, 248, 0.78)),
    linear-gradient(180deg, #fffdf8, #f8efe3);
}

.hero-without-poster {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  padding-block: clamp(38px, 5vw, 64px);
}

.hero-without-poster .hero-copy { text-align: center; }

.hero-without-poster .hero-event-details { margin-inline: auto; }

.hero-event-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #453b35;
  box-shadow: 0 14px 34px rgba(57, 42, 30, 0.08);
}

.hero-event-details span {
  position: relative;
  font-weight: 700;
}

.hero-event-details span + span::before {
  position: absolute;
  left: -14px;
  color: var(--gold);
  content: "•";
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-style: italic;
  line-height: 0.95;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(3.2rem, 5.8vw, 5.4rem);
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy p:not(.eyebrow),
.hero-description {
  max-width: 620px;
  color: #453b35;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-description p:last-child,
.intro-content p:last-child { margin-bottom: 0; }

.hero-actions,
.contact-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(195, 25, 29, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.construction-showcase {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(32px, 7vw, 88px) clamp(18px, 5vw, 72px);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(246, 239, 230, 0.94), rgba(255, 253, 248, 0.86)),
    linear-gradient(180deg, #fffdf8, #f8efe3);
}

.construction-showcase-inner {
  display: grid;
  justify-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.construction-showcase-logo {
  width: clamp(150px, 18vw, 240px);
  margin-bottom: 28px;
}

.construction-title {
  width: 100%;
  margin-bottom: 20px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  font-style: italic;
  line-height: 0.95;
  text-align: center;
}

.construction-title span {
  display: block;
  white-space: nowrap;
  text-align: center;
}

.construction-showcase-inner > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.construction-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.featured-poster {
  display: block;
  max-width: 480px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: rotate(1.2deg);
}

.featured-poster img {
  width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  border-radius: 4px;
}

.news-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin: 0 clamp(18px, 6vw, 84px);
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(57, 42, 30, 0.08);
}

.news-band strong { color: var(--red); }
.news-band span { color: var(--muted); }
.news-band a { color: var(--green); font-weight: 800; }

.news-band-teaser {
  justify-content: space-between;
  border-color: rgba(189, 76, 57, 0.28);
  background: linear-gradient(100deg, #fff7e8, #fff);
}

.news-band-teaser-copy {
  display: grid;
  flex: 1 1 520px;
  gap: 5px;
}

.news-band-teaser-copy .eyebrow { margin-bottom: 0; }
.news-band-teaser-copy strong { font-size: 1.15rem; }
.news-band-teaser-details { font-weight: 800; }

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 84px);
  scroll-margin-top: 92px;
}

.legal-intro {
  max-width: 760px;
  color: var(--muted);
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: 18px;
  max-width: 1120px;
  margin-top: 28px;
}

.legal-content section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
}

.legal-content h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.legal-content p {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.legal-list div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.legal-list dt {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-list dd {
  margin: 0;
  color: var(--ink);
}

.standard-page {
  max-width: 1100px;
  margin: 0 auto;
}

.standard-page-content {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
  box-shadow: var(--shadow);
}

.standard-page-body {
  max-width: 880px;
  margin-top: 30px;
}

.standard-page-body h2,
.standard-page-body h3 {
  margin-top: 32px;
}

.standard-page-body p,
.standard-page-body ul,
.standard-page-body ol {
  line-height: 1.75;
}

.standard-page-body a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#compagnie,
#galerie,
#bureau,
#spectacles {
  scroll-margin-top: 92px;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.intro > p,
.intro-content,
.contact > p {
  color: var(--muted);
  font-size: 1.1rem;
}

.intro > p,
.intro-content {
  max-width: 1050px;
  justify-self: start;
  line-height: 1.65;
  text-align: left;
}

.intro-content p { margin-bottom: 12px; }

.intro,
.bureau {
  padding-block: clamp(36px, 4.5vw, 58px);
}

.show-section { background: var(--soft); }

.home-gallery {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 22vw, 300px);
  gap: 14px;
}

.gallery-grid.gallery-count-1 {
  grid-template-columns: minmax(0, 760px);
}

.gallery-item {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e9e2d8;
  box-shadow: 0 12px 28px rgba(57, 42, 30, 0.1);
}

.gallery-grid:not(.gallery-count-1) .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.025);
}

.gallery-item > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(21, 18, 15, 0.78));
  color: #fff;
  font-size: 0.9rem;
}

.gallery-lightbox {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(18, 14, 12, 0.86);
  backdrop-filter: blur(4px);
}

.gallery-lightbox figure {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
}

.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox figcaption {
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.gallery-lightbox figcaption:empty { display: none; }

.gallery-lightbox-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.bureau {
  background: #fff;
  border-top: 1px solid var(--line);
}

.bureau-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bureau-grid article {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.bureau-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.carousel-controls { display: flex; gap: 10px; }

.round-button {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.7rem;
}

.round-button:hover {
  border-color: var(--red);
  color: var(--red);
}

.carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  overflow-x: visible;
  padding: 4px 4px 24px;
}

.carousel.is-centered {
  justify-content: center;
  overflow-x: visible;
}

.show-card { height: 100%; max-width: 360px; width: 100%; }

.show-card-featured { max-width: 360px; }

.show-card-featured a {
  padding: 18px 18px 26px;
  border-color: rgba(204, 21, 27, 0.24);
  box-shadow: 0 20px 46px rgba(57, 42, 30, 0.14);
}

.show-card-featured h3 { font-size: 1.55rem; }

.show-card-featured .show-year {
  background: var(--red);
  color: #fff;
}

.show-card a {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  height: 100%;
  padding: 14px 14px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(57, 42, 30, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.show-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.show-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.show-year {
  width: max-content;
  margin: 16px 0 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff0df;
  color: #8c4a00;
  font-size: 0.78rem;
  font-weight: 800;
}

.show-card p,
.practical p,
.contact p { margin-bottom: 0; color: var(--muted); }

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.archive-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 320px);
  padding: 16px 20px;
  border: 1px solid rgba(195, 25, 29, 0.2);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #fff0df);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(57, 42, 30, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.archive-band:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.archive-band strong {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.1;
}

.archive-band > span:last-child {
  color: var(--red);
  font-size: 1.5rem;
}

.show-archive-header {
  max-width: 900px;
  margin-bottom: 36px;
}

.show-archive-header h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
}

.show-archive-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}

.shows-grid .show-card h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.show-pagination {
  margin-top: 38px;
}

.show-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.show-pagination a,
.show-pagination .current {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.show-pagination .current {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.practical { background: #fff; }

.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.practical-grid article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  padding: 34px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.site-footer img { width: 64px; height: auto; }

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.show-page .site-header { position: static; }

.show-hero {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  padding: clamp(26px, 4vw, 50px) clamp(18px, 5vw, 64px);
}

.show-hero img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.show-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 6vw, 6rem);
  line-height: 1.08;
}

.show-hero section > p:not(.eyebrow) {
  max-width: 1180px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.show-tagline {
  color: var(--ink);
  font-weight: 700;
}

.show-description {
  display: grid;
  gap: 10px;
  max-width: 1180px;
  margin-bottom: 14px;
}

.show-description p {
  margin-bottom: 0;
  line-height: 1.5;
}

.show-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.show-details li {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.show-details strong {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-list {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
  padding-left: 18px;
}

.price-list li {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-actions {
  margin-top: 18px;
}

@media (max-width: 1320px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .featured-poster {
    justify-self: center;
    max-width: min(520px, 100%);
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    display: flex;
    gap: 10px;
    overflow: visible;
  }

  .quick-links {
    display: none;
  }

  .brand { order: 1; }
  .menu-toggle {
    order: 3;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .hero,
  .intro,
  .contact,
  .show-hero { grid-template-columns: 1fr; }

  .show-details { grid-template-columns: 1fr; }

  .carousel { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(190px, 34vw, 300px);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(18px, 4vw, 56px);
    right: clamp(18px, 4vw, 56px);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

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

  .main-nav a {
    padding: 12px 14px;
  }

  .mobile-quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 8px 8px;
    border-top: 1px solid var(--line);
  }

  .main-nav .mobile-quick-links a { padding: 0; }

  .menu-toggle { display: grid; }
  .hero { padding-top: 34px; }
  .featured-poster { max-width: 380px; transform: none; }
  .practical-grid { grid-template-columns: 1fr; }
  .bureau-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 78px;
  }

  .section,
  #compagnie,
    #galerie,
  #bureau,
  #spectacles {
    scroll-margin-top: 78px;
  }

  .site-header {
    gap: 6px;
    height: 78px;
    padding-inline: 12px;
  }

  .brand img { width: 58px; }
  .helloasso-link img { width: 108px; }
  .icon-link { width: 38px; height: 38px; }
  .image-icon img { width: 25px; height: 25px; }
  .menu-toggle { width: 44px; height: 44px; }

  .main-nav {
    left: 14px;
    right: 14px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .carousel { grid-template-columns: minmax(0, min(420px, 100%)); }
  .gallery-grid,
  .gallery-grid.gallery-count-1 {
    grid-template-columns: none;
    grid-template-rows: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 420px);
    grid-auto-rows: min(68vw, 320px);
    gap: 12px;
    margin-inline: -18px;
    padding-inline: 18px;
    overflow-x: auto;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }
  .gallery-grid:not(.gallery-count-1) .gallery-item:first-child,
  .gallery-item {
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }
  .gallery-lightbox-close { top: -12px; right: -4px; }
  .hero-event-details {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }
  .hero-event-details span + span::before { content: none; }
  .archive-band {
    grid-template-columns: 1fr auto;
    width: min(100%, 300px);
    gap: 10px;
    padding: 15px 18px;
  }
  h1 { font-size: clamp(2.35rem, 14vw, 4rem); }
  .hero-title { font-size: clamp(2.35rem, 13vw, 3.8rem); }
  .show-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
}
