:root {
  /* Branco perolizado + azul marca nas extremidades */
  --pearl: #f8fafd;
  --pearl-deep: #f0f4fa;
  --pearl-card: #ffffff;
  --brand-blue: #2563eb;
  --brand-blue-mid: #3b82f6;
  --brand-blue-soft: #dbeafe;
  --brand-blue-faint: rgba(37, 99, 235, 0.08);
  --brand-blue-edge: rgba(37, 99, 235, 0.14);
  --navy-light: #3d5a7a;
  --navy-soft: rgba(44, 74, 110, 0.12);
  --navy-glow: rgba(44, 74, 110, 0.18);
  --pearl-shine: rgba(255, 255, 255, 0.92);
  --accent: #65a30d;
  --accent-lime: #84cc16;
  --metal: linear-gradient(135deg, #2563eb 0%, #60a5fa 45%, #93c5fd 70%, #2563eb 100%);
  --text: #1e293b;
  --text-soft: #334155;
  --muted: #64748b;
  --border: rgba(37, 99, 235, 0.12);
  --border-strong: rgba(37, 99, 235, 0.22);
  --radius: 14px;
  --shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
  --shadow-hover: 0 16px 40px rgba(37, 99, 235, 0.14);
  /* compat */
  --bg: var(--pearl);
  --bg2: var(--pearl-deep);
  --bg3: var(--pearl-card);
  --accent2: var(--brand-blue);
  --blue: var(--brand-blue);
}

* { box-sizing: border-box; }

html {
  background: var(--pearl-deep);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, var(--brand-blue-edge) 0%, transparent 55%),
    radial-gradient(ellipse 85% 65% at 100% 0%, rgba(59, 130, 246, 0.11) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(37, 99, 235, 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 85% 65% at 100% 100%, var(--brand-blue-edge) 0%, transparent 55%),
    linear-gradient(165deg, #fcfdfe 0%, var(--pearl) 35%, #f4f7fc 70%, #eef3fa 100%);
  background-attachment: fixed;
}

.container { width: min(1200px, 92vw); margin: 0 auto; }
.narrow { max-width: 560px; }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-blue-mid); }
h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── Cabeçalho ── */
.site-header {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(37, 99, 235, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  padding: 1rem 0 0;
}

.header-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  text-align: left;
  padding-bottom: .85rem;
}

.brand-mark { display: flex; flex-shrink: 0; color: var(--text); text-decoration: none; }

.logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, var(--pearl-deep) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 0 3px var(--brand-blue-soft),
    0 10px 28px rgba(37, 99, 235, 0.12);
  flex-shrink: 0;
  isolation: isolate;
}

.logo-circle-header {
  width: clamp(120px, 16vw, 152px);
  height: clamp(120px, 16vw, 152px);
}

.logo-circle-sm { width: 56px; height: 56px; margin-bottom: .5rem; }

.logo-circle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 2px;
}

.logo-circle-header .logo-circle-img,
.logo-circle-header .logo-fallback {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  padding: 3px;
}

.logo-circle-sm .logo-circle-img {
  object-fit: contain;
  object-position: center center;
  padding: 1px;
}

.logo-circle-img.logo-fallback {
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
}

.header-info { flex: 1; min-width: 0; }

.header-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 .2rem;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
}

/* Home — título comercial: degradê vertical dentro dos glifos (marca + CTA) */
.header-title-gradient {
  display: inline;
  max-width: 100%;
}

.header-tagline-brand,
.header-tagline-cta-text {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0a6e8a;
}

.header-tagline-brand {
  background-image: linear-gradient(
    180deg,
    #042f3d 0%,
    #0a6e8a 38%,
    #3db8d4 54%,
    #088395 100%
  );
}

.header-tagline-cta-text {
  background-image: linear-gradient(
    180deg,
    #053544 0%,
    #0d8aab 36%,
    #5ec4dc 52%,
    #0a7a96 100%
  );
}

