/* ==========================================================================
   RODORECHI EQUIPAMENTOS LTDA — DESIGN SLIM, MINIMALISTA & MOBILE-FIRST
   Sede: Avenida do Comércio, 551, Quadra 04, Lote 04 - Pachecos, Palhoça/SC
   ========================================================================== */

:root {
  /* Paleta Sóbria & Institucional Rodorechi */
  --brand-primary: #b91c1c;         /* Vermelho Carmesim Sóbrio (apenas detalhes pontuais) */
  --brand-primary-hover: #991b1b;

  /* Tons Grafite Escuro Neutros & Slim */
  --bg-dark-950: #0f1013;
  --bg-dark-900: #14161a;
  --bg-dark-850: #191c22;
  --bg-dark-800: #21242c;

  /* Superfícies Minimalistas */
  --surface-card: #15171c;
  --surface-card-hover: #1b1e25;

  /* Tipografia */
  --text-white: #f8fafc;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;

  /* Bordas Finas e Raios Discretos */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   RESET & REGRAS GLOBAIS OBRIGATÓRIAS (MOBILE-FIRST + JUSTIFICADO + HYPHENS)
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark-950);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Regra Obrigatória: Títulos com text-wrap: balance */
h1, h2, h3, h4,
.hero-title,
.section-title,
.product-title,
.division-title,
.pillar-title {
  text-wrap: balance;
}

/* Regra Obrigatória: Parágrafos, descrições e blocos de texto corrido justificados SEM hifenização cortando palavras */
p,
.hero-desc,
.pillar-desc,
.section-subtitle,
.product-application,
.division-desc,
.hq-desc,
.footer-about-text,
.modal-text-justify {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

ul {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ==========================================================================
   1. TOPBAR SLIM INSTITUCIONAL
   ========================================================================== */
.topbar {
  background-color: #0b0c0e;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.topbar-sep {
  opacity: 0.35;
}

.topbar-item i {
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.topbar-phone {
  color: var(--text-white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-phone i {
  color: var(--brand-primary);
  font-size: 0.7rem;
}

.topbar-phone:hover {
  color: #f87171;
}

/* ==========================================================================
   2. HEADER SLIM PRINCIPAL
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 16, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-r-svg {
  width: 36px;
  height: 32px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-white);
  line-height: 1;
}

.brand-sub {
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: static;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

/* Mega-Menu Slim */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  background: var(--bg-dark-900);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
  padding: 1.15rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

@media (min-width: 1024px) {
  .nav-item.has-mega:hover .mega-menu,
  .mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mega-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mega-all-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-white);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.6rem;
}

.mega-card {
  background: var(--bg-dark-850);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.mega-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-card-hover);
}

.mega-svg-wrap {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-card-title {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-white);
}

.mega-card-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Botões Slim & Sóbrios */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 500;
  font-size: 0.81rem;
  padding: 0.55rem 1rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 0.48rem 0.8rem;
  font-size: 0.76rem;
  min-height: 36px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   3. HERO SLIM & SÓBRIO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-dark-950);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-prancha-rodorechi.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 16, 19, 0.96) 0%,
    rgba(15, 16, 19, 0.88) 55%,
    rgba(15, 16, 19, 0.72) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
    padding: 3.5rem 0;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.hero-tag::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--brand-primary);
  display: inline-block;
}

.hero-title {
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 0.85rem;
}

.hero-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.metric-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Painel Visual Slim no Hero */
.hero-hq-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-hq-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0f13;
}

.hero-hq-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-hq-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(15, 16, 19, 0.86);
  border: 1px solid var(--border-strong);
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.hero-hq-body {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-hq-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-hq-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hero-hq-val {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-white);
}

.hero-hq-phone-block {
  text-align: right;
}

.hero-hq-phone {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================================================
   4. FAIXA SLIM DE ESPECIFICAÇÕES (PILARES)
   ========================================================================== */
.pillars-section {
  background: var(--bg-dark-900);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.pillar-card {
  padding-left: 0.85rem;
  border-left: 2px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.pillar-card:hover {
  border-left-color: var(--brand-primary);
}

.pillar-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-white);
}

.pillar-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   5. SEÇÕES GERAIS & ENGENHARIA
   ========================================================================== */
.section-padding {
  padding: 2.75rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

.section-alt {
  background: var(--bg-dark-900);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.section-eyebrow::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--brand-primary);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-white);
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 0.85rem;
}

.divisions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .divisions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.division-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.division-card:hover {
  border-color: var(--border-strong);
}

.division-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.division-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.division-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.division-tag {
  background: var(--bg-dark-950);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.68rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   6. CATÁLOGO SLIM DE SEMIRREBOQUES
   ========================================================================== */
.catalog-controls {
  background: var(--bg-dark-900);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.75rem;
  min-height: 34px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--text-white);
  border-color: var(--border-strong);
}

