/* ========================================
   HOMEPAGE - FRONT-PAGE.CSS


/* ========================================
   SECTION 1 : HERO CAROUSEL
   ======================================== */

.hero-spectacle {
  padding-top: 2rem;
  padding-bottom: 4rem;
  background: var(--color-surface);
  position: relative;
}

.hero-spectacle-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Wrapper — superpose les slides */
.hero-carousel-wrapper {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
  margin-inline: auto;

  /* Espace scénique */
  background: white;
  border: 1px solid rgba(40, 22, 10, 0.08);
  border-radius: 2px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-inline: 1.5rem;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.4),
    var(--shadow-xl);
}

/* Chaque slide — flex au lieu de grid */
.hero-slide {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  grid-area: slide;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Thèmes couleur par théâtre */
.hero-slide.theme-platanes {
  background: #2e7d3a;
  border-color: rgba(74, 159, 92, 0.35);
}

.hero-slide.theme-10eme {
    background: #b71a1a;
  border-color: rgba(215, 99, 83, 0.35);
}

.hero-slide.theme-durenco {
  background: var(--color-accent );
  border-color: rgba(244, 154, 70, 0.35);
}

/* ========================================
   IMAGE
   ======================================== */

.hero-spectacle-image {
   flex: 0 0 35%;
  overflow: hidden;
  background: transparent;
  display: flex;
  justify-content: center;
}

.hero-spectacle-image img {
   width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object: left;
  transition: transform var(--transition-smooth);

}

/* ========================================
   CONTENU TEXTE
   ======================================== */

.hero-spectacle-text {
  flex: 1;
  padding: 2.25rem 2rem 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0.5rem;
  box-sizing: border-box;
}

.hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  padding-inline: 0.4rem;
  border-radius: 5px;
  border: none;
  background: rgba(253, 247, 236, 0.18);
  color: var(--color-typo);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-eyebrow:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-xxl);
  color: var(--color-typo);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-typo);
}

.hero-accroche {
  font-size: var(--font-size-base);
  margin: 0;
  color: rgba(253, 247, 236, 0.85);
}

.hero-meta {
  display: flex;
  flex-direction: column;

  border-top: 1px solid rgba(253, 247, 236, 0.3);
}

.hero-meta-item--cie {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(253, 247, 236, 0.15);
  margin-bottom: 0.1rem;
}

.hero-meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--font-size-sm);
}

.hero-meta-item strong {
  min-width: 5rem;
  font-weight: 600;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-typo);
}

.hero-meta-item span {
  color: rgba(253, 247, 236, 0.85);
}

.hero-slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   NAVIGATION — DOTS
   ======================================== */

.hero-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.hero-carousel-prev,
.hero-carousel-next {
  display: none;
}

.hero-carousel-dots {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
}

.hero-carousel-dot.theme-platanes {
  background: rgba(46, 125, 50, 0.25);
}
.hero-carousel-dot.theme-10eme {
  background: rgba(192, 57, 43, 0.25);
}
.hero-carousel-dot.theme-durenco {
  background: rgba(230, 126, 34, 0.25);
}

.hero-carousel-dot.active.theme-platanes {
  background: #2e7d32;
  width: 2.5rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.35);
}
.hero-carousel-dot.active.theme-10eme {
  background: #c0392b;
  width: 2.5rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
}
.hero-carousel-dot.active.theme-durenco {
  background: #e67e22;
  width: 2.5rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.35);
}

.hero-carousel-dot.active::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-carousel-dot.active.theme-platanes::before {
  color: #2e7d32;
}
.hero-carousel-dot.active.theme-10eme::before {
  color: #c0392b;
}
.hero-carousel-dot.active.theme-durenco::before {
  color: #e67e22;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.3);
  }
}

/* ========================================
   RESPONSIVE — SECTION 1 HERO CAROUSEL
   ======================================== */

@media (min-width: 1440px) {
  .hero-carousel-wrapper {
    max-width: 1200px;
  }
  .hero-spectacle {
    padding-block: 2rem;
  }
}

