/* ── Variables — Dark (default) ──────────────────────────────────────────────── */
:root {
  --bg:         #0d0d0d;
  --surface:    #181818;
  --surface2:   #222222;
  --border:     #2e2e2e;
  --text:       #f5f5f5;
  --muted:      #888888;
  --accent:     #f5f5f5;
  --red:        #e05555;
  --green:      #25d366;
  --blue:       #60a5fa;

  --font-head: 'Figtree', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  14px;
  --shadow:     0 1px 4px rgba(0,0,0,.2);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.5);

  --hero-fade-l: #0d0d0d;
  --hero-fade-b: #0d0d0d;
  --logoloop-fade: #0d0d0d;
  --search-bg: rgba(22,22,24,0.88);
  --search-border: rgba(255,255,255,0.1);
  --search-color: #f5f5f5;
}

/* ── Variables — Light theme ─────────────────────────────────────────────────── */
html.light-theme {
  --bg:         #f5f4f0;
  --surface:    #ffffff;
  --surface2:   #efefed;
  --border:     #dddbd6;
  --text:       #111111;
  --muted:      #777777;
  --accent:     #111111;
  --shadow:     0 1px 4px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

  --hero-fade-l: #f5f4f0;
  --hero-fade-b: #f5f4f0;
  --logoloop-fade: #f5f4f0;
  --search-bg: rgba(255,255,255,0.9);
  --search-border: rgba(0,0,0,0.12);
  --search-color: #111111;
}

