﻿:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: rgba(13, 13, 13, 0.82);
  --panel: rgba(8, 8, 8, 0.78);
  --panel-border: rgba(255, 209, 0, 0.14);
  --panel-border-strong: rgba(255, 209, 0, 0.34);
  --accent: #ffd400;
  --accent-strong: #ffbf00;
  --text: #f6f6f1;
  --muted: rgba(246, 246, 241, 0.72);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: 
    linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.95)),
    url('/runner.jpg?v=20260326');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.06) 35%, rgba(0, 0, 0, 0.34) 100%),
    radial-gradient(circle at 50% 24%, rgba(255, 224, 87, 0.12), transparent 26%);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  height: 100svh;
  max-height: 100svh;
  width: min(100%, 1600px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.topbar {
  display: flex;
  justify-content: center;
  padding: 8px 16px 0;
}

.brand-logo {
  width: min(200px, 24vw);
  max-width: 320px;
  filter: drop-shadow(0 0 16px rgba(255, 209, 0, 0.36));
  mix-blend-mode: screen;
  -webkit-user-drag: none;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.74fr);
  align-items: center;
  padding: 0 clamp(24px, 2.6vw, 40px) 10px;
  gap: clamp(12px, 1.8vw, 24px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding: 0 0 18px clamp(8px, 0.8vw, 10px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 590px;
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 3.55vw, 4.15rem);
  line-height: 0.94;
  letter-spacing: -0.058em;
  font-weight: 900;
  text-wrap: balance;
}

.lead {
  margin: 14px 0 18px;
  max-width: 560px;
  color: rgba(246, 246, 241, 0.74);
  font-size: clamp(0.96rem, 1.05vw, 1.08rem);
  line-height: 1.5;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 209, 0, 0.38);
  background: rgba(255, 209, 0, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28) inset;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-art {
  position: absolute;
  inset: 0 22% 0 29%;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
  mix-blend-mode: multiply;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: 74vh;
  object-fit: contain;
  object-position: center top;

  /* AJUSTE AQUI */
  filter: brightness(0.9);
  opacity: 1;

  transform: translateY(4%) scale(0.95);
}

.form-shell {
  position: relative;
  z-index: 3;
  justify-self: end;
  width: min(100%, 470px);
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 18px 20px 20px;
  border-radius: 22px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

label,
legend {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 209, 0, 0.18);
  background: rgba(7, 7, 7, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

input::placeholder {
  color: rgba(246, 246, 241, 0.45);
}

input:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.16);
  transform: translateY(-1px);
}

.choice-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.days-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.periods-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-chip {
  min-height: 48px;
  padding: 10px 9px;
  border-radius: 14px;
  border: 1px solid rgba(255, 209, 0, 0.16);
  background: rgba(9, 9, 9, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.05;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.choice-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 209, 0, 0.32);
}

.choice-chip.selected {
  border-color: var(--accent);
  background: rgba(255, 209, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 209, 0, 0.12) inset;
}

.cta {
  min-height: 56px;
  margin-top: 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #1a1a16;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 28px rgba(255, 209, 0, 0.2);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 209, 0, 0.28);
}

.cta:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.feedback {
  min-height: 1.1em;
  margin: 0;
  color: rgba(246, 246, 241, 0.74);
  font-size: 0.85rem;
  font-weight: 700;
}

.feedback.loading {
  color: #ffe8a6;
}

.feedback.success {
  color: #c8ffbf;
}

.feedback.error {
  color: #ffb2b2;
}

.site-footer {
  padding: 4px 16px 8px;
  text-align: center;
  color: rgba(246, 246, 241, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1220px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 16px;
  }

  .hero-art {
    inset: 52px 8% 0 34%;
  }

  .form-shell {
    justify-self: start;
    width: min(100%, 540px);
    margin-top: 6px;
  }
}

@media (max-width: 860px) {
  .page {
    height: auto;
    max-height: none;
    min-height: 100svh;
    overflow: visible;
  }

  body {
    background-position: center top;
  }

  .brand-logo {
    width: min(220px, 54vw);
  }

  .hero {
    align-items: start;
    gap: 14px;
    padding: 6px 12px 16px;
  }

  .hero-copy {
    max-width: 100%;
    padding: 4px 6px 10px;
  }

  .form-shell {
    width: 100%;
    justify-self: stretch;
    margin-top: 2px;
  }

  .lead-form {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    gap: 10px;
  }

  .site-footer {
    padding: 10px 12px calc(16px + env(safe-area-inset-bottom));
    line-height: 1.3;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 12px 2px;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.28em;
  }

  h1 {
    font-size: clamp(1.85rem, 10.2vw, 2.8rem);
    line-height: 0.98;
    max-width: 100%;
  }

  h1 br {
    display: none;
  }

  .lead {
    font-size: 0.92rem;
    margin: 12px 0 14px;
  }

  .hero-pill {
    font-size: 0.85rem;
    padding: 8px 10px;
    width: 100%;
    justify-content: center;
  }

  .choice-grid,
  .days-grid,
  .periods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-chip {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .cta {
    min-height: 52px;
    font-size: 0.92rem;
    width: 100%;
    padding: 14px 12px;
  }

  .site-footer {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

@media (hover: none) and (pointer: coarse) {
  .choice-chip {
    transition: border-color 80ms ease, background 80ms ease, box-shadow 80ms ease;
  }

  .cta {
    transition: opacity 90ms ease, box-shadow 90ms ease;
  }
}

@media (max-height: 860px) and (min-width: 961px) {
  .page {
    height: 100vh;
    max-height: 100vh;
  }

  .topbar {
    padding-top: 4px;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 6px;
  }

  .lead-form {
    gap: 10px;
    padding: 16px 18px 18px;
  }

  .choice-grid {
    gap: 7px;
  }
}
