/*****************************************************
 * SECTION LABEL PARIS T’AIME
 * Fichier : public/css/homepage/section-label.css
 * Objectif : aligner visuellement avec
 *            "Cinéma utile et dynamique"
 *****************************************************/

/* ---------------------------
   Layout général de la section
---------------------------- */
.section-label {
  position: relative;
  padding: clamp(54px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 248, 240, .08), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(139, 0, 0, .22), transparent 36%),
    #03001E;
  color: #fef8f0;
  overflow: hidden;
}

/* Titre principal */
.section-label .section-title {
  max-width: 900px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fef8f0;
}

/* Teaser */
.section-label .teaser {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.55vw, 1.14rem);
  line-height: 1.7;
  color: rgba(254, 248, 240, .84);
}

/* Accordéon */
.section-label .expander {
  margin: 0 0 28px;
  padding: clamp(1.35rem, 4vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.section-label .expander-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding: 0;
}

.section-label .expander-cta {
  margin-left: auto;
  color: rgba(254, 248, 240, .78);
}

/* Contenu ouvert */
.section-label .expander-content {
  width: 100%;
  max-width: 820px;
  margin: 1.25rem auto 0;
  padding: clamp(1.35rem, 4vw, 2rem);
  border-left: 3px solid rgba(139, 0, 0, .72);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(139, 0, 0, .16), rgba(255, 255, 255, .035));
}

.section-label .expander-content p {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: rgba(254, 248, 240, .84);
  font-size: clamp(1rem, 1.55vw, 1.12rem);
}

.section-label .expander-content p:last-child {
  margin-bottom: 0;
}

/* Titres internes propres à la section */
.section-label h3,
.section-label .label-subtitle,
.section-label .section-subtitle {
  color: #fef8f0;
  font-family: Georgia, "Times New Roman", serif;
}

/* Textes secondaires */
.section-label p,
.section-label li {
  color: rgba(254, 248, 240, .82);
}

/* Liens / accents */
.section-label a {
  color: #fef8f0;
  text-decoration-color: rgba(139, 0, 0, .95);
  text-underline-offset: 4px;
}

/* ---------------------------
   Carousel dans la section
---------------------------- */
.section-label .block-carousel-standard,
.section-label .block-carousel-universal,
.section-label .block-carousel-standard-v1,
.section-label .block-carousel-universal-v1 {
  margin-top: 28px;
}

/* Masquer uniquement les headers internes générés par les composants carousel */
.section-label .block-carousel-standard .carousel-block-header,
.section-label .block-carousel-universal .carousel-block-header,
.section-label .block-carousel-standard-v1 .carousel-block-header,
.section-label .block-carousel-universal-v1 .carousel-block-header {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Sécurité pour data-strip="headers" */
.section-label [data-strip="headers"] .carousel-block-header,
.section-label [data-strip="headers"] .carousel-block-title,
.section-label [data-strip="headers"] .carousel-block-subtitle,
.section-label [data-strip="headers"] h3.carousel-block-title,
.section-label [data-strip="headers"] p.carousel-block-subtitle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Mobile */
@media (max-width: 768px) {
  .section-label {
    padding: 48px 0;
  }

  .section-label .section-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .section-label .expander {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .section-label .expander-summary {
    gap: 12px;
  }

  .section-label .expander-content {
    max-width: 100%;
    padding: 1.35rem 1.2rem;
    border-radius: 20px;
  }
}