/* =========================================================
   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 {
    position: relative;
    z-index: 2;
  
    margin-top: 0;
    padding: 18px 24px;
  
    background: #fff;
    color: #111;
  
    border-top: 2px solid #111;
  
    font-size: .82rem;
  }
  
  .site-footer__inner {
    max-width: 1100px;
  
    margin: 0 auto;
  
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
  
    gap: 35px;
  
    align-items: start;
  }
  
  .site-footer strong {
    font-size: .95rem;
  }
  
  .site-footer a {
    font-weight: 600;
  }
  
  .site-footer__social,
  .site-footer__legal {
    display: flex;
    flex-direction: column;
  
    gap: 4px;
  }
  
  
  /* FOOTER DARK */
  
  body.theme-dark .site-footer {
    background: #050505;
    color: #aaa;
  
    border-top: 1px solid #292929;
  }
  
  body.theme-dark .site-footer strong {
    color: #fff;
  }
  
  body.theme-dark .site-footer a {
    color: #ccc;
  }
  /* =========================================================
   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.8rem, 5.5vw, 6.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: 62px;
    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;
  
    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;
  }

  }


  