/* ── Reset & Variables ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #07100a;
  --surface:     #0d1a0f;
  --surface-2:   #122014;
  --border:      #1c3020;
  --accent:      #C1502E;
  --accent-h:    #d96040;
  --text:        #F0EBE4;
  --muted:       #6a8c72;
  --max-w:       1100px;
  --nav-h:       68px;
  --r:           0.55rem;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

/* ── Utility ────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.btn-land {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-land:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 14px rgba(193,80,46,.35);
}
.btn-primary:hover { background: var(--accent-h); box-shadow: 0 4px 20px rgba(193,80,46,.5); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(240,235,228,.25);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(240,235,228,.06); }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}

.section-sub {
  font-size: .95rem; color: var(--muted);
  max-width: 520px;
}

/* Fade-in on scroll */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.land-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.land-nav.scrolled {
  background: rgba(7,16,10,.88);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.land-nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo svg { height: 38px; width: auto; }

.nav-links {
  display: none;
  gap: 2rem;
  font-size: .85rem; font-weight: 500; color: var(--muted);
  list-style: none;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

@media (min-width: 700px) { .nav-links { display: flex; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, #0d2e14 0%, var(--bg) 70%);
}

/* Subtle court lines decoration */
.hero-court {
  position: absolute; inset: 0; z-index: 0;
  opacity: .06;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
}

.hero-logo { margin: 0 auto 2rem; }
.hero-logo svg { width: min(320px, 85vw); height: auto; margin: 0 auto; }

.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 400; letter-spacing: .06em;
  color: var(--text); opacity: .85;
  margin-bottom: .6rem;
}

.hero-sub {
  font-size: clamp(.85rem, 2vw, 1rem);
  color: var(--muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; opacity: .35;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Diferenciais ───────────────────────────────────────────────────────── */
.diferenciais {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.diferenciais .header {
  text-align: center; margin-bottom: 3.5rem;
}
.diferenciais .section-sub { margin: 0 auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.dif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.5);
  padding: 1.75rem 1.5rem;
  transition: border-color .25s, transform .25s;
}
.dif-card:hover {
  border-color: rgba(193,80,46,.4);
  transform: translateY(-3px);
}
.dif-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(193,80,46,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.dif-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.dif-card h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: .4rem;
}
.dif-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── Agendar Avulso ─────────────────────────────────────────────────────── */
.agendar-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 0;
}

.agendar-inner {
  display: flex; flex-direction: column; gap: 3rem;
  align-items: center;
}

@media (min-width: 800px) {
  .agendar-inner { flex-direction: row; align-items: flex-start; gap: 4rem; }
  .agendar-text { flex: 1; }
  .agendar-widget { flex: 1; max-width: 420px; }
}

.agendar-text .section-sub { max-width: 400px; }

.agendar-widget {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 2);
  padding: 1.75rem;
}

.agendar-widget h3 {
  font-size: .95rem; font-weight: 600; margin-bottom: 1.25rem;
  color: var(--text);
}

.aw-field { margin-bottom: 1rem; }
.aw-field label {
  display: block; font-size: .75rem; font-weight: 600;
  color: var(--muted); margin-bottom: .35rem; letter-spacing: .04em;
}
.aw-field input, .aw-field select {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .65rem .85rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  appearance: none; -webkit-appearance: none;
  color-scheme: dark;
}
.aw-field input:focus, .aw-field select:focus { border-color: var(--accent); }
.aw-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a8c72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.2rem; }
.aw-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.6) sepia(1) hue-rotate(310deg) saturate(.6); cursor: pointer; }

.aw-notice {
  display: flex; align-items: flex-start; gap: .5rem;
  background: rgba(193,80,46,.08);
  border: 1px solid rgba(193,80,46,.2);
  border-radius: var(--r);
  padding: .7rem .85rem;
  font-size: .8rem; color: var(--muted);
  margin-bottom: 1.25rem;
}
.aw-notice svg { flex-shrink: 0; margin-top: 1px; stroke: var(--accent); }

.agendar-preco {
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Cinzel', Georgia, serif;
  color: var(--text);
}

