/* =========================================================
   BASE
   ========================================================= */

   :root {
    --pink: #f72585;
    --yellow: #ffe000;
    --turquoise: #22c4c6;
    --orange: #ff7a00;
    --blue: #164bb8;
  
    --bg: #fff8df;
    --surface: #ffffff;
    --text: #111111;
    --muted: #666666;
    --border: #111111;
  
    --dark-red: #d4142b;
  
    --max-width: 1180px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
  
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background-color: var(--turquoise);
  
    background-image:
      radial-gradient(
        circle at 7% 15%,
        var(--yellow) 0 9%,
        transparent 9.5%
      ),
  
      radial-gradient(
        circle at 93% 18%,
        var(--pink) 0 11%,
        transparent 11.5%
      ),
  
      radial-gradient(
        circle at 15% 43%,
        var(--orange) 0 10%,
        transparent 10.5%
      ),
  
      radial-gradient(
        circle at 88% 55%,
        var(--yellow) 0 9%,
        transparent 9.5%
      ),
  
      radial-gradient(
        circle at 8% 76%,
        var(--pink) 0 10%,
        transparent 10.5%
      ),
  
      radial-gradient(
        circle at 88% 82%,
        var(--orange) 0 12%,
        transparent 12.5%
      );
  
      background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%;
    
    background-repeat: no-repeat;
  }
 /* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;
  
    background: #fff;
    color: #111;
  
    border-top: 2px solid #111;
  }
  
  .site-footer__inner {
    width: min(1100px, calc(100% - 40px));
  
    margin: 0 auto;
  
    min-height: 100px;
  
    display: grid;
  
    grid-template-columns:
      1fr
      auto
      1fr;
  
    align-items: center;
  
    gap: 40px;
  
    padding: 20px 0;
  }
  
  
  .site-footer__brand {
    font-size: 15px;
    font-weight: 800;
  }
  
  
  .site-footer__socials {
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 18px;
  }
  
  
  .site-footer__socials a {
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    width: 38px;
    height: 38px;
  
    transition:
      transform .15s ease,
      opacity .15s ease;
  }
  
  
  .site-footer__socials a:hover {
    transform: translateY(-3px);
  }
  
  
  .site-footer__socials img {
    display: block;
  
    width: 34px;
    height: 34px;
  
    object-fit: contain;
  }
  
  
  .site-footer__legal {
    text-align: right;
  
    font-size: 13px;
    font-weight: 700;
  
    line-height: 1.35;
  }
  
  
  .site-footer__legal a:hover {
    text-decoration: underline;
  }
  
  
  /* DARK */
  
  body.theme-dark .site-footer {
    background: #050505;
    color: #f5f5f5;
  
    border-top-color: #222;
  }
  
  
  /* MOBILE */
  
  @media (max-width: 850px) {
  
    .site-footer {
      margin-bottom: 72px;
    }
  
    .site-footer__inner {
      width: calc(100% - 30px);
  
      min-height: auto;
  
      grid-template-columns: 1fr;
  
      gap: 18px;
  
      padding: 22px 0;
  
      text-align: center;
    }
  
  
    .site-footer__brand {
      text-align: center;
    }
  
  
    .site-footer__socials {
      gap: 22px;
    }
  
  
    .site-footer__socials a {
      width: 42px;
      height: 42px;
    }
  
  
    .site-footer__socials img {
      width: 36px;
      height: 36px;
    }
  
  
    .site-footer__legal {
      text-align: center;
    }
  
  }



  /* =========================================================
   TRAMES POP ART
   ========================================================= */