.header-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: .5rem;
  width: clamp(1.45rem, 3vw, 1.75rem);
  height: clamp(1.45rem, 3vw, 1.75rem);
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.header-instagram:hover {
  transform: scale(1.08);
  opacity: 0.92;
}

.header-instagram svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-lead-cta {
  margin-top: .15rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.header-title-home.header-title-gradient {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #0a6e8a;
}

.header-title-home:not(.header-title-gradient) {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.8vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--text);
}

.header-title-home:not(.header-title-gradient) .header-title-accent {
  display: inline;
  font-weight: 700;
  font-style: normal;
  color: var(--navy-light);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

.header-title-page {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.header-lead {
  margin: 0 0 .55rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  max-width: 52ch;
}

.header-meta { margin: 0; }

.header-meta-line {
  margin: 0 0 .2rem;
  font-size: .88rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-soft);
  line-height: 1.45;
}

.header-meta-line a { color: var(--brand-blue); font-weight: 500; }
.header-meta-line a:hover { color: var(--brand-blue-mid); }
.header-meta-muted { color: var(--muted); font-size: .82rem; }
.meta-sep { color: rgba(37, 99, 235, 0.25); margin: 0 .35rem; }

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem 1.5rem;
  padding: .65rem 0;
  border-top: 1px solid var(--border);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: 100%;
}

.nav-main a {
  color: var(--muted);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-main a:hover {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue-mid);
}

.nav-entrar {
  margin-left: auto;
  color: var(--brand-blue) !important;
  border: 1px solid var(--border-strong) !important;
  padding: .3rem .85rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  background: rgba(255, 255, 255, 0.7);
}

.nav-entrar:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue) !important;
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-mid) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-strong);
  color: var(--brand-blue);
}

.btn-outline:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
}

.btn-whatsapp { background: #25d366; color: #fff; }
.btn-block { width: 100%; }

/* ── Hero / seções ── */
.hero-cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 70%),
    transparent;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
}

.hero-cta-inner {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Hero slider — destaques ── */
.hero-slider {
  position: relative;
  margin: 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    var(--pearl);
}

.hero-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 52vw, 480px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background: var(--pearl-deep) center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1.06);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 253, 0.88) 38%, rgba(248, 250, 253, 0.45) 62%, rgba(37, 99, 235, 0.08) 100%),
    linear-gradient(to top, rgba(37, 99, 235, 0.12) 0%, transparent 40%);
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 52vw, 480px);
  padding: 2rem 0;
}

.hero-slide-copy {
  max-width: min(520px, 92%);
}

.hero-slide-badge {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.hero-slide-title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  margin: 0 0 .35rem;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
}

