/* ==========================================================================
   IAPETUS AUTO - OFICINA MECÂNICA DIGITAL
   Estilo CSS3 Personalizado - Alta Performance e Design Automotivo Premium
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS CSS & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Cores da Identidade Visual */
  --bg-black: #0B0D0F;
  --bg-card: #15191D;
  --bg-card-hover: #1C2227;
  --bg-surface: #252B31;
  --bg-surface-light: #323A42;
  
  --text-white: #F5F7F8;
  --text-light: #DDE2E6;
  --text-muted: #8E9A8E;
  --text-dim: #65717B;

  --red-primary: #E63946;
  --red-hover: #FF4757;
  --red-dark: #A91F2B;
  --red-glow: rgba(230, 57, 70, 0.25);
  
  --gold-accent: #E5A93C;
  --green-success: #2EC4B6;
  --blue-info: #3A86FF;

  /* Bordas e Sombras */
  --border-subtle: rgba(221, 226, 230, 0.08);
  --border-strong: rgba(221, 226, 230, 0.18);
  --border-red: rgba(230, 57, 70, 0.4);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-red: 0 8px 25px rgba(230, 57, 70, 0.35);

  /* Tipografia */
  --font-heading: 'Barlow Condensed', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transições */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --header-height: 80px;
  --header-height-scrolled: 64px;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. UTILITÁRIOS & TIPOGRAFIA
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-title-wrap.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-primary);
  background-color: rgba(230, 57, 70, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(230, 57, 70, 0.25);
  margin-bottom: 1rem;
}

.section-tag svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title .text-red {
  color: var(--red-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--red-primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background-color: var(--red-hover);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-white);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-light);
  border-color: rgba(221, 226, 230, 0.35);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: rgba(230, 57, 70, 0.05);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.15rem;
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   3. LOADING SCREEN (PAINEL AUTOMÓVEL)
   -------------------------------------------------------------------------- */
#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #050608;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.loader-gauge {
  position: relative;
  width: 180px;
  height: 100px;
  overflow: hidden;
}

.loader-arc {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid var(--bg-surface);
  border-top-color: var(--red-primary);
  border-right-color: var(--red-primary);
  transform: rotate(-45deg);
  animation: revGauge 1.4s ease-in-out infinite alternate;
}

.loader-needle {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 70px;
  background: var(--red-primary);
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-70deg);
  animation: needleSweep 1.4s ease-in-out infinite alternate;
  box-shadow: 0 0 10px var(--red-primary);
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.loader-logo-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-white);
}

.loader-logo-title span {
  color: var(--red-primary);
}

.loader-status {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@keyframes revGauge {
  0% { transform: rotate(-45deg); }
  100% { transform: rotate(135deg); }
}

@keyframes needleSweep {
  0% { transform: translateX(-50%) rotate(-70deg); }
  100% { transform: translateX(-50%) rotate(70deg); }
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVEGAÇÃO COMPACTA & REFINADA
   -------------------------------------------------------------------------- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(11, 13, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

#main-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(11, 13, 15, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(230, 57, 70, 0.2);
  border-bottom-color: rgba(230, 57, 70, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.45);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-icon-box {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.7);
}

.brand-icon-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: shine 3.5s infinite;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-white);
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red-primary);
  margin-top: 2px;
}

/* Menu de Navegação Reduzido (Clean & Spaced) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-header, .mobile-menu-footer {
  display: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-hover));
  transition: width var(--transition-fast), left var(--transition-fast);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--red-primary);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Ações do Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green-success);
}

.header-cta-btn {
  background: linear-gradient(135deg, var(--red-primary) 0%, #C92A37 100%);
  color: var(--text-white);
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
  transition: all var(--transition-fast);
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, var(--red-hover) 0%, var(--red-primary) 100%);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.55);
  transform: translateY(-2px);
}

/* Menu Hamburger Mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 8px;
  border: 1px solid var(--border-subtle);
  z-index: 1001;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.hamburger-btn:hover {
  background: var(--bg-surface-light);
  border-color: var(--border-strong);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--red-primary);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--red-primary);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  background-color: var(--bg-black);
  background-image: 
    radial-gradient(circle at 80% 30%, rgba(230, 57, 70, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(11, 13, 15, 0.6) 0%, rgba(11, 13, 15, 0.95) 100%),
    url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0B0D0F 35%, rgba(11, 13, 15, 0.85) 65%, rgba(11, 13, 15, 0.4) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-title .text-red {
  color: var(--red-primary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Hero HUD Display Card */
