/**
 * comunidade.css — Página de vendas Comunidade do Aplique
 * Usado em: /comunidade-aplique/index.html
 * Depende de: tokens.css, base.css
 */

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
  max-width: 1122px;
  margin: 0 auto;
  display: block;
  padding-bottom: 0;
}

/* ── Sticky bar ── */
.sticky-bar {
  position: fixed; bottom: 0; left: 50%; right: auto;
  margin-left: -561px; width: 1122px;
  background: var(--rose); color: white; z-index: 100;
  padding: 14px 20px; display: flex; align-items: center;
  justify-content: center; gap: 12px;
  transform: translateY(100%); animation: slideUp 0.6s 2s forwards;
}
@media (max-width: 1122px) { .sticky-bar { left: 0; margin-left: 0; width: 100%; } }
.sticky-bar span { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.sticky-bar a { background: white; color: var(--rose); font-weight: 700; font-size: 13px; padding: 8px 18px; border-radius: var(--radius-pill); text-decoration: none; white-space: nowrap; }

/* ── Hero ── */
.hero {
  background: #1A3558; position: relative; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; padding-bottom: 48px;
}
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(236,136,192,0.3) 0%, transparent 70%), radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212,168,83,0.15) 0%, transparent 60%); }
.hero-img {
  position: absolute; top: 0; right: 0; width: 100%; height: 72%;
  object-fit: cover; object-position: top center; opacity: 0.95;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 65%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 65%, transparent 95%);
}
@media (min-width: 680px) {
  .hero-img {
    width: 58%; height: 100%;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 60%, transparent 95%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 60%, transparent 95%);
  }
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; animation: fadeUp 0.8s ease both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); border: none;
  color: white; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: var(--radius-pill);
  margin: 10px 0 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 2px 4px rgba(212,168,83,0.2);
  z-index: 5;
}
@media (max-width: 991px) {
  .hero { padding-bottom: 20px; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-img {
    height: 55%;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 50%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 50%, transparent 90%);
  }
  .hero h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-sub { margin-left: auto; margin-right: auto; margin-bottom: 12px; font-size: 14px; }
  .hero-badge {
    background: #D4A853 !important; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
    margin: 12px 0 16px !important;
  }
  .hero-social { margin-bottom: 16px; }
  .sticky-bar { animation-delay: 4.5s !important; }
}
.hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 900; line-height: 1.1; color: white; margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--rose-light); }
.hero-sub { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); margin-bottom: 28px; max-width: 360px; }

.hero-social { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-avatars { display: flex; }
.avatar-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #1A3558; background: var(--rose); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: white; }
.avatar-dot:first-child { margin-left: 0; }
.avatar-dot:nth-child(2) { background: var(--rose-light); }
.avatar-dot:nth-child(3) { background: var(--gold); color: var(--warm-dark); }
.hero-social-text { font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-social-text strong { color: white; }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gradient-primary); color: white;
  padding: 18px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; text-decoration: none;
  position: relative; overflow: hidden;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%); }
.btn-primary:active { transform: scale(0.98); }
.btn-sub { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 10px; }

/* ── Trust strip ── */
.trust-strip { background: var(--rose-pale); padding: 20px 24px; display: flex; overflow-x: auto; gap: 24px; scrollbar-width: none; }
.trust-strip::-webkit-scrollbar { display: none; }
.trust-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--warm-mid); }
.trust-item svg { color: var(--rose); flex-shrink: 0; }

/* ── Sections base ── */
section { padding: 56px 24px; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.section-eyebrow::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--rose); opacity: 0.4; }
h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; line-height: 1.15; color: var(--warm-dark); margin-bottom: 16px; }
h2 em { font-style: italic; color: var(--rose); }
.lead { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin-bottom: 32px; }