/* ── Aviso de pré-lançamento ────────────────────────────────────────────── */
.aviso-fechado {
  background: rgba(224,160,64,.12);
  border: 1px solid rgba(224,160,64,.35);
  border-radius: var(--r);
  color: #e0a040;
  font-size: .85rem;
  line-height: 1.55;
  padding: .7rem .9rem;
  margin-bottom: 1rem;
}
.aviso-fechado--centro { max-width: 560px; margin: 1.25rem auto 0; text-align: center; }

/* ── Planos ─────────────────────────────────────────────────────────────── */
.planos-section { padding: 6rem 0; }

.planos-section .header { text-align: center; margin-bottom: 3.5rem; }
.planos-section .section-sub { margin: 0 auto; }

.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.plano-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.5);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.plano-card:hover { border-color: rgba(193,80,46,.4); transform: translateY(-3px); }
.plano-card.destaque {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 60%, rgba(193,80,46,.08));
}

.plano-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .5rem;
}
.plano-nome {
  font-family: 'Cinzel', serif; font-size: 1.05rem;
  font-weight: 700; margin-bottom: .25rem;
}
.plano-duracao { font-size: .78rem; color: var(--muted); margin-bottom: 1.25rem; }

.plano-preco { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .25rem; }
.plano-preco .cifrao { font-size: .85rem; color: var(--muted); }
.plano-preco .valor { font-size: 2rem; font-weight: 700; line-height: 1; }
.plano-preco .periodo { font-size: .78rem; color: var(--muted); }
.plano-total { font-size: .78rem; color: var(--muted); margin-bottom: 1.5rem; }
.plano-pix { font-size: .75rem; color: #6fcf97; margin-top: .2rem; }

.plano-features { list-style: none; margin-bottom: 1.75rem; flex: 1; }
.plano-features li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .83rem; color: var(--muted); padding: .3rem 0;
  border-bottom: 1px solid var(--border);
}
.plano-features li:last-child { border: none; }
.plano-features li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.plano-cta { width: 100%; margin-top: auto; }

/* ── Contato ────────────────────────────────────────────────────────────── */
.contato-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.contato-section .header { margin-bottom: 2.5rem; }