body::before {
    content: "";
  
    position: fixed;
    inset: 0;
  
    z-index: 0;
  
    pointer-events: none;
  
    /* motif de petits points */
    background-image:
      radial-gradient(
        circle,
        rgba(0, 0, 0, 0.42) 0 4px,
        transparent 4.5px
      );
  
    background-size: 25px 25px;
  
    opacity: 0.32;
  
    /* zones où les points apparaissent */
    -webkit-mask-image:
  
      radial-gradient(
        circle at 5% 4%,
        transparent 0 6%,
        #000 7.5%,
        #000 11%,
        transparent 17%
      ),
  
      radial-gradient(
        circle at 95% 10%,
        transparent 0 8%,
        #000 9.5%,
        #000 14%,
        transparent 21%
      ),
  
      radial-gradient(
        circle at 15% 35%,
        transparent 0 7%,
        #000 8.5%,
        #000 13%,
        transparent 20%
      ),
  
      radial-gradient(
        circle at 90% 48%,
        transparent 0 6%,
        #000 7.5%,
        #000 12%,
        transparent 19%
      ),
  
      radial-gradient(
        circle at 8% 70%,
        transparent 0 7%,
        #000 8.5%,
        #000 13%,
        transparent 20%
      ),
  
      radial-gradient(
        circle at 88% 88%,
        transparent 0 9%,
        #000 10.5%,
        #000 15%,
        transparent 23%
      );
  
  
    mask-image:
  
      radial-gradient(
        circle at 5% 4%,
        transparent 0 6%,
        #000 7.5%,
        #000 11%,
        transparent 17%
      ),
  
      radial-gradient(
        circle at 95% 10%,
        transparent 0 8%,
        #000 9.5%,
        #000 14%,
        transparent 21%
      ),
  
      radial-gradient(
        circle at 15% 35%,
        transparent 0 7%,
        #000 8.5%,
        #000 13%,
        transparent 20%
      ),
  
      radial-gradient(
        circle at 90% 48%,
        transparent 0 6%,
        #000 7.5%,
        #000 12%,
        transparent 19%
      ),
  
      radial-gradient(
        circle at 8% 70%,
        transparent 0 7%,
        #000 8.5%,
        #000 13%,
        transparent 20%
      ),
  
      radial-gradient(
        circle at 88% 88%,
        transparent 0 9%,
        #000 10.5%,
        #000 15%,
        transparent 23%
      );
  }
  main {
    position: relative;
    z-index: 1;
  
    flex: 1;
  }

  body.theme-dark::before {
    display: none;
  }


  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input {
    font: inherit;
  }
  
  
  /* =========================================================
     HEADER
     ========================================================= */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  
    background: #fff;
    border-bottom: 3px solid #111;
  }
  
  .header-inner {
    max-width: 1500px;
    min-height: 74px;
  
    margin: 0 auto;
    padding: 0 28px;
  
    display: flex;
    align-items: center;
    gap: 28px;
  }
  
  .site-logo {
    display: flex;
    flex-direction: column;
  
    line-height: .84;
    font-weight: 900;
    font-size: 1.35rem;
  }
  
  .site-logo__saujon {
    color: var(--blue);
  }
  
  .site-logo__comedia {
    color: var(--pink);
  }
  
  .desktop-nav {
    margin-left: auto;
  
    display: flex;
    align-items: center;
    gap: 28px;
  }
  
  .desktop-nav a {
    padding: 27px 0 22px;
  
    font-size: .88rem;
    font-weight: 800;
    text-transform: uppercase;
  
    border-bottom: 4px solid transparent;
  }
  
  .desktop-nav a:hover,
  .desktop-nav a.active {
    border-color: var(--pink);
  }
  
  .desktop-actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  
  .reserve-link {
    padding: 11px 17px;
  
    background: var(--yellow);
    color: #111;
  
    border: 2px solid #111;
  
    font-weight: 900;
    text-transform: uppercase;
  
    box-shadow: 4px 4px 0 #111;
  }
  
  
  /* =========================================================
     SWITCH THEME
     ========================================================= */
  
  .theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  
    cursor: pointer;
  }
  
  .theme-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  .theme-switch__slider {
    position: relative;
  
    width: 44px;
    height: 24px;
  
    display: inline-block;
  
    background: #c9ced3;
    border-radius: 999px;
  }
  
  .theme-switch__slider::before {
    content: "";
  
    position: absolute;
    top: 3px;
    left: 3px;
  
    width: 18px;
    height: 18px;
  
    background: #fff;
    border-radius: 50%;
  
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  
    transition: transform .2s ease;
  }
  
  .theme-switch input:checked + .theme-switch__slider {
    background: #249ee8;
  }
  
  .theme-switch input:checked + .theme-switch__slider::before {
    transform: translateX(20px);
  }
  
  
  /* =========================================================
     HERO POP ART
     ========================================================= */
  
  .hero {
    overflow: hidden;
  
    min-height: 500px;
    padding: 65px 24px;
  
    background: transparent;
  }
  
  .hero__content {
    max-width: 1050px;
    min-height: 370px;
  
    margin: 0 auto;
  
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
  }
  
  .hero__text {
    padding: 35px;
  
    background: #101010;
    color: #fff;
  
    transform: rotate(-1.5deg);
  
    box-shadow: 10px 10px 0 var(--pink);
  }
  
  .hero-title {
    margin: 0 0 22px;
  
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: .97;
    font-weight: 900;
  }
  
  .hero-title--dark {
    display: none;
  }
  
  .hero__tagline {
    display: inline-block;
  
    margin: 0;
    padding: 7px 12px;
  
    background: var(--yellow);
    color: #111;
  
    font-weight: 900;
  }
  
  .hero-photo {
    position: relative;
  
    min-height: 330px;
  
    overflow: hidden;
  
    background: #111;
  
    border: 9px solid #111;
  
    transform: rotate(1.5deg);
  
    box-shadow: 10px 10px 0 var(--blue);
  }
  
  .hero-photo img {
    position: absolute;
    inset: 0;
  
    width: 100%;
    height: 100%;
  
    object-fit: contain;
    object-position: center;
  
    opacity: 0;
  
    transition: opacity 1.5s ease;
  
    background: #000;
  }
  
  .hero-photo img.is-active {
    opacity: 1;
  }
  
  
  /* =========================================================
     SECTIONS
     ========================================================= */
  
  .section {
    padding: 70px 24px;
  }
  
  .section-title {
    display: table;
  
    margin: 0 auto 35px;
    padding: 6px 12px;
  
    background: var(--yellow);
    color: #111;
  
    font-size: 2rem;
    font-weight: 900;
  
    box-shadow: 5px 5px 0 #111;
  }
  
  
  /* =========================================================
     BLOCS A L'AFFICHE
     ========================================================= */
  
  .category-grid {
    max-width: 1050px;
  
    margin: 0 auto;
  
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .category-card {
    padding: 30px;
  
    background: var(--surface);
  
    border: 3px solid var(--border);
  
    box-shadow: 7px 7px 0 #111;
  }
  
  .category-card:nth-child(1) {
    border-bottom-color: var(--pink);
  }
  
  .category-card:nth-child(2) {
    border-bottom-color: var(--blue);
  }
  
  .category-card:nth-child(3) {
    border-bottom-color: var(--orange);
  }
  
  .category-card__icon {
    font-size: 2rem;
  }
  
  .category-card h3 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
  }
  
  .category-card p {
    color: var(--muted);
    line-height: 1.5;
  }
  
  .category-card a {
    font-weight: 900;
  }
  
  
  /* =========================================================
     DARK
     ========================================================= */
  
  body.theme-dark {
    --bg: #000;
    --surface: #070707;
    --text: #f4f4f4;
    --muted: #aaa;
    --border: #292929;
  
    background: #000;
  }
  
  body.theme-dark .site-header {
    background: #000;
    border-bottom: 1px solid #202020;
  }
  
  body.theme-dark .site-logo__saujon {
    color: #f5f5f5;
  }
  
  body.theme-dark .site-logo__comedia {
    color: var(--dark-red);
  }
  
  body.theme-dark .desktop-nav a {
    color: #f1f1f1;
  }
  
  body.theme-dark .desktop-nav a:hover,
  body.theme-dark .desktop-nav a.active {
    border-color: var(--dark-red);
  }
  
  body.theme-dark .reserve-link {
    background: transparent;
    color: #fff;
    border: none;
    box-shadow: none;
  }
  
  body.theme-dark .hero {
    position: relative;
  
    min-height: 620px;
    padding: 0;
  
    background: #000;
  }
  
  body.theme-dark .hero__content {
    position: relative;
  
    max-width: none;
    min-height: 620px;
  
    margin: 0;
  
    display: block;
  }
  
  body.theme-dark .hero-photo {
    position: absolute;
    inset: 0;
  
    min-height: 620px;
  
    border: 0;
    box-shadow: none;
    transform: none;
  
    background: #000;
  }
  
  body.theme-dark .hero__content::after {
    content: "";
  
    position: absolute;
    inset: 0;
  
    z-index: 1;
  
    pointer-events: none;
  
    background:
      linear-gradient(
        90deg,
        #000 0%,
        #000 20%,
        rgba(0, 0, 0, .92) 31%,
        rgba(0, 0, 0, .55) 43%,
        rgba(0, 0, 0, .10) 62%,
        rgba(0, 0, 0, 0) 78%
      );
  }
  
  body.theme-dark .hero__text {
    position: absolute;
  
    z-index: 2;
  
    top: 50%;
    left: clamp(40px, 5vw, 90px);
  
    width: min(520px, 42vw);
  
    padding: 0;
  
    transform: translateY(-50%);
  
    background: transparent;
    color: #fff;
  
    box-shadow: none;
  }
  
  body.theme-dark .hero-title--pop {
    display: none;
  }
  
  body.theme-dark .hero-title--dark {
    display: block;
  
    margin: 0 0 28px;
  
    font-family: Georgia, "Times New Roman", serif;
  
    font-size: clamp(3.2rem, 4.6vw, 5.5rem);
    font-weight: 700;
    line-height: .95;
  
    letter-spacing: -.035em;
  }
  
  body.theme-dark .hero__tagline {
    margin: 0;
    padding: 0;
  
    background: transparent;
    color: #b7b7b7;
  
    font-size: 1.05rem;
    font-weight: 400;
  
    letter-spacing: .16em;
  }
  
  body.theme-dark .hero__tagline::before {
    content: "";
  
    display: block;
  
    width: 286px;
    height: 3px;
  
    margin-bottom: 24px;
  
    background: var(--dark-red);
  }
  
  body.theme-dark .section {
    background: #000;
  }
  
  body.theme-dark .section-title {
    position: relative;
  
    padding: 0 0 18px;
  
    background: transparent;
    color: #f3f3f3;
  
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
  
    box-shadow: none;
  }
  
  body.theme-dark .section-title::after {
    content: "";
  
    position: absolute;
  
    left: 50%;
    bottom: 0;
  
    width: 60px;
    height: 2px;
  
    transform: translateX(-50%);
  
    background: var(--dark-red);
  }
  
  body.theme-dark .category-card {
    background: #070707;
  
    border: 1px solid #292929;
  
    box-shadow: none;
  }
  
  body.theme-dark .category-card:nth-child(1),
  body.theme-dark .category-card:nth-child(2),
  body.theme-dark .category-card:nth-child(3) {
    border-bottom-color: #292929;
  }
  
  body.theme-dark .category-card a {
    color: var(--dark-red);
  }
  
  
  /* =========================================================
     MOBILE ONLY
     ========================================================= */
  
  .mobile-menu-button,
  .mobile-more-button,
  .mobile-menu,
  .mobile-options,
  .mobile-overlay,
  .mobile-bottom-nav {
    display: none;
  }
  

  /* =========================================================
   PAGE SPECTACLE
   ========================================================= */

