/* ==========================================================================
   AUTO ELÉTRICA INDAIÁ
   Type: Barlow Condensed (títulos, eco da placa pintada) + Barlow (texto)
   Palette: Obsidian #0A0C10 + Amber #F59E0B (fixa, definida pelo dono)
   ========================================================================== */

:root {
  --bg: #0A0C10;
  --surface: #12151B;
  --surface-2: #181C24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --accent: #F59E0B;
  --accent-hover: #FBBF24;
  --on-accent: #0A0C10;

  --text: #F3F4F6;
  --text-muted: #A3AAB5;
  --text-subtle: #8C939E;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 6px;
  --radius-lg: 10px;
  --header-h: 76px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  text-wrap: balance;
}

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

.svg-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.whatsapp-icon,
.svg-icon-fill {
  fill: currentColor;
  stroke: none;
}

/* Header ------------------------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 58px;
}

.brand-logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  transition: color 0.2s var(--ease);
}

.nav-link:hover {
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.98rem;
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  padding: calc(var(--header-h) + 4.5rem) 0 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.hero-location .svg-icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

.hero-title {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 2.5rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts dt {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.hero-facts dd {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
}

.status-open {
  color: var(--accent) !important;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 38%;
}

.hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.85), transparent);
  font-size: 0.9rem;
  color: var(--text);
}

/* Sections ---------------------------------------------------------------- */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: #0D1015;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  text-transform: uppercase;
}

.section-lead {
  color: var(--text-muted);
  max-width: 32em;
}

/* Services ---------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0 1rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.32);
}

.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card[hidden] {
  display: none;
}

.service-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 1.1rem;
}

.card-img-alternador {
  object-fit: contain;
  object-position: center 75%;
}

.service-title {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

/* VM products ------------------------------------------------------------- */
.rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: -1.5rem 0 1rem;
}

.rail-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease), transform 0.15s var(--ease);
}

