/* ═══════════════════════════════════════
   FREAKY GYM — style.css
   ═══════════════════════════════════════ */

/* ── VARIÁVEIS ── */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #181818;
  --accent: #e8ff00;
  --accent2: #ff4d1c;
  --text: #f0f0f0;
  --muted: #888;
  --border: #2a2a2a;
  --red: #ff2d2d;
  --gold: #f5c518;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--accent);
  text-decoration: none;
}
.logo span { color: var(--text); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: flex; gap: 12px; align-items: center;
}

/* ── BOTÕES ── */
.btn {
  padding: 10px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-danger { background: var(--accent2); color: #fff; }
.btn-danger:hover { background: #ff2d00; }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 440px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 32px 32px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  color: var(--accent);
}
.modal-close {
  background: none; border: none;
  color: var(--muted); font-size: 24px;
  cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px 32px 32px; }

/* ── FORMULÁRIOS ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--surface2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.form-tab {
  flex: 1; padding: 12px;
  background: none; border: none;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.form-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--muted); font-size: 12px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── PAGAMENTO ── */
.payment-methods {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 20px;
}
.pay-method {
  background: var(--surface2); border: 1px solid var(--border);
  padding: 12px; text-align: center; cursor: pointer;
  transition: all 0.2s; border-radius: 2px;
}
.pay-method.selected { border-color: var(--accent); background: rgba(232, 255, 0, 0.05); }
.pay-method:hover { border-color: var(--accent); }
.pay-method .icon { font-size: 22px; display: block; margin-bottom: 4px; }
.pay-method .label { font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.card-fields { display: none; }
.card-fields.active { display: block; }

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 40px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(232, 255, 0, 0.04) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 0;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1600&q=80') center/cover no-repeat;
  opacity: 0.25;
  z-index: -1;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  border-left: 3px solid var(--accent); padding-left: 12px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.hero-title .line2 { color: var(--accent); display: block; }
.hero-sub {
  font-size: 17px; line-height: 1.7;
  color: var(--muted); max-width: 480px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 60px; right: 40px;
  display: flex; gap: 48px; z-index: 1;
}
.stat-item { text-align: right; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; color: var(--accent); line-height: 1;
}
.stat-label {
  font-size: 11px; letter-spacing: 2px; color: var(--muted);
  text-transform: uppercase;
}

/* ── SECÇÕES BASE ── */
section { padding: 100px 40px; }
.section-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent);
  border-left: 3px solid var(--accent); padding-left: 12px;
  margin-bottom: 16px; display: inline-block;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px; line-height: 1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted); font-size: 16px; line-height: 1.7;
  max-width: 560px; margin-bottom: 60px;
}

/* ── PLANOS ── */
#planos { background: var(--surface); }
.gender-toggle {
  display: inline-flex; border: 1px solid var(--border);
  margin-bottom: 48px; overflow: hidden;
}
.gender-btn {
  padding: 12px 32px;
  background: none; border: none;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.gender-btn.active { background: var(--accent); color: #000; }
.goal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}
.goal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: all 0.3s; cursor: pointer;
  position: relative; overflow: hidden;
}
.goal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.goal-card:hover::before { transform: scaleX(1); }
.goal-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.goal-icon { font-size: 40px; margin-bottom: 20px; }
.goal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 2px; margin-bottom: 8px;
}
.goal-desc { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.goal-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 10px;
  border: 1px solid var(--accent); color: var(--accent);
}
.plans-hidden { display: none; }

/* ── PREÇOS ── */
#precos { background: var(--bg); }
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative; transition: all 0.3s;
}
.price-card.featured {
  border-color: var(--accent);
  background: rgba(232, 255, 0, 0.03);
}
.price-badge {
  position: absolute; top: -1px; right: 24px;
  background: var(--accent); color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 12px;
}
.price-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 3px;
  color: var(--muted); margin-bottom: 16px;
}
.price-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px; line-height: 1; color: var(--text); margin-bottom: 4px;
}
.price-value sup { font-size: 28px; vertical-align: super; }
.price-value span { font-size: 22px; color: var(--muted); }
.price-period { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.price-features { list-style: none; margin-bottom: 36px; }
.price-features li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ── LOJA ── */
#loja { background: var(--surface); }
.filter-bar { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px;
  background: none; border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
}
.product-card {
  background: var(--bg); border: 1px solid var(--border);
  overflow: hidden; transition: all 0.3s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-img {
  width: 100%; height: 200px;
  display: block; background: var(--surface2);
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-category {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.product-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 18px; margin-bottom: 4px;
}
.product-desc { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: var(--accent);
}
.product-price small { font-size: 14px; }
.add-cart {
  padding: 8px 16px;
  background: var(--accent); color: #000;
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
  transition: all 0.2s;
}
.add-cart:hover { background: #fff; }

/* ── PERSONAL ── */
#personal { background: var(--bg); }
.trainer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}
.trainer-card {
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: all 0.3s;
}
.trainer-card:hover { border-color: var(--accent); }
.trainer-img {
  width: 100%; height: 300px;
  display: block; background: var(--surface2);
  overflow: hidden; position: relative;
}
.trainer-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.4s;
}
.trainer-card:hover .trainer-img img { transform: scale(1.05); }
.trainer-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 24px 20px 16px;
}
.trainer-info { padding: 20px 24px 24px; }
.trainer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 2px; margin-bottom: 4px;
}
.trainer-spec {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
}
.trainer-bio { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.trainer-rate {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; color: var(--text); margin-bottom: 16px;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* ── SUPORTE ── */
#suporte { background: var(--surface); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer; overflow: hidden;
}
.faq-q {
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 15px;
}
.faq-icon { color: var(--accent); font-size: 20px; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--muted); font-size: 14px; line-height: 1.7;
  transition: max-height 0.4s, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { font-size: 36px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.footer-col a {
  display: block; color: var(--text);
  text-decoration: none; font-size: 14px;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
}
.footer-bottom p { color: var(--muted); font-size: 13px; }

/* ── CARRINHO BADGE ── */
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent); color: #000;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--accent); color: #000;
  padding: 14px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 1px;
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── NOISE OVERLAY ── */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── ANIMAÇÕES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  section { padding: 70px 20px; }
  #home { padding: 90px 20px 60px; }
  .hero-stats { position: static; margin-top: 48px; justify-content: flex-start; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}


/* ── CENTRALIZAÇÃO ── */
.center-section,
#planos,
#precos,
#loja,
#personal,
#suporte {
  text-align: center;
}

.section-sub {
  margin-left: auto;
  margin-right: auto;
}

.gender-toggle,
.filter-bar {
  justify-content: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.about-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 32px 24px;
}

.about-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  color: var(--accent);
}

.about-card p {
  color: var(--muted);
  line-height: 1.6;
}


/* ── CENTRALIZAÇÃO MELHORADA ── */
#sobre,
#planos,
#precos,
#loja,
#personal,
#suporte {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.goal-grid,
.price-grid,
.shop-grid,
.trainer-grid,
.support-grid,
.about-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title,
.section-sub,
.section-tag {
  text-align: center;
}

.gender-toggle,
.filter-bar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.support-grid {
  align-items: start;
}



/* ══════════════════════════════════
   CONTACTOS
══════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  transition: 0.3s ease;
  backdrop-filter: blur(12px);
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
}

.contact-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.contact-card p {
  opacity: 0.8;
  line-height: 1.6;
}
 