.spectacle-page {
    max-width: 1150px;
  
    margin: 0 auto;
    padding: 70px 24px;
  
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    align-items: center;
    gap: 60px;
  }
  
  .spectacle-page__poster img {
    display: block;
  
    width: 100%;
    height: auto;
  
    border: 4px solid var(--border);
  
    box-shadow: 7px 7px 0 #111;
  }
  
  .spectacle-page__label {
    color: var(--pink);
  
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
  
    letter-spacing: .1em;
  }
  
  .spectacle-page h1 {
    margin: 10px 0 25px;
  
    font-size: clamp(
      2.8rem,
      5vw,
      5rem
    );
  
    line-height: .95;
  }
  
  .spectacle-page__meta,
  .spectacle-page__date,
  .spectacle-page__place,
  .spectacle-page__price {
    margin: 8px 0;
  
    font-size: 1.08rem;
  }
  
  .spectacle-page__date {
    margin-top: 28px;
  
    font-weight: 900;
  }
  
  .spectacle-page__price {
    font-size: 1.3rem;
    font-weight: 900;
  }
  
  .spectacle-page__intro {
    max-width: 650px;
  
    margin-top: 28px;
  
    color: var(--muted);
  
    font-size: 1.15rem;
    line-height: 1.6;
  }
  
  .spectacle-page__actions {
    margin-top: 30px;
  
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .calendar-button {
    padding: 11px 17px;
  
    background: var(--yellow);
    color: #111;
  
    border: 2px solid #111;
  
    font-weight: 900;
  
    cursor: pointer;
  
    box-shadow: 4px 4px 0 #111;
  
    transition:
      transform .15s ease,
      box-shadow .15s ease;
  }
  
  .calendar-button:hover {
    text-decoration: none;
  
    transform: translate(2px, 2px);
  
    box-shadow: 2px 2px 0 #111;
  }
  
  body.theme-dark .calendar-button {
    padding: 11px 0;
    background: transparent;
    color: var(--text);
    border: none;
    box-shadow: none;
  }
  
  body.theme-dark .calendar-button:hover {
    background: transparent;
    color: #fff;
    text-decoration: underline;
    transform: none;
  }

  .is-disabled {
    opacity: .4;
    pointer-events: none;
  }
  
  .spectacle-text {
    max-width: 850px;
  
    margin: 0 auto;
  
    color: var(--muted);
  
    font-size: 1.05rem;
    line-height: 1.8;
  }
  
  .spectacle-text h3 {
    color: var(--text);
  }
  
 /* =========================================================
   GALERIE PATCHWORK
   ========================================================= */

.spectacle-gallery {
    max-width: 1150px;
    margin: 0 auto;
  
    columns: 3;
    column-gap: 2px;
  
    padding: 20px 15px 50px;
  }
  
  .spectacle-gallery img {
    display: block;
  
    width: calc(100% + 10px);
    height: auto;
  
    margin:
      0
      -8px
      -12px;
  
    break-inside: avoid;
  
    background: #fff;
  
    border: 7px solid #fff;
  
    box-shadow:
      5px 7px 0 rgba(0, 0, 0, .18);
  
    cursor: zoom-in;
  
    transition:
      transform .25s ease,
      box-shadow .25s ease;
  }
  
  
  /* rotations volontairement irrégulières */
  
  .spectacle-gallery img:nth-child(5n + 1) {
    transform: rotate(-2deg);
  }
  
  .spectacle-gallery img:nth-child(5n + 2) {
    transform: rotate(1.5deg);
  }
  
  .spectacle-gallery img:nth-child(5n + 3) {
    transform: rotate(-1deg);
  }
  
  .spectacle-gallery img:nth-child(5n + 4) {
    transform: rotate(2.3deg);
  }
  
  .spectacle-gallery img:nth-child(5n) {
    transform: rotate(-1.7deg);
  }
  
  
  .spectacle-gallery img:hover {
    position: relative;
  
    z-index: 5;
  
    transform:
      rotate(0)
      scale(1.035);
  
    box-shadow:
      8px 12px 20px
      rgba(0, 0, 0, .28);
  }
  
  /* =========================================================
   LIGHTBOX GALERIE
   ========================================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
  
    z-index: 5000;
  
    display: none;
    align-items: center;
    justify-content: center;
  
    padding: 30px;
  
    background: rgba(0, 0, 0, .95);
  }
  
  .gallery-lightbox.is-open {
    display: flex;
  }
  
  .gallery-lightbox__image {
    display: block;
  
    max-width: min(1200px, 88vw);
    max-height: 82vh;
  
    width: auto;
    height: auto;
  
    object-fit: contain;
  
    box-shadow:
      0 15px 50px
      rgba(0, 0, 0, .7);
  }
  
  .gallery-lightbox__close,
  .gallery-lightbox__previous,
  .gallery-lightbox__next {
    position: absolute;
  
    background: transparent;
    color: #fff;
  
    border: none;
  
    cursor: pointer;
  
    user-select: none;
  }
  
  .gallery-lightbox__close {
    top: 18px;
    right: 25px;
  
    font-size: 2.4rem;
  }
  
  .gallery-lightbox__previous,
  .gallery-lightbox__next {
    top: 50%;
  
    transform: translateY(-50%);
  
    font-size: 4rem;
  }
  
  .gallery-lightbox__previous {
    left: 25px;
  }
  
  .gallery-lightbox__next {
    right: 25px;
  }
  
  .gallery-lightbox__counter {
    position: absolute;
  
    left: 50%;
    bottom: 15px;
  
    transform: translateX(-50%);
  
    color: #bbb;
  
    font-size: .9rem;
  }


  /* DARK */
  
  body.theme-dark .spectacle-gallery img {
    background: #111;
  
    border-color: #181818;
  
    box-shadow:
      5px 7px 16px
      rgba(0, 0, 0, .8);
  }
  
  /* SPECTACLE DARK */
  
  body.theme-dark .spectacle-page {
    background: #000;
  }
  
  body.theme-dark .spectacle-page__poster img {
    border: 1px solid #292929;
    box-shadow: none;
  }
  
  body.theme-dark .spectacle-page__label {
    color: var(--dark-red);
  }
  
  body.theme-dark .calendar-button {
    color: #f4f4f4;
    border-color: #444;
  }

/* =========================================================
   SPECTACLES A L'AFFICHE - ACCUEIL
   ========================================================= */

   .home-shows {
    max-width: 1050px;
  
    margin:
      65px
      auto
      0;
  }
  
  
  .home-show {
    display: grid;
  
    grid-template-columns:
      minmax(180px, 280px)
      1fr;
  
    gap: 45px;
  
    padding: 35px;
  
    align-items: center;
  
    /*background: #fff;*/
    background: #fff8eb;
  
    border: 3px solid #111;
  
    box-shadow:
      9px 9px 0 #111;
  }
  
  
  .home-show__poster img {
    display: block;
  
    width: 100%;
    height: auto;
  
    border: 3px solid #111;
  }
  
  
  .home-show__label {
    margin: 0 0 8px;
  
    color: var(--pink);
  
    font-size: .8rem;
    font-weight: 900;
  
    text-transform: uppercase;
    letter-spacing: .1em;
  }
  
  
  .home-show h3 {
    margin:
      0
      0
      5px;
  
    font-size:
      clamp(
        2rem,
        4vw,
        3.5rem
      );
  
    line-height: 1;
  }
  
  
  .home-show__author {
    margin:
      0
      0
      25px;
  
    color: var(--muted);
  }
  
  
  .home-show__date {
    margin: 0;
  
    font-size: 1.15rem;
    font-weight: 900;
  }
  
  
  .home-show__place {
    margin:
      6px
      0
      25px;
  
    font-weight: 700;
  }
  
  
  .home-show__intro {
    max-width: 600px;
  
    color: var(--muted);
  
    line-height: 1.6;
  }
  
  
  .home-show__actions {
    margin-top: 25px;
  
    display: flex;
    align-items: center;
  
    gap: 20px;
  }
  
  
  .home-show__discover {
    font-weight: 900;
  }
  
  
  /* DARK */
  
  body.theme-dark .home-show {
    background: #070707;
  
    border:
      1px solid
      #292929;
  
    box-shadow: none;
  }
  
  
  body.theme-dark
  .home-show__poster img {
    border-color: #292929;
  }
  
  
  body.theme-dark
  .home-show__label {
    color: var(--dark-red);
  }


  /* =========================================================
   ATELIER
   ========================================================= */

.atelier-page {
    max-width: 1100px;
  
    margin: 0 auto;
    padding: 70px 24px;
  
    display: grid;
    grid-template-columns: minmax(260px, 390px) 1fr;
  
    align-items: center;
    gap: 65px;
  }
  
  
  .atelier-page__poster img {
    display: block;
  
    width: 100%;
    height: auto;
  
    border: 7px solid #fff;
  
    box-shadow:
      9px 9px 0
      rgba(0, 0, 0, .25);
  
    transform: rotate(-1.5deg);
  }
  
  
  .atelier-page__label {
    margin: 0 0 12px;
  
    color: var(--pink);
  
    font-size: .85rem;
    font-weight: 900;
  
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  
  
  .atelier-page h1 {
    margin: 0 0 25px;
  
    font-size:
      clamp(
        3rem,
        6vw,
        5.5rem
      );
  
    line-height: .92;
  }
  
  
  .atelier-page__intro {
    max-width: 600px;
  
    font-size: 1.2rem;
    line-height: 1.6;
  }
  
  
  .atelier-info {
    margin-top: 35px;
  
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  
    gap: 12px;
  }
  
  
  .atelier-info p {
    margin: 0;
  
    padding: 18px;
  
    background: #fff;
  
    border: 2px solid #111;
  
    line-height: 1.5;
  
    box-shadow:
      4px 4px 0 #111;
  }
  
  body:not(.theme-dark) .atelier-info__age {
    background: var(--yellow);
  }
  
  body:not(.theme-dark) .atelier-info__when {
    background: var(--pink);
  }
  
  body:not(.theme-dark) .atelier-info__where {
    background: #9bdc28;
  }
  
  body:not(.theme-dark) .atelier-info__price {
    background: var(--orange);
  }
  
  .atelier-page__contact {
    margin-top: 40px;
  }
  
  
  .atelier-page__contact h2 {
    font-size: 1.25rem;
  }
  
  
  .atelier-contact-button {
    display: inline-block;
  
    margin-top: 5px;
    padding: 12px 18px;
  
    background: var(--yellow);
    color: #111;
  
    border: 2px solid #111;
  
    font-weight: 900;
    font-style: italic;

  
    box-shadow:
      4px 4px 0 #111;
  }
  
  
  /* ATELIER DARK */
  
  body.theme-dark .atelier-page__poster img {
    border: 1px solid #292929;
  
    box-shadow: none;
  }
  
  
  body.theme-dark .atelier-page__label {
    color: var(--dark-red);
  }
  
  
  body.theme-dark .atelier-info p {
    background: transparent;
    color: #eee;
  
    border: none;
    border-bottom: 1px solid #292929;
  
    box-shadow: none;
  }
  
  
  body.theme-dark .atelier-contact-button {
    padding-left: 0;
  
    background: transparent;
    color: #fff;
  
    border: none;
    font-style: italic;

  
    box-shadow: none;
  }


  /* =========================================================
     MOBILE
     ========================================================= */
  
  @media (max-width: 850px) {
  
    body {
      padding-bottom: 72px;
    }
  
    .header-inner {
      min-height: 64px;
      padding: 0 14px;
  
      justify-content: space-between;
    }

    .site-footer {
        padding: 14px 18px;
      }
      
      .site-footer__inner {
        grid-template-columns: 1fr;
      
        gap: 10px;
      
        text-align: center;
      }
      
      .site-footer__social,
      .site-footer__legal {
        flex-direction: row;
        flex-wrap: wrap;
      
        justify-content: center;
        align-items: center;
      
        gap: 6px 14px;
      }
      
    .desktop-nav,
    .desktop-actions {
      display: none;
    }
  
    .mobile-menu-button,
    .mobile-more-button {
      display: block;
  
      width: 42px;
      height: 42px;
  
      padding: 0;
  
      background: transparent;
      color: var(--text);
  
      border: none;
  
      font-size: 2rem;
  
      cursor: pointer;
    }
  
    .mobile-more-button {
      font-size: 2.2rem;
    }
  
    .site-logo {
      font-size: 1.15rem;
    }
  
    .hero {
      min-height: auto;
      padding: 45px 20px;
    }
  
    .hero__content {
      min-height: auto;
  
      grid-template-columns: 1fr;
  
      gap: 35px;
    }
  
    .hero__text {
      padding: 26px;
  
      transform: rotate(-1deg);
    }
  
    .hero-photo {
      width: 100%;
      height: 300px;
      min-height: 300px;
    }
  
    .hero-photo img {
      object-fit: contain;
    }
  
    .category-grid {
      grid-template-columns: 1fr;
    }
  
    .mobile-overlay {
      position: fixed;
      inset: 64px 0 72px;
  
      z-index: 900;
  
      background: rgba(0, 0, 0, .45);
    }
  
    .mobile-overlay.is-open {
      display: block;
    }
  
    .mobile-menu {
      position: fixed;
  
      top: 64px;
      left: 0;
      bottom: 72px;
  
      z-index: 950;
  
      width: min(330px, 88vw);
  
      padding: 20px;
  
      overflow-y: auto;
  
      background: var(--surface);
  
      box-shadow: 5px 0 20px rgba(0, 0, 0, .25);
    }
  
    .mobile-menu.is-open {
      display: flex;
      flex-direction: column;
    }
  
    .mobile-menu a {
      padding: 15px 10px;
  
      border-bottom: 1px solid var(--border);
  
      font-weight: 800;
    }
  
    .mobile-options {
      position: fixed;
  
      top: 70px;
      right: 10px;
  
      z-index: 980;
  
      width: 230px;
  
      padding: 10px;
  
      background: var(--surface);
  
      border-radius: 12px;
  
      box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
    }
  
    .mobile-options.is-open {
      display: block;
    }
  
    .mobile-theme-line {
      padding: 12px;
  
      display: flex;
      align-items: center;
      justify-content: space-between;
  
      gap: 15px;
    }
  
    .mobile-bottom-nav {
      position: fixed;
  
      left: 0;
      right: 0;
      bottom: 0;
  
      z-index: 1000;
  
      height: 72px;
  
      padding: 5px 5px 8px;
  
      display: flex;
  
      background: #fff;
  
      border-top: 1px solid #ccc;
    }
  
    body.theme-dark .mobile-bottom-nav {
      background: #000;
      border-top-color: #222;
    }
  
    .mobile-bottom-nav a {
        flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      gap: 3px;
  
      font-size: .67rem;
      font-weight: 700;
  
      color: #666;
    }
  
    body.theme-dark .mobile-bottom-nav a {
      color: #aaa;
    }
  
    .mobile-bottom-nav a span {
      font-size: 1.35rem;
    }
  
    .mobile-bottom-nav a.active {
      color: var(--blue);
    }
  
    .mobile-bottom-nav__ticket {
      color: var(--pink) !important;
    }
  
  
    /* vrai hero sombre mobile */
  
    body.theme-dark .hero {
      min-height: 600px;
    }
  
    body.theme-dark .hero__content {
      min-height: 600px;
    }
  
    body.theme-dark .hero-photo {
      position: absolute;
      inset: 0;
  
      width: 100%;
      height: 600px;
      min-height: 600px;
    }
  
    body.theme-dark .hero__text {
      top: 50%;
      left: 28px;
  
      width: calc(100% - 56px);
    }
  
    body.theme-dark .hero-title--dark {
      font-size: clamp(3.3rem, 15vw, 5rem);
    }

    .spectacle-page {
        padding: 35px 20px;
      
        grid-template-columns: 1fr;
      
        gap: 35px;
      }
      
      .spectacle-page__poster {
        max-width: 430px;
      
        margin: 0 auto;
      }
      
      .spectacle-page__actions {
        flex-direction: column;
      }
      
      .spectacle-page__actions a,
      .spectacle-page__actions button {
        width: 100%;
      }
      
      .spectacle-gallery {
        columns: 2;
        column-gap: 2px;
      
        padding:
          8px
          4px
          25px;
      }
      
      .spectacle-gallery img {
        width: calc(100% + 8px);
      
        margin:
          0
          -4px
          -6px;
      
        border-width: 4px;
      }

.gallery-lightbox {
  padding: 10px;
}

.gallery-lightbox__image {
  max-width: 94vw;
  max-height: 78vh;
}

.gallery-lightbox__previous,
.gallery-lightbox__next {
  font-size: 3rem;
}

.gallery-lightbox__previous {
  left: 4px;
}

.gallery-lightbox__next {
  right: 4px;
}
  
.home-shows {
    margin-top: 45px;
  }
  
  
  .home-show {
    grid-template-columns: 1fr;
  
    gap: 25px;
  
    padding: 20px;
  }
  
  
  .home-show__poster {
    max-width: 330px;
  
    margin: 0 auto;
  }
  
  
  .home-show__actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  
  .home-show__actions a {
    text-align: center;
  }

  .atelier-page {
    padding: 35px 20px;
  
    grid-template-columns: 1fr;
  
    gap: 40px;
  }
  
  
  .atelier-page__poster {
    max-width: 400px;
  
    margin: 0 auto;
  }
  
  
  .atelier-page h1 {
    font-size:
      clamp(
        3rem,
        14vw,
        4.5rem
      );
  }
  
  
  .atelier-info {
    grid-template-columns: 1fr;
  }

  }


  /* =========================================================
   INSTALL APP
   ========================================================= */

.install-app-btn {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 0 auto 14px;

  padding: 9px 14px;

  border: 1px solid #bbb;
  background: transparent;

  color: inherit;

  font: inherit;
  font-weight: 700;

  cursor: pointer;
}

.install-app-btn img {
  width: 28px;
  height: 28px;

  object-fit: contain;
}

.install-app-btn:hover {
  transform: translateY(-1px);
}

.install-app-btn[hidden] {
  display: none;
}

/* =========================================================
   GALERIE — FILTRES
   ========================================================= */

   .gallery-filters {
    width: 100%;
    max-width: 850px;
    margin: 28px auto 45px;
    text-align: center;
    font-size: 1.15rem;
}


/* Tout / Spectacles / RTA */

.gallery-category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 25px;
}

.gallery-filter-btn {
    appearance: none;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 7px 2px;
    font: inherit;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.gallery-filter-btn:hover {
    opacity: 0.65;
}

.gallery-filter-btn.active {
    border-bottom-color: #f72585;
}


/* Année / Titre */

.gallery-select-filters {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 45px;
    margin-bottom: 20px;
}

.gallery-select {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 210px;
}

.gallery-select span {
    margin-bottom: 4px;
    font-size: 0.8em;
    font-weight: 700;
    opacity: 0.7;
}

.gallery-select select {
    width: 100%;
    border: 0;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    padding: 7px 28px 7px 2px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}


/* Compteur */

.gallery-photo-count {
    margin-top: 18px;
    font-size: 0.9em;
    font-weight: 600;
    opacity: 0.7;
}


/* Mode sombre */

body.dark-mode .gallery-filter-btn.active {
    border-bottom-color: #e31937;
}

body.dark-mode .gallery-select select {
    color: #fff;
    background-color: #000;
}


/* Mobile */

@media (max-width: 700px) {

    .gallery-filters {
        margin: 22px auto 32px;
        padding: 0 20px;
        font-size: 1.05rem;
    }

    .gallery-category-filters {
        gap: 22px;
    }

    .gallery-select-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .gallery-select {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   GALERIE - FILTRES MODERNES
   ========================================================= */

   .gallery-filters {
    max-width: 900px;
    margin: 28px auto 36px;
    padding: 0 20px;
    text-align: center;
  }
  
  
  /* Catégories : texte simple, pas de boîte */
  
  .gallery-category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
  
    margin-bottom: 26px;
  }
  
  .gallery-filter-button {
    appearance: none;
  
    border: 0;
    border-bottom: 3px solid transparent;
  
    background: transparent;
  
    padding: 8px 2px;
  
    color: inherit;
  
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 800;
  
    cursor: pointer;
  }
  
  .gallery-filter-button:hover {
    opacity: 0.7;
  }
  
  .gallery-filter-button.active {
    border-bottom-color: #f72585;
  }
  
  
  /* Selects : aucun cadre, seulement une ligne */
  
  .gallery-select-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
  
    margin-bottom: 18px;
  }
  
  .gallery-select {
    min-width: 230px;
  }
  
  .gallery-select select {
    width: 100%;
  
    appearance: none;
    -webkit-appearance: none;
  
    border: 0;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
  
    background: transparent;
  
    color: inherit;
  
    padding: 8px 28px 8px 2px;
  
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
  
    cursor: pointer;
  
    outline: none;
  }
  
  
  /* Petite flèche discrète */
  
  .gallery-select {
    position: relative;
  }
  
  .gallery-select::after {
    content: "⌄";
  
    position: absolute;
    right: 4px;
    top: 50%;
  
    transform: translateY(-50%);
  
    pointer-events: none;
  
    font-size: 1rem;
    opacity: 0.7;
  }
  
  
  /* Compteur */
  
  .gallery-results {
    margin: 18px 0 0;
  
    text-align: center;
  
    font-size: 1rem;
    font-weight: 600;
  
    opacity: 0.7;
  }
  
  
  /* =========================================================
     DARK
     ========================================================= */
  
  body.theme-dark .gallery-filter-button.active {
    border-bottom-color: var(--dark-red);
  }
  
  body.theme-dark .gallery-select select {
    background: #000;
    color: #f4f4f4;
  }
  
  body.theme-dark .gallery-select select option {
    background: #000;
    color: #f4f4f4;
  }
  
  
  /* =========================================================
     MOBILE
     ========================================================= */
  
  @media (max-width: 700px) {
  
    .gallery-category-filters {
      gap: 22px;
      flex-wrap: wrap;
    }
  
    .gallery-filter-button {
      font-size: 1.05rem;
    }
  
    .gallery-select-filters {
      flex-direction: column;
      gap: 18px;
    }
  
    .gallery-select {
      width: 100%;
      max-width: 320px;
    }
  
    .gallery-select select {
      font-size: 1.05rem;
    }
  }

  .gallery-page__intro {
    text-align: center;
  }

/* =========================================================
   PAGE TROUPE
   ========================================================= */

.troupe-page {
  background: #000;
}

.troupe-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}

.troupe-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.4s ease, transform 7s ease;
}

