/* ========================================
   Ricardo Ballai - Professor de Tênis
   Estilo: Alegre, esportivo, lazer ao sol
   ======================================== */

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

:root {
  --green: #22a652;
  --green-light: #e8f9ee;
  --green-dark: #1a7f3f;
  --yellow: #fbbf24;
  --yellow-light: #fef9e7;
  --orange: #f97316;
  --sky: #38bdf8;
  --sky-light: #e8f7fe;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #fffef8;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.09);
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Fundo sutil com gradiente quente */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.15), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.1), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(34, 166, 82, 0.08), transparent 40%);
}

/* ---- Barra de progresso ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--orange));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  border-radius: 0 2px 2px 0;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0; z-index: 200;
  background: rgba(255, 254, 248, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 1px; }
.logo strong { font-size: 1.3rem; font-weight: 900; line-height: 1; }
.logo small { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }

/* Nav desktop */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--text-muted); font-size: 0.88rem;
  font-weight: 700; padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--green-light); }

.nav-cta {
  background: var(--green) !important; color: #fff !important;
  margin-left: 4px; border-radius: 999px !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 166, 82, 0.3);
}

/* Hamburger - escondido no desktop */
.menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
  position: relative; z-index: 300;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.menu-btn div {
  display: block;
  width: 24px; height: 3px; background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.menu-open .menu-btn div:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .menu-btn div:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn div:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay - controlado pela classe no body */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #fffef8;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 24px;
}
body.menu-open .mobile-overlay { display: flex; }
body.menu-open { overflow: hidden; }

.mobile-overlay a {
  text-decoration: none; color: var(--text);
  font-size: 1.4rem; font-weight: 800;
  padding: 14px 32px; border-radius: 14px;
  transition: background 0.2s;
  text-align: center;
}
.mobile-overlay a:hover { background: var(--green-light); }

.mobile-overlay .nav-cta-mobile {
  margin-top: 16px;
  background: var(--green); color: #fff;
  padding: 16px 40px; border-radius: 14px;
  font-size: 1.1rem; font-weight: 800;
  text-decoration: none; text-align: center;
  transition: background 0.2s;
}
.mobile-overlay .nav-cta-mobile:hover { background: var(--green-dark); }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 14px;
  font: inherit; font-weight: 800; font-size: 0.9rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 6px 20px rgba(34,166,82,0.25); }

.btn-white {
  background: var(--white); color: var(--text);
  border: 2px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-white:hover { border-color: var(--green); box-shadow: var(--shadow); }

/* ---- Hero ---- */
.hero {
  max-width: 1140px; margin: 0 auto;
  padding: 48px 20px 40px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-light); border: 2px solid var(--yellow);
  border-radius: 999px; padding: 6px 16px 6px 12px;
  font-size: 0.78rem; font-weight: 800; color: #92400e;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 20px;
}
.hero-badge::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--yellow); border: 2px solid #f59e0b;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.05; margin-bottom: 18px;
  color: var(--text);
}
.hero h1 .hl { color: var(--green); }

.hero-sub {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 48ch; margin-bottom: 28px; line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span {
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--border);
}


/* ---- Marquee ---- */
.marquee {
  padding: 14px 0; background: var(--green);
  overflow: hidden; border-top: 2px solid var(--green-dark);
}
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span {
  font-weight: 900; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #fff; white-space: nowrap; padding: 0 20px;
}
.marquee-track span::after { content: "\2022"; margin-left: 20px; opacity: 0.4; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-25%); } }

/* ---- Seções ---- */
.section {
  max-width: 1140px; margin: 0 auto; padding: 60px 20px;
}

.section-header { margin-bottom: 32px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.05; }
.section-header p { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; max-width: 45ch; }

.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); background: var(--green-light);
  border: 1.5px solid rgba(34,166,82,0.2);
  border-radius: 999px; padding: 5px 14px; white-space: nowrap;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.stat-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

/* ---- Method ---- */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.method-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }

.method-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(34,166,82,0.2);
}
.method-card h3 { font-size: 1rem; font-weight: 800; }
.method-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }

/* ---- Plans ---- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.plan-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.plan-card.featured {
  border-color: var(--green); border-width: 3px;
  background: linear-gradient(160deg, #fff 0%, var(--green-light) 100%);
  box-shadow: var(--shadow), 0 0 0 3px rgba(34,166,82,0.08);
}

.plan-tag {
  display: inline-block; width: fit-content;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px;
  background: var(--yellow-light); color: #92400e;
  border: 1.5px solid var(--yellow);
}
.plan-card h3 { font-size: 1.1rem; font-weight: 800; }
.plan-card > p { color: var(--text-muted); font-size: 0.9rem; }

.plan-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan-card li { font-size: 0.86rem; color: var(--text-muted); padding-left: 22px; position: relative; }
.plan-card li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-light); border: 2px solid var(--green);
}
.plan-card .btn { margin-top: auto; width: 100%; }

/* ---- Testimonial ---- */
.testimonial-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: "\201C"; position: absolute; top: 12px; right: 24px;
  font-size: 7rem; line-height: 1; color: var(--green); opacity: 0.08;
  pointer-events: none; font-family: Georgia, serif;
}

.testimonial-quote { font-size: 1.08rem; line-height: 1.7; max-width: 60ch; font-style: italic; color: var(--text); }
.testimonial-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.testimonial-author strong { display: block; font-size: 0.92rem; font-weight: 800; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

.slider-controls { display: flex; align-items: center; gap: 6px; }
.slider-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 2px solid var(--border); background: var(--white);
  color: var(--text); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.slider-btn:hover { border-color: var(--green); background: var(--green-light); }

.slider-dots { display: flex; gap: 6px; margin-left: 6px; }
.slider-dots button {
  width: 10px; height: 10px; border: 2px solid var(--border);
  border-radius: 50%; background: var(--white);
  cursor: pointer; padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.slider-dots button.active {
  background: var(--green); border-color: var(--green); transform: scale(1.2);
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--green); }

.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px; font-weight: 800; font-size: 0.94rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px;
  border-radius: 50%; background: var(--green-light);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.1rem; color: var(--green);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq-item[open] summary::after {
  content: "\2212"; background: var(--green); color: #fff; transform: rotate(180deg);
}
.faq-item p { padding: 0 20px 16px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ---- Contact ---- */
.contact-simple {
  background: var(--green); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(34,166,82,0.2);
  text-align: center;
}
.contact-simple::before {
  content: ""; position: absolute;
  right: -60px; top: -60px;
  width: 250px; height: 250px;
  border-radius: 50%; background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.contact-simple::after {
  content: ""; position: absolute;
  left: -40px; bottom: -80px;
  width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.contact-simple h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 900; line-height: 1.05; margin-bottom: 8px;
}
.contact-simple > p {
  color: rgba(255,255,255,0.8); font-size: 0.95rem;
  margin-bottom: 32px; max-width: 45ch; margin-left: auto; margin-right: auto;
}

.wa-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 32px;
  position: relative; z-index: 1;
}

.wa-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 22px 16px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 16px; text-decoration: none; color: #fff;
  transition: background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
  cursor: pointer;
}
.wa-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.wa-emoji { font-size: 2rem; line-height: 1; }
.wa-card strong { font-size: 0.95rem; font-weight: 800; }
.wa-card .wa-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  line-height: 1.4; text-align: center;
}

.contact-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 28px; font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  position: relative; z-index: 1;
}
.contact-links strong { color: rgba(255,255,255,0.55); font-weight: 800; }
.contact-links a { color: #fff; text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.footer {
  max-width: 1140px; margin: 0 auto; padding: 32px 20px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border-top: 2px solid var(--border); color: var(--text-muted); font-size: 0.84rem;
}

/* ---- Divider ---- */
.divider { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.divider hr { border: none; height: 2px; background: var(--border); border-radius: 1px; }

/* ---- Reveal ---- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }

/* ---- Responsivo ---- */
@media (max-width: 1024px) {
  .hero { padding-top: 32px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; }
  .wa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-btn { display: flex !important; }
  .nav { display: none !important; }

  .hero h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 16px; }
  .section-header { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  .testimonial-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer { flex-direction: column; text-align: center; }
  .wa-grid { grid-template-columns: 1fr 1fr; }
}