.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contato-item { display: flex; align-items: flex-start; gap: .85rem; }
.contato-icon {
  width: 40px; height: 40px; border-radius: 9px;
  background: rgba(193,80,46,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contato-icon svg { width: 18px; height: 18px; stroke: var(--accent); }
.contato-label { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .15rem; }
.contato-value { font-size: .9rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.land-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.land-footer .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.footer-logo svg { height: 28px; width: auto; opacity: .6; }
.footer-links {
  display: flex; gap: 1.5rem; list-style: none;
  font-size: .8rem; color: var(--muted);
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-legal { font-size: .72rem; color: var(--muted); opacity: .6; margin-top: .25rem; }

/* ── Divider line ───────────────────────────────────────────────────────── */
.accent-line {
  width: 40px; height: 2px; background: var(--accent);
  margin: .75rem 0 1.25rem;
}
.accent-line.center { margin-left: auto; margin-right: auto; }

/* ── Booking slots ──────────────────────────────────────────────────────── */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: .4rem; margin: .75rem 0 .4rem;
}
.slot-btn {
  padding: .45rem .3rem; border-radius: var(--r);
  font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500;
  text-align: center; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,.05); color: var(--text);
  transition: background .15s, border-color .15s, opacity .15s;
}
.slot-btn.disponivel:hover { background: rgba(111,207,151,.15); border-color: rgba(111,207,151,.5); }
.slot-btn.selecionado { background: rgba(193,80,46,.18); border-color: var(--accent); }
.slot-btn.ocupado { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.slot-btn.bloqueado_ranking { opacity: .5; cursor: not-allowed; color: #e0a040; border-color: rgba(224,160,64,.3); }
.slots-legenda { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: var(--muted); margin-top: .35rem; }
.leg-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.leg-dot.disp { background: rgba(111,207,151,.7); }
.leg-dot.ocup { background: rgba(255,255,255,.2); }
.leg-dot.rank { background: rgba(224,160,64,.7); }
.bk-back { background: none; border: none; color: var(--muted); cursor: pointer; font-family: 'Inter', sans-serif; font-size: .82rem; padding: 0 0 .75rem; display: block; }
.bk-back:hover { color: var(--text); }
.bk-resumo { background: rgba(193,80,46,.07); border: 1px solid rgba(193,80,46,.2); border-radius: var(--r); padding: .75rem 1rem; }
.bk-resumo-sm { padding: .5rem .85rem; }
.bk-r-data { font-size: .8rem; color: var(--muted); margin-bottom: .15rem; }
.bk-r-hora { font-size: 1.15rem; font-weight: 700; }
.bk-r-preco { font-size: .88rem; color: var(--accent); font-weight: 600; margin-top: .2rem; }

/* ── Toggle modalidade (Simples / Duplas) ───────────────────────────────── */
.modalidade-toggle { display: flex; gap: .4rem; }
.mod-btn {
  flex: 1; padding: .55rem .5rem; border-radius: var(--r);
  font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
}
.mod-btn.active { background: rgba(193,80,46,.12); border-color: var(--accent); color: var(--text); font-weight: 600; }
.mod-btn:hover:not(.active) { border-color: rgba(240,235,228,.25); color: var(--text); }

/* ── Toggle duração (1h / 2h / 3h / 4h) ─────────────────────────────────── */
.duracao-toggle { display: flex; gap: .4rem; }
.dur-btn {
  flex: 1; padding: .45rem .25rem; border-radius: var(--r);
  font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
}
.dur-btn.active { background: rgba(193,80,46,.12); border-color: var(--accent); color: var(--text); font-weight: 600; }
.dur-btn:hover:not(.active) { border-color: rgba(240,235,228,.25); color: var(--text); }

/* ── Toggle pagamento (PIX / Cartão) ────────────────────────────────────── */
.pmt-toggle { display: flex; gap: .4rem; margin-bottom: .2rem; }
.pmt-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem .5rem; border-radius: var(--r);
  font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
}
.pmt-btn.active { background: rgba(193,80,46,.12); border-color: var(--accent); color: var(--text); font-weight: 600; }
.pmt-btn:hover:not(.active) { border-color: rgba(240,235,228,.25); color: var(--text); }

/* ── Modal de reserva ───────────────────────────────────────────────────── */
.bm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.bm-overlay[hidden] { display: none; }
.bm-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: calc(var(--r)*2); padding: 2rem 1.75rem; width: 100%; max-width: 440px; max-height: 90dvh; overflow-y: auto; position: relative; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.bm-card::-webkit-scrollbar { width: 4px; }
.bm-card::-webkit-scrollbar-track { background: transparent; }
.bm-card::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.bm-card::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.bm-fechar { position: absolute; top: .85rem; right: 1rem; background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: .2rem .45rem; border-radius: var(--r); }
.bm-fechar:hover { background: rgba(255,255,255,.08); color: var(--text); }
.bm-title { font-family: 'Cinzel', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; padding-right: 1.5rem; }
.bm-tabs { display: flex; gap: .4rem; margin: .85rem 0 1rem; border-bottom: 1px solid var(--border); }
.bm-tab { background: none; border: none; padding: .5rem .85rem; font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.bm-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.bm-erro { color: #f08080; font-size: .82rem; background: rgba(240,80,80,.1); border-radius: var(--r); padding: .5rem .75rem; margin-bottom: .75rem; }

/* ── Modal Contratar Plano ───────────────────────────────────────────────── */
.pl-regras-scroll { max-height: 260px; overflow-y: auto; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r); padding: .85rem 1rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.pl-regras-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.pl-regras-list li { font-size: .82rem; color: var(--muted); line-height: 1.55; border-left: 2px solid var(--accent); padding-left: .65rem; }
.pl-regras-list li strong { color: var(--text); display: block; margin-bottom: .15rem; font-size: .84rem; }
.pl-step-row { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--border); }
.pl-step-row:first-child { border-top: none; padding-top: 0; }
.pl-step-num { flex-shrink: 0; width: 1.7rem; height: 1.7rem; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; font-family: 'Inter', sans-serif; margin-top: .1rem; }
.pl-step-titulo { font-size: .9rem; font-weight: 600; color: var(--text); margin: 0 0 .25rem; }
.pl-step-desc { font-size: .8rem; color: var(--muted); margin: 0; }
.pl-app-guide { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r); padding: .9rem 1rem; }