.rail-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.rail-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.rail-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(300px, 82%);
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  scroll-snap-align: start;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.product-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-spec {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

.section-note {
  margin-top: 1.25rem;
  color: var(--text-subtle);
  font-size: 0.95rem;
}

/* Before & After Showcase -------------------------------------------------- */
.ba-header-custom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.ba-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.ba-vs {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 0 0.35rem;
  vertical-align: middle;
  opacity: 0.9;
}

.ba-header-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ba-presets {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ba-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.ba-preset-btn .svg-icon {
  width: 14px;
  height: 14px;
}

.preset-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preset-dot.dot-halogen {
  background: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.preset-dot.dot-led {
  background: #38BDF8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

.ba-preset-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.ba-preset-btn.is-active {
  color: #FFFFFF;
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.ba-card-frame {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.75);
}

.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: #07090E;
  --ba-pos: 50%;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.ba-img-after {
  z-index: 1;
}

.ba-img-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
  transition: clip-path 0.05s linear;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, #FFFFFF 50%, rgba(255, 255, 255, 0.3) 100%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(245, 158, 11, 0.4);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
  transition: left 0.05s linear;
}

.sf-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.sf-kicker-icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.sf-micro-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.sf-halogen-icon {
  color: #F59E0B;
}

.sf-led-icon {
  color: #38BDF8;
}

.sf-tel-icon {
  width: 22px;
  height: 22px;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), 0 10px 28px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  pointer-events: none;
  z-index: 5;
  transition: left 0.05s linear, transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ba-handle-capsule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ba-handle-sf-arrows {
  width: 20px;
  height: 20px;
  color: #F3F4F6;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8));
}

.ba-slider-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  touch-action: pan-y;
}

.ba-container:has(.ba-slider-input:hover) .ba-handle {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.3), 0 10px 28px rgba(0, 0, 0, 0.8);
}

.ba-container:has(.ba-slider-input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Glass Spec Cards */
.ba-spec-card {
  position: absolute;
  top: 18px;
  z-index: 4;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.65rem 0.95rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: opacity 0.2s var(--ease);
}

.ba-spec-before {
  left: 18px;
}

.ba-spec-after {
  right: 18px;
}

.ba-spec-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ba-badge-pill {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.pill-halogen {
  background: rgba(245, 158, 11, 0.18);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pill-led {
  background: rgba(56, 189, 248, 0.18);
  color: #7DD3FC;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.ba-spec-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.ba-spec-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ba-spec-tags span:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--text-subtle);
}

/* Telemetry stats */
.ba-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.35rem 2rem;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.ba-tel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ba-tel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.ba-tel-icon .svg-icon {
  width: 20px;
  height: 20px;
}

.ba-tel-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 0.15rem;
}

.ba-tel-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* Quote builder ----------------------------------------------------------- */
.calculator-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calc-form {
  padding: 2.5rem;
}

.calc-step-title {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.calc-fields {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-input-field {
  width: 100%;
  min-height: 48px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: #FFFFFF;
  padding: 0 14px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease);
}

.calc-input-field::placeholder {
  color: var(--text-subtle);
}

.calc-input-field:focus {
  outline: none;
  border-color: var(--accent);
}

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

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.3;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.check-item:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.check-item:has(input:checked) {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
}

.check-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.calc-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--surface);
  border-left: 1px solid var(--line);
}

.calc-summary h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.calc-summary p {
  color: var(--text-muted);
}

.calc-count {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.calc-error {
  margin: -1.5rem 0 1.75rem;
  color: #FCA5A5;
  font-size: 0.92rem;
}

.calc-input-field[aria-invalid="true"] {
  border-color: #F87171;
}

.calc-summary > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1rem;
}

.calc-summary .calc-count {
  flex: 1;
}

.calc-summary .btn-block {
  flex-basis: 100%;
}

.calc-clear {
  min-height: 44px;
  padding: 0 0.25rem;
  background: none;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.calc-clear:hover {
  color: #FFFFFF;
}

/* Differentials ----------------------------------------------------------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: #FFFFFF;
  max-width: 24ch;
  margin-bottom: 4.5rem;
  text-wrap: pretty;
}

.statement mark {
  background: none;
  color: var(--accent);
}

.js .statement .w {
  color: rgba(255, 255, 255, 0.16);
  transition: color 0.3s var(--ease);
}

.js .statement .w.lit {
  color: #FFFFFF;
}

.js .statement mark .w.lit {
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
}

.feature-box {
  padding-top: 1.25rem;
  border-top: 2px solid var(--accent);
}

.feature-box h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* FAQ --------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-icon {
  transition: transform 0.25s var(--ease);
  color: var(--text-muted);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 65ch;
}

/* Contact ----------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-list dt {
  font-size: 0.88rem;
  color: var(--text-subtle);
  margin-bottom: 2px;
}

.contact-list dd {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
}

.contact-list dd a:hover {
  color: var(--accent);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-frame {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg);
}

/* Floating WhatsApp ------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

/* Footer ------------------------------------------------------------------ */
.footer {
  background: #07080B;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer p,
.footer-links {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-size: 0.88rem;
}

/* Motion -----------------------------------------------------------------
   Focal: "Faróis LED" switches on like a bulb; the storefront photo opens
   like the shop's rolling door. Supporting: list reveals, feedback, state.
   Content stays visible without JS (reveals only apply under .js). */

.btn:active,
.filter-btn:active {
  transform: scale(0.97);
}

.nav-link.is-current {
  color: #FFFFFF;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.whatsapp-float {
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.js .whatsapp-float:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
}

@keyframes fade {
  from { opacity: 0; }
}

/* LED switch-on: dark, two quick flickers, then steady amber */
@keyframes led-on {
  0%   { color: #3A3D44; }
  38%  { color: #3A3D44; }
  42%  { color: var(--accent-hover); }
  48%  { color: #3A3D44; }
  56%  { color: #FFE6A8; }
  62%  { color: #5A4A2A; }
  72%  { color: #FFE6A8; }
  100% { color: var(--accent); }
}

/* Rolling door: the photo opens from the bottom up */
@keyframes door-up {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes door-slats {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.8s var(--ease) both;
  }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }

  .hero-title em {
    display: inline-block;
    animation: led-on 1.1s linear 0.55s both;
  }

  .hero-photo img {
    animation: door-up 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both;
  }

  .hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(10, 12, 16, 0.55) 0 3px, transparent 3px 14px);
    pointer-events: none;
    animation: door-slats 0.6s var(--ease) 1.25s both;
  }

  .hero-photo figcaption {
    animation: fade 0.6s var(--ease) 1.3s both;
  }

  .js [data-reveal] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(min(var(--i, 0), 6) * 70ms);
  }

  .js [data-reveal].is-in > * {
    opacity: 1;
    transform: none;
  }

  .service-card.is-shown {
    animation: rise 0.45s var(--ease) both;
  }

  .calc-count.is-bumped {
    animation: count-bump 0.35s var(--ease);
  }
}

@keyframes count-bump {
  40% { color: var(--accent); transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title em { animation: fade 0.6s ease both; }
  .js [data-reveal] > * { transition: opacity 0.4s ease; }
  .js [data-reveal]:not(.is-in) > * { opacity: 0; }
}

/* Scroll scenes ------------------------------------------------------------
   JS adds .is-stage only when motion is allowed; values arrive as custom
   properties from one rAF scroll loop. Without .is-stage the page is static. */

.hero-slot,
.hero-photo-title {
  display: none;
}

.hero.is-stage {
  height: 250vh;
  padding: 0;
}

.hero.is-stage .hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero.is-stage .hero-grid {
  width: 100%;
}

.hero.is-stage .hero-copy {
  opacity: var(--copy-o, 1);
  transform: translateY(var(--copy-y, 0px));
}

.hero.is-stage .hero-slot {
  display: block;
  height: min(620px, calc(100vh - var(--header-h) - 6rem));
}

.hero.is-stage .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 3;
  aspect-ratio: auto;
  border-radius: 0;
  clip-path: inset(var(--clip-t, 0) var(--clip-r, 0) var(--clip-b, 0) var(--clip-l, 0) round var(--clip-rad, 0));
}

.hero.is-stage .hero-photo img {
  object-position: 50% 36%;
  transform: translateX(var(--img-x, 0px)) scale(var(--img-s, 1));
  transform-origin: 50% 40%;
}

.hero.is-stage .hero-photo figcaption {
  opacity: var(--cap-o, 1);
}

.hero.is-stage .hero-photo-title {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8rem max(1.25rem, calc((100vw - 1200px) / 2 + 1.25rem)) 3.5rem;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.92) 10%, rgba(10, 12, 16, 0));
  opacity: var(--title-o, 0);
  transform: translateY(var(--title-y, 0px));
}

.hero-photo-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-photo-title strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0.4rem 0;
}



/* Responsive -------------------------------------------------------------- */
@media (max-width: 992px) {
  .ba-header-custom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ba-telemetry-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
  }
  .hero-grid,
  .contact-grid,
  .calculator-box {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 2.5rem;
  }
  .hero-photo {
    aspect-ratio: 4 / 3;
  }
  .hero-photo img {
    object-position: 30% 40%;
  }
  .calc-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ba-header-custom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }
  .ba-presets {
    gap: 0.35rem;
  }
  .ba-preset-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
  .ba-spec-card {
    top: 10px;
    padding: 0.45rem 0.65rem;
  }
  .ba-spec-before {
    left: 10px;
  }
  .ba-spec-after {
    right: 10px;
  }
  .ba-spec-title {
    font-size: 0.78rem;
  }
  .ba-spec-tags {
    display: none;
  }
  .ba-telemetry-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
  }
  :root {
    --header-h: 64px;
  }
  .brand-logo {
    height: 48px;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s var(--ease), visibility 0.2s;
  }
  .nav-menu.active {
    visibility: visible;
    opacity: 1;
  }
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
    border-bottom: 1px solid var(--line);
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
  .hero {
    padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }
  .section {
    padding: 4rem 0;
  }
  .section-header {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }
  .calc-form {
    padding: 1.25rem;
  }
  .calc-fields {
    grid-template-columns: minmax(0, 1fr) 6.5rem;
    margin-bottom: 1.75rem;
  }
  .calc-error {
    margin-top: -1rem;
  }
  .services-checklist {
    gap: 0.4rem;
  }
  .check-item {
    min-height: 52px;
  }
  /* Send bar stays under the thumb while the visitor ticks services */
  .calc-summary {
    position: sticky;
    bottom: 0;
    z-index: 5;
    gap: 0;
    padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(18, 21, 27, 0.97);
    border-top: 1px solid var(--line-strong);
  }
  .calc-summary-intro {
    display: none;
  }
  .calc-summary .calc-count {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
  }

  /* Filters: one swipeable row instead of three wrapped rows */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -1.25rem 1.5rem;
    padding: 0 1.25rem;
    scroll-padding-inline: 1.25rem;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
  }

  /* Services: compact rows with a thumbnail */
  .services-grid {
    gap: 1.5rem;
  }
  .service-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 1rem;
    align-items: start;
  }
  .service-card-img {
    grid-row: 1 / 4;
    aspect-ratio: 1;
    margin-bottom: 0;
    border-radius: var(--radius);
  }
  .service-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
  }
  .service-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-card .text-link {
    min-height: 40px;
  }
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .ba-container {
    aspect-ratio: 4 / 3;
  }
  
  .rail-controls {
    margin-top: -0.5rem;
  }
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }
}

