/* V35 — Club Maloudia : hero plus habité, invitation remontée et trois portes affinées. */

/* Hero de page : moins vide, visuels remontés et alignement plus vivant. */
.club-page-grid {align-items:start;}
.club-page-copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding-top:4px;
}
.club-page-copy .club-invitation-scene {
  order:-1;
  position:relative;
  width:min(100%,458px);
  height:248px;
  margin:0 0 18px;
  isolation:isolate;
}
.club-page-copy .eyebrow {margin-top:0;}
.club-page-copy h1 {margin:12px 0 22px;}
.club-page-copy p {max-width:560px;}
.club-page-copy .club-benefit-list {margin:24px 0 0;}
.club-page-copy .club-note {margin-top:14px;}

.club-page-copy .club-invite-orbit {
  inset:39px 22px 20px;
  background:radial-gradient(ellipse,rgba(196,147,170,.27) 3%,transparent 72%);
  filter:blur(15px);
}
.club-page-copy .club-invitation-pass {
  top:34px;
  left:8px;
  width:min(86%,354px);
  height:190px;
  padding:24px 27px 19px;
  transform:rotate(-5.5deg);
}
.club-page-copy .club-pass-overline {
  font-size:6.8px;
  letter-spacing:.18em;
}
.club-page-copy .club-pass-rule {margin:8px 0 7px;}
.club-page-copy .club-invitation-pass strong {
  white-space:normal;
  font-size:clamp(25px,2.75vw,37px);
}
.club-page-copy .club-invitation-pass small {
  margin-top:6px;
  max-width:220px;
  font-size:10px;
  line-height:1.55;
}
.club-page-copy .club-pass-foot {
  margin-top:auto;
  font-size:6.7px;
  letter-spacing:.11em;
}
.club-page-copy .club-pass-seal {right:-19px;bottom:13px;}
.club-page-copy .club-invite-bookmark {
  right:11px;
  top:28px;
  width:63px;
  height:152px;
}
.club-page-copy .club-invite-spark--one {
  top:2px;
  left:0;
  font-size:58px;
  color:#dcc0cd;
}
.club-page-copy .club-invite-spark--two {
  right:28px;
  bottom:2px;
  font-size:24px;
  color:#b4819a;
}

/* Carte formulaire : étoile animée en haut à droite. */
.club-form-card {
  position:relative;
  overflow:hidden;
}
.club-form-card-spark {
  position:absolute;
  top:18px;
  right:22px;
  color:#d3b1bf;
  font-size:62px;
  line-height:1;
  pointer-events:none;
  animation:club-sparkle 5.5s ease-in-out infinite;
}
.club-form-card .eyebrow,
.club-form-card h2,
.club-form-card > p,
.club-form-card .join-form,
.club-form-card .mockup-note {
  position:relative;
  z-index:1;
}