.hero-hud-card {
  background: rgba(21, 25, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary) 0%, transparent 100%);
}

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

.hud-live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-success);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-success);
  box-shadow: 0 0 8px var(--green-success);
  animation: pulseDot 1.5s infinite;
}

.hud-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hud-stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.hud-stat-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.hud-stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.hud-track-preview {
  background: rgba(11, 13, 15, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.hud-track-code {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--red-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. QUICK ACCESS BAR (4 CARDS)
   -------------------------------------------------------------------------- */
.quick-access-section {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.quick-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--red-primary);
  transition: width var(--transition-fast);
}

.quick-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quick-card:hover::after {
  width: 100%;
}

.quick-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.quick-card:hover .quick-icon-box {
  background-color: var(--red-primary);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.quick-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.quick-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.quick-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   7. SOBRE A OFICINA & ESTATÍSTICAS
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.about-badge-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 2px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(230, 57, 70, 0.15);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-text {
  display: flex;
  flex-direction: column;
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.about-badge-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--red-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   8. SERVIÇOS AUTOMÓVEIS (10 CARDS PREMIUM)
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(180deg, #1C2228 0%, #15191E 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  background: linear-gradient(180deg, #222A32 0%, #181D23 100%);
  border-color: rgba(230, 57, 70, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 57, 70, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #0B0D0F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: var(--text-white);
  border-color: var(--red-primary);
  box-shadow: 0 0 16px rgba(230, 57, 70, 0.6);
  transform: scale(1.05);
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-price-box {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
}

.price-disclaimer {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   9. SERVIÇO EM DESTAQUE (DIAGNÓSTICO COMPUTORIZADO)
   -------------------------------------------------------------------------- */
.featured-service-section {
  background-color: var(--bg-black);
  position: relative;
  overflow: hidden;
}

.featured-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.scanner-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.scanner-top-bar {
  background: var(--bg-surface);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--green-success);
}

.scanner-screen {
  padding: 1.5rem;
  background: radial-gradient(circle at center, #15191D 0%, #0B0D0F 100%);
}

.scanner-readout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.scanner-node {
  background: rgba(37, 43, 49, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.scanner-node-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scanner-node-val {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.25rem;
}

.scanner-node-val.ok {
  color: var(--green-success);
}

.featured-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0 2.25rem;
}

.featured-check-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: var(--text-white);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(46, 196, 182, 0.15);
  color: var(--green-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. MARCAÇÃO DE SERVIÇO ONLINE (STEPPER ENGINE 6 ETAPAS)
   -------------------------------------------------------------------------- */
.booking-section {
  background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-card) 50%, var(--bg-black) 100%);
  position: relative;
}

.booking-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

/* Stepper Header */
.stepper-header {
  background: var(--bg-surface);
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.stepper-steps-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 650px;
  position: relative;
}

.stepper-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.stepper-step-item.active {
  opacity: 1;
}

.stepper-step-item.completed {
  opacity: 0.9;
}

.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.stepper-step-item.active .step-bubble {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.stepper-step-item.completed .step-bubble {
  background: var(--green-success);
  border-color: var(--green-success);
  color: var(--text-white);
}

.step-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

/* Stepper Body */
.stepper-body {
  padding: 2.5rem;
  min-height: 420px;
}

.step-panel {
  display: none;
  animation: fadeInStep 0.3s ease;
}

.step-panel.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-panel-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.step-panel-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red-primary);
  background: var(--bg-surface-light);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-white);
}

/* Service Selection Grid (Etapa 2) */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-option-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-option-card:hover {
  background: var(--bg-surface-light);
  border-color: var(--border-strong);
}

.service-option-card.selected {
  background: rgba(230, 57, 70, 0.12);
  border-color: var(--red-primary);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.25);
}

.service-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-option-icon {
  color: var(--red-primary);
}

.service-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-option-card.selected .service-option-radio {
  border-color: var(--red-primary);
  background-color: var(--red-primary);
}

.service-option-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
}

/* Calendário Visual (Etapa 3) */
.calendar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calendar-month-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.avail { background-color: var(--green-success); }
.legend-dot.low { background-color: var(--gold-accent); }
.legend-dot.unavail { background-color: var(--red-primary); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.calendar-day-head {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  padding: 0.5rem 0;
}

.calendar-day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.calendar-day-cell:hover:not(.disabled) {
  border-color: var(--red-primary);
  background: var(--bg-surface-light);
}

.calendar-day-cell.selected {
  background: var(--red-primary) !important;
  border-color: var(--red-primary) !important;
  color: var(--text-white) !important;
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.4);
}

.calendar-day-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.3);
}

.calendar-day-cell.status-avail::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--green-success);
}

