
/* V37 — alignements finaux Club Maloudia */

/* Portes d'entrée : alignement desktop des blocs texte */
@media (min-width: 901px) {
  .club-door-card--books h3,
  .club-door-card--books p,
  .club-door-card--books a,
  .club-door-card--ad h3,
  .club-door-card--ad p,
  .club-door-card--ad a {
    position: relative;
    top: 36px;
  }

  .club-door-card--books p,
  .club-door-card--ad p {
    margin-top: 14px;
  }

  .club-door-card--books a,
  .club-door-card--ad a {
    display: inline-block;
    margin-top: 18px;
  }

  .club-door-card--books,
  .club-door-card--ad,
  .club-door-card--sms {
    padding-bottom: 44px;
  }
}

/* Téléphone MyMaloudia : avatar non coupé + coeur du badge coloré */
.club-door-art--sms .club-door-phone-ping {
  color: #b3698d;
  font-weight: 700;
}

.club-door-art--sms .club-door-iphone .imessage-header {
  padding-top: 26px;
}

.club-door-art--sms .club-door-iphone .header-avatar {
  margin-top: 8px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 5.2px;
  overflow: visible;
}

.club-door-art--sms .club-door-iphone .header-avatar span,
.club-door-art--sms .club-door-iphone .header-avatar .heart {
  color: #b3698d;
}

/* Garantir 2 lignes pour les taglines sur tous les formats */
.club-door-cards h3 {
  text-wrap: balance;
}

.club-door-card--books h3,
.club-door-card--sms h3,
.club-door-card--ad h3 {
  max-width: 13.5ch;
}

@media (max-width: 900px) {
  .club-door-card--books h3,
  .club-door-card--sms h3,
  .club-door-card--ad h3 {
    max-width: 15.5ch;
    font-size: clamp(2.35rem, 8vw, 3.25rem);
    line-height: 1.02;
  }
}

@media (max-width: 700px) {
  .club-door-card--books h3,
  .club-door-card--sms h3,
  .club-door-card--ad h3 {
    max-width: 14.8ch;
    font-size: clamp(2.6rem, 8.3vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .club-door-card--books h3 br,
  .club-door-card--sms h3 br,
  .club-door-card--ad h3 br {
    display: block;
  }

  /* téléphone mobile/tablette : conserver la bonne taille mais laisser respirer le texte */
  .club-door-card--sms .club-door-art {
    height: 154px;
    margin-bottom: 20px;
  }

  .club-door-art--sms .club-door-iphone {
    --phone-width: 77px;
    --phone-height: 155px;
  }

  .club-door-art--sms .club-door-phone-ping {
    top: 20px;
    left: calc(50% + 32px);
  }
}

@media (max-width: 430px) {
  .club-door-card--books h3,
  .club-door-card--sms h3,
  .club-door-card--ad h3 {
    max-width: 12.8ch;
    font-size: clamp(2.5rem, 8.8vw, 2.95rem);
  }
}

/* Tablette : conserver le bon layout et les 2 lignes */
@media (min-width: 701px) and (max-width: 900px) {
  .club-door-card--books h3,
  .club-door-card--sms h3,
  .club-door-card--ad h3 {
    max-width: 14.2ch;
    font-size: clamp(2.6rem, 5.2vw, 3.2rem);
  }

  .club-door-card--sms .club-door-art {
    height: 162px;
    margin-bottom: 16px;
  }

  .club-door-art--sms .club-door-iphone {
    --phone-width: 80px;
    --phone-height: 160px;
  }
}