@media (max-width: 1280px) {
  .hero-carousel-wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-inline: 1.5rem;
  }
  .hero-spectacle {
    padding-block: 3.5rem;
  }
  .hero-spectacle-text {
    padding: 2rem 1.75rem 2rem 1.5rem;
  }
  .hero-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }
}

@media (max-width: 1024px) {
  .hero-carousel-wrapper {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-inline: 0.8rem;
  }
  .hero-spectacle {
    padding-block: 3rem;
  }
  .hero-spectacle-image {
    flex: 0 0 38%;
  }
  .hero-spectacle-text {
    padding: 1.75rem 1.5rem;
    gap: 0.75rem;
  }
  .hero-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
  }
  .hero-accroche {
    font-size: var(--font-size-xs);
  }
  .hero-meta-item {
    font-size: var(--font-size-xs);
  }
  .hero-meta-item strong {
    min-width: 4rem;
  }
}

/* Desktop uniquement — min-height pour éviter un carousel trop petit */
@media (min-width: 769px) {
  .hero-carousel-wrapper {
    min-height: 50vh;
    max-height: 85vh;
  }
  .hero-slide {
    min-height: 50vh;
    max-height: 80vh;
  }
}

@media (max-width: 768px) {
  .hero-carousel-wrapper {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    padding-inline: 0.8rem;
    max-height: 65vh;
  }
  .hero-slide {
    max-height: 65vh;
  }
  .hero-spectacle {
    padding-block: 1.5rem;
  }
  .hero-spectacle-image {
    flex: 0 0 42%;
  }
  .hero-spectacle-text {
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    gap: 0.5rem;
  }
  .hero-eyebrow {
    font-size: 0.7rem;
  }
  .hero-title {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  }
  .hero-accroche {
    display: none;
  }
  .hero-meta {
    gap: 0.3rem;
  }
  .hero-meta-item {
    flex-direction: column;
    gap: 0.1rem;
  }
  .hero-meta-item strong {
    min-width: auto;
  }
  .hero-slide-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-slide-buttons .btn-primary {
    width: 100%;
    text-align: center;
    padding-block: 0.625rem;
    font-size: 0.75rem;
  }
  .hero-carousel-dots {
    gap: 0.75rem;
  }
}

@media (max-width: 500px) {
  .hero-carousel-wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-inline: 0.5rem;
    max-height: 60vh;
  }
  .hero-slide {
    max-height: 60vh;
  }
  .hero-spectacle-image {
    flex: 0 0 50%;
  }
  .hero-spectacle-text {
    padding: 0.4rem 0.4rem;
    gap: 0.2rem;
  }
  .hero-eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    padding-inline: 0.25rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }
  .hero-title {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }
  .hero-meta {
    display: flex;
    gap: 0.15rem;
  }
  .hero-meta-item {
    flex-direction: column;
    gap: 0.05rem;
  }
  .hero-meta-item strong {
    font-size: 0.55rem;
  }
  .hero-meta-item span {
    font-size: 0.5rem;
  }
  .hero-slide-buttons .btn-primary:first-child {
    display: none;
  }
  .hero-slide-buttons {
    gap: 0.2rem;
  }
  .hero-slide-buttons .btn-primary {
    width: 100%;
    text-align: center;
    padding-block: 0.5rem;
    padding-inline: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 400px) {
  .hero-carousel-wrapper {
    max-height: 60vh;
  }
  .hero-slide {
    max-height: 60vh;
  }
  .hero-spectacle-image {
    flex: 0 0 50%;
  }
  .hero-spectacle-text {
    padding: 0.75rem 0.625rem;
    gap: 0.15rem;
  }
  .hero-eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    padding-inline: 0.25rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }
  .hero-title {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    margin-bottom: 0;
  }
  .hero-accroche {
    display: none;
  }
  .hero-meta {
    gap: 0.1rem;
    padding-top: 0.1rem;
  }
  .hero-meta-item strong {
    font-size: 0.5rem;
  }
  .hero-meta-item span {
    font-size: 0.45rem;
  }
  .hero-slide-buttons .btn-primary:first-child {
    display: none;
  }
  .hero-slide-buttons {
    gap: 0.15rem;
  }
  .hero-slide-buttons .btn-primary {
    width: 100%;
    text-align: center;
    padding-block: 0.15rem;
    padding-inline: 0.3rem;
    font-size: 0.45rem;
    letter-spacing: 0.04em;
  }
}