/* Bloc “plusieurs portes” : étoile accueil au-dessus du titre, sans chevauchement. */
.club-doors-heading {
  display:block;
  position:relative;
}
.club-heading-star {
  display:block;
  width:max-content;
  margin:0 0 14px;
  color:#d5b4c3;
  font-size:54px;
  line-height:1;
  animation:club-sparkle 5.6s ease-in-out infinite;
}
.club-door-card .club-door-kicker {
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.club-door-heart {
  color:#aa6f8b;
  font-size:14px;
  line-height:1;
}

/* Cartes : cohérence des titres et hiérarchie visuelle. */
.club-door-cards article {min-height:454px;}
.club-door-cards h3 {max-width:16ch;}
.club-door-card--ad h3 {max-width:14ch;}
.club-door-card--books h3 {max-width:13ch;}

/* Téléphone MyMaloudia : reprendre le même langage visuel que les autres téléphones, avec flottement + vibration. */
.club-door-art--sms .club-door-iphone {
  --phone-width:111px;
  --phone-height:226px;
  --phone-radius:24px;
  --screen-radius:20px;
  --phone-text-size:6.7px;
  position:relative;
  z-index:1;
  transform:rotate(-8deg);
  transform-origin:center center;
  animation:club-phone-float-vibe 7.8s ease-in-out infinite;
  box-shadow:0 16px 22px rgba(55,31,48,.22);
}
.club-door-art--sms .club-door-iphone .imessage-header {padding:17px 7px 4px;}
.club-door-art--sms .club-door-iphone .header-avatar {
  width:20px;
  height:20px;
  font-size:7px;
  letter-spacing:0;
}
.club-door-art--sms .club-door-iphone .header-title {font-size:6.8px;}
.club-door-art--sms .club-door-iphone .header-subtitle {font-size:5.5px;}
.club-door-art--sms .club-door-iphone .conversation-label {
  padding:4px 4px 5px;
  font-size:4.9px;
  letter-spacing:.17em;
}
.club-door-art--sms .club-door-iphone .imessage-body {
  gap:6px;
  padding:9px 8px 6px;
}
.club-door-art--sms .club-door-iphone .message-bubble {
  min-height:14px;
  min-width:44px;
  padding:7px 8px;
}
.club-door-art--sms .club-door-iphone .club-bubble-ghost .ios-message-text {
  display:block;
  width:100%;
  height:3px;
}
.club-door-art--sms .club-door-iphone .club-bubble-ghost {opacity:.98;}
.club-door-art--sms .club-door-iphone .club-bubble-ghost--sent {
  width:78%;
  margin-left:auto;
}
.club-door-art--sms .club-door-iphone .club-bubble-ghost--short {width:48%;}
.club-door-art--sms .club-door-iphone .imessage-footer {
  padding:5px 8px 10px;
}
.club-door-art--sms .club-door-iphone .fake-input {
  height:13px;
  font-size:5.7px;
}
.club-door-art--sms .club-door-phone-ping {
  top:18px;
  left:calc(50% + 43px);
}

/* Ajustements visuels du carton et des trois cartes. */
.club-door-card--ad .club-door-ad-mockup {height:188px;}
.club-door-card--books .club-door-little-star,
.club-door-card--sms .club-door-little-star,
.club-door-card--ad .club-door-little-star {
  color:#b6849b;
}

@keyframes club-phone-float-vibe {
  0%, 100% {transform:rotate(-8deg) translate3d(0,0,0);}
  8% {transform:rotate(-8deg) translate3d(-1px,-2px,0);}
  10% {transform:rotate(-8deg) translate3d(1px,-2px,0);}
  12% {transform:rotate(-8deg) translate3d(-2px,-1px,0);}
  14% {transform:rotate(-8deg) translate3d(2px,-1px,0);}
  16% {transform:rotate(-8deg) translate3d(0,-2px,0);}
  26% {transform:rotate(-6deg) translate3d(0,-7px,0);}
  50% {transform:rotate(-5deg) translate3d(0,-8px,0);}
  66% {transform:rotate(-7deg) translate3d(0,-4px,0);}
  72% {transform:rotate(-7deg) translate3d(-1px,-4px,0);}
  74% {transform:rotate(-7deg) translate3d(1px,-4px,0);}
  76% {transform:rotate(-7deg) translate3d(-1px,-4px,0);}
  78% {transform:rotate(-7deg) translate3d(1px,-4px,0);}
}

@media (max-width:1100px) {
  .club-page-copy .club-invitation-scene {margin:0 0 16px;}
  .club-form-card-spark {font-size:54px;}
}

@media (max-width:900px) {
  .club-page-copy {padding-top:0;}
  .club-page-copy .club-invitation-scene {
    width:min(100%,430px);
    height:236px;
    margin:0 auto 18px;
  }
  .club-heading-star {font-size:48px;margin-bottom:11px;}
  .club-door-cards article {min-height:425px;}
  .club-door-cards h3 {max-width:none;}
}

@media (max-width:650px) {
  .club-page-copy .club-invitation-scene {
    width:min(100%,390px);
    height:224px;
    margin:0 auto 15px;
  }
  .club-page-copy .club-invitation-pass {
    top:31px;
    left:8px;
    width:82%;
    height:179px;
    padding:22px 19px 17px;
  }
  .club-page-copy .club-pass-overline {
    font-size:6.2px;
    letter-spacing:.14em;
  }
  .club-page-copy .club-invitation-pass small {
    font-size:9px;
    max-width:190px;
  }
  .club-page-copy .club-invite-bookmark {
    width:52px;
    height:131px;
    right:4px;
    top:31px;
  }
  .club-page-copy .club-invite-spark--one {font-size:48px;left:2px;top:8px;}
  .club-page-copy .club-invite-spark--two {right:18px;bottom:4px;}
  .club-form-card-spark {
    top:14px;
    right:14px;
    font-size:44px;
  }
  .club-heading-star {
    font-size:40px;
    margin-bottom:9px;
  }
  .club-door-cards article {min-height:0;}
  .club-door-art--sms .club-door-iphone {
    --phone-width:109px;
    --phone-height:221px;
    --phone-text-size:6.55px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .club-form-card-spark,
  .club-heading-star,
  .club-door-art--sms .club-door-iphone {
    animation:none !important;
  }
}