/* ── Pain section ── */
.pain { background: #1A3558; }
.pain .section-eyebrow { color: var(--rose-light); }
.pain .section-eyebrow::after { background: var(--rose-light); }
.pain h2 { color: white; }
.pain .lead { color: rgba(255,255,255,0.6); }
.pain-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pain-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.pain-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(236,136,192,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--rose-light); }
.pain-text { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.pain-text strong { color: white; display: block; margin-bottom: 4px; font-size: 15px; }
.pain-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 28px 0; }
.pain-turn { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--gold-light); line-height: 1.5; text-align: center; }

/* ── Transform section ── */
.transform { background: var(--cream); }
.transform-card { background: white; border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px; border: 1px solid rgba(236,136,192,0.12); box-shadow: 0 4px 24px rgba(236,136,192,0.06); }
.transform-number { font-family: var(--font-serif); font-size: 3rem; font-weight: 900; color: var(--rose-pale); line-height: 1; margin-bottom: -4px; }
.transform-title { font-weight: 700; font-size: 17px; color: var(--warm-dark); margin-bottom: 8px; }
.transform-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Testimonials ── */
.testimonials { background: var(--rose-pale); padding: 56px 0; }
.testimonials > .section-eyebrow,
.testimonials > h2,
.testimonials > .lead { padding: 0 24px; }
.testimonials-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 24px 20px; scrollbar-width: none; }
.testimonials-scroll::-webkit-scrollbar { display: none; }
.tcard { background: white; border-radius: 18px; padding: 22px; min-width: 270px; max-width: 270px; flex-shrink: 0; box-shadow: 0 4px 20px rgba(236,136,192,0.08); }
.tcard-stars { display: flex; gap: 2px; margin-bottom: 12px; color: var(--gold); }
.tcard-quote { font-size: 14px; line-height: 1.65; color: var(--text-body); margin-bottom: 16px; font-style: italic; }
.tcard-quote::before { content: '\201C'; font-family: var(--font-serif); font-size: 2rem; color: var(--rose-light); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.tcard-author { display: flex; align-items: center; gap: 10px; }
.tcard-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; flex-shrink: 0; }
.tcard-name { font-weight: 600; font-size: 13px; color: var(--warm-dark); }
.tcard-city { font-size: 11px; color: var(--text-muted); }

/* ── Curriculum ── */
.curriculum { background: white; }
.module-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }
.module { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; align-items: center; gap: 14px; transition: background 0.2s; }
.module:hover { background: var(--rose-pale); }
.module-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--rose-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--rose); transition: background 0.2s; }
.module:hover .module-icon { background: white; }
.module-text { flex: 1; }
.module-title { font-weight: 600; font-size: 14px; color: var(--warm-dark); margin-bottom: 2px; }
.module-desc { font-size: 12px; color: var(--text-muted); }
.module-arrow { color: var(--rose); opacity: 0.5; }

/* ── Mentor ── */
.mentor { background: #1A3558; position: relative; overflow: hidden; }
.mentor::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(236,136,192,0.2) 0%, transparent 70%); }
.mentor-img-wrap { position: relative; margin-bottom: 28px; }
.mentor-img-container { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: rgba(236,136,192,0.15); }
.mentor-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mentor-img-badge { position: absolute; bottom: -12px; right: 16px; background: var(--rose); color: white; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-pill); display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 16px rgba(236,136,192,0.4); }
.mentor .section-eyebrow { color: var(--rose-light); }
.mentor .section-eyebrow::after { background: var(--rose-light); }
.mentor h2 { color: white; }
.mentor-bio { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.mentor-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mentor-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.mentor-stat-num { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 4px; }
.mentor-stat-icon { display: flex; justify-content: center; margin-bottom: 4px; color: var(--gold-light); }
.mentor-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); }