/* ========================================
   SECTION 2 : INTRO — SPLIT ASYMÉTRIQUE
   ======================================== */

.section-intro {
  padding-block: 6rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Colonne gauche — titre ── */
.intro-left {
  position: relative;
}

/* Ligne décorative verticale à gauche du titre */
.intro-left::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-accent) 30%,
    var(--color-accent) 70%,
    transparent 100%
  );
  border-radius: 999px;
  opacity: 0.5;
}

.intro-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

/* ── Colonne droite — texte ── */
.intro-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1rem;
  border-left: 1px solid var(--color-border-light);
}

.intro-body p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

.intro-body p:last-child {
  margin-bottom: 0;
}

/* ── Bouton accordéon — caché sur desktop ── */
.intro-accordion-btn {
  display: none;
}

/* ========================================
   RESPONSIVE — SECTION 2
   ======================================== */

@media (max-width: 1024px) {
  .section-intro {
    padding-block: 4.5rem;
  }

  .intro-split {
    gap: 3.5rem;
  }

  .intro-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .section-intro {
    padding-block: 3rem;
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .intro-left::before {
    display: none;
  }

  .intro-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1rem;
  }

  /* Bouton accordéon visible sur mobile */
  .intro-accordion-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--color-border-light);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    cursor: pointer;
    transition:
      color var(--transition-base),
      border-color var(--transition-base);
  }

  .intro-accordion-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .intro-accordion-btn svg {
    transition: transform var(--transition-base);
    flex-shrink: 0;
  }

  .intro-accordion-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .intro-accordion-btn[aria-expanded="true"] .intro-accordion-label {
    /* Optionnel : changer le label quand ouvert */
  }

  /* Texte masqué par défaut sur mobile */
  .intro-right {
    padding-left: 0;
    border-left: none;
    border-top: none;
    padding-top: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  /* Texte visible quand accordéon ouvert */
  .intro-right.is-open {
    max-height: 500px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.25rem;
  }

  .intro-body p {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 500px) {
  .section-intro {
    padding-block: 2rem;
  }

  .intro-split {
    gap: 1rem;
  }
}

/* ========================================
   SECTION 3 : LES 3 THÉÂTRES
   ======================================== */

.section-theatres {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--color-surface);
}

.theatres-wrapper {
  background: var(--color-typo);
  border: 1px solid rgba(40, 22, 10, 0.08);
  border-radius: 2px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-inline: 1.5rem;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.4),
    var(--shadow-xl);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-theatres .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-family: var(--font-serif);
  color: var(--color-primary);
}

/* ── Carte théâtre ── */
.theatre-card {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: #1a1008;
}

.theatre-card.theatre-10eme,
.theatre-card.theatre-platanes,
.theatre-card.theatre-durenco {
  border: none;
  padding: 0;
}

/* Image pleine hauteur */
.theatre-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin: 0;
  transition: transform var(--transition-smooth);
}

/* ── ::before — overlay gradient couleur (bas de carte) ── */
/* Platanes — vert forêt */
.theatre-card.theatre-platanes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 25%,
    rgba(30, 92, 48, 0.35) 48%,
    rgba(20, 72, 36, 0.75) 68%,
    rgba(15, 51, 28, 0.93) 85%,
    rgba(10, 36, 18, 0.98) 100%
  );
  z-index: 1;
  transition: opacity var(--transition-smooth);
}

/* 10ème Avenue — rouge velours */
.theatre-card.theatre-10eme::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 25%,
    rgba(140, 36, 24, 0.35) 48%,
    rgba(110, 24, 16, 0.75) 68%,
    rgba(74, 16, 10, 0.93) 85%,
    rgba(48, 8, 4, 0.98) 100%
  );
  z-index: 1;
  transition: opacity var(--transition-smooth);
}