.hero-slide-versao {
  margin: 0 0 .35rem;
  color: var(--muted);
  font-size: 1rem;
  text-transform: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.hero-slide-meta {
  margin: 0 0 .5rem;
  color: var(--text-soft);
  font-size: .9rem;
}

.hero-slide-preco {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 1.25rem;
  font-family: 'Barlow Condensed', sans-serif;
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-slide .ribbon-vendido {
  position: absolute;
  right: 8%;
  top: 50%;
  left: auto;
  transform: translateY(-50%) rotate(-8deg);
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
}

.hero-slider-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.hero-slider-prev { left: max(12px, calc((100vw - 1200px) / 2 - 28px)); }
.hero-slider-next { right: max(12px, calc((100vw - 1200px) / 2 - 28px)); }

.hero-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: .5rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(37, 99, 235, 0.25);
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.hero-slider-dot.is-active {
  background: var(--brand-blue);
  transform: scale(1.25);
}

.section-compact { padding: 2rem 0; }
.destaque-thumbs { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card-veiculo-sm .card-body { padding: .75rem; }
.card-veiculo-sm .card-body h3 { font-size: 1rem; }
.card-veiculo-sm .preco { font-size: 1.05rem; margin-top: .25rem; }

@media (max-width: 768px) {
  .hero-slider-prev { left: 8px; }
  .hero-slider-next { right: 8px; }
  .hero-slide .ribbon-vendido {
    right: 50%;
    transform: translate(50%, -50%) rotate(-8deg);
    font-size: 1rem;
    padding: .35rem 1.5rem;
  }
}

.gradient-text {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.badge-metal {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--brand-blue);
  font-weight: 500;
}

.section { padding: 3rem 0; }

.section-alt {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text);
}

.card-body h3 {
  text-transform: none;
  letter-spacing: .01em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.destaque-grid .card-featured {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 768px) {
  .destaque-grid .card-featured { grid-column: span 1; }
  .logo-circle-header { width: 112px; height: 112px; }
  .header-title-home { font-size: 1.5rem; }
  .header-meta-line { font-size: .84rem; }
  .hero-cta-inner { flex-direction: column; align-items: stretch; }
  .hero-cta-inner .btn { width: 100%; }
}

/* ── Cards veículos ── */
.card-veiculo {
  background: var(--pearl-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: .25s;
}

.card-veiculo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.card-veiculo a { color: inherit; display: block; }

.card-img {
  aspect-ratio: 16/10;
  background: var(--pearl-deep) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.ribbon-vendido {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  letter-spacing: .12em;
  padding: .45rem 2.5rem;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 2;
  pointer-events: none;
}

.gallery-main-wrap { position: relative; }
.gallery-main-wrap .ribbon-vendido { font-size: clamp(1.5rem, 4vw, 2.5rem); padding: .55rem 3rem; }

.alert-vendido {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
  padding: .65rem .85rem;
  border-radius: 8px;
  margin: 1rem 0 0;
}

.card-veiculo.is-vendido { opacity: .95; }
.card-body { padding: 1rem; }
.card-body h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.versao { color: var(--muted); font-size: .9rem; margin: 0; }
.preco { font-size: 1.25rem; font-weight: 700; color: var(--accent); margin: .5rem 0 0; }
.meta { color: var(--muted); font-size: .85rem; margin: .25rem 0 0; }

/* ── Filtros / formulários públicos ── */
.filtros-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }

.filtros-bar input,
.filtros-bar select {
  padding: .55rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.result-count { color: var(--muted); }

.veiculo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; }
.gallery-main { aspect-ratio: 16/10; border-radius: var(--radius); background: var(--pearl-deep) center/cover; border: 1px solid var(--border); }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
.thumb { width: 72px; height: 54px; border-radius: 8px; border: 2px solid transparent; background: center/cover; cursor: pointer; }
.thumb:hover { border-color: var(--brand-blue); }
.preco-lg { font-size: 2rem; color: var(--accent); font-weight: 700; }
.versao-lg { color: var(--muted); }
.specs-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.action-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.veiculo-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; margin-top: 2rem; }

.form-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  margin-bottom: .65rem;
  padding: .6rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  outline: none;
  border-color: var(--brand-blue-mid);
  box-shadow: 0 0 0 3px var(--brand-blue-faint);
}

.tags-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tags-list li {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .85rem;
}

.hint { font-size: .8rem; color: var(--muted); }

/* ── Rodapé ── */
.site-footer {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(59, 130, 246, 0.07) 0%, transparent 50%),
    rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.about-box { text-align: center; }
.about-box .logo-circle { margin: 0 auto 1rem; width: 88px; height: 88px; }
.muted { color: var(--muted); }

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.footer-copy-text {
  flex: 1 1 auto;
  min-width: 0;
}

.dev-credit {
  flex: 0 0 auto;
  margin: 0;
  margin-left: auto;
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.82;
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
}

/* ── Menu mobile (público) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.fab-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.2);
  z-index: 200;
}

.flash-ok {
  background: rgba(132, 204, 22, 0.12);
  border: 1px solid rgba(101, 163, 13, 0.35);
  color: #3f6212;
  padding: .75rem;
  border-radius: 8px;
  margin: 1rem auto;
}

.cta-band {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(37, 99, 235, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(59, 130, 246, 0.07) 0%, transparent 55%),
    rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ── Chat público ── */
.chat-window {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.chat-messages { flex: 1; overflow-y: auto; max-height: 320px; margin: 1rem 0; }
.chat-msg { padding: .5rem .75rem; margin-bottom: .5rem; border-radius: 8px; max-width: 85%; }
.chat-msg.cliente { background: var(--brand-blue-soft); color: var(--text); margin-right: auto; }
.chat-msg.vendedor, .chat-msg.sistema { background: var(--pearl-deep); margin-left: auto; }
.chat-input-row { display: flex; gap: .5rem; }

.chat-input-row input {
  flex: 1;
  padding: .6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

@media (max-width: 900px) {
  .veiculo-grid, .veiculo-detail-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Responsivo — celular, tablet, touch
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { width: min(1200px, 94vw); }
  .section { padding: 2.25rem 0; }
  .section-title { font-size: 1.65rem; }
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .destaque-thumbs { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }

  .header-top {
    flex-wrap: nowrap;
    align-items: center;
  }

  .header-info { flex: 1; min-width: 0; }

  .nav-toggle { display: flex; margin-left: auto; align-self: flex-start; margin-top: .25rem; }

  .nav-main {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: .5rem 0 1rem;
    border-top: 1px solid var(--border);
    font-size: .92rem;
  }

  body.nav-open .nav-main { display: flex; }

  .nav-main a {
    padding: .65rem .25rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-main a:hover,
  body.nav-open .nav-main a:focus-visible {
    border-left-color: var(--brand-blue);
    background: var(--brand-blue-faint);
  }

  .nav-entrar {
    margin-left: 0 !important;
    margin-top: .35rem;
    text-align: center;
    justify-content: center;
  }

  .logo-circle-header { width: 96px; height: 96px; }
  .header-title-home.header-title-gradient { font-size: 1.45rem; }
  .header-meta-line { font-size: .82rem; word-break: break-word; }

  .hero-slide-inner { min-height: clamp(280px, 70vw, 420px); padding: 1.25rem 0; }
  .hero-slider-track { min-height: clamp(280px, 70vw, 420px); }
  .hero-slide-title { font-size: 1.55rem; }
  .hero-slide-actions { flex-direction: column; }
  .hero-slide-actions .btn { width: 100%; }

  .hero-cta-inner { flex-direction: column; align-items: stretch; }
  .hero-cta-inner .btn { width: 100%; }

  .grid-cards,
  .destaque-thumbs { grid-template-columns: 1fr; }

  .destaque-grid .card-featured { grid-column: span 1; }

  .section-title { font-size: 1.45rem; margin-bottom: 1rem; }

  .filtros-bar { flex-direction: column; }
  .filtros-bar input,
  .filtros-bar select { width: 100%; min-height: 44px; }

  .specs-list { grid-template-columns: 1fr; }
  .action-row { flex-direction: column; }
  .action-row .btn { width: 100%; }

  .form-box { padding: 1rem; }
  .form-box input,
  .form-box select,
  .form-box textarea { min-height: 44px; font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .about-box .logo-circle { margin-left: auto; margin-right: auto; }

  .footer-copy {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .footer-copy-text { text-align: center; }

  .dev-credit {
    margin-left: 0;
    text-align: right;
    align-self: flex-end;
    white-space: normal;
  }

  .fab-whatsapp {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  .chat-input-row { flex-wrap: wrap; }
  .chat-input-row input { min-height: 44px; font-size: 16px; }
  .chat-input-row .btn { width: 100%; min-height: 44px; }

  .btn { min-height: 44px; padding: .7rem 1.15rem; }
}

@media (max-width: 480px) {
  .header-title-page { font-size: 1.35rem; }
  .preco-lg { font-size: 1.65rem; }
  .hero-slider-btn { width: 38px; height: 38px; font-size: 1.4rem; }
  .thumb { width: 64px; height: 48px; }
}

@media (hover: none) and (pointer: coarse) {
  .card-veiculo:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}