.troupe-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.troupe-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.96) 100%);
}

.troupe-hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 70px;
  color: #fff;
}

.troupe-hero__eyebrow,
.troupe-michel__role {
  margin: 0 0 12px;
  color: #ef2144;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.troupe-hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 8.5rem);
  line-height: .88;
  letter-spacing: -.045em;
}

.troupe-hero__content > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.troupe-story__text,
.troupe-members__intro,
.troupe-partners__intro {
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
  color: var(--muted, #b8bcc6);
  font-size: 1.06rem;
  line-height: 1.85;
}

.troupe-story__text p + p {
  margin-top: 22px;
}

.troupe-michel__layout {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.troupe-michel__photo-wrap {
  position: sticky;
  top: 105px;
}

.troupe-michel__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.15);
  filter: saturate(.9);
}

.troupe-michel__bio {
  color: var(--muted, #b8bcc6);
  font-size: 1.02rem;
  line-height: 1.78;
}

.troupe-michel__bio p + p {
  margin-top: 18px;
}

.troupe-members__intro,
.troupe-partners__intro {
  text-align: center;
  margin-bottom: 42px;
}

.troupe-members {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px 22px;
}

.troupe-member {
  min-width: 0;
  text-align: center;
}

.troupe-member__photo-wrap {
  width: min(150px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: #17181b;
}

.troupe-member__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.troupe-member h3 {
  margin: 0;
  color: var(--text, #fff);
  font-size: .98rem;
  line-height: 1.25;
}

.troupe-member p {
  margin: 6px 0 0;
  color: #ef2144;
  font-size: .78rem;
  line-height: 1.3;
}

.troupe-partners__grid {
  width: min(1150px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.troupe-partner {
  min-height: 185px;
  padding: 24px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.13);
}

.troupe-partner img {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: contain;
}

.troupe-partner span {
  color: #111;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}

body:not(.theme-dark) .troupe-page {
  background: var(--bg, #fff);
}

body:not(.theme-dark) .troupe-story__text,
body:not(.theme-dark) .troupe-michel__bio,
body:not(.theme-dark) .troupe-members__intro,
body:not(.theme-dark) .troupe-partners__intro {
  color: var(--muted, #666);
}

body:not(.theme-dark) .troupe-member__photo-wrap {
  border-color: rgba(0,0,0,.12);
}

@media (max-width: 1050px) {
  .troupe-members { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .troupe-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .troupe-hero { min-height: 62vh; }
  .troupe-hero__content {
    width: calc(100% - 38px);
    padding: 90px 0 42px;
  }
  .troupe-hero h1 { font-size: clamp(3.1rem, 18vw, 5.4rem); }
  .troupe-hero__content > p:last-child { font-size: 1rem; line-height: 1.55; }
  .troupe-michel__layout { grid-template-columns: 1fr; gap: 28px; }
  .troupe-michel__photo-wrap { position: static; width: min(260px, 75vw); margin: 0 auto; }
  .troupe-michel__bio { font-size: .98rem; line-height: 1.7; }
  .troupe-members { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 14px; }
  .troupe-member__photo-wrap { width: min(120px, 100%); }
  .troupe-member h3 { font-size: .88rem; }
  .troupe-member p { font-size: .72rem; }
  .troupe-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .troupe-partner { min-height: 150px; padding: 16px 12px; }
  .troupe-partner img { height: 85px; }
}

@media (max-width: 430px) {
  .troupe-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .troupe-member__photo-wrap { width: min(135px, 100%); }
  .troupe-partners__grid { grid-template-columns: 1fr 1fr; }
}

/* RTA accueil */
#homeRta {
  max-width: 1050px;
  margin: 45px auto 55px;
}

.home-rta__program {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  font-weight: 700;
}

.rta-program-list {
  max-width: 1050px;
  margin: 45px auto 0;
  display: grid;
  gap: 24px;
}

.rta-program-card {
  padding: 28px;
  background: #fff;
  border: 3px solid #111;
  box-shadow: 7px 7px 0 #111;
}

.rta-program-card h3 {
  margin: .2rem 0 .5rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

body.theme-dark .rta-program-card {
  background: #070707;
  border: 1px solid #292929;
  box-shadow: none;
}

/* RTA accueil : version compacte */
.home-rta {
  grid-template-columns: minmax(300px, 42%) 1fr;
  align-items: start;
  gap: 38px;
  padding: 28px;
}

/* Le cadre de l'affiche suit exactement l'affiche : plus de colonne étirée. */
.home-rta .home-show__poster,
.home-rta .home-show__poster a {
  display: block;
  height: auto;
  align-self: start;
}

.home-rta .home-show__poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-rta .home-show__place {
  margin-bottom: 18px;
}

.home-rta .home-show__intro {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

.home-rta__price {
  margin: 12px 0 0;
  font-weight: 900;
}

.home-rta__location {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Carte pratique et secondaire : carré compact, sans espace vide. */
.home-rta__map {
  width: 245px;
  height: 245px;
  flex: 0 0 245px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
}

body.theme-dark .home-rta__map {
  border-color: rgba(255,255,255,.16);
  background: #111;
}

.home-rta__map iframe {
  display: block;
  width: 100%;
  height: 100% !important;
  border: 0;
}

.home-rta__venue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.45;
}

.home-rta__venue strong {
  font-size: 1.05rem;
}

.home-rta__actions {
  margin-top: 18px;
  gap: 22px;
  flex-wrap: wrap;
}

.home-rta__action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  text-decoration: none;
}

.home-rta__action-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #fff;
}

body.theme-dark .home-rta__action-icon {
  color: var(--dark-red);
}

.home-rta__action-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-rta__calendar {
  cursor: pointer;
  background: transparent;
  font: inherit;
  font-weight: 900;
  padding: .55rem .8rem;
}

@media (max-width: 900px) {
  .home-rta {
    grid-template-columns: minmax(250px, 38%) 1fr;
    gap: 28px;
    padding: 24px;
  }

  .home-rta__map {
    width: 220px;
    height: 220px;
    flex-basis: 220px;
  }
}

@media (max-width: 760px) {
  #homeRta {
    margin-top: 30px;
  }

  .home-rta {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .home-rta .home-show__poster {
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
  }

  .home-rta__location {
    align-items: flex-start;
  }

  .home-rta__map {
    width: min(58vw, 245px);
    height: min(58vw, 245px);
    flex-basis: min(58vw, 245px);
  }

  .home-rta__actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .home-rta__action {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .home-rta__location {
    flex-direction: column;
    gap: 14px;
  }

  .home-rta__map {
    width: min(100%, 245px);
    height: auto;
    aspect-ratio: 1 / 1;
    flex-basis: auto;
  }
}


.spectacle-representation + .spectacle-representation {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(0,0,0,.14);
}
body.theme-dark .spectacle-representation + .spectacle-representation {
  border-top-color: rgba(255,255,255,.14);
}

/* =========================================================
   FICHE SPECTACLE - CARTE DU LIEU ET ACTIONS
   ========================================================= */

.spectacle-page__location {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.spectacle-page__location[hidden] {
  display: none;
}

.spectacle-page__map {
  width: 230px;
  height: 230px;
  flex: 0 0 230px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 12px;
  background: #eee;
}

body.theme-dark .spectacle-page__map {
  border-color: rgba(255,255,255,.16);
  background: #111;
}

.spectacle-page__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.spectacle-page__venue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.spectacle-page__venue strong {
  font-size: 1.05rem;
}

.spectacle-action {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}

.spectacle-action__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #fff;
}

body.theme-dark .spectacle-action__icon {
  color: var(--dark-red);
}

.spectacle-action__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spectacle-action--route {
  margin-top: 4px;
  font-weight: 900;
  text-decoration: none;
}

body.theme-dark .spectacle-action--route {
  color: var(--text);
}

@media (max-width: 760px) {
  .spectacle-page__location {
    align-items: flex-start;
  }

  .spectacle-page__map {
    width: min(52vw, 230px);
    height: min(52vw, 230px);
    flex-basis: min(52vw, 230px);
  }
}

@media (max-width: 520px) {
  .spectacle-page__location {
    flex-direction: column;
    gap: 14px;
  }

  .spectacle-page__map {
    width: min(100%, 230px);
    height: auto;
    aspect-ratio: 1 / 1;
    flex-basis: auto;
  }

  .spectacle-page__actions {
    align-items: stretch;
  }
}

.home-mercredis {
  margin: 32px auto 0;
  max-width: 320px;
}

.home-mercredis img {
  display: block;
  width: 100%;
  height: auto;
}

.troupe-member__bio-link {
  margin-top: 5px;
  padding: 0;

  border: 0;
  background: none;

  color: #ff1744;
  font-size: 0.8rem;

  cursor: pointer;
}

.troupe-member__bio-link:hover {
  text-decoration: underline;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.member-modal.is-open {
  display: flex;
}

.member-modal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.82);
}

.member-modal__dialog {
  position: relative;
  z-index: 1;

  width: min(780px, 94vw);
  max-height: 85vh;
  overflow-y: auto;

  padding: 35px 45px;
  border-radius: 12px;

  /* POP ART */
  background: #fff8df;
  color: #111111;

  text-align: center;
}

/* MODE SOMBRE */
body.theme-dark .member-modal__dialog {
  background: #181818;
  color: #f5f5f5;
}

.member-modal__photo {
  width: 130px;
  height: 130px;

  border-radius: 50%;
  object-fit: cover;

  margin-bottom: 18px;
}

.member-modal__dialog h2 {
  margin: 0 0 5px;
}

.member-modal__role {
  margin: 0 0 22px;

  color: #ff1744;
}

.member-modal__bio {
  text-align: left;
  line-height: 1.65;
}

.member-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;

  border: 0;
  background: none;

  color: var(--text);
  font-size: 2rem;

  cursor: pointer;
}
.member-modal__bio {
  white-space: pre-line;
}

.member-modal__role {
  margin: 0 0 22px;
  color: #e6002d;
}

.member-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;

  border: 0;
  background: none;

  color: #111111;
  font-size: 2rem;
  cursor: pointer;
}

body.theme-dark .member-modal__close {
  color: #f5f5f5;
}

.director-info-button {
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: #e6002d;
  font-size: 0.95em;
  cursor: pointer;
  vertical-align: baseline;
}

.director-info-button:hover {
  transform: scale(1.15);
}
/* Footer et navigation : dimensions adaptées aux petits écrans. */
@media (max-width: 850px) {
  .site-footer, .site-footer__inner, .site-footer__center,
  .site-footer__socials { box-sizing: border-box; min-width: 0; max-width: 100%; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__center { width: 100%; }
  .site-footer__socials { flex-wrap: wrap; gap: 6px; width: 100%; }
  .site-footer__socials a,
  .site-footer__social-placeholder { flex: 0 0 36px; width: 36px; height: 40px; }
  .site-footer__socials img,
  .site-footer__socials svg { width: 30px; height: 30px; max-width: 100%; }
  .mobile-bottom-nav { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; }
  .mobile-bottom-nav a { flex: 1 1 0; min-width: 0; padding-inline: 2px;
    text-align: center; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
}

/* Espacement entre les représentations sur l’accueil */
.home-show__date + .home-show__date {
  margin-top: 20px;
}

body:not(.theme-dark) .section-title + p.spectacle-text,
body:not(.theme-dark)[data-events-page="catalogue"] .events-intro > p.spectacle-text {
  color: #111111;
  font-size: 1.25rem;
}

body:not(.theme-dark) .spectacle-text {
  color: #111111;
}

body:not(.theme-dark) .spectacle-page__intro {
  color: #111111;
}
/* Page des partenaires : styles partagés avec la troupe. */
.partners-page { padding-top: 32px; }
.partners-intro { padding-bottom: 12px; }
.partners-page .troupe-story__text { line-height: 1.7; }
.partners-contact { border-top: 1px solid var(--border); }
.partners-contact__link { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.partners-contact__link:hover { color: var(--dark-red); }
.troupe-partner:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
@media (min-width: 851px) and (max-width: 1180px) {
  .header-inner { flex-wrap: wrap; }
  .desktop-nav { flex-wrap: wrap; justify-content: center; }
}