/* Durênço — orange braise */
.theatre-card.theatre-durenco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 25%,
    rgba(168, 78, 16, 0.35) 48%,
    rgba(140, 58, 10, 0.75) 68%,
    rgba(90, 42, 8, 0.93) 85%,
    rgba(58, 26, 4, 0.98) 100%
  );
  z-index: 1;
  transition: opacity var(--transition-smooth);
}

/* ── ::after — brillance en haut de carte ── */
/* Platanes */
.theatre-card.theatre-platanes::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(88, 180, 110, 0.18) 0%,
    rgba(58, 140, 78, 0.08) 30%,
    transparent 55%
  );
  z-index: 2;
  pointer-events: none;
}

/* 10ème Avenue */
.theatre-card.theatre-10eme::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(210, 90, 72, 0.18) 0%,
    rgba(180, 60, 48, 0.08) 30%,
    transparent 55%
  );
  z-index: 2;
  pointer-events: none;
}

/* Durênço */
.theatre-card.theatre-durenco::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(240, 160, 80, 0.18) 0%,
    rgba(210, 130, 50, 0.08) 30%,
    transparent 55%
  );
  z-index: 2;
  pointer-events: none;
}

/* ── Contenu bas de carte ── */
.theatre-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3; /* au-dessus des deux pseudo-éléments */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.theatre-card-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #fdf7ec;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: var(--line-height-tight);
}

.theatre-card-content .btn-primary {
  align-self: flex-start;
}

/* ========================================
   SECTION 3 : RESPONSIVE + CAROUSEL MOBILE
   ======================================== */

.theatres-carousel-nav {
  display: none;
}

@media (max-width: 1280px) {
  .theatres-wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-inline: 0.4rem;
  }

  .theatre-card {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 1024px) {
  .section-theatres {
    padding-block: 3.5rem;
  }

  .theatres-wrapper {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-inline: 0.8rem;
  }

  .section-theatres .section-title {
    margin-bottom: 2rem;
  }

  .theatre-card {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 768px) {
  .section-theatres {
    padding-block: 2.5rem;
  }

  .theatres-wrapper {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    padding-inline: 0;
    overflow: hidden;
  }

  /* Grid devient scroll horizontal */
  .theatres-grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.8rem;
    padding-right: 0;
  }

  .theatres-grid::-webkit-scrollbar {
    display: none;
  }

  /* Les slides deviennent des cards fixes */
  .theatres-slide {
    flex: 0 0 78%;
    scroll-snap-align: start;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .theatre-card {
    aspect-ratio: unset;
    height: 65vw;
  }

  /* Masquer la nav carousel — inutile avec le scroll natif */
  .theatres-carousel-nav {
    display: none;
  }
}

@media (max-width: 500px) {
  .section-theatres {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .theatres-wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-inline: 0;
  }

  .theatres-grid {
    padding-left: 0.5rem;
  }

  .theatres-slide {
    flex: 0 0 85%;
  }

  .theatre-card {
    height: 75vw;
  }
}

/* ========================================
   SECTION 4 : NEWSLETTER
   ======================================== */

.section-newsletter {
  padding-block: 5rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}

.newsletter-subscribe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: radial-gradient(
    circle at top left,
    #ffffff 0,
    var(--color-surface) 42%,
    #e9e4dc 100%
  );
  border: 1px solid var(--color-border-light);
  border-radius: 5px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.newsletter-subscribe-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.newsletter-subscribe-text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: 5px;
  font-size: var(--font-size-sm);
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-surface);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(40, 22, 10, 0.06);
}

.newsletter-input::placeholder {
  color: var(--color-text-light);
}

.newsletter-button {
  padding: 0.875rem 1.75rem;
  border-radius: 5px;
  border: none;
  background: linear-gradient(135deg, #2a180f 0%, #3a2417 50%, #4a2d1c 100%);
  color: var(--color-typo);
  font-weight: 600;
  font-size: var(--font-size-sm);
  font-family: var(--font-sans);
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.newsletter-button:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-lg);
  background: var(--color-accent-light);
}

