:root {
  --ink: #111318;
  --muted: #626773;
  --paper: #f5f5f2;
  --white: #ffffff;
  --line: #dadde2;
  --brand: #f15a24;
  --brand-dark: #c83d0b;
  --whatsapp: #168a48;
  --danger: #bb2525;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(17, 19, 24, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input, select { font: inherit; }
button { cursor: pointer; }

.topbar {
  min-height: 78px;
  padding: 14px clamp(20px, 6vw, 90px);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--brand); color: var(--white); border-radius: 12px;
  font-weight: 950; font-style: italic; font-size: 1.6rem;
}
.brand strong, .brand small { display: block; letter-spacing: .13em; line-height: 1; }
.brand strong { font-size: .95rem; }
.brand small { margin-top: 5px; color: var(--brand); font-weight: 900; font-size: .7rem; }
.event-date { font-weight: 800; font-size: .84rem; letter-spacing: .09em; }

.hero {
  min-height: 490px;
  padding: 78px clamp(20px, 8vw, 130px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 36%, rgba(241, 90, 36, .42), transparent 24%),
    linear-gradient(120deg, #111318 0%, #1f232b 66%, #101216 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
}
.hero h1 { max-width: 780px; margin: 10px 0 22px; font-size: clamp(2.4rem, 5.7vw, 5.25rem); line-height: .98; letter-spacing: -.055em; }
.hero p:not(.eyebrow) { max-width: 660px; color: #c9cdd5; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.eyebrow { margin: 0; color: var(--brand); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero .button { margin-top: 18px; }
.hero-badge {
  width: min(100%, 330px); aspect-ratio: 1; justify-self: end;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  display: grid; grid-template-columns: 1fr auto 1fr; place-items: center;
  padding: 45px; position: relative; transform: rotate(-5deg);
  box-shadow: inset 0 0 0 15px rgba(255,255,255,.03);
}
.hero-badge span { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 950; letter-spacing: -.08em; }
.hero-badge i { color: var(--brand); font-size: 2rem; }
.hero-badge small { position: absolute; bottom: 28%; font-weight: 900; letter-spacing: .3em; color: #c9cdd5; }

.button {
  min-height: 52px; border: 0; border-radius: 999px; padding: 0 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 850; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(241,90,36,.28); outline-offset: 2px; }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button-primary { color: var(--white); background: var(--brand); box-shadow: 0 12px 32px rgba(241,90,36,.3); }
.button-primary:hover { background: var(--brand-dark); }
.button-whatsapp { color: var(--white); background: var(--whatsapp); }
.button-whatsapp:hover { background: #0f733a; }
.button-ghost { color: var(--ink); background: #eceeea; }

.scheduler { max-width: 1180px; margin: -42px auto 80px; padding: clamp(26px, 5vw, 58px); background: var(--white); border-radius: 28px; box-shadow: var(--shadow); position: relative; }
.scheduler-heading { max-width: 720px; }
.scheduler h2 { margin: 7px 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.scheduler-heading > p:last-child { margin: 0; color: var(--muted); }
.steps { margin: 34px 0 28px; display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.step { display: flex; align-items: center; gap: 9px; color: #969aa3; font-size: .88rem; font-weight: 750; }
.step b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: #a6aab2; }
.step.is-active { color: var(--ink); }
.step.is-active b { background: var(--brand); }
fieldset { margin: 0; padding: 0; border: 0; }
.dealer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dealer-card {
  min-height: 132px; padding: 20px 16px; border: 2px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px;
  position: relative; cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dealer-card:hover { transform: translateY(-2px); border-color: #b5b9c1; box-shadow: 0 12px 28px rgba(17,19,24,.08); }
.dealer-card input { position: absolute; opacity: 0; pointer-events: none; }
.dealer-card:has(input:checked) { border-color: var(--brand); background: #fff7f3; box-shadow: 0 10px 25px rgba(241,90,36,.1); }
.dealer-logos {
  width: 100%; height: 48px; padding-right: 25px;
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
}
.dealer-logos img {
  display: block; width: auto; max-width: 100%; height: auto; max-height: 44px;
  object-fit: contain; object-position: left center;
}
.dealer-logos img:nth-last-child(2):first-child,
.dealer-logos img:nth-last-child(2):first-child ~ img { max-width: calc(50% - 6px); max-height: 38px; }
.dealer-card strong { font-size: 1rem; }
.check { position: absolute; right: 13px; top: 13px; width: 23px; height: 23px; border-radius: 50%; display: none; place-items: center; color: var(--white); background: var(--brand); font-size: .78rem; font-weight: 900; }
.dealer-card:has(input:checked) .check { display: grid; }
.form-step[hidden] { display: none; }
.form-step.is-active { animation: enter .3s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-actions-end { justify-content: flex-end; }
.selected-dealer { margin-bottom: 24px; padding: 15px 18px; border-left: 4px solid var(--brand); background: #f5f5f2; border-radius: 0 12px 12px 0; }
.selected-dealer span, .selected-dealer strong { display: block; }
.selected-dealer span { color: var(--muted); font-size: .77rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.selected-dealer strong { margin-top: 3px; font-size: 1.13rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; font-weight: 750; }
.field-wide { grid-column: span 1; }
.field input, .field select { width: 100%; height: 52px; padding: 0 15px; color: var(--ink); background: var(--white); border: 1px solid #cfd2d8; border-radius: 12px; }
.field input::placeholder { color: #999ea8; }
.has-error input, .has-error select, .has-error.dealer-card { border-color: var(--danger); }
.field-error { min-height: 18px; margin: 7px 0 0; display: block; color: var(--danger); font-size: .79rem; font-weight: 650; }
.consent { margin-top: 22px; display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: .88rem; cursor: pointer; }
.consent input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--brand); flex: 0 0 auto; }
.form-message { margin-top: 15px; padding: 0; border-radius: 11px; font-weight: 750; }
.form-message.is-error, .form-message.is-success { padding: 12px 14px; }
.form-message.is-error { color: #8d1818; background: #fff0f0; }
.form-message.is-success { color: #116436; background: #eaf8f0; }
.form-note { max-width: 700px; margin: 15px 0 0 auto; color: var(--muted); text-align: right; font-size: .78rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
footer { padding: 0 20px 45px; color: var(--muted); text-align: center; font-size: .8rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 65px; padding-bottom: 90px; }
  .hero-badge { display: none; }
  .scheduler { margin: -34px 16px 55px; border-radius: 22px; }
  .dealer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topbar { min-height: 68px; padding: 10px 16px; }
  .event-date { font-size: .68rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { padding: 54px 20px 78px; }
  .hero h1 { font-size: 2.55rem; }
  .scheduler { padding: 26px 18px; }
  .steps { align-items: flex-start; }
  .step { font-size: .74rem; }
  .dealer-grid { gap: 10px; }
  .dealer-card { min-height: 112px; padding: 15px 12px; }
  .dealer-logos { height: 42px; padding-right: 22px; gap: 8px; }
  .dealer-logos img { max-height: 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .form-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