.filter-tab.active {
  background: var(--bg-dark-800);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.24);
}

.catalog-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.search-box {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}

.search-box i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.search-box input {
  width: 100%;
  background: var(--bg-dark-950);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.5rem 0.75rem 0.5rem 2.15rem;
  min-height: 36px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.search-box input:focus {
  border-color: var(--border-strong);
}

.axle-filter {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.axle-filter label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.axle-filter select {
  background: var(--bg-dark-950);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.7rem;
  min-height: 36px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
}

.catalog-count {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
  min-width: 0;
}

.product-card:hover {
  border-color: var(--border-strong);
}

.product-visual {
  background: var(--bg-dark-900);
  height: 150px;
  padding: 2rem 1rem 0.75rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.product-category-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 500;
}

.product-series-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  font-size: 0.64rem;
  font-weight: 500;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.product-svg-wrapper {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-body {
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.product-application {
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.specs-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  background: var(--bg-dark-950);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.85rem;
}

.spec-mini-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spec-mini-label {
  font-size: 0.64rem;
  color: var(--text-muted);
}

.spec-mini-value {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 1px;
}

.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

/* ==========================================================================
   7. SEÇÃO SEDE PALHOÇA/SC & MAPA
   ========================================================================== */
.hq-showcase-section {
  background: var(--bg-dark-950);
  border-bottom: 1px solid var(--border-subtle);
}

.hq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hq-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
  }
}

.hq-info-panel {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.hq-company-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.hq-company-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.hq-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hq-data-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 540px) {
  .hq-data-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hq-data-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hq-data-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hq-data-val {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-white);
}

.hq-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hq-actions-row .btn {
  flex: 1 1 160px;
}

.hq-viewer-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hq-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-dark-900);
  border-bottom: 1px solid var(--border-subtle);
}

.hq-viewer-title {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hq-viewer-title i {
  color: var(--brand-primary);
}

.view-mode-btn {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.view-mode-btn:hover {
  color: var(--text-white);
}

.hq-map-wrap {
  flex: 1;
  min-height: 320px;
  width: 100%;
}

/* ==========================================================================
   8. SIMULADOR DE AQUISIÇÃO SLIM
   ========================================================================== */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

@media (min-width: 992px) {
  .finance-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    padding: 1.65rem;
  }
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group label span {
  color: var(--text-white);
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: var(--bg-dark-950);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.55rem 0.75rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.form-control:focus {
  border-color: var(--border-strong);
}

input[type="range"] {
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.sim-result-box {
  background: var(--bg-dark-950);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.sim-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.sim-Installment {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text-white);
  margin: 0.25rem 0 0.35rem;
}

.sim-Installment span {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.sim-rate-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  text-align: left;
}

.sim-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.sim-meta-label {
  font-size: 0.66rem;
  color: var(--text-muted);
  display: block;
}

.sim-meta-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================================================
   9. FAIXA SLIM DE COMPATIBILIDADE
   ========================================================================== */
.trucks-bar {
  background: var(--bg-dark-900);
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trucks-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trucks-bar-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.trucks-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trucks-list span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   10. MODAIS SLIM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-dark-900);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.35rem;
  position: relative;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-dark-800);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-white);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85rem 0;
  table-layout: fixed;
}

.spec-table th,
.spec-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.79rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.spec-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.spec-table td {
  color: var(--text-white);
  font-weight: 500;
  width: 60%;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .form-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.modal-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.modal-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-dark-950);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.42rem 0.7rem;
  border-radius: var(--radius-sm);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.modal-contact-chip i {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.modal-contact-chip:hover {
  border-color: var(--border-strong);
}

/* ==========================================================================
   11. RODAPÉ SÓBRIO & BOTÃO FLUTUANTE DISCRETO
   ========================================================================== */
.main-footer {
  background: #0b0c0e;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.79rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr;
  }
}

.footer-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-contact-line {
  text-align: left;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
}

/* Botão Flutuante Slim & Discreto */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--bg-dark-850);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 500;
  font-size: 0.76rem;
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  z-index: 1500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.whatsapp-float i {
  font-size: 0.82rem;
  color: var(--brand-primary);
}

.whatsapp-float:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--bg-dark-800);
}

/* ==========================================================================
   NAVEGAÇÃO MOBILE
   ========================================================================== */
@media (max-width: 1023px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-dark-900);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-strong);
    display: none;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-link {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    justify-content: space-between;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }
  .hide-mobile-text {
    display: none;
  }
  .header-cta-btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.74rem;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    width: 40px;
    padding: 0;
    border-radius: 50%;
  }
}
