/* ═══════════════════════════════════════════════════
   HOME T4 - CSS Dedicado (baseado no JM Style)
   Cópia do Template 2 para customizações independentes.
   Escopo: .jm-homepage
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ── */
.jm-homepage {
  --jm-primary: hsl(145, 70%, 28%);
  --jm-primary-fg: #fff;
  --jm-secondary: hsl(45, 100%, 50%);
  --jm-secondary-fg: hsl(150, 40%, 8%);
  --jm-bg: hsl(120, 15%, 96%);
  --jm-card: #fff;
  --jm-card-fg: hsl(150, 40%, 8%);
  --jm-border: hsl(120, 15%, 88%);
  --jm-muted: hsl(120, 15%, 92%);
  --jm-muted-fg: hsl(150, 15%, 40%);
  --jm-success: hsl(145, 63%, 38%);
  --jm-accent: hsl(42, 100%, 55%);
  --jm-destructive: hsl(0, 84%, 60%);
  --jm-gold: hsl(42, 100%, 50%);
  --jm-gold-dark: hsl(38, 85%, 38%);
  --jm-green-dark: hsl(150, 55%, 15%);
  --jm-green-light: hsl(145, 55%, 40%);
  --jm-radius: 0.75rem;
  --jm-shadow-card: 0 4px 20px -2px hsla(145, 63%, 32%, 0.15);
  --jm-shadow-button: 0 4px 14px -2px hsla(145, 63%, 32%, 0.3);
  --jm-shadow-gold: 0 4px 20px -2px hsla(45, 100%, 50%, 0.4);
  --jm-gradient-primary: linear-gradient(135deg, hsl(145, 63%, 32%) 0%, hsl(145, 70%, 25%) 100%);
  --jm-gradient-gold: linear-gradient(135deg, hsl(48, 96%, 53%) 0%, hsl(40, 90%, 45%) 100%);
  --jm-gradient-hero: linear-gradient(180deg, hsl(145, 63%, 32%) 0%, hsl(150, 50%, 20%) 100%);

  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--jm-bg);
  color: var(--jm-card-fg);
  line-height: 1.6;
  min-height: 100dvh;
  width: 100%;
  overflow-x: clip;
}

/* ── Animations ── */
@keyframes jm-pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsla(45, 100%, 50%, 0.3); }
  50% { box-shadow: 0 0 40px hsla(45, 100%, 50%, 0.6); }
}
@keyframes jm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Admin Bar ── */
.jm-admin-bar {
  background: var(--jm-green-dark);
  text-align: center;
  padding: 10px;
  font-size: 0.75em;
  color: #fff;
  position: relative;
  z-index: 60;
}
.jm-admin-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.jm-admin-bar svg { vertical-align: middle; }

/* ═══ HEADER ═══ */
.jm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.jm-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
@media (min-width: 768px) {
  .jm-header-container { height: 96px; }
}
.jm-header-logo img {
  width: 112px;
  height: 80px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .jm-header-logo img { width: 160px; height: 112px; }
}
.jm-header-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.jm-nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.2s;
}
.jm-nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.jm-nav-link.active { background: var(--jm-secondary); color: var(--jm-secondary-fg); }
.jm-header-cta {
  display: none;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--jm-secondary);
  color: var(--jm-secondary-fg);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--jm-shadow-gold);
  animation: jm-pulse-glow 2s ease-in-out infinite;
  transition: opacity 0.2s;
}
.jm-header-cta:hover { opacity: 0.9; color: var(--jm-secondary-fg); }

@media (min-width: 1024px) {
  .jm-header-nav { display: flex; }
  .jm-header-cta { display: inline-block; }
  .jm-hamburger { display: none !important; }
}

/* ── Hamburger ── */
.jm-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.jm-hamburger span {
  width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all 0.3s;
}
.jm-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.jm-hamburger.open span:nth-child(2) { opacity: 0; }
.jm-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Nav ── */
.jm-mobile-nav {
  position: fixed; inset: 0; z-index: 49;
  background: var(--jm-primary);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.jm-mobile-nav.open {
  opacity: 1; pointer-events: auto;
  visibility: visible;
  transition: opacity 0.3s, visibility 0s 0s;
}
.jm-mobile-nav nav {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; width: 90%; max-width: 320px;
}
.jm-mobile-link {
  display: block; width: 100%; padding: 12px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--jm-primary-fg);
  text-decoration: none; text-align: center; transition: background 0.2s;
}
.jm-mobile-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.jm-mobile-cta {
  display: block; width: 100%; padding: 12px 16px; border-radius: 8px;
  background: var(--jm-secondary); color: var(--jm-secondary-fg);
  font-weight: 600; font-size: 14px; text-decoration: none;
  text-align: center; margin-top: 8px;
}

