:root {
  --background: #0e2926;
  --surface: #163b37;
  --surface-raised: #1c4642;
  --border: #2c5450;
  --text-primary: #f7f5f0;
  --text-secondary: #b9cfcb;
  --text-tertiary: #7fa29c;
  --accent: #e8793a;
  --accent-strong: #d96a2e;
  --success: #6fe0b8;
  --whatsapp: #25d366;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.5;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: #1a1004;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 41, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-mark {
  color: var(--accent);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .header-actions .btn-ghost {
    display: none;
  }
}

/* Hero */

.hero {
  padding: 72px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

.hero-copy .lead {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.court-svg {
  width: 100%;
  max-width: 360px;
  color: var(--border);
}

.ball-accent {
  color: var(--accent);
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .court-svg {
    max-width: 280px;
  }
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(24px, 3.4vw, 32px);
}

.section-sub {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 56ch;
}

/* Como funciona */

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(232, 121, 58, 0.16);
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.step h3 {
  margin-top: 16px;
  font-size: 17px;
}

.step p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Funcionalidades */

.feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 121, 58, 0.16);
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card p {
  color: var(--text-primary);
  font-size: 14.5px;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */

.eyebrow-center {
  text-align: center;
}

.section-title-center,
.section-sub-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-sub-center {
  max-width: 60ch;
}

.pricing-card {
  margin: 40px auto 0;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 32px 30px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.pricing-card-header {
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  background: rgba(232, 121, 58, 0.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-value {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-trial {
  margin-top: 8px;
  color: var(--success);
  font-size: 13.5px;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-primary);
}

.pricing-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.pricing-card .btn {
  margin-top: 28px;
}

.pricing-footnote {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* Team */

.team-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
}

.team-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.team-card h3 {
  margin-top: 16px;
  font-size: 17px;
}

.team-role {
  margin-top: 4px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.team-bio {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA band */

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 96px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

/* WhatsApp floating button */

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #0a2b17;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 30;
  transition: transform 0.15s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

/* Contact modal */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 16, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px 24px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal h2 {
  font-size: 20px;
  padding-right: 24px;
}

.modal-sub {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 13.5px;
}

.field-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field span {
  display: block;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-feedback {
  min-height: 18px;
  margin-top: 14px;
  font-size: 13px;
}

.form-feedback[data-state="error"] {
  color: #ff9d8e;
}

.form-feedback[data-state="success"] {
  color: var(--success);
}

.modal #form-submit {
  margin-top: 8px;
}