.newsletter-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-md);
}

.newsletter-subscribe-privacy {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.4;
}

/* Messages retour AJAX */
.newsletter-message {
  font-size: var(--font-size-sm);
  margin-top: 0.5rem;
  min-height: 0.8rem;
  line-height: 1.2;
}

.newsletter-message--success {
  color: #2a7d3a;
}

.newsletter-message--error {
  color: #b03020;
}

/* ========================================
   SECTION 5 : DERNIÈRES ACTUALITÉS
   ======================================== */

.section-actus {
  padding-block: 5rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
}

.section-actus h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-family: var(--font-serif);
  color: var(--color-primary);
}

.newsletter-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

/* ── Card article mini ── */
.newsletter-article-mini {
  background: radial-gradient(
    circle at top left,
    #ffffff 0,
    var(--color-surface) 42%,
    #e9e4dc 100%
  );
  border: 1px solid var(--color-border-light);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-smooth),
    border-color var(--transition-base),
    transform var(--transition-base);
}

.newsletter-article-mini:hover {
  box-shadow: var(--shadow-xl);
}

.newsletter-article-mini-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Image */
.newsletter-article-mini-image {
  position: relative;
  width: 100%;
  padding-top: 58%;
  background: linear-gradient(135deg, #e2d4c5 0%, #d4c5b6 100%);
  overflow: hidden;
}

/* ── Lien image ── */
.newsletter-article-mini-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.newsletter-article-mini-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

/* Contenu */
.newsletter-article-mini-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: stretch;
  line-height: normal;
  background: radial-gradient(
    circle at top left,
    #ffffff 0,
    var(--color-surface) 42%,
    #e9e4dc 100%
  );
  transition: background var(--transition-base);
}

.newsletter-article-mini-date {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  font-weight: 500;
}

.newsletter-article-mini-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  width: fit-content;
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  background: var(--color-bg);
  color: var(--color-text-muted) !important;
  text-decoration: none;
  transition:
    background var(--transition-base),
    color var(--transition-base);
}

.newsletter-article-mini-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
  transition: color var(--transition-base);
}

/* ========================================
COULEUR PAR CATEGORIE
   ======================================== */

/* Théâtre */
.newsletter-article-mini.cat--theatre {
  border-color: var(--cat-theatre-border);
}
.newsletter-article-mini.cat--theatre .newsletter-article-mini-content {
  background: var(--cat-theatre-bg);
}
.newsletter-article-mini.cat--theatre .newsletter-article-mini-date,
.newsletter-article-mini.cat--theatre .newsletter-article-mini-cat,
.newsletter-article-mini.cat--theatre .newsletter-article-mini-title {
  color: var(--cat-theatre-color);
}
.newsletter-article-mini.cat--theatre:hover {
  box-shadow: 0 8px 28px rgba(139, 38, 53, 0.18);
}

/* Comédie */
.newsletter-article-mini.cat--comedie {
  border-color: var(--cat-comedie-border);
}
.newsletter-article-mini.cat--comedie .newsletter-article-mini-content {
  background: var(--cat-comedie-bg);
}
.newsletter-article-mini.cat--comedie .newsletter-article-mini-date,
.newsletter-article-mini.cat--comedie .newsletter-article-mini-cat,
.newsletter-article-mini.cat--comedie .newsletter-article-mini-title {
  color: var(--cat-comedie-color);
}
.newsletter-article-mini.cat--comedie:hover {
  box-shadow: 0 8px 28px rgba(138, 90, 16, 0.18);
}

/* Danse */
.newsletter-article-mini.cat--danse {
  border-color: var(--cat-danse-border);
}
.newsletter-article-mini.cat--danse .newsletter-article-mini-content {
  background: var(--cat-danse-bg);
}
.newsletter-article-mini.cat--danse .newsletter-article-mini-date,
.newsletter-article-mini.cat--danse .newsletter-article-mini-cat,
.newsletter-article-mini.cat--danse .newsletter-article-mini-title {
  color: var(--cat-danse-color);
}
.newsletter-article-mini.cat--danse:hover {
  box-shadow: 0 8px 28px rgba(46, 58, 110, 0.18);
}