.whatsapp-badge-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.btn-sm .whatsapp-badge-icon {
  width: 17px;
  height: 17px;
}

.whatsapp-float .whatsapp-badge-icon {
  width: 32px;
  height: 32px;
}

.whatsapp-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.btn-sm .whatsapp-app-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.whatsapp-float .whatsapp-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* Humanized Before & After ------------------------------------------------ */
.ba-header-human {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

.ba-tag-human {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.ba-human-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: #07090E;
  --ba-pos: 50%;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.ba-img-after {
  z-index: 1;
}

.ba-img-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-accent);
  pointer-events: none;
  z-index: 5;
  transition: transform 0.15s ease;
}

.ba-container:has(.ba-slider-input:hover) .ba-handle {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-handle-simple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-slider-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  touch-action: pan-y;
}

/* Legendas simples e naturais */
.ba-label-pill {
  position: absolute;
  top: 16px;
  z-index: 4;
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.ba-label-left {
  left: 16px;
}

.ba-label-right {
  right: 16px;
  text-align: right;
}

.ba-label-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.ba-label-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Anotações humanas de oficina */
.ba-human-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.ba-note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.ba-note-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.ba-note-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.ba-note-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 768px) {
  .ba-human-notes {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .ba-label-pill {
    top: 10px;
    padding: 4px 8px;
  }
  .ba-label-left { left: 10px; }
  .ba-label-right { right: 10px; }
  .ba-label-title { font-size: 0.78rem; }
  .ba-label-sub { display: none; }
}






/* Clean Mobile Hero -------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  .brand-logo {
    height: 48px;
  }
  .hero {
    padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  }
  .hero-location {
    font-size: 0.88rem;
    gap: 6px;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  .hero-location .svg-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .hero-title {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
    line-height: 1;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.98rem;
  }
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }
  .hero-facts dt {
    font-size: 0.72rem;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
  }
  .hero-facts dd {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
  }
}
