/* Gym Code - Landing Page (public/landing) */
:root {
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --dark-900: #0f172a;
  --dark-950: #020617;
  --dark-100: #f1f5f9;
  --dark-200: #e2e8f0;
  --dark-500: #64748b;
  --dark-600: #475569;
  --dark-700: #334155;
  --white: #ffffff;
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 20px -2px rgba(0, 0, 0, 0.1), 0 12px 28px -4px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 10px 40px -3px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-700);
  background: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--dark-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--dark-900);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-accent);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.logo-icon svg {
  width: 16px;
  height: 16px;
}

.logo-icon.small {
  width: 20px;
  height: 20px;
}

.logo-icon.small svg {
  width: 12px;
  height: 12px;
}

.logo-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--dark-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent-600);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--dark-700);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 0.75rem;
  background: var(--white);
  border-bottom: 1px solid var(--dark-200);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--dark-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow-medium);
}

.header .btn-primary {
  background: var(--white);
  color: var(--accent-600);
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: none;
}

.header .btn-primary:hover {
  background: rgba(255, 247, 237, 0.9);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  color: var(--accent-600);
  border: 2px solid var(--accent-500);
}

.btn-outline:hover {
  background: rgba(249, 115, 22, 0.08);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.hero {
  background:
    radial-gradient(120% 140% at 15% 15%, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0.08) 30%, rgba(249, 115, 22, 0) 70%),
    linear-gradient(130deg, #0b1220 0%, #101a2e 38%, #16243b 68%, #1b2b45 100%);
  color: var(--white);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 62%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.45) 45%, rgba(241, 245, 249, 0.85) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.text-accent {
  color: var(--accent-500);
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-strong);
}

.hero-card-header {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.2);
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-card-body {
  padding: 1.25rem;
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-card-title {
  font-weight: 600;
  font-size: 1rem;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

.hero-card-badge {
  background: rgba(249, 115, 22, 0.4);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 48px;
  text-align: center;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--dark-100);
}

#como-funciona.section-alt {
  position: relative;
  overflow: hidden;
}

#como-funciona.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: radial-gradient(120% 100% at 50% 0, rgba(241, 245, 249, 0.96) 0%, rgba(241, 245, 249, 0.72) 45%, rgba(241, 245, 249, 0) 100%);
  pointer-events: none;
}

#como-funciona.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark-900);
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--dark-500);
  margin: 0 0 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.45rem;
}

/* Results */
.results-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: 0.35rem;
}

.results-grid::-webkit-scrollbar {
  height: 8px;
}

.results-grid::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.6);
  border-radius: 9999px;
}

.results-grid::-webkit-scrollbar-thumb {
  background: rgba(234, 88, 12, 0.35);
  border-radius: 9999px;
}

.result-card {
  background: linear-gradient(to bottom, rgba(255, 247, 237, 0.45), var(--white));
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  flex: 0 0 min(82vw, 300px);
  scroll-snap-align: start;
}

.result-label {
  font-size: 0.8rem;
  color: var(--dark-500);
  margin: 0;
}

.result-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.1;
  color: var(--dark-900);
  margin: 0.35rem 0 0.5rem;
}

.result-text {
  font-size: 0.86rem;
  color: var(--dark-600);
  margin: 0 0 0.85rem;
}

.result-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 9999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-600);
  font-size: 0.72rem;
  font-weight: 700;
}

.app-preview-section {
  background: linear-gradient(to bottom, rgba(255, 247, 237, 0.2), var(--white));
}

.app-experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 940px;
  margin: 0 auto;
}

.app-experience-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: min(280px, 76vw);
}

.app-experience-track {
  width: 100%;
}

.app-experience-image {
  width: 100%;
  height: auto;
  display: none;
  filter: drop-shadow(0 22px 34px rgba(2, 6, 23, 0.28));
}

.app-experience-slide.is-active {
  display: block;
}

.app-experience-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.app-experience-prev {
  left: -0.6rem;
}

.app-experience-next {
  right: -0.6rem;
}

.app-experience-dots {
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.app-experience-dot {
  width: 0.5rem;
  height: 0.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(100, 116, 139, 0.45);
  cursor: pointer;
  padding: 0;
}

.app-experience-dot.is-active {
  background: var(--accent-500);
}

.app-experience-card {
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.app-experience-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--dark-900);
}

.app-experience-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--dark-600);
}

@media (min-width: 900px) {
  .result-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--dark-200);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark-900);
  margin: 0 0 0.35rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--dark-500);
  margin: 0;
}

@media (max-width: 767px) {
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.9rem;
    padding: 0 0.15rem 0.35rem;
  }

  .steps::-webkit-scrollbar {
    height: 8px;
  }

  .steps::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.6);
    border-radius: 9999px;
  }

  .steps::-webkit-scrollbar-thumb {
    background: rgba(234, 88, 12, 0.35);
    border-radius: 9999px;
  }

  .step {
    flex: 0 0 85%;
    min-width: 85%;
    scroll-snap-align: start;
  }
}

/* Planos e preços */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--dark-200);
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent-500);
  background: linear-gradient(to bottom, rgba(255, 247, 237, 0.5), var(--white));
  box-shadow: var(--shadow-medium);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.pricing-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark-900);
  margin: 0 0 0.75rem;
}

.pricing-card-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-crown {
  color: var(--accent-600);
  flex-shrink: 0;
}

.pricing-card-price {
  margin-bottom: 1rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--dark-900);
}

.pricing-card-featured .pricing-amount {
  color: var(--accent-600);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--dark-500);
  font-weight: 500;
}

.pricing-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.95rem;
  color: var(--dark-700);
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pricing-check {
  color: var(--accent-500);
  font-weight: 700;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--dark-500);
  margin: 0;
}

.features {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.feature {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--dark-200);
  transition: box-shadow 0.2s, transform 0.2s;
  flex: 0 0 min(320px, 82vw);
  scroll-snap-align: start;
}

.feature:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.features::-webkit-scrollbar {
  height: 8px;
}

.features::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.6);
  border-radius: 9999px;
}

.features::-webkit-scrollbar-thumb {
  background: rgba(234, 88, 12, 0.35);
  border-radius: 9999px;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 0.8rem;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-600);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-900);
  margin: 0 0 0.4rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--dark-500);
  margin: 0;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.58rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-600);
  background: rgba(249, 115, 22, 0.12);
}

.feature-kpi {
  margin-top: 0.75rem !important;
  font-size: 0.84rem !important;
  color: var(--dark-600) !important;
  font-weight: 600;
}

.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.audience-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--dark-200);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark-900);
  margin: 0 0 0.5rem;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--dark-500);
  margin: 0 0 1rem;
}

.audience-card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--dark-600);
}

.audience-card li {
  margin-bottom: 0.35rem;
}

.cta-section {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 4rem 0;
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.cta-subtitle {
  opacity: 0.9;
  margin: 0 0 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.85;
}

.cta-note a {
  color: var(--accent-500);
  text-decoration: none;
  font-weight: 500;
}

.cta-note a:hover {
  text-decoration: underline;
}

.faq-container {
  max-width: 860px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.95rem 1rem;
}

.faq-item + .faq-item {
  margin-top: 0.75rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent-600);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin: 0.7rem 0 0;
  color: var(--dark-600);
  font-size: 0.95rem;
}

.footer {
  background: var(--dark-900);
  color: var(--dark-300);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-brand .logo-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 0 4rem;
  }
  .hero {
    padding: 4rem 0 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
}