/* ═══ HERO ═══ */
.jm-hero { position: relative; }
.jm-hero-slideshow { position: relative; width: 100%; overflow: hidden; }
.jm-hero-slideshow img { width: 100%; height: auto; display: block; }
.jm-hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out;
}
.jm-hero-slide.active { opacity: 1; }
.jm-hero-slide.base { position: relative; visibility: hidden; }

.jm-hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.jm-hero-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.jm-hero-dot:hover { background: rgba(255,255,255,0.8); }
.jm-hero-dot.active {
  background: var(--jm-secondary); width: 32px; border-radius: 6px;
}

/* CTA Bar */
.jm-hero-cta-bar {
  background: var(--jm-primary);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .jm-hero-cta-bar { padding: 16px; } }
.jm-hero-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--jm-secondary); color: var(--jm-secondary-fg);
  font-weight: 800; font-size: 16px; letter-spacing: 0.5px;
  padding: 14px 40px; border-radius: 9999px;
  text-decoration: none; width: 100%; max-width: 400px; text-align: center;
  box-shadow: var(--jm-shadow-gold);
  animation: jm-pulse-glow 2s ease-in-out infinite;
}
@media (min-width: 768px) {
  .jm-hero-cta-btn { font-size: 18px; padding: 20px 48px; }
}
.jm-hero-cta-btn:hover { opacity: 0.9; color: var(--jm-secondary-fg); }

/* Video */
.jm-hero-video {
  padding: 32px 16px;
  display: flex; justify-content: center;
  background: rgba(23, 87, 56, 0.05);
}
.jm-hero-video-wrap {
  width: 100%; max-width: 400px;
  border-radius: 1rem; overflow: hidden;
  background: var(--jm-gradient-primary); padding: 3px;
  box-shadow: var(--jm-shadow-card);
}
.jm-hero-video-inner {
  border-radius: calc(1rem - 3px); overflow: hidden;
  background: var(--jm-card); aspect-ratio: 9/16;
}
.jm-hero-video-inner iframe { width: 100%; height: 100%; border: 0; }

/* ═══ SECTIONS ═══ */
.jm-section { padding: 64px 16px; }
.jm-section-container { max-width: 1400px; margin: 0 auto; }
.jm-section-title {
  text-align: center; font-size: 24px; font-weight: 700;
  color: var(--jm-card-fg); margin-bottom: 8px;
}
.jm-section-title span { color: var(--jm-secondary); }
.jm-section-subtitle {
  text-align: center; font-size: 16px;
  color: var(--jm-muted-fg); margin-bottom: 32px;
}
@media (min-width: 768px) {
  .jm-section { padding: 96px 32px; }
  .jm-section-title { font-size: 36px; }
  .jm-section-subtitle { font-size: 18px; }
}
@media (min-width: 1024px) {
  .jm-section-title { font-size: 42px; }
}

/* ═══ RAFFLE CARDS ═══ */
.jm-raffles-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .jm-raffles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jm-raffles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .jm-raffles-grid { grid-template-columns: repeat(4, 1fr); } }

/* Edições Anteriores: centraliza cards (no máx. 3 itens) */
.jm-prev-section .jm-raffles-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
}
@media (max-width: 767px) { .jm-prev-section .jm-raffles-grid { grid-template-columns: 1fr; } }

.jm-raffle-card {
  background: var(--jm-card);
  border: 1px solid var(--jm-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--jm-shadow-card);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
}
.jm-raffle-card:hover {
  box-shadow: 0 10px 40px -4px hsla(145, 63%, 32%, 0.2);
  transform: translateY(-4px);
  color: inherit;
}
.jm-raffle-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--jm-muted);
}
.jm-raffle-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.jm-raffle-card:hover .jm-raffle-img-wrap img { transform: scale(1.05); }