/* ── Bonus ── */
.bonus { background: linear-gradient(135deg, var(--cream) 0%, var(--rose-pale) 100%); }
.bonus-card { background: white; border-radius: var(--radius-md); padding: 20px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; border-left: 3px solid var(--gold); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.bonus-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: rgba(212,168,83,0.12); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.bonus-title { font-weight: 700; font-size: 15px; color: var(--warm-dark); margin-bottom: 4px; }
.bonus-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.bonus-value { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

/* ── Price ── */
.price { background: white; }
.price-card { background: #1A3558; border-radius: var(--radius-xl); padding: 32px 24px; text-align: center; position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; top: -80px; left: -80px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(236,136,192,0.3) 0%, transparent 70%); }
.price-card::after { content: ''; position: absolute; bottom: -60px; right: -60px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(212,168,83,0.2) 0%, transparent 70%); }
.price-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(212,168,83,0.15); border: 1px solid rgba(212,168,83,0.3); color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill); margin-bottom: 24px; }
.price-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.price-installment { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.price-installment strong { color: white; font-size: 18px; }
.price-main { font-family: var(--font-serif); font-size: 3.5rem; font-weight: 900; color: white; line-height: 1; margin-bottom: 4px; }
.price-main sup { font-size: 1.5rem; vertical-align: top; margin-top: 8px; }
.price-or { font-size: 12px; color: rgba(255,255,255,0.4); margin: 12px 0; position: relative; z-index: 1; }
.price-full { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; position: relative; z-index: 1; }
.price-full strong { color: rgba(255,255,255,0.8); }
.checklist { text-align: left; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: 20px; margin-bottom: 24px; position: relative; z-index: 1; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.8); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.check-item:last-child { border-bottom: none; }
.check-icon { color: #6EE7B7; flex-shrink: 0; }
.btn-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gradient-primary); color: white;
  padding: 20px 36px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 17px; text-decoration: none;
  position: relative; z-index: 1; transition: transform 0.2s;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-cta:hover { transform: translateY(-3px); }
.btn-sub-dark { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 12px; position: relative; z-index: 1; }

/* ── Guarantee ── */
.guarantee { background: var(--cream); padding: 48px 24px; text-align: center; }
.guarantee-icon { display: flex; justify-content: center; margin-bottom: 16px; color: var(--rose); }
.guarantee-icon img { width: 180px; height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.guarantee h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 800; color: var(--warm-dark); margin-bottom: 12px; }
.guarantee p { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 520px; margin: 0 auto; }

/* ── FAQ ── */
.faq { background: white; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 18px 0; }
.faq-q { font-weight: 600; font-size: 15px; color: var(--warm-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; list-style: none; user-select: none; }
.faq-plus { width: 24px; height: 24px; border-radius: 50%; background: var(--rose-pale); color: var(--rose); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; line-height: 1; transition: transform 0.2s, background 0.2s; }
details[open] .faq-plus { transform: rotate(45deg); background: var(--rose); color: white; }
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.65; padding-top: 12px; }

/* ── Final CTA ── */
.final-cta { background: linear-gradient(180deg, var(--rose) 0%, #9E3A52 100%); padding: 56px 24px; text-align: center; }
.final-cta h2 { color: white; font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.6; margin-bottom: 32px; }
.btn-final {
  display: block; background: white; color: #d84a8a; text-align: center;
  padding: 20px 36px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 17px; text-decoration: none;
  margin-bottom: 16px; transition: transform 0.2s;
  animation: pulse-glow-dark 2.5s ease-in-out infinite;
}
.btn-final:hover { transform: translateY(-3px); }
.final-sub { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.6); }

/* ── Footer ── */
footer { background: #1A3558; padding: 28px 24px; text-align: center; }
.footer-logo { font-family: var(--font-serif); font-style: italic; color: white; font-size: 1.2rem; margin-bottom: 8px; }
.footer-text { font-size: 11px; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ── Desktop ── */
@media (min-width: 680px) {
  body { font-size: 17px; }
  .lead, .mentor-bio, .hero-sub, .pain-text, .faq-a, .guarantee p { font-size: 16px; }
  .transform-desc, .tcard-quote, .module-desc, .bonus-desc { font-size: 15px; }
  section { padding: 72px 40px; }
  .mentor-img-container { max-width: 500px; margin-left: auto; margin-right: auto; }

  /* Depoimentos: grid em vez de scroll */
  .testimonials-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: 4px 24px 20px;
  }
  .tcard { min-width: unset; max-width: unset; }
}
