* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; background: #050505; color: #eee; line-height: 1.5; }

a { color: #e8c547; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 18px; }

/* Barra do telefone (estilo vitrine) */
.top-bar { background: #0d0d0d; border-bottom: 1px solid #2a2410; font-size: 14px; }
.top-bar-inner { display: flex; justify-content: flex-end; padding: 8px 0; }
.top-phone { color: #e8c547; font-weight: 600; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 8, 8, 0.96); border-bottom: 1px solid #222; backdrop-filter: blur(8px); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; justify-content: space-between; }
.brand-mark { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; }
.brand-mark:hover { text-decoration: none; color: #fff; }
.badge-site { border: 1px solid #8a7328; color: #e8c547; padding: 2px 10px; border-radius: 6px; font-size: 0.85em; }
.brand-name { letter-spacing: 0.02em; }

.menu-toggle { display: none; background: #1a1a1a; border: 1px solid #333; color: #e8c547; border-radius: 8px; padding: 8px 14px; font-size: 1.1rem; cursor: pointer; }

.main-nav, .nav-extra { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.main-nav a, .nav-extra a { padding: 8px 12px; border-radius: 8px; color: #b8b8b8; font-size: 14px; }
.main-nav a:hover, .nav-extra a:hover { background: #151515; color: #e8c547; text-decoration: none; }
.main-nav a.active { color: #e8c547; background: #1a1608; }
.nav-extra a { font-size: 13px; color: #888; }

/* Faixa de busca */
.search-ribbon { background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%); border-bottom: 1px solid #262626; padding: 28px 0 36px; }
.search-heading { margin: 0 0 16px; font-size: 1.35rem; font-weight: 700; color: #fff; }
.search-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.search-fields { display: flex; flex: 1 1 280px; flex-wrap: wrap; gap: 10px; }
.search-fields select, .search-fields input { flex: 1 1 140px; min-width: 120px; padding: 12px 14px; border-radius: 10px; border: 1px solid #333; background: #111; color: #eee; font-size: 15px; }
.search-fields input::placeholder { color: #666; }
.search-submit { min-width: 120px; }

/* Hero landing */
.hero-landing { background: radial-gradient(ellipse 80% 60% at 50% 0%, #1f1808 0%, transparent 55%), #080808; border-bottom: 1px solid #222; }
.hero-slide { padding: 48px 0 40px; text-align: center; max-width: 720px; }
.hero-kicker { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; }
.hero-title { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); color: #fff; }
.hero-sub { margin: 12px 0 0; }

/* Títulos de seção (palavra em destaque) */
.section { padding: 48px 0; border-bottom: 1px solid #1c1c1c; }
.section-heading { margin: 0 0 8px; font-size: 1.6rem; font-weight: 600; color: #ccc; }
.section-heading strong { color: #e8c547; font-weight: 800; }
.section-lead { margin: 0 0 24px; }

/* Grade destaque / estoque */
.grid-featured, .grid.cols-stock { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card-vehicle { background: #0f0f0f; border: 1px solid #2a2a2a; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.2s, box-shadow 0.2s; }
.card-vehicle:hover { border-color: #4a3f12; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); }
.card-vehicle h3 { margin: 0; font-size: 1rem; color: #fff; line-height: 1.3; }
.price-big { margin: 0; font-weight: 800; color: #e8c547; font-size: 1.2rem; }
.tiny-meta { margin: 0; font-size: 12px; }

.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; border: 1px solid #6d5b1e; color: #e8c547; background: transparent; cursor: pointer; font-size: 15px; font-family: inherit; }
.btn:hover { text-decoration: none; background: #141208; }
.btn.gold { background: #e8c547; color: #111; border-color: #e8c547; font-weight: 700; }
.btn.gold:hover { filter: brightness(1.05); background: #f0d060; }
.btn-outline { text-align: center; margin-top: auto; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn.ghost { border-color: #444; color: #ccc; }
.btn.ghost:hover { border-color: #e8c547; color: #e8c547; }

.see-all-row { margin-top: 22px; text-align: center; }
.demo-links-muted { margin-top: 16px; justify-content: center; }
.small-link { font-size: 13px; }

.muted { color: #9e9e9e; }
.chip { display: inline-block; border: 1px solid #6d5b1e; color: #e8c547; border-radius: 999px; padding: 4px 10px; font-size: 12px; }

.card { background: #0f0f0f; border: 1px solid #222; border-radius: 14px; padding: 18px; }
.quote-card p:first-child { margin-top: 0; }

.about-split .about-card:first-child strong { color: #e8c547; }
.check-list { margin: 0; padding-left: 1.15rem; color: #ccc; }
.check-list li { margin-bottom: 6px; }

.contact-split .contact-card h3 { margin: 16px 0 6px; font-size: 0.95rem; color: #e8c547; }
.contact-split .contact-card h3:first-of-type { margin-top: 0; }
.social-placeholder { min-height: 160px; display: flex; align-items: center; justify-content: center; text-align: center; }

.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.split { display: grid; gap: 18px; grid-template-columns: 1.15fr 0.85fr; }

.hero { padding: 56px 0; border-bottom: 1px solid #1c1c1c; }
.hero h1 { font-size: 42px; line-height: 1.1; margin: 0 0 12px; max-width: 850px; }

.vehicle-thumb { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid #2a2a2a; display: block; }

.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.notice { padding: 10px 12px; border-radius: 10px; font-size: 13px; margin: 12px 0; }
.ok { background: #0e2a1b; border: 1px solid #1d6f46; }
.err { background: #3a1010; border: 1px solid #922; }

.form { max-width: 460px; margin: 34px auto; background: #101010; border: 1px solid #2a2a2a; border-radius: 18px; padding: 22px; }
label { display: block; margin-bottom: 6px; color: #ddd; }
input { width: 100%; padding: 10px 12px; border: 1px solid #333; border-radius: 10px; background: #0b0b0b; color: #fff; }

/* Rodapé */
.site-footer { background: #080808; border-top: 1px solid #2a2410; margin-top: 0; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.footer-title { margin: 0 0 12px; font-size: 0.95rem; color: #e8c547; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: #e8c547; }
.footer-text { margin: 0; color: #999; font-size: 14px; line-height: 1.6; }
.newsletter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.newsletter input { flex: 1 1 140px; min-width: 0; margin: 0; }
.newsletter button { flex: 0 0 auto; }
.footer-hint { margin: 8px 0 0; font-size: 11px; }
.footer-bottom { margin-top: 36px; padding: 14px 0; border-top: 1px solid #222; text-align: center; color: #666; font-size: 13px; }

/* Página detalhe */
.detail-page { padding: 28px 0 48px; }
.section-narrow { max-width: 560px; }
.detail-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: start; }
.detail-img { width: 100%; border-radius: 14px; border: 1px solid #333; display: block; }
.detail-price { font-size: 2rem; font-weight: 800; color: #e8c547; margin: 8px 0 16px; }
.detail-specs { list-style: none; padding: 0; margin: 0 0 18px; color: #ccc; }
.detail-specs li { padding: 6px 0; border-bottom: 1px solid #222; display: flex; justify-content: space-between; gap: 12px; }
.detail-info h1 { margin: 0 0 6px; font-size: 1.6rem; line-height: 1.2; }

.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; }

/* Demos / utilitários preservados */
.no-copy-demo { user-select: none; -webkit-user-select: none; }
.watermark { position: fixed; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(-30deg, transparent 0, transparent 220px, rgba(232, 197, 71, 0.05) 220px, rgba(232, 197, 71, 0.05) 260px); z-index: 1; }
.owner { padding: 10px; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: #e8c547; background: rgba(0, 0, 0, 0.85); border-top: 1px solid #534213; position: relative; z-index: 3; }

.demo-layout { display: grid; gap: 24px; grid-template-columns: 1fr 360px; align-items: start; position: relative; z-index: 2; }
.phone { border: 1px solid #333; background: #000; border-radius: 36px; padding: 10px; box-shadow: 0 0 22px rgba(232, 197, 71, 0.18); position: relative; z-index: 2; }
.phone-inner { background: #0f0f0f; border: 1px solid #6d5b1e; border-radius: 28px; overflow: hidden; }
.phone-top { height: 6px; width: 70px; background: #353535; border-radius: 99px; margin: 10px auto; }
.phone-head { padding: 14px; }
.phone-title { margin: 0; font-size: 18px; }
.phone-body { padding: 14px; min-height: 360px; }
.phone-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 10px; border-top: 1px solid #252525; }
.tab-btn { border: 0; background: transparent; color: #a9a9a9; padding: 8px; border-radius: 8px; cursor: pointer; font-size: 11px; }
.tab-btn.active { background: #e8c547; color: #111; font-weight: 700; }
.kpi { background: #101010; border: 1px solid #2a2a2a; border-radius: 12px; padding: 10px; }
.kpi b { color: #e8c547; }
.demo-card { background: #111; border: 1px solid #2b2b2b; border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.demo-mini { display: flex; gap: 10px; align-items: center; }
.demo-mini img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; border: 1px solid #333; }

@media (max-width: 900px) {
  .split, .demo-layout, .detail-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .phone { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    flex-direction: column;
    width: 100%;
    order: 10;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .main-nav.is-open { max-height: 320px; opacity: 1; padding-top: 8px; }
  .nav-extra { width: 100%; justify-content: flex-start; order: 9; padding-top: 4px; }
  .header-row { align-items: flex-start; }
}