.jm-raffle-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 9999px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.jm-raffle-badge-active { background: var(--jm-success); color: #fff; }
.jm-raffle-badge-soon { background: var(--jm-muted); color: var(--jm-muted-fg); }
.jm-raffle-badge-done { background: var(--jm-muted); color: var(--jm-muted-fg); }

.jm-raffle-body {
  padding: 20px; flex: 1;
  display: flex; flex-direction: column; gap: 16px;
}
.jm-raffle-name {
  font-size: 18px; font-weight: 700; color: var(--jm-card-fg);
  line-height: 1.3; min-height: 3.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.jm-raffle-subtitle {
  font-size: 13px; color: var(--jm-muted-fg); margin-top: -8px;
}

/* Price */
.jm-raffle-price { display: flex; align-items: baseline; gap: 6px; }
.jm-raffle-price-label { font-size: 14px; color: var(--jm-muted-fg); }
.jm-raffle-price-value { font-size: 24px; font-weight: 700; color: var(--jm-primary); }

/* Progress */
.jm-progress-wrap { display: flex; flex-direction: column; gap: 8px; }
.jm-progress-stats {
  display: flex; justify-content: space-between; font-size: 14px;
}
.jm-progress-stats-label { color: var(--jm-muted-fg); }
.jm-progress-stats-value { font-weight: 600; color: var(--jm-card-fg); }
.jm-progress-bar {
  width: 100%; height: 12px;
  background: var(--jm-secondary); border-radius: 6px; overflow: hidden;
}
.jm-progress-fill {
  height: 100%; border-radius: 6px;
  background: var(--jm-gradient-primary);
  transition: width 0.6s ease;
}

/* CTA Button */
.jm-raffle-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 12px;
  border-radius: var(--jm-radius);
  background: var(--jm-secondary); color: var(--jm-secondary-fg);
  font-weight: 700; font-size: 14px;
  text-align: center; text-decoration: none;
  transition: opacity 0.2s; margin-top: auto;
}
.jm-raffle-btn:hover { opacity: 0.9; color: var(--jm-secondary-fg); }

/* ═══ PREVIOUS EDITIONS ═══ */
.jm-prev-section { background: var(--jm-card); }

/* Winner info inside card */
.jm-winner-info {
  margin-top: 8px; padding: 12px; font-size: 13px;
  background: hsla(145, 63%, 38%, 0.08); border-radius: 8px;
}
.jm-winner-info strong { color: var(--jm-primary); }

/* ═══ TESTIMONIALS ═══ */
.jm-testimonials-bg {
  background: var(--jm-bg);
}
.jm-stars {
  color: var(--jm-gold); font-size: 28px;
  text-align: center; margin-bottom: 24px;
}
.jm-testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) {
  .jm-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
.jm-testimonial-video {
  max-width: 400px; margin: 0 auto;
  border-radius: 1rem; overflow: hidden;
  background: var(--jm-gradient-primary); padding: 3px;
  box-shadow: var(--jm-shadow-card);
}
.jm-testimonial-video-inner {
  border-radius: calc(1rem - 3px); overflow: hidden;
  background: var(--jm-card); aspect-ratio: 9/16;
}
.jm-testimonial-video-inner iframe { width: 100%; height: 100%; border: 0; }
.jm-dep-title {
  margin-top: 12px; font-size: 15px; font-weight: 600;
  color: var(--jm-card-fg);
}
.jm-dep-desc { font-size: 13px; color: var(--jm-muted-fg); margin-top: 4px; }

/* ═══ COMUNICADO ═══ */
.jm-comunicado { background: var(--jm-gradient-hero); }
.jm-comunicado .jm-section-title { color: var(--jm-primary-fg); }
.jm-comunicado .jm-section-subtitle {
  color: var(--jm-secondary); font-weight: 700;
}
.jm-comunicado-img {
  max-width: 600px; margin: 0 auto;
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.jm-comunicado-img img { width: 100%; height: auto; display: block; }

/* ═══ HOW IT WORKS ═══ */
.jm-steps-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; text-align: center;
}
@media (min-width: 768px) {
  .jm-steps-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.jm-step-card {
  border-radius: 16px;
  padding: 28px 20px 24px;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.2s;
}
.jm-step-card:hover {
  transform: translateY(-4px);
}
.jm-step-img {
  width: 176px; height: 176px; object-fit: contain; margin: 0 auto 12px;
}
@media (min-width: 768px) { .jm-step-img { width: 208px; height: 208px; } }
@media (min-width: 1024px) { .jm-step-img { width: 224px; height: 224px; } }
.jm-step-desc {
  font-size: 14px; font-weight: 500; color: var(--jm-card-fg);
  line-height: 1.5; max-width: 240px; margin: 0 auto;
}
.jm-step-card .jm-step-desc { color: inherit; }

/* ═══ FAQ ═══ */
.jm-faq-bg { background: var(--jm-gradient-hero); }
.jm-faq-bg .jm-section-title { color: var(--jm-primary-fg); }
.jm-faq-bg .jm-section-title span { color: var(--jm-secondary); }
.jm-faq-bg .jm-section-subtitle { color: rgba(255,255,255,0.8); }

.jm-faq-list {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.jm-faq-item {
  background: var(--jm-card);
  border-radius: var(--jm-radius);
  overflow: hidden;
  box-shadow: var(--jm-shadow-card);
}
.jm-faq-question {
  width: 100%; padding: 16px 20px;
  background: none; border: none;
  color: var(--jm-card-fg);
  font-size: 15px; font-weight: 700;
  text-align: left; cursor: pointer;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  transition: background 0.15s; font-family: inherit;
}
.jm-faq-question:hover { background: var(--jm-muted); }
.jm-faq-arrow {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform 0.3s; color: var(--jm-muted-fg);
}
.jm-faq-item.open .jm-faq-arrow { transform: rotate(180deg); }
.jm-faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.jm-faq-item.open .jm-faq-answer { max-height: 400px; }
.jm-faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 14px; color: var(--jm-primary); line-height: 1.6;
}

/* ═══ FOOTER ═══ */
.jm-footer {
  background: #ffffff;
  color: #000000;
}
.jm-footer-main {
  max-width: 1400px; margin: 0 auto;
  padding: 48px 16px;
}
@media (min-width: 768px) { .jm-footer-main { padding: 64px 16px; } }
.jm-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) { .jm-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jm-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; } }

