/* ========================================
   Cinéma La Lutz — Design moderne & responsive
   ======================================== */

:root {
  --color-bg: #0b0c10;
  --color-surface: #1f2833;
  --color-surface-light: #2c3a4a;
  --color-text: #f5f5f5;
  --color-muted: #c5c6c7;
  --color-accent: #66fcf1;
  --color-accent-dark: #45a29e;
  --color-danger: #ff6b6b;
  --color-warning: #ffd166;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max-width: 1200px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #b91c1c;
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #b91c1c;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
}

.logo__img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.2s;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, #1a1c24 0%, #0b0c10 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(102, 252, 241, 0.12) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(69, 162, 158, 0.1) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: #5ceae6;
  box-shadow: 0 6px 20px rgba(102, 252, 241, 0.25);
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--secondary:hover {
  background: rgba(102, 252, 241, 0.08);
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  background: var(--color-surface-light);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--small:hover {
  background: var(--color-accent-dark);
  color: var(--color-bg);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--films {
  background: transparent;
  padding-top: 1rem;
}

.section--accent {
  background: rgba(0, 0, 0, 0.08);
}

.section--alt {
  background: rgba(0, 0, 0, 0.12);
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section__lead {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

/* Programme tabs */
.programme-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.tab:hover {
  color: var(--color-text);
}

.tab--active {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.programme-panel {
  display: none;
}

.programme-panel--active {
  display: block;
}

.programme-status {
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
}

.programme-status:empty {
  display: none;
}

.loader {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.loader::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error {
  color: var(--color-danger);
}

/* Day selector */
.day-selector {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-dark) var(--color-surface);
}

.day-selector::-webkit-scrollbar {
  height: 6px;
}

.day-selector::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: 3px;
}

.day-selector::-webkit-scrollbar-thumb {
  background: var(--color-accent-dark);
  border-radius: 3px;
}

.day-btn {
  flex: 0 0 auto;
  min-width: 90px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.day-btn:hover {
  color: var(--color-text);
  background: var(--color-surface-light);
}

.day-btn--active {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
  font-weight: 600;
}

.day-btn__weekday {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.day-btn__date {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Movie cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.movie-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.movie-card__poster {
  aspect-ratio: 2 / 3;
  background: #15171d;
  position: relative;
  overflow: hidden;
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card__poster--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 3rem;
}

.movie-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.movie-card__badge--warning {
  background: var(--color-warning);
  color: #1a1a1a;
}

.movie-card__badge--age {
  background: var(--color-danger);
  color: #fff;
}

.movie-card__content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.movie-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.movie-card__director {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.movie-card__meta span {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.movie-card__sessions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.session-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  background: var(--color-surface-light);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.15s;
}

.session-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  text-decoration: none;
}

.session-btn__version {
  opacity: 0.75;
  font-weight: 500;
}

/* Week grid */
.week-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.week-group {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.week-group__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.week-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.week-row:last-child {
  border-bottom: none;
}

.week-row__movie {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.week-row__poster {
  width: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #15171d;
}

.week-row__poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.week-row__info h4 {
  font-size: 1rem;
  font-weight: 600;
}

.week-row__info p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.week-row__sessions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 700px) {
  .week-row {
    grid-template-columns: 1fr;
  }

  .week-row__sessions {
    padding-left: 76px;
  }
}

/* Feature / animation cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-accent);
}

.link-arrow::after {
  content: '→';
  transition: transform 0.2s;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Spectacles */
.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.show-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.show-card__tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--color-accent-dark);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.show-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.show-card__meta {
  color: var(--color-muted);
  font-weight: 500;
}

.show-card__date {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.show-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Tarifs */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card--highlight {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(102, 252, 241, 0.08) 0%, var(--color-surface) 100%);
}

.pricing-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.pricing-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pricing-note {
  text-align: center;
  color: var(--color-muted);
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Accès */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: stretch;
}

.access-info {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.access-info h3 {
  margin-bottom: 1rem;
}

.access-info address {
  font-style: normal;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.access-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

@media (max-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.2s;
}

.contact-card:hover {
  border-color: var(--color-accent);
  text-decoration: none;
}

.contact-card__icon {
  font-size: 1.5rem;
}

/* Footer */
.site-footer {
  background: #b91c1c;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand address {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #fff;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: #ffcccc;
}

.footer-legal {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal a {
  color: #fff;
}

/* Lien sur le titre de film */
.movie-card__title-link {
  color: inherit;
  text-decoration: none;
}
.movie-card__title-link:hover .movie-card__title {
  color: var(--color-accent);
}

.movie-card__heart {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.movie-card__poster-actions {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.movie-card__icon-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
}

/* Page fiche film */
.film-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.film-detail__poster {
  position: relative;
}

.film-detail__poster img {
  width: 100%;
  border-radius: var(--radius);
}

.poster-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--color-surface);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.heart-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 2rem;
}

.film-detail__info h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.film-detail__info .meta {
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.film-detail__info .synopsis {
  margin: 1.5rem 0;
  line-height: 1.7;
}

.legal-age {
  display: inline-block;
  background: var(--color-surface-light);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-weight: 600;
}

.film-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  align-items: center;
}

.film-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.film-label img {
  max-height: 1.8rem;
  width: auto;
  object-fit: contain;
}

.access-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  text-decoration: none;
  cursor: help;
  border: 1px solid rgba(255,255,255,0.12);
}

.access-badge.badge-bavarde { background: #fef3c7; color: #92400e; }
.access-badge.badge-ad { background: #dbeafe; color: #1e40af; }
.access-badge.badge-stsme { background: #dcfce7; color: #166534; }
.access-badge.badge-hi { background: #fce7f3; color: #9d174d; }
.access-badge.badge-vast { background: #ede9fe; color: #5b21b6; }
.access-badge.badge-greta { background: #ffedd5; color: #9a3412; }

.access-messages {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-messages h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.access-message {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.access-message a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Carousel */
.film-carousel-wrapper {
  width: 75%;
  margin: 2rem auto;
}
.film-carousel-wrapper h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.film-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
}

.film-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.film-carousel img.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}
.film-carousel img.prev {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}

@media (max-width: 900px) {
  .film-carousel-wrapper {
    width: 100%;
  }
}

/* Âge suggéré */
.suggested-age {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.toggle-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-surface-light);
  color: var(--color-text);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.suggested-age__content {
  display: none;
  padding: 1.5rem;
}

.suggested-age__content.open {
  display: block;
}

.suggested-age__content .intro,
.suggested-age__content .source {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.suggested-age__content .intro {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.suggested-age__content .text {
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.suggested-age__content .source {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

@media (max-width: 700px) {
  .film-detail {
    grid-template-columns: 1fr;
  }
  .film-detail__poster {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* Poster actions (réservation + bande-annonce) */
.poster-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.poster-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
}
.poster-action:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Dernière semaine de projection */
.last-week-banner {
  background: var(--color-danger, #e74c3c);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

/* Séances dans la fiche film */
.film-sessions {
  margin: 2rem 0;
}
.film-sessions h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.session-day {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.session-day h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-muted);
  text-transform: capitalize;
}
.session-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.session-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  min-width: 70px;
}
.session-time span {
  font-weight: 700;
}
.session-time small {
  color: var(--color-muted);
  font-size: 0.75rem;
}

/* Vue Par semaine - tableau horizontal */
.week-section {
  margin-bottom: 3rem;
}
.week-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.week-section__title {
  font-size: 1.3rem;
  font-weight: 700;
}
.week-section__range {
  color: var(--color-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.week-table {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.week-table__header,
.week-table__row {
  display: grid;
  grid-template-columns: 240px repeat(7, 1fr);
  align-items: stretch;
}
.week-table__header {
  background: var(--color-surface-light);
  padding: 0.75rem 0;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.week-table__film-header {
  display: flex;
  align-items: center;
  padding-left: 1rem;
}

.week-table__row {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  min-height: 110px;
}
.week-table__row:last-child {
  border-bottom: none;
}

.week-table__film {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}
.week-table__poster {
  flex-shrink: 0;
  width: 80px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-surface);
}
.week-table__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster-placeholder-small {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.week-table__info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.week-table__info h4 a {
  color: inherit;
  text-decoration: none;
}
.week-table__info h4 a:hover {
  color: var(--color-accent);
}
.week-table__info p {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}
.week-table__actions {
  display: flex;
  gap: 0.5rem;
}
.icon-action {
  font-size: 1.2rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.icon-action:hover {
  opacity: 1;
}

.week-table__col {
  padding: 0.5rem;
  border-left: 1px dashed rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.week-table__col--header {
  text-align: center;
  border-left: none;
}
.week-table__day {
  display: block;
  font-weight: 700;
  color: var(--color-accent);
}
.week-table__date {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
}
.week-table__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.week-table__time:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}
.week-table__version {
  font-size: 0.7rem;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .week-table__header,
  .week-table__row {
    grid-template-columns: 120px repeat(7, 1fr);
  }
  .week-table__poster {
    width: 50px;
  }
  .week-table__info h4 {
    font-size: 0.85rem;
  }
  .week-table__time {
    padding: 0.2rem 0.3rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .week-table__header,
  .week-table__row {
    grid-template-columns: 1fr;
  }
  .week-table__col:nth-child(n+2) {
    border-top: 1px dashed rgba(255,255,255,0.08);
  }
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