/* ════════════════════════════════════════════════════════════════════════════
   LIGHT THEME — overrides completos
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Navbar — em light mode mantém animação expand/shrink ────────────────── */
/* Header recebe padding lateral para que os cantos arredondados apareçam */
html.light-theme .site-header { padding: 10px 20px 0; }
html.light-theme .site-header.floating { padding: 12px 24px 0; }
/* Estado expandido (default): navbar dark com blur, com cantos arredondados */
html.light-theme .navbar {
  background: rgba(15,15,17,0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
/* Estado scrolled: pill flutuante sobre fundo claro */
html.light-theme .navbar.scrolled {
  background: rgba(15,15,17,0.75);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
/* Mobile menu segue a borda inferior arredondada do navbar expandido */
html.light-theme .navbar__mobile { border-radius: 0 0 24px 24px; }

/* ── Footer (mantém escuro) ────────────────────────────────────────────── */
html.light-theme .site-footer { background: #080808; border-top-color: rgba(255,255,255,0.06); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
html.light-theme .hero { background: var(--bg); }
/* Suaviza a borda direita/inferior do banner para esconder o "quadrado"
   formado pela vinheta escura da imagem encontrando o fundo claro */
html.light-theme .hero__bg--light {
  background-position: center right;
  background-size: cover;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 18%, #000 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, #000 18%, #000 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
          mask-composite: intersect;
}
/* Reforço de fade no canto direito para a vinheta escura da imagem */
html.light-theme .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to right, transparent 60%, var(--bg) 100%),
    linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
html.light-theme .hero__fade-left {
  background: linear-gradient(90deg, var(--bg) 28%, rgba(245,244,240,.55) 58%, transparent 100%);
}
html.light-theme .hero__fade-bottom {
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}
html.light-theme .hero__title { color: #111; }
html.light-theme .hero__sub   { color: rgba(0,0,0,.5); }

/* ── Search Section ──────────────────────────────────────────────────────── */
html.light-theme .search-section { background: var(--bg); }
html.light-theme .search-box {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
html.light-theme .search-box__select { color: #111; }
html.light-theme .search-box__label  { color: rgba(0,0,0,.45); }
html.light-theme .search-box__field { border-right-color: rgba(0,0,0,.08); }
html.light-theme .search-box__btn { background: #111; color: #fff; }
html.light-theme .search-box__btn:hover { background: #000; }

/* ── All-offers pill ─────────────────────────────────────────────────────── */
html.light-theme .all-offers-pill {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
}
html.light-theme .all-offers-pill__count {
  background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.1); color: #111;
}
html.light-theme .all-offers-pill__text { color: rgba(0,0,0,.6); }
html.light-theme .search-row .all-offers-pill { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); }
html.light-theme .search-row .all-offers-pill__count { background: none; color: #111; }
html.light-theme .search-row .all-offers-pill__text  { color: rgba(0,0,0,.45); }

/* ── LogoLoop ────────────────────────────────────────────────────────────── */
html.light-theme .logoloop { --logoloop-fadeColor: #f5f4f0; }
html.light-theme .logoloop-section {
  background: rgba(0,0,0,.025);
  border-color: rgba(0,0,0,.06);
}
html.light-theme .brand-chip { color: rgba(0,0,0,.35); }
html.light-theme .logoloop__item:hover .brand-chip { color: #111; }
html.light-theme .logoloop__item + .logoloop__item::before { color: rgba(0,0,0,.12); }

/* ── Section titles ──────────────────────────────────────────────────────── */
html.light-theme .section__title { color: #111; }
html.light-theme .section__link  { color: rgba(0,0,0,.5); }
html.light-theme .section__link:hover { color: #111; }

/* ── Vehicle Cards ───────────────────────────────────────────────────────── */
html.light-theme .vehicle-card { background: #fff; border-color: #e6e3dd; }
html.light-theme .vehicle-card:hover { border-color: #aaa; box-shadow: 0 12px 32px rgba(0,0,0,.1); }
html.light-theme .vehicle-card__footer { border-top-color: rgba(0,0,0,.06); }
html.light-theme .vehicle-card__title { color: #111; }
html.light-theme .vehicle-card__subtitle { color: rgba(0,0,0,.5); }
html.light-theme .vehicle-card__meta { color: rgba(0,0,0,.55); }
html.light-theme .vehicle-card__price { color: #111; }
html.light-theme .vehicle-card__hp { background: rgba(0,0,0,.06); color: rgba(0,0,0,.65); }
html.light-theme .vehicle-card__destaque { background: #111; color: #fff; }

/* ── Category Card ───────────────────────────────────────────────────────── */
html.light-theme .category-card { background: #fff; border-color: #e6e3dd; }
html.light-theme .category-card__footer { border-top-color: rgba(0,0,0,.06); }
html.light-theme .category-card__label { color: #111; }
html.light-theme .category-card__arrow { background: rgba(0,0,0,.06); color: rgba(0,0,0,.5); }
html.light-theme .category-card:hover .category-card__arrow { background: rgba(0,0,0,.12); color: #111; }

/* ── Featured Card ───────────────────────────────────────────────────────── */
html.light-theme .featured-card { background: #fff; border-color: #e6e3dd; }
html.light-theme .featured-card:hover { border-color: #999; box-shadow: 0 8px 40px rgba(0,0,0,.1); }
html.light-theme .featured-card__brand { color: #111; }
html.light-theme .featured-card__model { color: rgba(0,0,0,.55); }
html.light-theme .featured-card__meta  { color: rgba(0,0,0,.5); }
html.light-theme .featured-card__price { color: #111; }
html.light-theme .featured-card__location { color: rgba(0,0,0,.5); }
html.light-theme .featured-card .badge--destaque { background: #111; color: #fff; }

/* ── News Cards ──────────────────────────────────────────────────────────── */
html.light-theme .news-card { background: #fff; border-color: #e6e3dd; }
html.light-theme .news-card:hover { border-color: #999; }
html.light-theme .news-card__title { color: #111; }
html.light-theme .news-card__tag   { color: rgba(0,0,0,.45); }
html.light-theme .news-card__date  { color: rgba(0,0,0,.4); }
html.light-theme .news-card__image-placeholder { background: #f0eeea; }

/* ── Popular Cards (sem fundo branco contrastante) ───────────────────────── */
html.light-theme .popular-card {
  background: transparent;
  border-color: rgba(0,0,0,.08);
}
html.light-theme .popular-card:hover {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
html.light-theme .popular-card__brand { color: rgba(0,0,0,.45); }
html.light-theme .popular-card__model { color: #111; }
html.light-theme .popular-card__image { mix-blend-mode: multiply; }

/* ── Carousel controls ──────────────────────────────────────────────────── */
html.light-theme .carousel__arrow { background: #fff; border-color: #d8d6d0; color: #111; }
html.light-theme .carousel__arrow:hover { border-color: #111; }
html.light-theme .carousel__dot { background: #d0cec9; }
html.light-theme .carousel__dot--active { background: #111; }

/* ── Filtros & Inputs ───────────────────────────────────────────────────── */
html.light-theme .filter-select,
html.light-theme select,
html.light-theme input[type="text"],
html.light-theme input[type="number"],
html.light-theme input[type="email"],
html.light-theme input[type="tel"],
html.light-theme textarea {
  background: #fff;
  border-color: #d8d6d0;
  color: #111;
}
html.light-theme .filter-label { color: rgba(0,0,0,.5); }
html.light-theme .filters-sidebar__title { color: rgba(0,0,0,.5); }
html.light-theme .filters-sidebar__header { border-bottom-color: #dddbd6; }

/* ── Listings ────────────────────────────────────────────────────────────── */
html.light-theme .listings-count { color: #111; }
html.light-theme .listings-sort__label { color: rgba(0,0,0,.5); }

/* ── CTA Anuncie ─────────────────────────────────────────────────────────── */
html.light-theme .cta-anuncio { background: #f0eeea; border-top-color: #dddbd6; }
html.light-theme .cta-anuncio__title { color: #111; }
html.light-theme .cta-anuncio__desc { color: rgba(0,0,0,.55); }
html.light-theme .cta-anuncio__avatar {
  background: linear-gradient(135deg, #d8d6d0, #c5c2bb);
  border-color: #f0eeea;
  color: rgba(0,0,0,.55);
}
html.light-theme .cta-anuncio__trust { color: rgba(0,0,0,.5); }

/* ── Interactive Hover Button (CTA) — invertido em light ────────────────── */
html.light-theme .ihb {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
html.light-theme .ihb__fill { background: #fff; }
html.light-theme .ihb:hover { color: #111; border-color: #111; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
html.light-theme .badge { background: #fff; border-color: #d8d6d0; color: rgba(0,0,0,.6); }

/* ── Buttons globais ─────────────────────────────────────────────────────── */
html.light-theme .btn--primary { background: #111; color: #fff; }
html.light-theme .btn--primary:hover { background: #000; }
html.light-theme .btn--outline { border-color: rgba(0,0,0,.18); color: rgba(0,0,0,.7); }
html.light-theme .btn--outline:hover { border-color: #111; color: #111; }
html.light-theme .btn--ghost { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.1); color: rgba(0,0,0,.7); }

/* ── Empty state ─────────────────────────────────────────────────────────── */
html.light-theme .empty-state__title { color: #111; }
html.light-theme .empty-state__desc  { color: rgba(0,0,0,.55); }

/* ── Pagination ──────────────────────────────────────────────────────────── */
html.light-theme .pagination a, html.light-theme .pagination span {
  background: #fff; border-color: #d8d6d0; color: rgba(0,0,0,.6);
}
html.light-theme .pagination .current { background: #111; color: #fff; border-color: #111; }

/* ── Single Vehicle ──────────────────────────────────────────────────────── */
html.light-theme .breadcrumb { color: rgba(0,0,0,.5); }
html.light-theme .breadcrumb__current { color: #111; }
html.light-theme .vehicle-gallery { background: #f0eeea; }
html.light-theme .specs-grid { background: #d8d6d0; border-color: #d8d6d0; }
html.light-theme .specs-grid__item { background: #fff; }
html.light-theme .specs-grid__label { color: rgba(0,0,0,.5); }
html.light-theme .specs-grid__value { color: #111; }
html.light-theme .single-vehicle__desc { color: rgba(0,0,0,.7); }
html.light-theme .tabs__nav { border-bottom-color: #d8d6d0; }
html.light-theme .tabs__tab { color: rgba(0,0,0,.5); }
html.light-theme .tabs__tab--active { color: #111; border-bottom-color: #111; }
html.light-theme .contact-box { background: #fff; border-color: #d8d6d0; }
html.light-theme .contact-box__price-label,
html.light-theme .contact-form-wrap__label,
html.light-theme .seller-box__label { color: rgba(0,0,0,.5); }
html.light-theme .contact-box__price { color: #111; }
html.light-theme .contact-box__price-sub { color: rgba(0,0,0,.45); }
html.light-theme .seller-box { background: #f0eeea; }
html.light-theme .seller-box__name { color: #111; }
html.light-theme .seller-box__phone { color: #111; }
html.light-theme .contact-form-wrap { background: #fff; border-color: #d8d6d0; }
html.light-theme .contact-box__footer { color: rgba(0,0,0,.5); border-top-color: #e6e3dd; }

/* ── Solicitar Venda page ────────────────────────────────────────────────── */
html.light-theme .solicitar-badge {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.1);
  color: rgba(0,0,0,.6);
}
html.light-theme .solicitar-title { color: #111; }
html.light-theme .solicitar-desc  { color: rgba(0,0,0,.55); }
html.light-theme .solicitar-benefits li { color: rgba(0,0,0,.7); }
html.light-theme .solicitar-benefit-icon { background: rgba(0,0,0,.08); color: #111; }
html.light-theme .solicitar-phone {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.1);
  color: #111;
}
html.light-theme .solicitar-phone:hover { background: rgba(0,0,0,.08); }
html.light-theme .solicitar-phone-label { color: rgba(0,0,0,.45); }
html.light-theme .solicitar-form-card {
  background: #fff;
  border-color: #d8d6d0;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
html.light-theme .sform-section-title { color: rgba(0,0,0,.45); border-bottom-color: rgba(0,0,0,.08); }
html.light-theme .sform-label { color: rgba(0,0,0,.65); }
html.light-theme .sform-hint  { color: rgba(0,0,0,.4); }
html.light-theme .sform-input, html.light-theme .sform-select {
  background: #faf9f6;
  border-color: #d8d6d0;
  color: #111;
}
html.light-theme .sform-input::placeholder { color: rgba(0,0,0,.32); }
html.light-theme .sform-input:focus { border-color: #111; background: #fff; }
html.light-theme .sform-check-box { border-color: rgba(0,0,0,.3); }
html.light-theme .sform-checkbox:checked + .sform-check-box { background: #111; border-color: #111; }
html.light-theme .sform-checkbox:checked + .sform-check-box::after { border-color: #fff; }
html.light-theme .sform-check-label { color: rgba(0,0,0,.65); }
html.light-theme .sform-submit { background: #111; color: #fff; }
html.light-theme .sform-submit:hover { background: #000; }
html.light-theme .solicitar-success__icon { background: rgba(0,0,0,.06); color: #111; }
html.light-theme .solicitar-success h3 { color: #111; }
html.light-theme .solicitar-success p  { color: rgba(0,0,0,.55); }

/* ── Megamenu (mantém escuro pois navbar é escuro) ───────────────────────── */
/* megamenu já tem fundo escuro próprio, sem alterações */

/* ── Theme Toggle ────────────────────────────────────────────────────────── */
html.light-theme .theme-toggle {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}

/* ── Mobile menu (mantém escuro pois navbar é escuro) ────────────────────── */
/* navbar__mobile já tem fundo escuro próprio */

/* ── Container background fix ────────────────────────────────────────────── */
html.light-theme {
  color: #111;
}
html.light-theme body { background: var(--bg); color: #111; }

/* Transition suave em todos os elementos */
html, body,
.hero, .hero__title, .hero__sub,
.vehicle-card, .category-card, .featured-card, .news-card,
.search-box, .all-offers-pill, .cta-anuncio {
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  height: 100%;
  background: var(--bg);
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: var(--font-body); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Layout ──────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-content { padding-top: 68px; flex: 1 0 auto; width: 100%; }
.site-footer { flex-shrink: 0; width: 100%; display: block; clear: both; }
.section { padding: 48px 0; }
.section + .section { padding-top: 0; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  border: none;
}
.btn:hover { opacity: .88; }
.btn--primary  { background: var(--text); color: #111; border-radius: 9999px; }
.btn--outline  { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.65); border-radius: 9999px; }
.btn--outline:hover { border-color: rgba(255,255,255,0.5); color: var(--text); }
.btn--ghost    { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); }
.btn--amber    { background: var(--accent); color: #111; }
.btn--blue     { background: var(--blue); color: #111; }
.btn--whatsapp { background: var(--green); color: #fff; width: 100%; justify-content: center; padding: 12px; font-size: 15px; border-radius: var(--radius-sm); }
.btn--full     { width: 100%; justify-content: center; }

/* ── Shimmer Button (Magic UI style) ─────────────────────────────────────────── */
@keyframes shimmer-spin { to { transform: rotate(360deg); } }

.btn--shimmer {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  isolation: isolate;
  overflow: hidden;
  background: #0d0d10;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 9px 22px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
  white-space: nowrap;
}
.btn--shimmer:hover { opacity: .9; color: #fff; }
/* Rotating shimmer ring */
.btn--shimmer::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 0deg,
    transparent 0% 60%,
    rgba(255,255,255,0.22) 70%,
    rgba(255,255,255,0.04) 80%,
    transparent 85% 100%
  );
  animation: shimmer-spin 3s linear infinite;
  z-index: -1;
}
/* Dark fill that hides center of shimmer — shows only border glow */
.btn--shimmer::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(135deg, #111114 0%, #1a1a1f 100%);
  border-radius: inherit;
  z-index: -1;
}
/* Navbar sm size */
.btn--shimmer.btn--sm { padding: 7px 16px; font-size: 12.5px; }

/* ── Badge ───────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.badge--destaque {
  background: var(--text);
  color: #111;
  border-color: transparent;
  font-family: var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Navbar — Aceternity Resizable Floating Style ────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0;
  transition: padding .4s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.site-header.floating {
  padding: 12px 24px 0;
}
.navbar {
  pointer-events: all;
  width: 100%;
  max-width: 1280px;
  background: rgba(13,13,13,0.96);
  border: none;
  border-radius: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: none;
}
.navbar.scrolled {
  max-width: 900px;
  background: rgba(13,13,13,0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
}
.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: height .4s cubic-bezier(.4,0,.2,1), padding .4s;
}
.navbar.scrolled .navbar__inner {
  height: 54px;
  padding: 0 22px;
}

/* Logo */
.navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar__logo-img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  transition: height .4s cubic-bezier(.4,0,.2,1), width .4s;
}
.navbar.scrolled .navbar__logo-img {
  height: 56px;
  width: 56px;
}

/* Nav links & nav-items */
.navbar__links { display: flex; gap: 2px; align-items: center; position: relative; }

.nav-item { position: relative; }

.nav-item__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 6px 14px;
  border-radius: 9999px;
  transition: color .2s, background .2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-item__trigger:hover,
.nav-item.is-open .nav-item__trigger {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}
.nav-item__arrow {
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
  opacity: .6;
}
.nav-item.is-open .nav-item__arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Megamenu ─────────────────────────────────────────────────────────────────── */
.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 540px;
  background: rgba(16, 16, 18, 0.82);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity .25s cubic-bezier(.4,0,.2,1),
    transform .3s cubic-bezier(.4,0,.2,1),
    visibility .25s;
  z-index: 300;
}
.nav-item.is-open .megamenu {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Caret arrow above megamenu */
.megamenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(16,16,18,0.85);
  border-left: 1px solid rgba(255,255,255,0.09);
  border-top: 1px solid rgba(255,255,255,0.09);
  border-radius: 2px 0 0 0;
}

.megamenu__inner {
  display: flex;
  gap: 0;
}
.megamenu__divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 16px;
  flex-shrink: 0;
}
.megamenu__col { flex: 1; min-width: 0; }
.megamenu__col-label {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 8px 10px;
}
.megamenu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 12px;
  transition: background .18s ease;
  cursor: pointer;
}
.megamenu__item:hover {
  background: rgba(255,255,255,0.06);
}
.megamenu__item:hover .megamenu__item-label {
  color: var(--text);
}
.megamenu__item-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.07);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.55);
  transition: background .18s, color .18s;
}
.megamenu__item:hover .megamenu__item-icon {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}
.megamenu__item-icon svg {
  width: 16px;
  height: 16px;
}
.megamenu__item-text { min-width: 0; }
.megamenu__item-label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
  margin-bottom: 2px;
  transition: color .18s;
}
.megamenu__item-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
}

/* Actions */
.navbar__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.btn--sm { padding: 6px 16px; font-size: 13px; }

/* Hamburger */
.navbar__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.navbar__hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: .25s; }

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(13,13,13,0.97);
  border-radius: 0 0 24px 24px;
}
.navbar.scrolled .navbar__mobile { border-radius: 0 0 32px 32px; }
.navbar__mobile-link { padding: 11px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); }
.navbar__mobile-link:last-child { border: none; }
.navbar__mobile-link--cta { color: var(--text); font-weight: 600; }
.navbar__mobile-link--sub {
  padding: 7px 0 7px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.04);
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 110px 0 80px;
  background: #0d0d0d;
}
/* The .container inside hero is the width-limiter;
   .hero__content is the left-aligned column inside it */
.hero .container { position: relative; z-index: 1; }

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right 10%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.4,0,.2,1);
}

/* Dark theme: alterna entre as duas imagens (carousel automático) */
.hero__bg--dark1 { opacity: .42; }
.hero__bg--dark2 { opacity: 0; }
.hero__bg--light { opacity: 0; }

@keyframes hero-bg-cycle {
  0%, 45%   { opacity: .42; }
  55%, 95%  { opacity: 0; }
  100%      { opacity: .42; }
}
@keyframes hero-bg-cycle-2 {
  0%, 45%   { opacity: 0; }
  55%, 95%  { opacity: .42; }
  100%      { opacity: 0; }
}
.hero__bg--dark1 { animation: hero-bg-cycle    14s ease-in-out infinite; }
.hero__bg--dark2 { animation: hero-bg-cycle-2  14s ease-in-out infinite; }

/* Light theme: somente o caminhão claro */
html.light-theme .hero__bg--dark1,
html.light-theme .hero__bg--dark2 { opacity: 0 !important; animation: none; }
html.light-theme .hero__bg--light { opacity: 1; animation: none; }
.hero__fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0d0d 30%, rgba(13,13,13,.5) 58%, transparent 100%);
  z-index: 0;
}
.hero__fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, #0d0d0d 0%, transparent 100%);
  z-index: 0;
}

/* Left-aligned content block — max 600px wide, no centering */
.hero__content {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}
.hero__text { margin-bottom: 0; }

/* ── Search Section (below hero) ─────────────────────────────────────────────── */
.search-section {
  background: #0d0d0d;
  padding: 0 0 36px;
}

/* Row: search form + pill side by side */
.search-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-row .search-box {
  flex: 1;
  max-width: 860px;
  width: auto;
}
.search-row .all-offers-pill {
  flex-shrink: 0;
  border-radius: 14px;
  height: 100%;
  padding: 18px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  min-width: 160px;
}
.search-row .all-offers-pill__count {
  font-size: 22px;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  font-weight: 800;
  color: var(--text);
  font-family: var(--font-head);
}
.search-row .all-offers-pill__text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.search-row .all-offers-pill__arrow {
  display: none;
}
.search-row .all-offers-pill:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .search-row { flex-direction: column; align-items: stretch; }
  .search-row .all-offers-pill { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 18px; min-width: 0; border-radius: 9999px; }
  .search-row .all-offers-pill__arrow { display: flex; }
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: .98;
  letter-spacing: -.04em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  max-width: 400px;
}

/* ── Search Box ──────────────────────────────────────────────────────────────── */
.search-box {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  background: rgba(22,22,24,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 20px 20px 24px;
  /* sem max-width: ocupa a largura total do container */
  width: 100%;
  max-width: 900px;
}
.search-box__field {
  flex: 1;
  min-width: 0;
  padding: 0 20px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 20px;
}
.search-box__field:last-of-type { border-right: none; margin-right: 16px; }
.search-box__label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
  font-weight: 600;
}
.search-box__select {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}
.search-box__select:focus { border: none; outline: none; box-shadow: none; }
.search-box__btn {
  flex-shrink: 0;
  padding: 12px 28px;
  white-space: nowrap;
  font-size: 14px;
  align-self: center;
}

/* ── Selects & Inputs (shared) ───────────────────────────────────────────────── */
select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  width: 100%;
  outline: none;
  appearance: none;
  transition: border-color .15s;
}
select:focus, input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }

/* ── "Ver todas as ofertas" pill ─────────────────────────────────────────────── */
.all-offers-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 24px 40px;
}

.all-offers-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 14px 22px 14px 16px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .2s;
  text-decoration: none;
}
.all-offers-pill:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 28px rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

.all-offers-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-radius: 9999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
}

.all-offers-pill__text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color .2s;
}
.all-offers-pill:hover .all-offers-pill__text { color: var(--text); }

.all-offers-pill__arrow {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.35);
  transition: transform .25s cubic-bezier(.4,0,.2,1), color .2s;
}
.all-offers-pill:hover .all-offers-pill__arrow {
  transform: translateX(4px);
  color: rgba(255,255,255,0.8);
}

/* ── Section headers ─────────────────────────────────────────────────────────── */
.section__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2.5vw, 22px); letter-spacing: -.01em; }
.section__link { color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: 13px; white-space: nowrap; }
.section__link:hover { color: var(--text); }

/* ── Featured Carousel ───────────────────────────────────────────────────────── */
.carousel { position: relative; overflow: hidden; }
.carousel__slide { display: none; }
.carousel__slide--active { display: block; }
.featured-card {
  display: flex;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  height: 320px;
  transition: border-color .2s, box-shadow .2s;
}
.featured-card:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.featured-card__image { width: 46%; flex-shrink: 0; position: relative; overflow: hidden; }
.featured-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.featured-card:hover .featured-card__img { transform: scale(1.03); }
.featured-card__image .badge--destaque {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; padding: 4px 10px;
  background: #fff; color: #111;
  border-radius: 9999px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.featured-card__info {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
}
.featured-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.featured-card__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.featured-card__model {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 14px;
}
.featured-card__meta { font-size: 13px; color: var(--muted); line-height: 1.6; }
.featured-card__footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.featured-card__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: var(--text);
  letter-spacing: -.02em;
}
.featured-card__location { font-size: 12px; color: var(--muted); text-align: right; }
.carousel__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.carousel__arrow {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.carousel__arrow:hover { border-color: var(--accent); }
.carousel__dots { display: flex; gap: 6px; }
.carousel__dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: width .2s, background .2s;
  padding: 0;
}
.carousel__dot--active { width: 20px; background: var(--text); }

/* ── Categories Grid ─────────────────────────────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform .2s cubic-bezier(.4,0,.2,1), border-color .2s;
  position: relative;
}
.category-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.category-card__image { height: 180px; background: var(--surface2); overflow: hidden; }
.category-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.category-card:hover .category-card__image img { transform: scale(1.04); }
.category-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.category-card__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.category-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: background .2s, color .2s, transform .2s;
  flex-shrink: 0;
}
.category-card:hover .category-card__arrow {
  background: rgba(255,255,255,0.14);
  color: var(--text);
  transform: translateX(2px);
}

/* ── Popular Grid ────────────────────────────────────────────────────────────── */
.popular-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.popular-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.popular-card:hover { border-color: #ccc; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.popular-card__brand { font-size: 10px; color: #999; font-weight: 600; letter-spacing: .08em; margin-bottom: 2px; }
.popular-card__model { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #111; margin-bottom: 8px; }
.popular-card__image { height: 90px; overflow: hidden; border-radius: var(--radius-sm); }
.popular-card__image img { width: 100%; height: 100%; object-fit: contain; }

/* ── News Grid ───────────────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s;
}
.news-card:hover { border-color: var(--text); }
.news-card__image { height: 130px; overflow: hidden; background: var(--surface2); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__image-placeholder { width: 100%; height: 100%; background: var(--surface2); }
.news-card__body { padding: 14px 16px; }
.news-card__tag { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.news-card__title { font-size: 13px; font-weight: 600; line-height: 1.45; margin-bottom: 8px; }
.news-card__date { font-size: 11px; color: var(--muted); }

/* ── LogoLoop ─────────────────────────────────────────────────────────────────── */
.logoloop-wrap--hero { margin-bottom: 24px; }

.logoloop-section {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
  overflow: hidden;
}

.logoloop {
  position: relative;
  width: 100%;
  overflow: hidden;
  --logoloop-fadeColor: #0d0d0d;
}
.logoloop::before,
.logoloop::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 10%, 140px);
  z-index: 10;
  pointer-events: none;
}
.logoloop::before {
  left: 0;
  background: linear-gradient(to right, var(--logoloop-fadeColor) 0%, transparent 100%);
}
.logoloop::after {
  right: 0;
  background: linear-gradient(to left, var(--logoloop-fadeColor) 0%, transparent 100%);
}
.logoloop-section .logoloop { --logoloop-fadeColor: #0d0d0d; }
.logoloop-wrap--hero .logoloop { --logoloop-fadeColor: transparent; }
.logoloop-wrap--hero .logoloop::before,
.logoloop-wrap--hero .logoloop::after { display: none; }

.logoloop__track {
  display: flex;
  width: max-content;
  animation: logoloop-scroll 28s linear infinite;
  will-change: transform;
}
.logoloop__track:hover { animation-play-state: paused; }
.logoloop__list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.logoloop__item {
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Brand chip — text-based logo */
.brand-chip {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
  padding: 6px 0;
}
.brand-chip--lg {
  font-size: 15px;
  letter-spacing: .08em;
}
.logoloop__item:hover .brand-chip { color: rgba(255,255,255,0.7); }

/* Separator dot between brands */
.logoloop__item + .logoloop__item::before {
  content: '·';
  color: rgba(255,255,255,0.1);
  font-size: 18px;
  margin-right: 20px;
}

@keyframes logoloop-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
  .logoloop__track { animation: none; }
}

/* ── CTA — Anuncie seu caminhão ──────────────────────────────────────────────── */
.cta-anuncio {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 80px 0;
  margin-top: 20px;
}
.cta-anuncio__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-anuncio__left { max-width: 560px; }
.cta-anuncio__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 16px;
  color: var(--text);
}
.cta-anuncio__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  margin-bottom: 28px;
}
.cta-anuncio__social { display: flex; align-items: center; gap: 14px; }
.cta-anuncio__avatars { display: flex; }
.cta-anuncio__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
  border: 2px solid #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-right: -8px;
  position: relative;
}
.cta-anuncio__avatar:last-child { margin-right: 0; }
.cta-anuncio__stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; margin-bottom: 2px; }
.cta-anuncio__trust { font-size: 12px; color: rgba(255,255,255,0.35); }
.cta-anuncio__right { flex-shrink: 0; }
.btn-cta-anuncio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2563eb;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 9999px;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
}
.btn-cta-anuncio:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.45);
}

/* ── CTA Grid (old — kept for compat) ────────────────────────────────────────── */
.cta-grid { display: flex; gap: 20px; padding-top: 60px; padding-bottom: 60px; }
.cta-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-card__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.cta-card__desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  display: block;
  flex-shrink: 0;
  clear: both;
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.footer__top { padding: 64px 0 48px; }
.footer__top-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

/* Brand block */
.footer__brand {}
.footer__logo-link { display: inline-flex; margin-bottom: 16px; }
.footer__logo-img {
  height: 72px;
  width: 72px;
  object-fit: contain;
}
.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  line-height: 1.65;
}

/* Columns */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.footer__col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  transition: color .18s;
}
.footer__col-list a:hover { color: var(--text); }
.footer__col-list svg { flex-shrink: 0; opacity: .6; }

/* Watermark */
.footer__watermark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(80px, 14vw, 200px);
  color: rgba(255,255,255,0.035);
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
  text-align: center;
  margin-top: -10px;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .footer__top-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__watermark { font-size: 18vw; }
}

/* ── Listings Layout ─────────────────────────────────────────────────────────── */
.listings-layout { display: flex; gap: 32px; padding-top: 32px; padding-bottom: 32px; align-items: flex-start; }

/* ── Filters Sidebar ─────────────────────────────────────────────────────────── */
.filters-sidebar { width: 230px; flex-shrink: 0; position: sticky; top: 80px; }
.filters-form { display: flex; flex-direction: column; gap: 0; }
.filters-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.filters-sidebar__title { }
.filters-sidebar__clear { color: var(--muted); font-size: 12px; font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; }
.filters-sidebar__clear:hover { color: var(--accent); }
.filter-group { margin-bottom: 18px; }
.filter-label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.filter-select { padding: 9px 12px; cursor: pointer; }
.filter-range { width: 100%; accent-color: var(--accent); cursor: pointer; }
.filter-range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.filter-range-val { color: var(--accent); font-weight: 600; }

/* ── Listings Main ───────────────────────────────────────────────────────────── */
.listings-main { flex: 1; min-width: 0; }
.listings-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.listings-count { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.listings-count__filter { color: var(--accent); margin-left: 8px; }
.listings-sort { display: flex; align-items: center; gap: 10px; }
.listings-sort__label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.vehicles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── Vehicle Card ────────────────────────────────────────────────────────────── */
.vehicle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  border-color: rgba(255,255,255,.28);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.vehicle-card__link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.vehicle-card__destaque {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #111;
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; padding: 3px 10px;
  border-radius: 5px; letter-spacing: .06em; text-transform: uppercase;
}
.vehicle-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
}
.vehicle-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
html.light-theme .vehicle-card__image { background: #e8e6e1; }
.vehicle-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.vehicle-card__header { }
.vehicle-card__title { font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.15; }
.vehicle-card__subtitle { font-size: 12px; color: var(--muted); margin-top: 4px; }
.vehicle-card__badges { display: flex; gap: 5px; flex-wrap: wrap; }
.vehicle-card__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.vehicle-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.05); }
.vehicle-card__price { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--accent); letter-spacing: -.01em; }
.vehicle-card__hp { font-size: 11px; color: var(--muted); background: var(--surface2); border-radius: var(--radius-sm); padding: 4px 9px; font-weight: 500; }

/* ── Vehicle Placeholder ─────────────────────────────────────────────────────── */
.vehicle-placeholder {
  width: 100%;
  height: 100%;
  background: #23262e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicle-placeholder--large { height: 360px; border-radius: var(--radius); }

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
  transition: border-color .15s, color .15s;
}
.pagination a:hover { border-color: var(--accent); color: var(--text); }
.pagination .current { background: var(--text); color: #111; border-color: var(--text); font-weight: 700; }

/* ── Empty State ─────────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state__icon { font-size: 48px; margin-bottom: 16px; opacity: .3; }
.empty-state__title { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.empty-state__desc { font-size: 14px; color: var(--muted); }
.empty-state__desc a { color: var(--accent); }

/* ── Breadcrumb ──────────────────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb__current { color: var(--text); }

/* ── Single Vehicle ──────────────────────────────────────────────────────────── */
.single-layout { padding-bottom: 60px; }
.single-vehicle { display: grid; grid-template-columns: 1fr 280px; gap: 40px; margin-top: 24px; }
.vehicle-gallery { border-radius: var(--radius); background: var(--surface2); margin-bottom: 24px; }
.vehicle-gallery__main { width: 100%; height: 360px; object-fit: cover; display: block; }

/* ── Vehicle Gallery Carousel ─────────────────────────────────────────────── */
.vg__main-wrap {
  position: relative;
  border-radius: var(--radius);
  background: #111;
  line-height: 0;
}
.vg__main {
  display: block;
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
  object-position: center;
  transition: opacity .18s;
}
.vg__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); color: #fff;
  border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s; z-index: 2;
}
.vg__arrow:hover { background: rgba(0,0,0,.8); }
.vg__arrow--prev { left: 12px; }
.vg__arrow--next { right: 12px; }
.vg__counter {
  position: absolute; bottom: 12px; right: 14px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 9999px; pointer-events: none;
}
.vg__thumbs {
  display: flex; gap: 8px; margin-top: 10px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
}
.vg__thumb {
  flex-shrink: 0; width: 90px; height: 66px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; padding: 0;
  background: none; cursor: pointer;
  transition: border-color .15s, opacity .15s; opacity: .55;
}
.vg__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg__thumb:hover { opacity: .85; }
.vg__thumb--active { border-color: #fff; opacity: 1; }
html.light-theme .vg__thumb--active { border-color: #111; }
html.light-theme .vg__main-wrap { background: #e8e6e1; }
html.light-theme .vehicle-card__image { background: #e8e6e1; }

/* ── Tabs ────────────────────────────────────────────────────────────────────── */
.tabs__nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tabs__tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: color .15s;
  margin-bottom: -1px;
}
.tabs__tab--active { border-bottom-color: var(--accent); color: var(--text); }
.tabs__panel { display: none; }
.tabs__panel--active { display: block; }

/* ── Specs Grid ──────────────────────────────────────────────────────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs-grid__item { background: var(--surface); padding: 10px 14px; }
.specs-grid__label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.specs-grid__value { font-size: 14px; font-weight: 500; }
.single-vehicle__desc { font-size: 14px; line-height: 1.7; color: #ccc; }

/* ── Vehicle Map ─────────────────────────────────────────────────────────────── */
.vehicle-map { margin-top: 28px; }
.vehicle-map__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.vehicle-map__header svg { opacity: .7; flex-shrink: 0; }
.vehicle-map__radius { color: var(--accent); font-weight: 500; }
.vehicle-map__iframe {
  border-radius: 12px;
  display: block;
  width: 100%;
  border: 1px solid var(--border);
}
html.light-theme .vehicle-map__iframe { border-color: #e6e3dd; }

/* ── Contact Box / Sidebar ───────────────────────────────────────────────────── */
.single-vehicle__sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.contact-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-box__price-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-box__price { font-family: var(--font-head); font-weight: 700; font-size: 32px; color: var(--accent); line-height: 1; }
.contact-box__price-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.contact-box__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.contact-box__footer { font-size: 12px; color: var(--muted); line-height: 1.6; display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--border); }
.seller-box { background: var(--surface2); border-radius: var(--radius); padding: 12px 14px; }
.seller-box__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.seller-box__name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.seller-box__phone { font-size: 13px; color: var(--accent); font-weight: 500; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-form-wrap__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form__input { padding: 10px 12px; font-size: 13px; }
.contact-form__textarea { resize: none; }
.contact-form__submit { margin-top: 4px; }
.contact-form__feedback { padding: 12px; border-radius: var(--radius-sm); font-size: 13px; text-align: center; }
.contact-form__feedback--success { background: #1a3a2a; border: 1px solid #2a4a2a; color: #aaa; }
.contact-form__feedback--error { background: #3a1a1a; border: 1px solid #5a2a2a; color: var(--red); }

/* ── Horários (admin) ────────────────────────────────────────────────────────── */
.horarios-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.horario-row { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.horario-row:last-child { border-bottom: none; }
.horario-day { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 500; white-space: nowrap; }
.horario-day input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
.horario-times { display: flex; align-items: center; gap: 8px; }
.horario-input { width: 100px !important; padding: 7px 10px !important; font-size: 13px !important; }
.horario-fechado { color: var(--muted); font-size: 12px; }
@media (max-width: 600px) {
  .horario-row { grid-template-columns: 1fr; gap: 6px; }
  .horario-input { width: 90px !important; }
}

/* ── Sobre o Vendedor (loja) ─────────────────────────────────────────────────── */
.seller-about { margin-top: 28px; }
.seller-about__label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.seller-about__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.seller-about__main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.seller-about__logo {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden; color: var(--muted);
}
.seller-about__logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seller-about__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.seller-about__name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 17px; line-height: 1.2; color: var(--text);
}
.seller-about__location {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--muted);
}
.seller-about__location svg { flex-shrink: 0; opacity: .7; }
.seller-about__desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.seller-about__link {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--text); padding-top: 14px;
  border-top: 1px solid var(--border);
  transition: gap .15s;
}
.seller-about__link:hover { gap: 10px; }
.seller-about__link svg { flex-shrink: 0; }

.seller-about__status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; margin-top: 6px;
}
.seller-about__status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.seller-about__status--open .seller-about__status-dot { background: #22c55e; }
.seller-about__status--closed .seller-about__status-dot { background: #ef4444; }
.seller-about__status--open { color: #22c55e; }
.seller-about__status--closed { color: var(--muted); }

.seller-about__contacts {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--border);
}

html.light-theme .seller-about__card { background: #fff; border-color: #e6e3dd; }
html.light-theme .seller-about__logo { background: #f0eeea; border-color: #e0ddd6; color: rgba(0,0,0,.4); }
html.light-theme .seller-about__name { color: #111; }
html.light-theme .seller-about__link { color: #111; border-color: #e6e3dd; }

@media (max-width: 768px) {
  .seller-about { margin-top: 20px; }
  .seller-about__card { padding: 16px; }
  .seller-about__name { font-size: 15px; }
  .seller-about__logo { width: 52px; height: 52px; }
}

/* ── Theme Toggle Button ─────────────────────────────────────────────────────── */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.16); }
.theme-toggle__track { display: block; width: 100%; height: 100%; border-radius: 9999px; }
.theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.theme-toggle__sun  { display: block; color: #f59e0b; transition: opacity .2s, transform .3s; }
.theme-toggle__moon { display: none;  color: #94a3b8; transition: opacity .2s, transform .3s; }

/* Light state */
html.light-theme .theme-toggle {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}
html.light-theme .theme-toggle__thumb {
  transform: translateX(24px);
  background: #111;
}
html.light-theme .theme-toggle__sun  { display: none; }
html.light-theme .theme-toggle__moon { display: block; color: #fff; }

/* ── Interactive Hover Button (CTA Solicitar) ────────────────────────────────── */
.ihb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 9999px;
  background: #fff;
  color: #111;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #fff;
  transition: color .3s, border-color .3s;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
}
.ihb__text  { position: relative; z-index: 2; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.ihb__arrow { position: relative; z-index: 2; font-size: 18px; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.ihb__fill {
  position: absolute;
  inset: 0;
  background: #111;
  border-radius: 9999px;
  transform: translateX(-105%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.ihb:hover { color: #fff; border-color: #111; }
.ihb:hover .ihb__fill  { transform: translateX(0); }
.ihb:hover .ihb__arrow { transform: translateX(4px); }
.ihb:hover .ihb__text  { transform: translateX(-2px); }

/* ── Navbar phone ────────────────────────────────────────────────────────────── */
.navbar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
  white-space: nowrap;
  padding: 4px 0;
}
.navbar__phone:hover { color: var(--text); }
.navbar__phone svg { flex-shrink: 0; opacity: .7; }

/* ── CTA button white variant ────────────────────────────────────────────────── */
.btn-cta-anuncio--white {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
}
.btn-cta-anuncio--white:hover {
  background: #f0f0f0;
  box-shadow: 0 8px 32px rgba(255,255,255,0.22);
}

/* ── Solicitar Venda page ─────────────────────────────────────────────────────── */
.solicitar-wrap {
  padding: 60px 0 80px;
  min-height: calc(100vh - 68px);
}
.solicitar-layout {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 80px;
  align-items: start;
}

/* Left column */
.solicitar-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.solicitar-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--text);
}
.solicitar-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 32px;
}
.solicitar-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.solicitar-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.solicitar-benefit-icon {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text);
  flex-shrink: 0;
}
.solicitar-contact { display: flex; align-items: center; gap: 12px; }
.solicitar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 18px;
  border-radius: 9999px;
  transition: background .2s;
}
.solicitar-phone:hover { background: rgba(255,255,255,0.1); }
.solicitar-phone-label { font-size: 12px; color: rgba(255,255,255,0.35); }

/* Right column — form card */
.solicitar-form-card {
  background: rgba(20,20,22,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 36px;
}

/* Form sections */
.sform-section { margin-bottom: 28px; }
.sform-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sform-group { margin-bottom: 16px; }
.sform-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 7px;
  font-weight: 500;
}
.sform-hint { font-size: 11px; color: rgba(255,255,255,0.28); margin-top: 5px; display: block; }
.sform-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}
.sform-input::placeholder { color: rgba(255,255,255,0.22); }
.sform-input:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.07);
}
.sform-input--lg { font-size: 15px; padding: 15px 18px; }
.sform-select { cursor: pointer; }
.sform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sform-row--align {
  grid-template-columns: 1fr auto;
  align-items: center;
}

/* Checkbox */
.sform-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.sform-checkbox { display: none; }
.sform-check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.sform-checkbox:checked + .sform-check-box {
  background: var(--text);
  border-color: var(--text);
}
.sform-checkbox:checked + .sform-check-box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translateY(-1px) rotate(-45deg);
}
.sform-check-label { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Error + Submit */
.sform-error {
  background: rgba(224,85,85,0.12);
  border: 1px solid rgba(224,85,85,0.3);
  color: #f87171;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.sform-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--text);
  color: #111;
  border: none;
  border-radius: 10px;
  padding: 15px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.sform-submit:hover { opacity: .88; }
.sform-submit:disabled { opacity: .5; cursor: not-allowed; }

/* Success state — hidden by default, shown via JS */
.solicitar-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.solicitar-success.is-visible {
  display: flex;
}
.solicitar-success__icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 8px;
}
.solicitar-success h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.solicitar-success p { font-size: 14px; color: var(--muted); }

@media (max-width: 1024px) {
  .solicitar-layout { grid-template-columns: 1fr; gap: 40px; }
  .solicitar-layout .solicitar-right { max-width: 560px; }
}
@media (max-width: 600px) {
  .solicitar-form-card { padding: 24px 20px; }
  .sform-row { grid-template-columns: 1fr; }
}

/* ── Text helpers ────────────────────────────────────────────────────────────── */
.text-muted { color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .popular-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
  .single-vehicle { grid-template-columns: 1fr; }
  .single-vehicle__sidebar { position: static; }
  .cta-anuncio__inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-anuncio__social { justify-content: center; }
}

@media (max-width: 768px) {
  /* Navbar — crítico */
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__mobile:not([hidden]) { display: flex; }
  .megamenu { display: none; }
  /* Search box */
  .search-box { flex-direction: column; gap: 0; padding: 16px; border-radius: 12px; }
  .search-box__field { padding: 0; border-right: none; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 12px; margin-bottom: 12px; }
  .search-box__field:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .search-box__btn { width: 100%; justify-content: center; margin-top: 4px; }
  .search-box__select { width: 100%; }
  .cta-grid { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════════════════════════
   PÁGINA SOBRE NÓS
   ════════════════════════════════════════════════════════════════════════════ */

.sobre-hero {
  padding: 100px 0 72px;
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
}
.sobre-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.sobre-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}
.sobre-hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 680px;
  margin-bottom: 20px;
}
.sobre-hero__sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* Stats strip */
.sobre-stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.sobre-stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sobre-stat-item {
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid var(--border);
}
.sobre-stat-item:last-child { border-right: none; }
.sobre-stat-item__n {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
}
.sobre-stat-item__l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Values */
.sobre-values { padding: 80px 0; background: #0d0d0d; }
.sobre-section-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 36px;
}
.sobre-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sobre-value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color .2s;
}
.sobre-value-card:hover { border-color: rgba(255,255,255,.2); }
.sobre-value-card__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--text);
}
.sobre-value-card__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.sobre-value-card__text { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Story */
.sobre-story { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sobre-story__inner { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.sobre-story__text-col p { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.sobre-story__title { font-family: var(--font-head); font-size: 36px; font-weight: 900; line-height: 1.1; margin: 14px 0 24px; }

/* Contact card in story */
.sobre-contact-card {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: sticky;
  top: 90px;
}
.sobre-contact-card__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.sobre-contact-card__item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.sobre-contact-card__icon {
  width: 32px; height: 32px; background: rgba(255,255,255,.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sobre-contact-card__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.sobre-contact-card__value { font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.sobre-contact-card__value:hover { text-decoration: underline; }
.sobre-contact-card__divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Marcas */
.sobre-marcas { padding: 72px 0; background: #0d0d0d; }
.sobre-marcas__grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px;
}
.sobre-marca-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px; font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: border-color .2s, color .2s;
}
.sobre-marca-chip:hover { border-color: rgba(255,255,255,.3); color: var(--text); }

/* CTA */
.sobre-cta { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); }
.sobre-cta__inner { text-align: center; max-width: 560px; margin: 0 auto; }
.sobre-cta__title { font-family: var(--font-head); font-size: 38px; font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.sobre-cta__sub { font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.sobre-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Light theme overrides — sobre */
html.light-theme .sobre-hero { background: var(--bg); }
html.light-theme .sobre-stats-strip { background: #fff; }
html.light-theme .sobre-stat-item { border-color: rgba(0,0,0,.08); }
html.light-theme .sobre-values { background: var(--bg); }
html.light-theme .sobre-value-card { background: #fff; border-color: #e6e3dd; }
html.light-theme .sobre-value-card__icon { background: rgba(0,0,0,.05); }
html.light-theme .sobre-value-card__text { color: rgba(0,0,0,.55); }
html.light-theme .sobre-story { background: #fff; border-color: rgba(0,0,0,.07); }
html.light-theme .sobre-story__text-col p { color: rgba(0,0,0,.55); }
html.light-theme .sobre-contact-card { background: var(--bg); border-color: #e6e3dd; }
html.light-theme .sobre-contact-card__icon { background: rgba(0,0,0,.05); }
html.light-theme .sobre-contact-card__value { color: #111; }
html.light-theme .sobre-marcas { background: var(--bg); }
html.light-theme .sobre-marca-chip { background: #fff; border-color: #e6e3dd; }
html.light-theme .sobre-cta { background: #fff; border-color: rgba(0,0,0,.07); }
html.light-theme .sobre-hero__badge { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); color: rgba(0,0,0,.45); }
html.light-theme .sobre-hero__title { color: #111; }
html.light-theme .sobre-hero__sub { color: rgba(0,0,0,.5); }
html.light-theme .sobre-stat-item__n { color: #111; }
html.light-theme .sobre-section-title { color: #111; }
html.light-theme .sobre-value-card__title { color: #111; }
html.light-theme .sobre-story__title { color: #111; }
html.light-theme .sobre-cta__title { color: #111; }
html.light-theme .sobre-cta__sub { color: rgba(0,0,0,.5); }

@media (max-width: 900px) {
  .sobre-values__grid { grid-template-columns: 1fr; }
  .sobre-story__inner { grid-template-columns: 1fr; }
  .sobre-contact-card { position: static; }
  .sobre-stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-stat-item { border-bottom: 1px solid var(--border); }
}

/* ════════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVO — Correções globais
   ════════════════════════════════════════════════════════════════════════════ */

html, body { overflow-x: hidden; }

/* ── Filtros: botão toggle mobile ──────────────────────────────────────────── */
.filters-mobile-btn {
  display: none;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 18px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.filters-mobile-btn__chevron { transition: transform .25s; flex-shrink: 0; }
.filters-mobile-btn.open .filters-mobile-btn__chevron { transform: rotate(180deg); }
html.light-theme .filters-mobile-btn { background: #fff; border-color: #e6e3dd; }

@media (max-width: 768px) {

  /* Global */
  .container { padding: 0 16px; }

  /* Navbar */
  .navbar__phone { display: none; }
  .navbar__actions .btn--shimmer { font-size: 12px; padding: 7px 14px; }

  /* Hero */
  .hero { padding-top: 70px; padding-bottom: 36px; min-height: auto; }
  .hero__title { font-size: clamp(28px, 8vw, 42px); letter-spacing: -.03em; margin-bottom: 12px; }
  .hero__sub { font-size: 13px; max-width: 100%; margin-bottom: 20px; }
  .search-box { border-radius: 12px; }

  /* Seções */
  .section { padding: 36px 0; }
  .section + .section { padding-top: 0; }

  /* Categorias */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card__image { height: 115px; }
  .category-card__label { font-size: 13px; }
  .category-card__footer { padding: 10px 12px; }

  /* Marcas populares */
  .popular-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .popular-card { padding: 10px 12px; }
  .popular-card__image { height: 70px; }

  /* Notícias */
  .news-grid { grid-template-columns: 1fr; }

  /* Featured card */
  .featured-card { flex-direction: column; height: auto; }
  .featured-card__image { width: 100%; height: 180px; }

  /* CTA */
  .cta-anuncio { padding: 40px 0; }
  .cta-anuncio__title { font-size: 22px; }
  .cta-anuncio__sub { font-size: 13px; }
  .cta-anuncio__inner { gap: 20px; }
  .ihb { font-size: 14px; padding: 13px 22px; }

  /* ── Listings / Archive ── */
  .listings-layout { flex-direction: column; gap: 12px; padding-top: 12px; padding-bottom: 28px; }
  .filters-mobile-btn { display: flex; }
  .filters-sidebar {
    width: 100%;
    position: static;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .filters-sidebar.open { max-height: 2400px; }
  .filters-form { padding-top: 4px; }

  .listings-toolbar { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 14px; }
  .listings-count { font-size: 17px; }
  .listings-sort { width: 100%; }
  .listings-sort .filter-select { flex: 1; width: 100%; }

  /* Cards */
  .vehicles-grid { grid-template-columns: 1fr; gap: 12px; }
  .vehicle-card__title { font-size: 15px; }
  .vehicle-card__subtitle { font-size: 11px; }
  .vehicle-card__body { padding: 12px 14px 14px; gap: 6px; }
  .vehicle-card__meta { font-size: 11px; gap: 6px; }
  .vehicle-card__price { font-size: 17px; }
  .vehicle-card__hp { font-size: 11px; }

  /* Paginação */
  .pagination { gap: 5px; padding: 18px 0 0; }
  .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: 12px; padding: 0 8px; }

  /* ── Single veículo ── */
  .single-layout { padding-bottom: 36px; }
  .single-vehicle { gap: 20px; margin-top: 12px; }
  .breadcrumb { font-size: 11px; gap: 4px; flex-wrap: wrap; padding-top: 10px; }
  .breadcrumb span, .breadcrumb a { white-space: nowrap; }

  /* Galeria */
  .vg__main { max-height: 48vh; }
  .vg__arrow { width: 32px; height: 32px; }
  .vg__arrow--prev { left: 8px; }
  .vg__arrow--next { right: 8px; }
  .vg__thumb { width: 58px; height: 43px; }
  .vg__thumbs { gap: 6px; margin-top: 8px; }

  /* Tabs */
  .tabs__tab { font-size: 12px; padding: 10px 12px; letter-spacing: .04em; }

  /* Specs */
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .specs-grid__item { padding: 9px 12px; }
  .specs-grid__value { font-size: 13px; }

  /* Sidebar / Contato */
  .single-vehicle__sidebar { position: static; gap: 12px; }
  .contact-box { padding: 16px; }
  .contact-box__price { font-size: 26px; }
  /* Impedir zoom no iOS em inputs */
  .contact-form__input,
  .contact-form__textarea,
  .filter-select,
  .vform-input,
  .vform-select,
  .vform-textarea { font-size: 16px; }

  /* ── Footer ── */
  .footer__inner { gap: 28px; }
  .footer__top-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer__watermark { font-size: 15vw; }
  .footer__social { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 11px; }
  .footer-col__title { font-size: 11px; }
  .footer-col__link { font-size: 12px; }

  /* ── Sobre Nós ── */
  .sobre-hero { padding: 64px 0 36px; }
  .sobre-hero__title { font-size: clamp(26px, 7vw, 38px); }
  .sobre-hero__sub { font-size: 14px; }
  .sobre-stats-strip { padding: 20px 0; }
  .sobre-stat-item__n { font-size: 28px; }
  .sobre-contact-card { position: static; }
  .sobre-cta__title { font-size: clamp(22px, 5vw, 28px); }
  .sobre-cta__btns { flex-direction: column; align-items: stretch; }
  .sobre-cta__btns .btn { text-align: center; justify-content: center; }

  /* ── Solicitar venda ── */
  .solicitar-layout { grid-template-columns: 1fr; gap: 28px; }
  .solicitar-form-card { padding: 20px 16px; }
  .sform-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 26px; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card__image { height: 150px; }
  .footer__watermark { display: none; }
  .sobre-stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-card__image { aspect-ratio: 16 / 9; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG / NOTÍCIAS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Blog archive ──────────────────────────────────────────────────────────── */
.blog-archive { min-height: 60vh; }

.blog-header {
  border-bottom: 1px solid var(--border);
  padding: 52px 0 0;
}
.blog-header__content { margin-bottom: 28px; }
.blog-header__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.blog-header__desc { font-size: 16px; color: var(--muted); }

.blog-header__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}
.blog-tag:hover { color: var(--text); border-color: var(--muted); }
.blog-tag--active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
html.light-theme .blog-tag--active { background: #111; color: #fff; border-color: #111; }
.blog-tag__count { font-size: 11px; opacity: .65; }

/* ── Post page — light theme ──────────────────────────────────────────────── */
html.light-theme .post-header { border-bottom-color: rgba(0,0,0,.1); }
html.light-theme .post-header__back { color: rgba(0,0,0,.5); border-color: rgba(0,0,0,.15); }
html.light-theme .post-header__back:hover { color: #111; border-color: rgba(0,0,0,.4); }
html.light-theme .post-cat-tag { background: rgba(0,0,0,.05); color: rgba(0,0,0,.5); border-color: rgba(0,0,0,.12); }
html.light-theme .post-cat-tag:hover { color: #111; }
html.light-theme .post-header__title { color: #111; }
html.light-theme .post-header__excerpt { color: rgba(0,0,0,.55); }
html.light-theme .sidebar-brand { border-bottom-color: rgba(0,0,0,.1); }
html.light-theme .sidebar-brand__logo { filter: invert(1); }
html.light-theme .sidebar-brand__name { color: #111; }
html.light-theme .sidebar-recents__label { color: rgba(0,0,0,.4); }
html.light-theme .sidebar-recent-item { border-bottom-color: rgba(0,0,0,.08); }
html.light-theme .sidebar-recent-item__cat { color: rgba(0,0,0,.4); }
html.light-theme .sidebar-recent-item__title { color: #111; }
html.light-theme .sidebar-recent-item__date { color: rgba(0,0,0,.4); }
html.light-theme .post-toc__label { color: rgba(0,0,0,.4); }
html.light-theme .post-toc__item { color: rgba(0,0,0,.5); }
html.light-theme .post-toc__item:hover { color: #111; }
html.light-theme .post-toc__item--active { color: #111; border-left-color: #111; }
html.light-theme .related-posts { border-top-color: rgba(0,0,0,.1); }
html.light-theme .related-posts__label { color: #111; }
html.light-theme .related-card { background: #fff; border-color: #e8e5e0; }
html.light-theme .related-card:hover { border-color: rgba(0,0,0,.3); }
html.light-theme .related-card__title { color: #111; }
html.light-theme .prose { color: #222; }
html.light-theme .prose h1,
html.light-theme .prose h2,
html.light-theme .prose h3,
html.light-theme .prose h4 { color: #111; }

/* ── Blog grid — full-bleed border dividers ───────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  margin-top: 0;
}

/* ── Post card ────────────────────────────────────────────────────────────── */
.post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.post-card:hover { background: var(--surface); }
.post-card:hover .post-card__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.post-card:hover .post-card__img { transform: scale(1.04); }

.post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--surface2);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
}
.post-card__date,
.post-card__read { font-size: 12px; color: var(--muted); }
.post-card__read::before { content: '·'; margin-right: 8px; }

.post-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.post-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Single post header ───────────────────────────────────────────────────── */
.post-header {
  border-bottom: 1px solid var(--border);
  padding: 44px 0 36px;
}
.post-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.post-header__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  transition: color .15s, border-color .15s;
}
.post-header__back:hover { color: var(--text); border-color: var(--muted); }

.post-cat-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--surface2);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s;
}
.post-cat-tag:hover { color: var(--text); }

.post-header__date,
.post-header__read { font-size: 13px; color: var(--muted); }

.post-header__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.post-header__excerpt {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 740px;
}
.post-header__excerpt p { margin: 0; }

/* ── Single post layout ───────────────────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  padding: 44px 0 72px;
  align-items: start;
}
.post-layout__content { min-width: 0; }

.post-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}
.post-hero__img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

/* ── Prose / article typography ───────────────────────────────────────────── */
.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}
.prose h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 44px 0 16px;
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
}
.prose h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
}
.prose p { margin-bottom: 22px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--border);
  padding-left: 20px;
  color: var(--muted);
  font-style: italic;
  margin: 32px 0;
}
.prose img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
  margin: 28px 0;
  display: block;
}
.prose strong { font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }
.prose code {
  font-size: 13px;
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}
.prose pre {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 28px 0;
}
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.prose th { background: var(--surface2); font-weight: 700; text-align: left; padding: 10px 14px; border: 1px solid var(--border); }
.prose td { padding: 10px 14px; border: 1px solid var(--border); }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.post-layout__sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.sidebar-brand__name { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }

.sidebar-post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
}
.sidebar-post:hover { border-color: var(--muted); }
.sidebar-post__image { aspect-ratio: 16 / 9; overflow: hidden; }
.sidebar-post__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sidebar-post:hover .sidebar-post__img { transform: scale(1.04); }
.sidebar-post__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-post__cat { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sidebar-post__title { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0; }
.sidebar-post:hover .sidebar-post__title { text-decoration: underline; text-underline-offset: 3px; }
.sidebar-post__date { font-size: 11px; color: var(--muted); }

/* ── Sidebar recents widget ───────────────────────────────────────────────── */
.sidebar-recents { display: flex; flex-direction: column; }
.sidebar-recents__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.sidebar-recent-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.sidebar-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent-item:hover { opacity: .72; }
.sidebar-recent-item__img-wrap { flex-shrink: 0; width: 58px; height: 46px; border-radius: 6px; overflow: hidden; }
.sidebar-recent-item__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-recent-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sidebar-recent-item__cat { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sidebar-recent-item__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-recent-item__date { font-size: 11px; color: var(--muted); }

.post-toc__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.post-toc__nav { display: flex; flex-direction: column; gap: 2px; }
.post-toc__item {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  line-height: 1.45;
  transition: color .15s, border-color .15s;
}
.post-toc__item--sub { padding-left: 24px; font-size: 12px; }
.post-toc__item:hover { color: var(--text); }
.post-toc__item--active {
  color: var(--text);
  border-left-color: var(--text);
  font-weight: 600;
}

/* ── Related posts ────────────────────────────────────────────────────────── */
.related-posts {
  margin-top: 52px;
  padding-top: 44px;
  padding-bottom: 120px;
  border-top: 1px solid var(--border);
}
.related-posts__label {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s, background .15s;
}
.related-card:hover { border-color: var(--muted); }
.related-card:hover .related-card__title { text-decoration: underline; text-underline-offset: 3px; }
.related-card__image { aspect-ratio: 16 / 9; overflow: hidden; }
.related-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.related-card:hover .related-card__img { transform: scale(1.04); }
.related-card__body { padding: 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.related-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.related-card__title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
}
.related-card__date { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── Blog responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-layout__sidebar { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-header { padding: 32px 0 0; }
  .blog-header__title { font-size: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-header { padding: 28px 0 24px; }
  .post-header__title { font-size: 26px; }
  .post-header__excerpt { font-size: 15px; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .post-card__title { font-size: 16px; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 18px; }
}

/* ── Painel Admin ─────────────────────────────────────────────────────────────── */
.painel-wrap { display: flex; min-height: 100vh; padding-top: 68px; }

.painel-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 28px 16px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}
.painel-sidebar__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.painel-sidebar__logo img { width: 36px; height: 36px; object-fit: contain; }
.painel-sidebar__logo span { font-family: var(--font-head); font-weight: 700; font-size: 15px; }

.painel-nav { display: flex; flex-direction: column; gap: 4px; }
.painel-nav__item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background .15s, color .15s;
}
.painel-nav__item:hover { background: var(--surface2); color: var(--text); }
.painel-nav__item--active { background: var(--surface2); color: var(--text); font-weight: 600; }

.painel-main { flex: 1; padding: 36px 40px 80px; min-width: 0; }

.painel-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.painel-topbar__title { font-family: var(--font-head); font-size: 24px; font-weight: 700; }

.painel-msg { padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; font-size: 14px; font-weight: 500; }
.painel-msg--success { background: rgba(34,197,94,.12); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
.painel-msg--error   { background: rgba(239,68,68,.10); color: #dc2626; border: 1px solid rgba(239,68,68,.2); }

.painel-stats { display: flex; gap: 16px; margin-bottom: 28px; }
.painel-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 24px; display: flex; flex-direction: column; gap: 4px; }
.painel-stat__n { font-family: var(--font-head); font-size: 28px; font-weight: 700; }
.painel-stat__l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.painel-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.painel-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.painel-table thead th { background: var(--surface); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--border); }
.painel-table tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
.painel-table tbody tr:last-child { border-bottom: none; }
.painel-table tbody tr:hover { background: var(--surface); }
.painel-table td { padding: 12px 16px; vertical-align: middle; }
.painel-table__thumb { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; display: block; }
.painel-table__no-thumb { width: 48px; height: 36px; background: var(--surface2); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; }
.painel-table__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.painel-table__date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.painel-table__actions { display: flex; gap: 6px; align-items: center; }

.painel-badge { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--surface2); padding: 3px 8px; border-radius: 20px; color: var(--muted); }
.painel-status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.painel-status--publish { background: rgba(34,197,94,.12); color: #16a34a; }
.painel-status--draft   { background: rgba(234,179,8,.12); color: #ca8a04; }

.btn-painel {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: var(--surface2); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; transition: border-color .15s, background .15s; white-space: nowrap;
  text-decoration: none;
}
.btn-painel:hover { border-color: var(--muted); }
.btn-painel--primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-painel--primary:hover { opacity: .88; }
.btn-painel--danger { background: rgba(239,68,68,.1); color: #dc2626; border-color: rgba(239,68,68,.25); }
.btn-painel--danger:hover { background: rgba(239,68,68,.18); }
.btn-painel--sm { padding: 5px 10px; font-size: 13px; }
.btn-painel--full { width: 100%; justify-content: center; display: flex; }

.painel-form__grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.painel-form__side { display: flex; flex-direction: column; gap: 16px; }

.painel-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.painel-card__title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }

.painel-field { margin-bottom: 18px; }
.painel-field:last-child { margin-bottom: 0; }
.painel-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.painel-label .req { color: #dc2626; }
.painel-input, .painel-select {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-family: var(--font-body);
  transition: border-color .15s;
}
.painel-input:focus, .painel-select:focus { outline: none; border-color: var(--text); }
.painel-textarea {
  width: 100%; padding: 12px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-family: var(--font-body);
  resize: vertical; min-height: 320px; line-height: 1.6;
  transition: border-color .15s;
}
.painel-textarea:focus { outline: none; border-color: var(--text); }
.painel-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.painel-hint a { color: var(--blue); }

.imagem-preview { margin-bottom: 12px; }
.imagem-preview img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 160px; }
.imagem-placeholder {
  width: 100%; height: 120px; border-radius: 8px;
  background: var(--surface2); border: 1px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--muted); font-size: 13px;
}

.painel-empty { text-align: center; padding: 80px 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.painel-empty p { font-size: 15px; }