.jm-footer-logo { height: auto; max-height: 56px; width: auto; max-width: 180px; object-fit: contain; }
@media (min-width: 768px) { .jm-footer-logo { max-height: 72px; max-width: 220px; } }
.jm-footer-brand p { font-size: 14px; color: rgba(0,0,0,0.7); margin: 0; }

.jm-footer-section h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #000;
}
.jm-footer-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--jm-success); color: #fff;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: opacity 0.2s;
}
.jm-footer-wa-btn:hover { opacity: 0.9; color: #fff; }
.jm-footer-muted { font-size: 14px; color: rgba(0,0,0,0.7); margin-top: 8px; }
.jm-footer-links { display: flex; flex-direction: column; gap: 8px; }
.jm-footer-links a {
  font-size: 14px; color: rgba(0,0,0,0.8);
  text-decoration: none; transition: color 0.2s;
}
.jm-footer-links a:hover { color: #000; }
.jm-footer-social { display: flex; gap: 12px; }
.jm-social-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: opacity 0.2s; text-decoration: none;
}
.jm-social-btn:hover { opacity: 0.85; color: #fff; }
.jm-social-yt { background: #dc2626; }
.jm-social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.jm-social-fb { background: #1877f2; }

/* Age Warning */
.jm-footer-age {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 32px 16px;
}
.jm-footer-age-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
}
.jm-age-badge {
  width: 64px; height: 64px; border-radius: 50%;
  border: 4px solid #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #000; flex-shrink: 0;
}
.jm-footer-age-inner p { font-size: 14px; color: rgba(0,0,0,0.7); margin: 0; }
.jm-footer-age-inner a { color: #000; text-decoration: underline; }

/* Copyright */
.jm-footer-copy {
  border-top: 1px solid rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.05);
  padding: 16px; text-align: center;
}
.jm-footer-copy p { font-size: 12px; color: rgba(0,0,0,0.5); margin: 0; }

/* ═══ WHATSAPP FLOAT ═══ */
.jm-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  animation: jm-pulse-glow 2s ease-in-out infinite;
  text-decoration: none;
}
.jm-whatsapp-float:hover { color: #fff; }

/* ═══ INSTAGRAM FLOAT ═══ */
.jm-instagram-float {
  position: fixed; bottom: 92px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(214,36,159,0.4);
  text-decoration: none;
  transition: transform 0.2s;
}
.jm-instagram-float:hover { color: #fff; transform: scale(1.08); }

/* ═══ EMPTY STATE ═══ */
.jm-empty {
  text-align: center; padding: 40px 16px;
  color: var(--jm-muted-fg); font-size: 15px;
}

/* ═══ T4 MOBILE BOTTOM NAV ═══ */
.t4-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 110;
  background: var(--jm-primary);
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.3);
  align-items: flex-end;
  justify-content: space-around;
}

.t4-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px 10px;
  color: var(--jm-secondary);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  flex: 1;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.t4-nav-item svg {
  display: block;
  flex-shrink: 0;
}

/* Item central elevado */
.t4-nav-item.t4-nav-main {
  position: relative;
  margin-top: -20px;
  padding-top: 0;
  gap: 4px;
}

.t4-nav-main-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #1c1040;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  flex-shrink: 0;
}

.t4-nav-main-circle svg {
  display: block;
  color: var(--jm-secondary);
}

@media (max-width: 1023px) {
  .t4-bottom-nav { display: flex; }
  /* espaço para a bottom nav não cobrir conteúdo */
  .jm-homepage { padding-bottom: 68px; }
  /* WhatsApp e Instagram sobem acima da nav */
  .jm-whatsapp-float { bottom: calc(68px + 16px); }
  .jm-instagram-float { bottom: calc(68px + 16px + 56px + 12px); }
  /* No T4 mobile, apenas a bottom nav é usada — oculta hamburger e overlay JM */
  .jm-homepage .jm-hamburger { display: none; }
  .jm-homepage .jm-mobile-nav { display: none !important; }
  /* Centraliza a logo no header mobile do T4 */
  .jm-homepage .jm-header-container { justify-content: center; }
}

/* ═══ SCROLLBAR ═══ */
.jm-homepage::-webkit-scrollbar { width: 8px; }
.jm-homepage::-webkit-scrollbar-track { background: var(--jm-muted); }
.jm-homepage::-webkit-scrollbar-thumb { background: var(--jm-primary); border-radius: 4px; }
.jm-homepage::-webkit-scrollbar-thumb:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════════
   GANHADORES DA SEMANA (Template 4)
   ═══════════════════════════════════════════════════ */
.jm-homepage .jm-winners-section {
  background: #000;
  padding: 60px 0 70px;
  overflow: hidden;
}
.jm-homepage .jm-winners-section .jm-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Título com linhas decorativas */
.jm-homepage .jm-winners-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.jm-homepage .jm-winners-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #ffd700 50%, transparent 100%);
}
.jm-homepage .jm-winners-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 9999px;
  background: rgba(255, 215, 0, 0.05);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.jm-homepage .jm-winners-title svg { color: #ffd700; flex-shrink: 0; }

/* Carrossel 3D */
.jm-homepage .jm-winners-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 540px;
  margin: 0 auto;
}
.jm-homepage .jm-winners-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  perspective: 1200px;
}
.jm-homepage .jm-winners-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 480px;
  margin-top: -240px;
  margin-left: -160px;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a0a;
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1), opacity 0.55s, box-shadow 0.55s;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.6);
  z-index: 1;
}
.jm-homepage .jm-winners-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.jm-homepage .jm-winners-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  box-shadow: 0 0 0 2px #ffd700, 0 30px 60px -20px rgba(255, 215, 0, 0.35), 0 0 60px rgba(255, 215, 0, 0.18);
  z-index: 5;
}
.jm-homepage .jm-winners-slide.prev {
  opacity: 0.35;
  transform: translateX(-360px) scale(0.78);
  filter: brightness(0.5);
  z-index: 3;
}
.jm-homepage .jm-winners-slide.next {
  opacity: 0.35;
  transform: translateX(360px) scale(0.78);
  filter: brightness(0.5);
  z-index: 3;
}