.calendar-day-cell.status-low::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--gold-accent);
}

.calendar-day-cell.status-unavail::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--red-primary);
}

/* Horários (Etapa 4) */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.time-slot-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
}

.time-slot-btn .slot-status {
  font-size: 0.7rem;
  font-family: var(--font-body);
  color: var(--text-dim);
  text-transform: uppercase;
}

.time-slot-btn:hover:not(.disabled) {
  border-color: var(--red-primary);
  background: var(--bg-surface-light);
}

.time-slot-btn.selected {
  background: var(--red-primary);
  border-color: var(--red-primary);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.4);
}

.time-slot-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

/* Resumo & Confirmação (Etapa 6) */
.booking-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.summary-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

/* Stepper Footer Controls */
.stepper-footer {
  background: var(--bg-surface);
  padding: 1.25rem 2.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Success Screen (Agendamento Concluído) */
.booking-success-view {
  display: none;
  padding: 3rem 2rem;
  text-align: center;
}

.booking-success-view.active {
  display: block;
}

.success-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.15);
  border: 2px solid var(--green-success);
  color: var(--green-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.3);
}

.booking-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px dashed var(--red-primary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red-primary);
  margin: 1rem 0 1.5rem;
}

.success-actions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   11. PEDIDO DE ORÇAMENTO ONLINE
   -------------------------------------------------------------------------- */
.quote-section {
  background-color: var(--bg-black);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.quote-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

/* Upload Visual Simulado */
.file-upload-dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.file-upload-dropzone:hover {
  border-color: var(--red-primary);
  background: var(--bg-surface-light);
}

.file-upload-dropzone svg {
  color: var(--red-primary);
}

/* --------------------------------------------------------------------------
   12. ACOMPANHAR VEÍCULO (LIVE SERVICE TRACKER)
   -------------------------------------------------------------------------- */
.tracker-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tracker-search-box {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.tracker-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--text-white);
}

.demo-pills-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.demo-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-family: monospace;
  color: var(--text-light);
  cursor: pointer;
}

.demo-pill:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

/* Tracker Results Container */
.tracker-results-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

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

.vehicle-info-block {
  display: flex;
  flex-direction: column;
}

.vehicle-model-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-white);
}

.vehicle-plate-badge {
  font-family: monospace;
  font-size: 0.95rem;
  background: var(--bg-black);
  color: var(--gold-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  display: inline-block;
  margin-top: 0.35rem;
}

.service-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-status-pill.in-progress {
  background: rgba(229, 169, 60, 0.15);
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
}

.service-status-pill.completed {
  background: rgba(46, 196, 182, 0.15);
  color: var(--green-success);
  border: 1px solid var(--green-success);
}

/* Timeline Vertical Moderna */
.tracker-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.tracker-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: var(--border-strong);
}

.timeline-step-row {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-step-row:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  z-index: 2;
  transition: all var(--transition-fast);
}

.timeline-step-row.done .timeline-marker {
  background: var(--green-success);
  border-color: var(--green-success);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(46, 196, 182, 0.4);
}

.timeline-step-row.current .timeline-marker {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--text-white);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
  animation: pulseDot 2s infinite;
}

.timeline-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.timeline-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
}

.timeline-timestamp {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: monospace;
}

.timeline-step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. ORÇAMENTO VISUAL INTERATIVO
   -------------------------------------------------------------------------- */
.interactive-quote-section {
  background-color: var(--bg-black);
}

.interactive-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.75rem;
}

.invoice-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.75rem;
}

.invoice-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.invoice-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-strong);
}

.invoice-table th.text-right, .invoice-table td.text-right {
  text-align: right;
}

.invoice-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.invoice-total-row {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-strong);
  margin-bottom: 2rem;
}

.invoice-total-label {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
}

.invoice-total-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--red-primary);
}

.invoice-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   14. EQUIPA DE PROFISSIONAIS
   -------------------------------------------------------------------------- */
.team-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   15. POR QUE ESCOLHER A IAPETUS AUTO (DIFERENCIAIS)
   -------------------------------------------------------------------------- */
