:root {
  --black: #000000;
  --bg: #050505;
  --bg-alt: #0b0b0b;
  --surface: #101010;
  --surface-2: #151515;
  --line: #1e1a10;
  --line-2: #2a2416;
  --gold: #e8b23a;
  --gold-hover: #f6cf6e;
  --text: #f2f2f2;
  --muted: #b0b0b0;
  --muted-2: #8f8f8f;
  --display: "Michroma", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.stack-sm { display: flex; flex-direction: column; gap: 20px; }
.center { display: flex; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(5,5,5,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand img { width: 93px; height: 52px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: #d6d6d6; }
.main-nav a:hover { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; border: 1px solid var(--gold); transition: background .15s, color .15s; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-solid { background: var(--gold); color: #0a0a0a; }
.btn-solid:hover { background: var(--gold-hover); color: #0a0a0a; }
.btn-outline { background: transparent; color: var(--gold); font-weight: 600; }
.btn-outline:hover { background: rgba(232,178,58,.1); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.actions.left { justify-content: flex-start; }

/* Hero */
.hero { background: var(--black); padding: 56px 0 88px; border-bottom: 1px solid var(--line); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero-logo { width: 100%; max-width: 760px; }
.kicker { font-family: var(--display); font-size: 12px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4.4vw, 56px); line-height: 1.2; max-width: 980px; }
.lead { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 680px; }

/* Perks */
.perks { padding: 36px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.perk { display: flex; gap: 14px; align-items: center; }
.perk svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.perk-title { font-weight: 600; font-size: 15px; }
.perk-text { font-size: 14px; color: #9c9c9c; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head.narrow { max-width: 640px; }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 12px; }
.body { font-size: 17px; line-height: 1.7; color: var(--muted); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: center; }
.two-col.top { align-items: stretch; }

/* Filters + cars */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: #d6d6d6; border: 1px solid #3a3a3a; }
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.car { background: var(--surface); border: 1px solid #242018; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.car-photo { aspect-ratio: 16 / 10; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; color: #8a8a8a; font-size: 13px; }
.car-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car-photo svg { width: 84px; height: 40px; color: #5a4a24; stroke-width: 2; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #0a0a0a; font-size: 12px; font-weight: 700; }
.car-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.car-body h3 { font-size: 19px; }
.car-specs { font-size: 14px; color: #a3a3a3; }
.car-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #242018; }
.price { font-size: 22px; font-weight: 700; color: var(--gold); }
.car-foot .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed #333; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty p:first-child { font-size: 20px; font-weight: 600; color: var(--text); }
.empty p { max-width: 560px; }
.empty .btn { margin-top: 6px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: #121212; border: 1px solid #242018; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 20px; }
.card p { font-size: 15px; line-height: 1.6; color: #a8a8a8; }

/* Steps + form */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.steps li::before { content: counter(s); display: inline-flex; width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.form-card { background: var(--surface); border: 1px solid #2e2715; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-card label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: #d6d6d6; }
.form-card input { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid #333; background: #0a0a0a; color: var(--text); font: inherit; font-size: 15px; }
.form-card input::placeholder { color: #6e6e6e; }
.form-card input:focus { border-color: var(--gold); outline: none; }
.form-card input[aria-invalid="true"] { border-color: #ff8a5c; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.form-error { color: #ff9f7a; font-size: 14px; }

/* Placeholders */
.placeholder { border-radius: 22px; background: var(--surface-2); border: 1px solid #242018; display: flex; align-items: center; justify-content: center; color: #8a8a8a; font-size: 14px; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.photo { border-radius: 22px; overflow: hidden; border: 1px solid #242018; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
#sobre-texto:empty { display: none; }
.insta-post { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid #242018; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta-post:hover img { transform: scale(1.04); }
.square { aspect-ratio: 1; border-radius: 14px; font-size: 13px; }
.map { min-height: 340px; overflow: hidden; border-radius: 22px; border: 1px solid #242018; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 45%), 1fr)); gap: 12px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; font-size: 16px; color: #d0d0d0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-inner img { width: 100px; height: 56px; }
.footer-inner p { font-size: 14px; color: var(--muted-2); }
.footer-inner a { font-size: 14px; font-weight: 600; }

/* Floating WhatsApp */
.whats-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 60px; height: 60px; border-radius: 999px; background: var(--gold); color: #0a0a0a; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(232,178,58,.35); }
.whats-float:hover { color: #0a0a0a; background: var(--gold-hover); }
.whats-float svg, .btn svg { stroke-width: 2; }

/* Aviso de cookies */
.consent { position: fixed; left: 16px; right: 96px; bottom: 16px; z-index: 40; max-width: 560px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 10px 40px rgba(0,0,0,.6); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: #d6d6d6; }
.consent p { flex: 1 1 220px; }
.consent-actions { display: flex; gap: 10px; }

/* Aviso de pendências (só aparece na prévia local) */
.dev-note { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 10px 48px 10px 16px; background: #ff8a5c; color: #000; font-size: 13px; line-height: 1.4; }
.dev-note button { position: absolute; top: 4px; right: 8px; width: 32px; height: 32px; border: 0; background: none; font-size: 22px; cursor: pointer; color: #000; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-logo { max-width: 340px; }
  .hero-inner { gap: 22px; }
  .consent { right: 16px; bottom: 88px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px 16px; font-size: 14px; }
  .hero { padding: 32px 0 64px; }
  .whats-float { right: 16px; bottom: 16px; }
}

@media print {
  .site-header, .whats-float { position: static; }
}