/* Arrows */
.jm-homepage .jm-winners-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}
.jm-homepage .jm-winners-arrow:hover {
  background: rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.5);
}
.jm-homepage .jm-winners-arrow-prev { left: 12px; }
.jm-homepage .jm-winners-arrow-next { right: 12px; }

/* Dots */
.jm-homepage .jm-winners-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.jm-homepage .jm-winners-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s, background 0.25s;
}
.jm-homepage .jm-winners-dot.active {
  width: 28px;
  border-radius: 5px;
  background: #ffd700;
}

/* Stats */
.jm-homepage .jm-winners-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 50px auto 0;
}
.jm-homepage .jm-winners-stat {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
}
.jm-homepage .jm-winners-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.jm-homepage .jm-winners-stat-label {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 900px) {
  .jm-homepage .jm-winners-section { padding: 44px 0 50px; }
  .jm-homepage .jm-winners-carousel { height: 460px; }
  .jm-homepage .jm-winners-slide { width: 260px; height: 400px; margin-top: -200px; margin-left: -130px; }
  .jm-homepage .jm-winners-slide.prev { transform: translateX(-240px) scale(0.72); }
  .jm-homepage .jm-winners-slide.next { transform: translateX(240px) scale(0.72); }
  .jm-homepage .jm-winners-line { max-width: 80px; }
  .jm-homepage .jm-winners-stat-value { font-size: 28px; }
}
@media (max-width: 560px) {
  .jm-homepage .jm-winners-carousel { height: 420px; }
  .jm-homepage .jm-winners-slide { width: 220px; height: 340px; margin-top: -170px; margin-left: -110px; }
  .jm-homepage .jm-winners-slide.prev { transform: translateX(-160px) scale(0.68); opacity: 0.25; }
  .jm-homepage .jm-winners-slide.next { transform: translateX(160px) scale(0.68); opacity: 0.25; }
  .jm-homepage .jm-winners-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .jm-homepage .jm-winners-stat { padding: 18px 8px; }
  .jm-homepage .jm-winners-stat-value { font-size: 22px; }
  .jm-homepage .jm-winners-stat-label { font-size: 11px; }
  .jm-homepage .jm-winners-arrow { width: 36px; height: 36px; }
}