.features-section {
  background-color: var(--bg-black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(230, 57, 70, 0.1);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. MARCAS ATENDIDAS
   -------------------------------------------------------------------------- */
.brands-section {
  background-color: var(--bg-card);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.brand-badge {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.brand-badge:hover {
  color: var(--text-white);
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

/* --------------------------------------------------------------------------
   17. GALERIA DA OFICINA & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--bg-black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 13, 15, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
}

/* Lightbox Modal */
#gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

#gallery-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-white);
  margin-top: 1rem;
  text-transform: uppercase;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--text-white);
  font-size: 2rem;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(37, 43, 49, 0.8);
  border-radius: 50%;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* --------------------------------------------------------------------------
   18. DEPOIMENTOS (CAROUSEL)
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.testimonial-carousel-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  animation: fadeInStep 0.4s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-stars {
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-white);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-primary);
}

.testimonial-author-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: scale(1.2);
}

/* --------------------------------------------------------------------------
   19. BLOG AUTOMOTIVO & MODAL DE ARTIGO
   -------------------------------------------------------------------------- */
.blog-section {
  background-color: var(--bg-black);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.blog-img-wrap {
  height: 180px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img {
  transform: scale(1.06);
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-tag {
  color: var(--red-primary);
  font-weight: 700;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.blog-snippet {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Modal de Artigo */
#article-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#article-modal.active {
  display: flex;
}

.article-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-dim);
  font-size: 1.5rem;
}

.modal-close-btn:hover {
  color: var(--red-primary);
}

/* --------------------------------------------------------------------------
   20. FAQ (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-red);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  text-align: left;
}

.faq-question:hover {
  color: var(--red-primary);
}

.faq-icon {
  color: var(--red-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
  transition: max-height 0.4s ease-in;
}

/* --------------------------------------------------------------------------
   21. CONTACTOS & LOCALIZAÇÃO
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-black);
}

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

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-meta-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.contact-meta-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.map-container-mock {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: radial-gradient(#323A42 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-pin-overlay {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.map-pin-pulse {
  width: 20px;
  height: 20px;
  background: var(--red-primary);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 8px rgba(230, 57, 70, 0.3);
  animation: pulseDot 2s infinite;
}

.map-pin-label {
  margin-top: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
}

.map-bottom-actions {
  background: rgba(21, 25, 29, 0.92);
  backdrop-filter: blur(8px);
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   22. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final-section {
  background: linear-gradient(180deg, #0B0D0F 0%, #15191D 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  text-align: center;
}

.cta-final-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* --------------------------------------------------------------------------
   23. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: #060708;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
}

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

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--red-primary);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   24. TOAST NOTIFICATIONS & FLOATING BUTTONS
   -------------------------------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border-left: 4px solid var(--red-primary);
  border-top: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
  font-size: 0.9rem;
  pointer-events: auto;
  animation: slideInToast 0.3s ease;
  transition: opacity 0.3s, transform 0.3s;
}

.toast.success { border-left-color: var(--green-success); }
.toast.info { border-left-color: var(--blue-info); }
.toast.warning { border-left-color: var(--gold-accent); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Floating WhatsApp & Back to Top */
.floating-actions-wrap {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp-float-btn {
  background-color: #25D366;
  color: #FFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.back-to-top-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

/* Disclaimer Bar */
.demo-banner-top {
  background: linear-gradient(90deg, #15191D 0%, #252B31 50%, #15191D 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.35rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1002;
}

.demo-banner-top span {
  color: var(--gold-accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   25. ANIMAÇÕES & REVEAL NO SCROLL
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* --------------------------------------------------------------------------
   26. RESPONSIVIDADE COMPLETA (DESKTOP, TABLET, MOBILE & ULTRA-SMALL)
   -------------------------------------------------------------------------- */

/* Telas Grandes e Médias (<= 1200px) */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-grid {
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablets em Geral e Laptops Pequenos (<= 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    background-attachment: scroll;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-grid, 
  .about-grid, 
  .featured-service-grid, 
  .quote-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-hud-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .team-grid, 
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Smartphones e Tablets Médios (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-title-wrap {
    margin-bottom: 2.5rem;
  }

  /* Header & Menu Mobile Drawer */
  .header-status-indicator {
    display: none;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    background-color: #0F1216;
    border-left: 1px solid var(--border-strong);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

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

  .mobile-close-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
  }

  .nav-menu .nav-link {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
  }

  .nav-menu .nav-link:hover, 
  .nav-menu .nav-link.active {
    background: var(--bg-surface);
    border-left-color: var(--red-primary);
    color: var(--text-white);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-contact-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
  }

  /* Hero Section */
  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7.5vw, 3.25rem);
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.25rem;
  }

  /* Quick Access Section (Remove Sobreposição Negativa no Mobile) */
  .quick-access-section {
    margin-top: 0;
    padding: 2.5rem 0;
    background-color: var(--bg-black);
  }

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

  /* Sobre */
  .about-main-img {
    height: 320px;
  }

  .about-badge-floating {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 0.85rem 1.25rem;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Motor de Agendamento (Stepper 6 Etapas) */
  .stepper-header {
    padding: 1rem 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .stepper-steps-list {
    min-width: 580px;
    padding-bottom: 0.5rem;
  }

  .stepper-body {
    padding: 1.75rem 1rem;
    min-height: auto;
  }

  .step-panel-title {
    font-size: 1.4rem;
  }

  .step-panel-desc {
    margin-bottom: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-select-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .summary-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stepper-footer {
    padding: 1rem;
  }

  /* Rastreador de Veículos */
  .tracker-search-box {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .tracker-input,
  .tracker-search-box .btn {
    width: 100%;
  }

  .tracker-results-card {
    padding: 1.5rem 1rem;
  }

  .vehicle-meta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .vehicle-model-name {
    font-size: 1.4rem;
  }

  .tracker-timeline {
    padding-left: 2rem;
  }

  .timeline-marker {
    left: -2rem;
    width: 20px;
    height: 20px;
  }

  .timeline-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  /* Orçamento Interativo */
  .interactive-quote-card {
    padding: 1.5rem 1rem;
  }

  .invoice-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .invoice-total-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .invoice-total-val {
    font-size: 1.5rem;
  }

  .invoice-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 0.75rem;
  }

  .invoice-actions .btn {
    width: 100%;
  }

  /* Depoimentos */
  .testimonial-slide {
    padding: 2rem 1.25rem;
  }

  .testimonial-quote {
    font-size: 1.05rem;
  }

  /* Contactos */
  .contact-info-card {
    padding: 1.5rem 1rem;
  }

  .map-container-mock {
    min-height: 300px;
  }

  /* Toast & Flutuantes */
  .floating-actions-wrap {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  #toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Telas Pequenas de Celular (<= 576px) */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-indicators {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
  }

  .hero-stat-number {
    font-size: 1.35rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  .hud-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .hud-stat-box {
    padding: 0.75rem 0.5rem;
  }

  .hud-stat-val {
    font-size: 1.15rem;
  }

  .about-main-img {
    height: 250px;
  }

  .about-badge-floating {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }

  .about-badge-num {
    font-size: 1.1rem;
  }

  .stepper-footer {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .stepper-footer .btn {
    width: 100%;
  }

  .calendar-legend {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .calendar-day-head {
    font-size: 0.75rem;
    padding: 0.25rem 0;
  }

  .booking-code-badge {
    font-size: 1.15rem;
    padding: 0.6rem 1rem;
    width: 100%;
    justify-content: center;
    word-break: break-all;
  }

  .success-actions-grid {
    flex-direction: column;
  }

  .success-actions-grid .btn {
    width: 100%;
  }

  .team-grid, 
  .features-grid, 
  .blog-grid, 
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    height: 200px;
  }

  .brands-grid {
    gap: 1.25rem;
  }

  .brand-badge {
    font-size: 1.1rem;
    padding: 0.35rem 0.75rem;
  }

  .map-bottom-actions {
    flex-direction: column;
  }

  .map-bottom-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Telas Ultra Pequenas (<= 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .brand-icon-box {
    width: 34px;
    height: 34px;
  }

  .header-cta-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
  }

  .header-cta-btn svg {
    display: none;
  }

  .hero-stat-number {
    font-size: 1.15rem;
  }

  .hud-stat-title {
    font-size: 0.65rem;
  }

  .hud-stat-val {
    font-size: 1rem;
  }

  .scanner-readout-grid {
    grid-template-columns: 1fr;
  }
}

/* Selo de demonstração — impede que o protótipo seja confundido com um negócio real */
.demo-ribbon{position:fixed;left:16px;bottom:16px;z-index:9999;display:flex;align-items:center;gap:10px;background:rgba(15,17,21,.92);backdrop-filter:blur(8px);color:#fff;padding:10px 16px;border-radius:99px;font-family:'Inter',system-ui,sans-serif;font-size:.78rem;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.demo-ribbon strong{color:#E0A063;font-weight:800;letter-spacing:.03em}
.demo-ribbon a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4)}
.demo-ribbon a:hover{text-decoration-color:#fff}
@media(max-width:640px){.demo-ribbon{left:8px;right:8px;bottom:8px;font-size:.72rem;justify-content:center;text-align:center}}

