/* ============================================
   JEMMA.APP — Components spécifiques pages
   ============================================ */

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--emerald-glow);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse-ring 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-trust-avatar:first-child { margin-left: 0; }

.hero-trust-text {
  font-size: 0.82rem;
  color: var(--text-mid);
}
.hero-trust-text strong { color: var(--text); }

/* ---- PHONE MOCKUP ---- */
.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.12), transparent 70%);
  pointer-events: none;
}

.phone-shell {
  width: 250px;
  background: linear-gradient(170deg, #1c2b40 0%, #0c1622 100%);
  border-radius: 38px;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}

.phone-screen-inner {
  padding: 16px;
  min-height: 480px;
  background: #070e1a;
  position: relative;
}

.phone-notch {
  width: 90px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 12px;
}

.phone-card {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}

.phone-card-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.phone-card-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.phone-card-meta {
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ---- FEATURES GRID ---- */
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.feature-icon-emerald { background: rgba(16,185,129,0.12); }
.feature-icon-amber   { background: rgba(245,158,11,0.12); }
.feature-icon-indigo  { background: rgba(99,102,241,0.12); }
.feature-icon-sky     { background: rgba(56,189,248,0.12); }
.feature-icon-crimson { background: rgba(239,68,68,0.12); }

/* ---- SECTION DIVIDER ---- */
.section-divider {
  text-align: center;
  margin-bottom: 4rem;
}
.section-divider p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0.8rem auto 0;
  line-height: 1.75;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(99,102,241,0.1));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(16,185,129,0.3), transparent, rgba(99,102,241,0.3));
  z-index: -1;
}

/* ---- PRICING ---- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--emerald);
  background: linear-gradient(160deg, rgba(16,185,129,0.07), var(--surface));
  box-shadow: var(--shadow-emerald);
  transform: scale(1.02);
}

.pricing-card .featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 6px 0;
}

.pricing-feature-check { color: var(--emerald); font-size: 1rem; }

/* ---- TESTIMONIAL ---- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial:hover { border-color: var(--border-hi); }

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
}

.testimonial-name { font-size: 0.88rem; font-weight: 600; }
.testimonial-role { font-size: 0.78rem; color: var(--text-dim); }

/* ---- ACCORDION (FAQ) ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--emerald); }

.faq-chevron {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner { padding-bottom: 1.4rem; }

/* ---- RESPONSIVE COMPONENTS ---- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .phone-mockup-wrap { margin-top: 2rem; }
  .pricing-card.featured { transform: scale(1); }
  .cta-banner { padding: 2.5rem 1.5rem; }
}