/* ═══ VIP Group Hero ═══ */
.jm-homepage .jm-vip-hero {
  background: #0d1f12;
  overflow: hidden;
  position: relative;
}
.jm-homepage .jm-vip-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 340px;
  padding: 0 0 0 80px;
  width: 100%;
}
.jm-homepage .jm-vip-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 48px 48px 0;
  z-index: 1;
}
.jm-homepage .jm-vip-hero-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.jm-homepage .jm-vip-hero-subtitle {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 28px;
  line-height: 1.2;
}
.jm-homepage .jm-vip-hero-accent {
  color: #25d366;
}
.jm-homepage .jm-vip-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a6b35;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 11px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.12em;
  transition: filter 0.2s, transform 0.2s;
  cursor: default;
  border: none;
  white-space: nowrap;
}
a.jm-vip-hero-btn { cursor: pointer; }
.jm-homepage a.jm-vip-hero-btn:hover {
  filter: brightness(1.12);
  transform: scale(1.03);
  text-decoration: none;
  color: #ffffff;
}
.jm-homepage .jm-vip-hero-img-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}
.jm-homepage .jm-vip-hero-img {
  width: 340px;
  height: 340px;
  object-fit: contain;
  display: block;
  margin-bottom: -44px;
  flex-shrink: 0;
  margin: 10px;
}
/* Tablet */
@media (max-width: 960px) {
  .jm-homepage .jm-vip-hero-inner {
    padding-left: 40px;
  }
  .jm-homepage .jm-vip-hero-title,
  .jm-homepage .jm-vip-hero-subtitle {
    font-size: 22px;
  }
  .jm-homepage .jm-vip-hero-content {
    padding-right: 32px;
  }
  .jm-homepage .jm-vip-hero-img {
    width: 260px;
    height: 260px;
    margin-bottom: -32px;
  }
}
/* Mobile */
@media (max-width: 640px) {
  .jm-homepage .jm-vip-hero {
    overflow: visible;
  }
  .jm-homepage .jm-vip-hero-inner {
    flex-direction: column;
    align-items: center;
    padding: 0 24px 40px;
    min-height: unset;
  }
  .jm-homepage .jm-vip-hero-img-wrap {
    order: 1;
    width: 100%;
    justify-content: center;
    overflow: visible;
    margin-bottom: 16px;
  }
  .jm-homepage .jm-vip-hero-img {
    width: 190px;
    height: 190px;
    margin-bottom: 0;
  }
  .jm-homepage .jm-vip-hero-content {
    order: 2;
    padding: 0;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .jm-homepage .jm-vip-hero-title,
  .jm-homepage .jm-vip-hero-subtitle {
    font-size: 20px;
  }
  .jm-homepage .jm-vip-hero-subtitle {
    margin-bottom: 24px;
  }
  .jm-homepage .jm-vip-hero-btn {
    width: auto;
    padding: 11px 40px;
    font-size: 13px;
    box-sizing: border-box;
  }
}
