/* =================================
   QAPSULE — PAGE SPECIFIC STYLES
================================= */

@font-face {
  font-family: 'Coolvetica';
  src: url('../../assets/fonts/Coolvetica Rg.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --site-bg: #F5F5F5;
  --nl-bg: #ffffff;
  --nl-black: #000000;
}

body.page-qapsule {
  background: var(--site-bg);
}

/* =================================
   NEWSLETTER — colonne centrée
================================= */

.qap-newsletter {
  background: var(--nl-bg);
  width: 62%;
  max-width: 860px;
  min-width: 560px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(0,0,0,0.10);
}

/* =================================
   LOGO — fond noir EN PREMIER
================================= */

.qap-logo-wrap {
  background: var(--nl-black);
  padding: 24px 40px;
  text-align: center;
}

.qap-logo {
  display: inline-block;
  width: 160px;
  height: auto;
}

/* =================================
   HERO — collé sous le logo, avec marges
================================= */

.qap-hero-wrap {
  padding: 0 40px;
}

.qap-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;      /* même ratio que les vidéos */
  object-fit: cover;          /* crop centré */
}

/* =================================
   CONTENU INTERNE
================================= */

.qap-inner {
  padding: 0 40px;
}

.qap-block {
  padding: 36px 0;
}

.qap-heading {
  font-family: 'Coolvetica', 'Arial Black', sans-serif;
  font-weight: normal;
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--nl-black);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.qap-heading--white {
  color: #fff;
}

.qap-text {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.75;
  color: #2a2a2a;
  margin: 0 0 12px 0;
}

.qap-text:last-child {
  margin-bottom: 0;
}

.qap-text--white {
  color: rgba(255,255,255,0.82);
}

.qap-text--smile {
  text-align: center;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-top: 20px;
}

.qap-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 24px;
  background: var(--nl-black);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
}

/* =================================
   ÉDITIONS — pas de traits entre elles
================================= */

.qap-edition {
  padding: 36px 0;
}

.qap-capsule {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 20px auto;
}

.qap-edition-title {
  font-family: 'Coolvetica', 'Arial Black', sans-serif;
  font-weight: normal;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--nl-black);
  margin: 0 0 14px 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.qap-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 20px 0 0 0;
}

/* Plus de marge sous la dernière vidéo avant les pictos */
.qap-edition:last-child .qap-video {
  margin-bottom: 40px;
}

/* =================================
   3 CAPSULES DADAHUÈTE
================================= */

.qap-capsules-dada {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.qap-capsule-dada {
  width: 120px;               /* plus grandes — même taille que les capsules solo */
  height: auto;
}

/* =================================
   PICTOS — fond blanc, bordures NOIRES
================================= */

.qap-pictos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--nl-bg);
  border-top: 1.5px solid var(--nl-black);
  border-bottom: 1.5px solid var(--nl-black);
}

.qap-picto {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* =================================
   CLUBMED — fond noir
================================= */

.qap-clubmed {
  background: var(--nl-black);
  padding: 0 40px 36px 40px;  /* pas de padding-top — collé aux pictos */
}

.qap-clubmed-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
}

/* =================================
   FOOTER — fond blanc
================================= */

.qap-footer-nl {
  background: var(--nl-bg);
  padding: 28px 40px 32px 40px;
}

.qap-footer-contact {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--nl-black);
  text-decoration: underline;
  margin-bottom: 12px;
  cursor: default;
  pointer-events: none;
}

.qap-footer-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 6px 0;
}

.qap-footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #aaa;
  margin: 0;
}

/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

  .qap-newsletter {
    width: 100%;
    min-width: unset;
    box-shadow: none;
  }

  .qap-hero-wrap,
  .qap-inner,
  .qap-clubmed,
  .qap-footer-nl {
    padding-left: 20px;
    padding-right: 20px;
  }

  .qap-hero-wrap {
    padding-top: 20px;
  }

  .qap-logo-wrap {
    padding: 20px;
  }

  .qap-logo {
    width: 130px;
  }

  .qap-pictos {
    padding: 12px 20px;
  }

  .qap-picto {
    width: 16px;
    height: 16px;
  }

  .qap-heading {
    font-size: 18px;
  }

  .qap-edition-title {
    font-size: 15px;
  }

  .qap-video {
    width: 100%;
  }

}