:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --bg-3: #1b1b1e;
  --line: #2a2a2e;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --orange: #ff7a00;
  --orange-2: #ff9a3c;
  --green: #22c55e;
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font: 600 .78rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--orange);
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font: 600 .95rem/1 var(--body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #111; }
.btn--primary:hover { background: var(--orange-2); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo__img { height: 50px; width: auto; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { font-size: .92rem; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--text); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); }
.hero__glow {
  position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255, 122, 0, .28), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__logo { width: min(440px, 80vw); height: auto; margin: 0 0 2rem -6px; filter: drop-shadow(0 8px 30px rgba(255, 122, 0, .25)); }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800; font-style: italic; text-transform: uppercase;
}
.hero h1 span { color: var(--orange); }
.hero__lead { max-width: 560px; margin-top: 1.5rem; color: var(--muted); font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__stats {
  list-style: none; padding: 0; margin: 3.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 1.5rem;
  border-top: 1px solid var(--line); padding-top: 1.5rem;
}
.hero__stats strong { display: block; font: 800 2rem/1 var(--head); color: var(--text); }
.hero__stats span { display: block; margin-top: .35rem; font-size: .85rem; line-height: 1.35; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section__sub { color: var(--muted); max-width: 460px; }

/* ---------- Investimento / Como funciona ---------- */
.pricing {
  position: relative; padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 122, 0, .18), transparent 60%), var(--bg-2);
  border-block: 1px solid var(--line);
}
.pricing__head { text-align: center; margin-bottom: 2.5rem; }
.pricing__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.pricing__head h2 span { color: var(--orange); }
.pricing__head .section__sub { margin: .75rem auto 0; }
.pricing__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, #1d1d21, var(--bg-3));
  border: 1px solid rgba(255, 122, 0, .45); border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, .08), 0 20px 50px -30px rgba(255, 122, 0, .6);
}
.plan__top { display: flex; gap: 1rem; align-items: center; }
.plan__icon { flex: 0 0 56px; width: 56px; height: 56px; padding: 12px; border-radius: 14px; background: rgba(255, 122, 0, .14); stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan__label { font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.plan__value { font: 800 clamp(2.6rem, 6vw, 3.6rem)/1 var(--head); color: var(--orange); margin-top: .35rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.plan__value small { font-size: .5em; margin-left: -.5rem; }
.plan__value em { font: 700 .9rem/1.1 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--text); background: var(--orange); color: #111; padding: .3rem .55rem; border-radius: 6px; align-self: center; }
.plan__desc { margin: 1.1rem 0 1.25rem; font-weight: 500; }
.plan__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.plan__list li { position: relative; padding-left: 1.9rem; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.pricing__plus { align-self: center; font: 800 4rem/1 var(--head); color: var(--orange); text-shadow: 0 0 24px rgba(255, 122, 0, .5); }
.pricing__note {
  margin-top: 1.25rem; display: flex; align-items: center; gap: 1.5rem;
  border: 1px solid rgba(255, 122, 0, .45); border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 122, 0, .16), rgba(255, 122, 0, .03));
  padding: 1.25rem 1.5rem;
}
.pricing__note svg { flex: 0 0 84px; width: 84px; fill: var(--orange); }
.pricing__note h3 { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: var(--orange); }
.pricing__note p { color: var(--text); opacity: .85; margin-top: .25rem; font-size: .95rem; }
.pricing__note .btn { margin-left: auto; flex-shrink: 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--muted); }
.field--grow { flex: 1 1 260px; }
input, select, textarea {
  width: 100%;
  background: var(--bg-3); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem 1rem; font: inherit; font-size: .95rem;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }
select { cursor: pointer; appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.results-count { color: var(--muted); font-size: .88rem; margin-bottom: 1.25rem; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.car {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit; padding: 0;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.car:hover, .car:focus-visible { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 16px 40px -20px rgba(255, 122, 0, .45); outline: none; }
.car__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.car:hover .car__media img { transform: scale(1.04); }
.badges { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.badge { font: 600 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: .4rem .6rem; border-radius: 6px; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.badge--orange { background: var(--orange); color: #111; }
.badge--green { background: var(--green); color: #052e12; }
.badge--warn { background: #facc15; color: #2a2100; }
.car__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.car__brand { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.car__title { font: 800 1.6rem/1 var(--head); text-transform: uppercase; }
.car__versao { font-size: .88rem; color: var(--muted); }
.car__meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.car__price { margin-top: auto; padding-top: .9rem; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.price { font: 800 1.7rem/1 var(--head); color: var(--orange); }
.price--consult { font-size: 1.2rem; color: var(--text); }
.fipe { font-size: .75rem; color: var(--muted); text-align: right; }
.fipe b { color: var(--green); font-weight: 600; display: block; }
.car.is-sold { opacity: .55; }
.car.is-sold .car__media img, .car.is-sold .car__media svg { filter: grayscale(1); }

.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, #232327, var(--bg-3) 70%); }
.placeholder svg { width: 62%; color: #3a3a40; }
.placeholder span { position: absolute; bottom: .75rem; right: .9rem; font-size: .7rem; color: #5a5a62; letter-spacing: .1em; text-transform: uppercase; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); display: grid; gap: 1rem; justify-items: center; }

/* ---------- Agenciamento ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.25rem; }
.steps li { display: flex; gap: 1.25rem; align-items: flex-start; }
.steps b { font: italic 800 2rem/1 var(--head); color: var(--orange); min-width: 2.6rem; }
.steps p { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.card-form {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem;
}
.card-form h3 { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
.card-form > p { color: var(--muted); font-size: .9rem; margin-top: -.5rem; }
.card-form input, .card-form textarea { background: var(--bg-2); }
.card-form .field span { color: var(--text); font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea { resize: vertical; }
.form-error { color: #f87171; font-size: .85rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.feature svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: rgba(255,122,0,.12); stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.25rem; }
.feature p { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

/* ---------- CTA ---------- */
.section--cta { background: linear-gradient(120deg, #1a0e03, var(--bg) 60%); border-top: 1px solid var(--line); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta p { color: var(--muted); margin-top: .5rem; }
.cta__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .35rem; color: var(--muted); font-size: .92rem; }
.contact-list b { color: var(--text); font-weight: 500; }

.footer { border-top: 1px solid var(--line); padding: 1.5rem 0 5rem; font-size: .8rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Modal ---------- */
.modal {
  width: min(1080px, 100% - 32px); max-height: calc(100vh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg-2); color: var(--text);
}
.modal::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.modal__body { display: grid; grid-template-columns: 1.3fr 1fr; }
.gallery { background: #000; display: flex; flex-direction: column; }
.gallery__main { aspect-ratio: 4 / 3; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: .5rem; padding: .5rem; overflow-x: auto; }
.gallery__thumbs button { flex: 0 0 80px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; }
.gallery__thumbs button.is-active { border-color: var(--orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: 2rem; display: flex; flex-direction: column; gap: .75rem; overflow-y: auto; }
.modal__info h2 { font-size: 2.4rem; }
.modal__info .eyebrow { margin: 0; }
.modal__versao { color: var(--muted); }
.modal__price { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: .75rem 0; border-block: 1px solid var(--line); }
.modal__price .price { font-size: 2.4rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; margin: .25rem 0; }
.specs div { background: var(--bg-3); border-radius: 10px; padding: .6rem .8rem; }
.specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.modal__desc { color: var(--muted); font-size: .95rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .78rem; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.modal__info .btn { margin-top: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .modal__body { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; gap: .5rem; }
  .pricing__plus { justify-self: center; font-size: 3rem; }
  .pricing__note { flex-wrap: wrap; }
  .pricing__note .btn { margin-left: 0; width: 100%; }
  .pricing__note svg { flex-basis: 64px; width: 64px; }
  .header__cta { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 16px; border-top: 1px solid var(--line); color: var(--text); }
  .modal__info { padding: 1.25rem; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .hero__stats strong { font-size: 1.5rem; }
  .hero__stats span { font-size: .72rem; }
  .filters .field:not(.field--grow) { flex: 1 1 calc(50% - .4rem); }
  .row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}