/* Jeune public */
.newsletter-article-mini.cat--jeune-public {
  border-color: var(--cat-jeune-border);
}
.newsletter-article-mini.cat--jeune-public .newsletter-article-mini-content {
  background: var(--cat-jeune-bg);
}
.newsletter-article-mini.cat--jeune-public .newsletter-article-mini-date,
.newsletter-article-mini.cat--jeune-public .newsletter-article-mini-cat,
.newsletter-article-mini.cat--jeune-public .newsletter-article-mini-title {
  color: var(--cat-jeune-color);
}
.newsletter-article-mini.cat--jeune-public:hover {
  box-shadow: 0 8px 28px rgba(46, 92, 50, 0.18);
}

/* Musique */
.newsletter-article-mini.cat--musique {
  border-color: var(--cat-musique-border);
}
.newsletter-article-mini.cat--musique .newsletter-article-mini-content {
  background: var(--cat-musique-bg);
}
.newsletter-article-mini.cat--musique .newsletter-article-mini-date,
.newsletter-article-mini.cat--musique .newsletter-article-mini-cat,
.newsletter-article-mini.cat--musique .newsletter-article-mini-title {
  color: var(--cat-musique-color);
}
.newsletter-article-mini.cat--musique:hover {
  box-shadow: 0 8px 28px rgba(78, 40, 96, 0.18);
}

/* Défaut */
.newsletter-article-mini.cat--default {
  border-color: var(--cat-default-border);
}
.newsletter-article-mini.cat--default .newsletter-article-mini-content {
  background: var(--cat-default-bg);
}
.newsletter-article-mini.cat--default .newsletter-article-mini-date,
.newsletter-article-mini.cat--default .newsletter-article-mini-cat,
.newsletter-article-mini.cat--default .newsletter-article-mini-title {
  color: var(--cat-default-color);
}
.newsletter-article-mini.cat--default:hover {
  box-shadow: 0 8px 28px rgba(74, 69, 64, 0.18);
}

/* CTA */
.newsletter-articles-cta {
  text-align: center;
  margin-top: 2rem;
}

.newsletter-articles-cta a {
  color: var(--color-text-muted);
}

.newsletter-articles-cta a:hover {
  color: var(--color-text-muted);
}

/* Navigation carousel articles — cachée sur desktop */
.articles-carousel-nav {
  display: none;
}

/* ========================================
   RESPONSIVE — SECTIONS 4 & 5
   ======================================== */

@media (max-width: 1024px) {
  .section-newsletter,
  .section-actus {
    padding-block: 4rem;
  }

  .newsletter-subscribe {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section-newsletter,
  .section-actus {
    padding-block: 3rem;
  }

  .newsletter-subscribe {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Scroll horizontal natif */
  .articles-carousel-wrapper {
    overflow: hidden;
  }

  .newsletter-articles-grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    padding-left: 0.8rem;
    padding-right: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
  }

  .newsletter-articles-grid::-webkit-scrollbar {
    display: none;
  }

  .articles-slide {
    flex: 0 0 78%;
    scroll-snap-align: start;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
  }

  /* Masquer la nav — inutile avec scroll natif */
  .articles-carousel-nav {
    display: none !important;
  }
}

@media (max-width: 500px) {
  .section-newsletter,
  .section-actus {
    padding-block: 2rem;
  }

  .newsletter-subscribe {
    padding: 1.5rem;
    gap: 1rem;
  }

  .newsletter-subscribe-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .newsletter-subscribe-text {
    font-size: var(--font-size-xs);
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .newsletter-button {
    width: 100%;
  }

  .articles-slide {
    flex: 0 0 85%;
  }

  .newsletter-articles-cta {
    margin-top: 1rem;
  }
}

@media (max-width: 400px) {
  .newsletter-subscribe {
    padding: 1.25rem;
  }

  .newsletter-subscribe-title {
    font-size: 1.1rem;
  }
}