/* ==========================================================================
   AUTOPROTECTA — DESIGN SYSTEM & MASTER STYLESHEET
   Conforme tokens do design-system.md e diretrizes de identidade visual
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0A0D10;
  --bg-secondary: #11161C;
  --bg-tertiary: #161D24;
  --bg-elevated: #1B232C;
  --surface-card: rgba(22, 29, 36, 0.75);
  --surface-card-hover: rgba(27, 35, 44, 0.9);
  --surface-glass: rgba(16, 22, 28, 0.65);
  
  --brand-orange: #FB4516;
  --brand-orange-light: #FF6435;
  --brand-orange-dark: #D63710;
  --brand-orange-glow: rgba(251, 69, 22, 0.35);
  --brand-orange-subtle: rgba(251, 69, 22, 0.12);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0A0D10;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(251, 69, 22, 0.5);
  --border-accent: rgba(251, 69, 22, 0.3);

  --success: #10B981;
  --success-subtle: rgba(16, 185, 129, 0.15);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Typography */
  --font-heading: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 8px 28px rgba(251, 69, 22, 0.35);
  --shadow-orange-intense: 0 12px 36px rgba(251, 69, 22, 0.5);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmospheric Gradient Mesh */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 69, 22, 0.12) 0%, rgba(251, 69, 22, 0) 70%);
  filter: blur(80px);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 40%;
  left: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 69, 22, 0.07) 0%, rgba(251, 69, 22, 0) 70%);
  filter: blur(100px);
}

/* Scroll Progress Bar */
/* (A barra de progresso de rolagem — 3px laranja com brilho, fixa no topo — saiu em
   2026-09-24. Numa landing page ela nao informa nada: ninguem precisa saber quanto
   falta de uma pagina que se percorre em um minuto. Era enfeite.) */

/* Typography Presets */
h1, h2, h3, h4{
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  position: relative;
  z-index: 1;
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
  scroll-margin-top: 90px;
}

.section-darker {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 13, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), padding var(--transition-normal);
  padding: 16px 0;
}

.site-header.scrolled {
  background: rgba(10, 13, 16, 0.95);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.header-phone-link:hover {
  color: var(--brand-orange-light);
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-intense);
  color: #FFFFFF;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   1. HERO SECTION (Above the Fold)
   ========================================================================== */
.hero-section {
  min-height: auto;
  padding-top: 110px;
  padding-bottom: var(--space-2xl);
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  background-image: 
    linear-gradient(180deg, rgba(10, 13, 16, 0.88) 0%, rgba(10, 13, 16, 0.94) 75%, var(--bg-primary) 100%),
    radial-gradient(ellipse at 85% 25%, rgba(251, 69, 22, 0.16) 0%, transparent 55%),
    url('../images/hero-car.jpg?v=2');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(10, 13, 16, 0.95) 0%, rgba(10, 13, 16, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-kicker {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title .highlight-text {
  color: inherit;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: var(--space-xl);
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-xl);
}

.hero-bullet-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.975rem;
  color: #E2E8F0;
  font-weight: 500;
}

.hero-bullet-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.hero-form-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.hero-form-card {
  background: #161C24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.hero-form-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-orange-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-form-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 4px;
  font-weight: 700;
}

.hero-form-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: var(--space-md);
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  color: #CBD5E1;
  margin-bottom: 6px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-icon-wrap .form-input {
  padding-left: 42px;
}

.input-icon-wrap:focus-within .input-icon {
  color: var(--brand-orange);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(251, 69, 22, 0.2);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: .55;
}

.hero-submit-btn {
  width: 100%;
  margin-top: 6px;
}

.hero-form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   3. A DOR (Empatia / Identificação)
   ========================================================================== */
.pain-section {
  background: #0B0E12;
  position: relative;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.pain-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: background var(--transition-fast);
}

.pain-card:hover {
  background: var(--surface-card-hover);
  transform: translateY(-4px);
  border-color: rgba(251, 69, 22, 0.25);
  box-shadow: var(--shadow-md);
}

.pain-card:hover::before {
  background: var(--brand-orange);
}

.pain-card-text {
  font-size: 1.05rem;
  color: #E2E8F0;
  font-weight: 500;
  line-height: 1.5;
}

.pain-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-fast);
}

.pain-card:hover .pain-card-icon {
  background: var(--brand-orange-subtle);
  color: var(--brand-orange);
}

.pain-transition-box {
  background: linear-gradient(135deg, rgba(251, 69, 22, 0.08) 0%, rgba(22, 29, 36, 0.6) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.pain-transition-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
}

.pain-transition-text span {
  color: var(--brand-orange-light);
}

/* ==========================================================================
   VEHICLE SHOWCASE SECTION (Impacto Visual com Carro, Logo e Scroll Effect)
   ========================================================================== */
.vehicle-showcase-section {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(251, 69, 22, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  padding: var(--space-4xl) 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 90px;
}

.vehicle-showcase-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
}

.vehicle-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.vehicle-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.vehicle-tab-btn:hover {
  background: var(--surface-card-hover);
  color: #FFFFFF;
  border-color: var(--border-accent);
}

.vehicle-tab-btn.active {
  background: var(--brand-orange-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(251, 69, 22, 0.35);
}

.showcase-stage-card {
  position: relative;
  border-radius: var(--radius-2xl);
  background: rgba(15, 20, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(251, 69, 22, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(251, 69, 22, 0.1);
  overflow: hidden;
}

.showcase-stage-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 0;
  align-items: stretch;
}

.showcase-image-viewport {
  position: relative;
  min-height: 480px;
  height: 100%;
  overflow: hidden;
  background: #2a241c;
}

.showcase-image-viewport::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: var(--showcase-bg) center / cover no-repeat;
  filter: blur(28px) brightness(0.55);
}

.showcase-car-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: opacity 0.4s ease;
  will-change: transform;
  transform-origin: center center;
}

.showcase-content-panel {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(20, 26, 33, 0.95) 0%, rgba(13, 17, 22, 0.98) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-vehicle-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.showcase-vehicle-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.showcase-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-2xl);
}

.showcase-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase-spec-icon {
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-spec-item strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.showcase-spec-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.showcase-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 920px) {
  .showcase-stage-grid {
    grid-template-columns: 1fr;
  }
  .showcase-image-viewport {
    min-height: 320px;
  }
  .showcase-content-panel {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-xl);
  }
}

/* ==========================================================================
   4. A SOLUÇÃO (Carrossel Horizontal Deslizante - Cobertura Ampla)
   ========================================================================== */
.solutions-carousel-container {
  position: relative;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-3xl);
  width: 100%;
}

.solutions-carousel-wrapper {
  overflow-x: hidden;
  position: relative;
  padding: 15px 0 25px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  cursor: grab;
}

.solutions-carousel-wrapper:active {
  cursor: grabbing;
}

.solutions-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation: marqueeHorizontal 76s linear infinite;   /* era 38s; o Hugo pediu mais devagar */
}

.solutions-carousel-track:hover,
.solutions-carousel-track.paused {
  animation-play-state: paused;
}

@keyframes marqueeHorizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.solution-card-slide {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  background: rgba(17, 22, 27, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  user-select: none;
  position: relative;
}

.solution-card-slide:hover {
  /* SEM translateY aqui. O cartao subia 6px, saia de debaixo do cursor, o hover se
     desfazia, ele descia, o cursor o reencontrava — e piscava em laco. Num carrossel que
     pausa no hover isso fica pior, porque a animacao do trilho retoma e para junto.
     A borda e a sombra ja dao o retorno de "estou sobre este cartao", sem mover o alvo. */
  border-color: var(--brand-orange);
  box-shadow: 0 16px 32px rgba(251, 69, 22, 0.15);
  background: rgba(22, 28, 35, 0.98);
}

.solution-card-slide .solution-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.solution-card-slide .solution-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.solution-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-cta-center {
  text-align: center;
}

.office-showcase {
  margin-top: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  position: relative;
  max-height: 380px;
}

.office-showcase img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.office-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(10, 13, 16, 0.95) 0%, rgba(10, 13, 16, 0.6) 60%, transparent 100%);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.office-showcase-text h4 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.office-showcase-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   6. PROVA SOCIAL REGIONAL (Depoimentos)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.testi-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 69, 22, 0.3);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: var(--space-md);
}

.testi-quote {
  font-size: 0.975rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-md);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-orange-subtle);
  color: var(--brand-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
}

.testi-info h5 {
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.testi-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. PLANOS E INVESTIMENTO
   ========================================================================== */
.pricing-section {
  position: relative;
}

.pricing-card-wrap {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(27, 35, 44, 0.9) 0%, rgba(17, 22, 28, 0.95) 100%);
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(251, 69, 22, 0.15);
  position: relative;
  text-align: center;
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand-orange), #FFA155);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(251, 69, 22, 0.4);
}

.pricing-plan-name {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.pricing-amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.pricing-prefix {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.pricing-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pricing-value {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.pricing-period {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.pricing-fipe-notice {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.pricing-payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: var(--space-md);
}

.pricing-payment-methods span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-discount-tag {
  display: block;
  margin: var(--space-md) 0;
  padding: 10px 14px;
  background: rgba(251, 69, 22, 0.12);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   8. COMO FUNCIONA (Passo a Passo Interativo)
   ========================================================================== */
.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.steps-connector {
  position: absolute;
  top: 28px;
  left: calc(12.5% - 1px);
  right: calc(12.5% - 1px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange) 0%, rgba(251, 69, 22, 0.15) 100%);
  z-index: 0;
  transform-origin: left center;
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-lg);
  box-shadow: 0 0 15px var(--brand-orange-glow);
}

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(251, 69, 22, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card:hover .step-icon {
  transform: scale(1.08);
  background: rgba(251, 69, 22, 0.18);
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   9. FAQ (Perguntas Frequentes / Acordeão)
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question-btn {
  width: 100%;
  padding: 22px var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--brand-orange-light);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--brand-orange);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 var(--space-xl);
  color: #CBD5E1;
  font-size: 0.975rem;
  line-height: 1.7;
}

.faq-answer-inner {
  padding-bottom: 22px;
}

/* ==========================================================================
   10. CTA FINAL (Fechamento)
   ========================================================================== */
.final-cta-section {
  padding: var(--space-4xl) 0;
  background:
    radial-gradient(ellipse 42% 38% at 50% 48%, rgba(10, 13, 16, 0.62) 0%, rgba(10, 13, 16, 0) 100%),
    linear-gradient(180deg, rgba(10, 13, 16, 0.75) 0%, rgba(10, 13, 16, 0.3) 40%, rgba(10, 13, 16, 0.5) 100%),
    url('../images/cta-garagem.webp') 72% 60% / cover no-repeat;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.final-cta-rhino-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  opacity: 0.08;
  pointer-events: none;
  filter: blur(2px);
  z-index: 0;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.final-cta-subtitle {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin-bottom: var(--space-2xl);
}

.final-cta-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.final-cta-microcopy span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   11. RODAPÉ (Compliance e Legal)
   ========================================================================== */
.site-footer {
  background: #06080A;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  max-width: 380px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--brand-orange-light);
}

.footer-simple-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: var(--space-lg);
}

.footer-simple-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.footer-simple-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.footer-simple-social {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-subtle);
  transition: all var(--transition-fast);
}

.footer-simple-social:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}

.footer-compliance-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: var(--space-xl);
  line-height: 1.6;
}

.footer-compliance-box strong {
  color: #E2E8F0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-lg);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   STICKY MOBILE CTA BAR
   ========================================================================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 13, 16, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-accent);
  padding: 12px 16px;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.sticky-mobile-info {
  display: flex;
  flex-direction: column;
}

.sticky-mobile-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  line-height: 1.1;
}

.sticky-mobile-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.sticky-mobile-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
/* Janela de confirmacao pos-envio, com redirecionamento ao WhatsApp */
.lead-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.lead-confirm-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-confirm-card {
  position: relative;
  width: min(380px, 100%);
  padding: 32px 26px 26px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(14px) scale(0.98);
  transition: transform var(--transition-normal);
}

.lead-confirm-modal.show .lead-confirm-card {
  transform: none;
}

.lead-confirm-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text-secondary);
  background: none;
  border: 0;
  cursor: pointer;
}

.lead-confirm-close:hover {
  color: #FFFFFF;
}

.lead-confirm-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--success);
}

.lead-confirm-card h2 {
  margin: 0 0 6px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
}

.lead-confirm-card p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lead-confirm-link {
  width: 100%;
}

.back-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 24, 31, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 69, 22, 0.4);
  color: var(--brand-orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(251, 69, 22, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all var(--transition-normal);
  outline: none;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange-light);
  box-shadow: 0 10px 28px rgba(251, 69, 22, 0.5);
  transform: translateY(-4px) scale(1.06);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 84px; /* Above the sticky mobile bar */
    right: 18px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   MODAL DE ANÁLISE / COTAÇÃO RÁPIDA
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #131920;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg), 0 0 40px var(--brand-orange-glow);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.modal-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-submit-btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-bullets {
    align-items: center;
  }

  .hero-form-wrapper {
    margin: 0 auto;
    max-width: 500px;
  }

  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-connector {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 0;
  }

  .header-actions .btn {
    display: none;
  }

  .header-phone-link {
    display: flex;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-form-card {
    padding: var(--space-xl) var(--space-md);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .steps-connector {
    display: none;
  }

  .step-badge {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .sticky-mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 75px;
  }

  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .pricing-card {
    padding: var(--space-2xl) var(--space-md);
  }

  .pricing-value {
    font-size: 3rem;
  }
}


/* ==========================================================================
   COMPACT LAYOUT FOR SMALLER LAPTOP SCREENS (ex: notebooks de 14")
   ========================================================================== */
@media (min-width: 1025px) and (max-height: 820px) {
  .hero-section {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: var(--space-xl);
  }

  .hero-grid {
    gap: var(--space-xl);
  }

  .hero-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    margin-bottom: var(--space-sm);
  }

  .hero-subtitle {
    margin-bottom: var(--space-lg);
  }

  .hero-bullets {
    gap: 8px;
    margin-bottom: var(--space-lg);
  }

  .hero-form-card {
    padding: var(--space-lg) var(--space-lg);
  }

  .hero-form-header {
    margin-bottom: var(--space-md);
  }

  .form-group {
    margin-bottom: var(--space-sm);
  }

  .form-input {
    padding: 10px 16px;
  }

  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .showcase-image-viewport {
    min-height: 380px;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Cabecalhos de secao alinhados a esquerda no desktop */
@media (min-width: 921px) {
  .section-header {
    text-align: left;
    margin-left: 0;
    max-width: 720px;
  }
  .section-subtitle {
    margin-left: 0;
  }
}


/* Topo (desktop): coluna esquerda simples, centralizada na altura do formulario */
@media (min-width: 921px) {
  .hero-grid {
    align-items: stretch;
  }

  .hero-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-kicker {
    margin-bottom: var(--space-sm);
  }

  .hero-title {
    margin-bottom: var(--space-lg);
  }

  .hero-subtitle {
    margin-bottom: var(--space-xl);
  }

  .hero-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .hero-bullet-item {
    padding-right: var(--space-lg);
    font-size: 1rem;
    line-height: 1.45;
    align-items: flex-start;
  }

  .hero-bullet-item + .hero-bullet-item {
    padding-left: var(--space-lg);
    border-left: 1px solid var(--border-subtle);
  }

  .hero-bullet-item::before {
    display: none;
  }
}


/* Preco como ancora visual no topo */
.hero-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: var(--space-xl);
}

.hero-price-from {
  font-size: 1rem;
  color: var(--text-secondary);
}

.hero-price-value {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-orange);
}

.hero-price-unit {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Secao de depoimentos em cinza claro da marca (ritmo de cores) */
#depoimentos {
  background: #E2E2E2;
}

#depoimentos .section-title {
  color: #0C0C0C;
}

#depoimentos .section-subtitle {
  color: #4B4B4B;
}

#depoimentos .testi-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

#depoimentos .testi-card:hover {
  border-color: rgba(251, 69, 22, 0.4);
}

#depoimentos .testi-quote {
  color: #1A1A1A;
}

#depoimentos .testi-info h5 {
  color: #0C0C0C;
}

#depoimentos .testi-info span {
  color: #5A5A5A;
}


/* Destaque unico no botao do topo: um brilho que passa uma vez ao aparecer */
.hero-submit-btn {
  overflow: hidden;
}

.hero-submit-btn::before {
  animation: btn-sheen 1.1s ease 1.8s 1 both;
}

@keyframes btn-sheen {
  from { left: -100%; }
  to { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-submit-btn::before {
    animation: none;
  }
}


/* ==========================================================================
   Topo em uma tela so (desktop): cabecalho maior, hero ocupa a altura da janela
   ========================================================================== */
@media (min-width: 921px) {
  .site-header {
    padding: 22px 0;
  }

  .site-header.scrolled {
    padding: 16px 0;
  }

  .brand-logo-img {
    height: 56px;
  }

  .hero-section {
    min-height: 100svh;
    padding-top: 112px;
    padding-bottom: 32px;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: clamp(2rem, min(3.3vw, 5.4vh), 2.9rem);
    margin-bottom: clamp(14px, 2.4vh, 24px);
  }

  .hero-kicker {
    font-size: 0.9rem;
    margin-bottom: clamp(10px, 1.6vh, 16px);
  }

  .hero-subtitle {
    color: #D5DCE6;
    margin-bottom: clamp(16px, 3vh, 28px);
  }

  /* Preco: rotulo em cima, valor grande embaixo */
  .hero-price {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: baseline;
    column-gap: 10px;
    row-gap: 2px;
    margin-bottom: clamp(18px, 3.4vh, 32px);
  }

  .hero-price-from {
    grid-column: 1 / -1;
    font-size: 0.95rem;
  }

  .hero-price-value {
    font-size: clamp(2.6rem, min(4.2vw, 8vh), 3.8rem);
  }

  /* Beneficios: termo-chave em destaque, separados do preco por uma linha */
  .hero-bullets {
    padding-top: clamp(14px, 2.4vh, 24px);
    border-top: 1px solid var(--border-subtle);
  }

  .hero-bullet-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
  }

  .hero-bullet-item strong {
    color: #FFFFFF;
    font-weight: 700;
  }

  /* Formulario compacto, proporcional a altura da janela */
  .hero-form-card {
    padding: clamp(18px, 3vh, 36px) var(--space-xl);
  }

  .hero-form-header {
    margin-bottom: clamp(12px, 2vh, 20px);
    padding-bottom: clamp(10px, 1.6vh, 16px);
  }

  .hero-form-body .form-group {
    margin-bottom: clamp(10px, 1.6vh, 16px);
  }

  .hero-form-body .form-input {
    padding-top: clamp(10px, 1.5vh, 13px);
    padding-bottom: clamp(10px, 1.5vh, 13px);
  }
}


/* ==========================================================================
   Acabamento profissional: menos brilho, formas mais sobrias
   ========================================================================== */

/* Botoes: cor solida da marca, cantos discretos, sem brilho */
.btn {
  border-radius: 10px;
}

.btn-primary {
  background: var(--brand-orange);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  transform: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

/* Preco: numero em uma linha so, peso menor */
.hero-price {
  grid-template-columns: max-content max-content;
}

.hero-price-value {
  white-space: nowrap;
  font-weight: 800;
}

/* Formulario: cantos coerentes com os botoes */
.hero-form-card {
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

.form-input {
  border-radius: 8px;
}


/* Fundo do topo: foto tingida com o azul-acinzentado da pagina, discreta mas visivel */
.hero-section {
  background-image: none;
  background-color: var(--bg-primary);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-car.jpg?v=2') center / cover no-repeat;
  filter: grayscale(1) contrast(1.05) brightness(0.55);
  z-index: 0;
}

/* Tinta azul-acinzentada da pagina sobre a foto em cinza */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #2E3D4E;
  mix-blend-mode: color;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-overlay {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 13, 16, 0.35) 18%, rgba(10, 13, 16, 0) 45%, rgba(10, 13, 16, 0.7) 88%, var(--bg-primary) 100%),
    linear-gradient(90deg, rgba(10, 13, 16, 0.85) 0%, rgba(10, 13, 16, 0.55) 45%, rgba(10, 13, 16, 0.4) 100%);
}


/* Preco: rotulo, valor e unidade sempre alinhados pela base */
.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
}

.hero-price-from {
  flex: 0 0 100%;
}

.hero-price-value,
.hero-price-unit {
  flex: 0 0 auto;
}


/* Ajustes finais do topo (desktop) */
@media (min-width: 921px) {
  .header-phone-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    gap: 10px;
  }

  .header-phone-link svg,
  .header-phone-link i {
    width: 22px !important;
    height: 22px !important;
  }

  .hero-kicker {
    color: #B4BECC;
  }

  .hero-bullet-item {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #C3CCD9;
  }
}


/* ==========================================================================
   Showcase de veiculos: cabe numa tela, foto preenche o quadro sem cortar o carro
   ========================================================================== */
.showcase-image-viewport::before {
  display: none;
}

.showcase-car-img {
  object-fit: cover;
  object-position: center 62%;
}

@media (min-width: 921px) {
  .vehicle-showcase-section {
    padding: clamp(48px, 6vh, 88px) 0 clamp(48px, 6vh, 88px);
    scroll-margin-top: 0;
  }

  .vehicle-showcase-header {
    max-width: 1140px;
    margin-bottom: 14px;
  }

  .vehicle-showcase-header .section-title {
    font-size: clamp(1.5rem, min(2.4vw, 4vh), 2rem);
    margin-bottom: 6px;
  }

  .vehicle-showcase-header .section-subtitle {
    font-size: 1rem;
    max-width: none;
  }

  .vehicle-tabs-nav {
    margin-bottom: 18px;
  }

  .showcase-stage-card {
    height: clamp(430px, calc(100svh - 300px), 620px);
  }

  .showcase-stage-grid {
    grid-template-columns: 0.9fr 1.1fr;
    height: 100%;
  }

  .showcase-image-viewport {
    min-height: 0;
    height: 100%;
  }

  .showcase-content-panel {
    padding: clamp(18px, 3vh, 34px) clamp(24px, 3vw, 40px);
    justify-content: space-between;
    overflow: hidden;
  }

  .showcase-vehicle-title {
    font-size: clamp(1.25rem, min(1.8vw, 3.2vh), 1.6rem);
    margin-bottom: 8px;
  }

  .showcase-vehicle-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: clamp(10px, 2vh, 18px);
  }

  .showcase-specs-list {
    gap: clamp(6px, 1.2vh, 10px);
  }

  .showcase-spec-item {
    padding: clamp(8px, 1.3vh, 12px) 14px;
  }

  .showcase-spec-item strong {
    font-size: 0.925rem;
  }

  .showcase-spec-item span {
    font-size: 0.85rem;
    line-height: 1.35;
  }
}


/* Showcase: acabamento (alinhado a esquerda, abas solidas, lista aberta) */
.showcase-vehicle-title {
  text-wrap: balance;
}

.vehicle-tab-btn {
  border-radius: 10px;
}

.vehicle-tab-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: none;
}

@media (min-width: 921px) {
  .vehicle-showcase-section {
    padding: clamp(48px, 6vh, 88px) 0 clamp(48px, 6vh, 88px);
  }

  .vehicle-showcase-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .vehicle-tabs-nav {
    justify-content: flex-start;
  }

  .showcase-stage-card {
    height: clamp(430px, calc(100svh - 330px), 620px);
  }

  .showcase-content-panel > div:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .showcase-specs-list {
    flex: 1;
    justify-content: center;
    gap: 0;
  }

  .showcase-spec-item {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: clamp(10px, 1.8vh, 16px) 0;
  }

  .showcase-spec-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .showcase-spec-item strong {
    font-size: 1rem;
  }

  .showcase-spec-item span {
    font-size: 0.9rem;
  }

  .showcase-vehicle-desc {
    font-size: 1rem;
  }
}


@media (min-width: 921px) {
  .vehicle-showcase-section {
    padding: clamp(48px, 6vh, 88px) 0 clamp(48px, 6vh, 88px);
  }

  .showcase-stage-card {
    height: clamp(430px, calc(100svh - 290px), 640px);
  }

  .showcase-content-panel {
    padding: clamp(16px, 2.6vh, 30px) clamp(24px, 3vw, 40px);
  }

  .showcase-spec-item {
    padding: clamp(7px, 1.2vh, 13px) 0;
  }

  .showcase-vehicle-desc {
    font-size: 0.95rem;
    margin-bottom: clamp(8px, 1.6vh, 14px);
  }

  .showcase-spec-item strong {
    font-size: 0.975rem;
  }

  .showcase-spec-item span {
    font-size: 0.875rem;
    line-height: 1.3;
  }
}


/* Showcase: foto e painel como dois blocos separados, cantos suaves */
.showcase-stage-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.showcase-image-viewport {
  border-radius: 12px;
}

.showcase-content-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

@media (min-width: 921px) {
  .showcase-stage-grid {
    gap: 20px;
  }

  .showcase-content-panel {
    padding: clamp(16px, 2.6vh, 30px) clamp(28px, 3.4vw, 48px);
  }

  .vehicle-showcase-header {
    margin-bottom: 18px;
  }

  .vehicle-tabs-nav {
    margin-bottom: 22px;
  }

  .showcase-stage-card {
    height: clamp(430px, calc(100svh - 300px), 640px);
  }
}


/* Troca de aba: sem pontas retas nem fundo marrom durante a transicao */
.showcase-image-viewport {
  background: var(--bg-secondary);
}

.showcase-car-img {
  border-radius: 12px;
}

@media (min-width: 921px) {
  .vehicle-showcase-header {
    margin-bottom: 22px;
  }

  .vehicle-tabs-nav {
    margin-bottom: 28px;
  }

  .showcase-stage-card {
    height: clamp(430px, calc(100svh - 322px), 640px);
  }
}


/* Topo no celular e tablet: mais compacto, tudo centralizado, formulario mais perto */
@media (max-width: 920px) {
  .hero-section {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-content {
    text-align: center;
    max-width: none;
  }

  .hero-kicker {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  .hero-price {
    justify-content: center;
    margin-bottom: 16px;
  }

  .hero-price-from {
    flex: 0 0 100%;
    text-align: center;
  }

  .hero-price-value {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
  }

  .hero-bullet-item {
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    color: #C3CCD9;
  }

  .hero-bullet-item::before {
    display: none;
  }

  .hero-form-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}


/* Showcase no celular e tablet: cabecalho compacto, abas em uma linha rolavel */
@media (max-width: 920px) {
  .vehicle-showcase-section {
    padding: clamp(48px, 6vh, 88px) 0 clamp(48px, 6vh, 88px);
  }

  .vehicle-showcase-header {
    margin-bottom: 16px;
  }

  .vehicle-showcase-header .section-title {
    font-size: clamp(1.45rem, 6vw, 2rem);
    margin-bottom: 8px;
  }

  .vehicle-showcase-header .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .vehicle-tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    margin: 0 -16px 16px;
    padding: 2px 16px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .vehicle-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .vehicle-tab-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .showcase-stage-grid {
    gap: 16px;
  }

  .showcase-content-panel {
    padding: 24px 20px;
  }

  .showcase-vehicle-title {
    font-size: 1.35rem;
  }
}


@media (max-width: 920px) {
  .hero-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Secao "A dor": perguntas em destaque, sem caixas nem icones */
.pain-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: var(--space-3xl);
}

.pain-card {
  background: transparent;
  border: none;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-lg) var(--space-lg) 0 0;
  transition: border-color var(--transition-fast);
}

.pain-card::before {
  display: none;
}

.pain-card:hover {
  border-top-color: var(--brand-orange);
  transform: none;
  box-shadow: none;
}

.pain-card-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: #FFFFFF;
}

.pain-transition-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  max-width: none;
  margin: 0;
}

.pain-transition-text {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--text-secondary);
}

.pain-transition-text span {
  color: var(--brand-orange);
}

@media (max-width: 920px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-lg);
  }

  .pain-card-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 520px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .pain-card {
    padding-right: 0;
  }

  .pain-transition-text {
    font-size: 1.2rem;
  }
}


/* Hover discreto nas listas abertas: linha mais clara, sem laranja e sem fundo */
.pain-card:hover{
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.55);
}


/* Secao "A dor": mesmo padrao do showcase (blocos escuros, borda fina, cantos de 12px, espaco entre eles) */
.pain-grid {
  gap: 20px;
  margin-bottom: 20px;
}

.pain-card,
.pain-card:hover {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 26px;
  min-height: 150px;
  box-shadow: none;
  transform: none;
}

.pain-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.pain-transition-box {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 32px;
}

.pain-transition-text {
  color: #FFFFFF;
}

@media (max-width: 920px) {
  .pain-grid {
    gap: 16px;
    margin-bottom: 16px;
  }

  .pain-card,
  .pain-card:hover {
    min-height: 0;
    padding: 22px 20px;
  }

  .pain-transition-box {
    padding: 22px 20px;
  }
}

@media (min-width: 921px) {
  #dor {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
  }

  #dor .container {
    width: 100%;
    display: grid;
    grid-template-columns: 0.85fr 1.3fr;
    grid-template-areas:
      "head grid"
      "trans grid";
    column-gap: 56px;
    row-gap: 24px;
    align-items: start;
  }

  #dor .section-header {
    grid-area: head;
    margin-bottom: 0;
  }

  #dor .pain-grid {
    grid-area: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    margin-bottom: 0;
  }

  #dor .pain-transition-box {
    grid-area: trans;
    align-self: end;
  }

  #dor .pain-card,
  #dor .pain-card:hover {
    min-height: clamp(170px, 26vh, 250px);
    padding: 30px 28px;
  }

  #dor .pain-card-text {
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    line-height: 1.35;
  }
}


/* Secao "A dor": leitura de cima para baixo (titulo -> perguntas -> conclusao em faixa larga) */
@media (min-width: 921px) {
  #dor .container {
    grid-template-areas:
      "head grid"
      "trans trans";
    row-gap: 20px;
  }

  #dor .section-header {
    align-self: center;
  }

  #dor .pain-transition-box {
    align-self: stretch;
    padding: 26px 32px;
  }

  #dor .pain-transition-text {
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  }

  #dor .pain-card,
  #dor .pain-card:hover {
    min-height: clamp(150px, 22vh, 220px);
  }
}


/* Secao "A dor" (opcao A): titulo centralizado, fileira de 4 blocos altos, conclusao em faixa mais forte */
@media (min-width: 921px) {
  #dor .container {
    display: block;
  }

  #dor .section-header {
    text-align: center;
    margin: 0 auto 36px;
    max-width: 760px;
    align-self: auto;
  }

  #dor .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  #dor .pain-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    margin-bottom: 20px;
  }

  #dor .pain-card,
  #dor .pain-card:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: clamp(170px, 28vh, 270px);
    padding: 28px 26px;
  }

  #dor .pain-card-text {
    font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  }

  #dor .pain-transition-box {
    text-align: center;
    background: var(--bg-elevated);
    border-color: rgba(255, 255, 255, 0.12);
    padding: 34px 32px;
  }

  #dor .pain-transition-text {
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  }
}


@media (min-width: 921px) {
  #dor {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}


@media (min-width: 921px) {
  #dor .section-header {
    max-width: 1000px;
  }

  #dor .section-title {
    text-wrap: balance;
  }

  #dor .pain-transition-text {
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    text-wrap: balance;
  }
}

/* Conclusao da secao "A dor": card translucido (gradiente sutil + borda), como na
   versao original — sem preenchimento solido e sem faixa lateral. */
#dor .pain-transition-box {
  background: linear-gradient(135deg, rgba(251, 69, 22, 0.08) 0%, rgba(22, 29, 36, 0.6) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 18px 28px;
}

#dor .pain-transition-text span {
  color: var(--brand-orange);
}

@media (prefers-reduced-motion: reduce) {
  #dor .pain-transition-box,
  #dor .pain-transition-text span {
    transition: none;
  }
}


/* Secao "A dor": subtitulo mais legivel e perguntas alinhadas pelo topo */
#dor .section-subtitle {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #B4BECC;
}

@media (min-width: 921px) {
  #dor .pain-card,
  #dor .pain-card:hover {
    align-items: flex-start;
  }
}


/* Secao "A dor": tamanhos acompanham a altura da janela para caber sempre na tela (desktop) */
@media (min-width: 921px) {
  #dor {
    padding-top: clamp(48px, 6vh, 88px);
    padding-bottom: clamp(48px, 6vh, 88px);
  }

  #dor .section-header {
    margin-bottom: clamp(12px, 3.2vh, 36px);
  }

  #dor .section-title {
    font-size: clamp(1.5rem, min(2.75rem, 5.4vh), 2.75rem);
    margin-bottom: clamp(6px, 1.4vh, 16px);
  }

  #dor .section-subtitle {
    font-size: clamp(0.85rem, 1.9vh, 1.1rem);
  }

  #dor .pain-grid {
    gap: clamp(10px, 2.4vh, 20px);
    margin-bottom: clamp(10px, 2.4vh, 20px);
  }

  #dor .pain-card,
  #dor .pain-card:hover {
    min-height: clamp(96px, 24vh, 270px);
    padding: clamp(12px, 3vh, 28px) clamp(16px, 1.8vw, 26px);
  }

  #dor .pain-card-text {
    font-size: clamp(0.9rem, min(1.45vw, 2.7vh), 1.35rem);
  }

  #dor .pain-transition-box {
    padding: clamp(12px, 3vh, 34px) 32px;
  }

  #dor .pain-transition-text {
    font-size: clamp(1rem, min(1.9vw, 3.6vh), 1.7rem);
  }
}


/* Secao "A dor": os blocos esticam para ocupar a altura da janela (sem sobras em cima e embaixo) */
@media (min-width: 921px) {
  #dor {
    align-items: stretch;
  }

  #dor .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-template-rows: auto 1fr auto;
    align-items: stretch;
    row-gap: clamp(10px, 2.4vh, 20px);
    min-height: min(calc(100svh - var(--header-h) - 2 * clamp(48px, 6vh, 88px)), 780px);
    align-self: center;
  }

  #dor .pain-grid {
    margin-bottom: 0;
    align-items: stretch;
  }

  #dor .pain-card,
  #dor .pain-card:hover {
    min-height: 0;
  }
}


@media (min-width: 921px) {
  #dor .section-header,
  #dor .pain-grid,
  #dor .pain-transition-box {
    grid-area: auto;
  }
}


@media (min-width: 921px) {
  #dor .pain-card,
  #dor .pain-card:hover {
    align-items: center;
  }

  #dor .pain-card-text {
    font-size: clamp(1rem, min(1.7vw, 3.8vh), 1.75rem);
    line-height: 1.32;
  }
}

.solution-cta-center {
  display: flex;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: clamp(14px, 3vh, 32px);
  text-align: left;
}

@media (min-width: 921px) {
  #solucao {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: stretch;
    padding-top: clamp(48px, 6vh, 88px);
    padding-bottom: clamp(48px, 6vh, 88px);
  }

  #solucao .container {
    width: 100%;
    display: grid;
    /* minmax(0, 1fr) e nao 1fr: o trilho do carrossel tem width:max-content (5420px), e
       numa grade a coluna cresce ate o conteudo mais largo. Sem o minmax, o cabecalho ia
       para 1624px e o bloco do CTA para 5420 dentro de um container de 1200 — era isso que
       cortava o subtitulo pela direita. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    row-gap: 0;
    min-height: min(calc(100svh - var(--header-h) - 2 * clamp(48px, 6vh, 88px)), 800px);
    align-self: center;
  }

  /* A faixa do meio e 1fr e estica para a secao caber na tela; o carrossel tem altura
     propria e menor. Centrando, a sobra se divide em cima e embaixo em vez de virar um vao
     so embaixo dos cartoes. */
  #solucao .solutions-carousel-container {
    align-self: center;
    /* A margem era 32 em cima e 64 embaixo. Com a faixa centrada, essa diferenca virava
       vao maior debaixo dos cartoes do que acima deles. Iguala. */
    margin-bottom: 32px;
  }

  #solucao .section-header {
    margin-bottom: clamp(12px, 3vh, 32px);
  }

  #solucao .section-title {
    font-size: clamp(1.5rem, min(2.75rem, 5.2vh), 2.75rem);
    margin-bottom: clamp(6px, 1.4vh, 16px);
  }

  #solucao .section-subtitle {
    font-size: clamp(0.85rem, 1.9vh, 1.1rem);
  }
}


@media (min-width: 921px) {
  #solucao .section-header {
    max-width: none;
    margin-left: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 48px;
    align-items: end;
    text-align: left;
  }

  #solucao .section-title {
    font-size: clamp(1.4rem, min(2.4vw, 4.6vh), 2.3rem);
    margin-bottom: 0;
  }

  #solucao .section-subtitle {
    margin: 0;
    max-width: none;
  }
}


@media (min-width: 921px) {
  #solucao {
    padding-top: clamp(48px, 6vh, 88px);
    padding-bottom: clamp(48px, 6vh, 88px);
  }

  #solucao .container {
    min-height: min(calc(100svh - var(--header-h) - 2 * clamp(48px, 6vh, 88px) - 4px), 800px);
  }

  #solucao .section-header {
    margin-bottom: clamp(10px, 2.4vh, 24px);
  }

  .solution-cta-center {
    margin-top: clamp(10px, 2.2vh, 24px);
  }
}

/* ==========================================================================
   TITULOS DE SECAO: um tamanho e um respiro para todos
   Fica no fim do arquivo de proposito: vence as regras por secao acima
   (#dor, #solucao, .vehicle-showcase-header) que davam um tamanho a cada uma.
   Segue a largura e a altura da tela, para dor/solucao/veiculos continuarem
   cabendo em uma tela sem que as outras secoes fiquem com titulo maior.
   ========================================================================== */
:root {
  --section-title-size: clamp(1.5rem, min(3.5vw, 4.6vh), 2.75rem);
  --section-title-gap: clamp(8px, 1.6vh, 16px);
}

.section-title,
#dor .section-title,
#solucao .section-title,
.vehicle-showcase-header .section-title,
#depoimentos .section-title {
  font-size: var(--section-title-size);
  margin-bottom: var(--section-title-gap);
}

/* Cabecalho de secao inteiro (largura, alinhamento, subtitulo, respiro ate o conteudo) */
:root {
  --section-header-gap: clamp(24px, 5vh, 56px);
  --section-subtitle-size: clamp(0.95rem, 1.9vh, 1.125rem);
}

.section-header,
#dor .section-header,
#solucao .section-header,
.vehicle-showcase-header {
  margin-bottom: var(--section-header-gap);
}

.section-subtitle,
#dor .section-subtitle,
#solucao .section-subtitle,
.vehicle-showcase-header .section-subtitle {
  font-size: var(--section-subtitle-size);
  line-height: 1.6;
}

@media (min-width: 921px) {
  .section-header,
  #dor .section-header,
  #solucao .section-header,
  .vehicle-showcase-header {
    text-align: left;
    max-width: 900px;
    margin-left: 0;
    margin-right: 0;
    display: block;
  }

  .section-subtitle,
  #dor .section-subtitle,
  #solucao .section-subtitle,
  .vehicle-showcase-header .section-subtitle {
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Veiculos cabe na tela (desktop): o cabecalho ficou maior com o titulo padronizado,
   entao o que fica acima do cartao encolhe e a altura do cartao acompanha a tela. */
@media (min-width: 921px) {
  .vehicle-showcase-section {
    padding: clamp(24px, 3.5vh, 48px) 0;
  }

  .vehicle-showcase-header {
    max-width: 1140px;
    margin-bottom: clamp(14px, 2vh, 24px);
  }

  .vehicle-showcase-header .section-subtitle {
    max-width: none;
  }

  .vehicle-tabs-nav {
    margin-bottom: clamp(10px, 1.6vh, 16px);
  }

  .showcase-stage-card {
    height: clamp(430px, calc(100svh - 428px), 620px);
  }
}

/* Todas as secoes cabem na tela (desktop, ~1080p): mesmo respiro vertical das demais
   (o token do handoff: clamp(48px, 6vh, 88px)) e foto da sede proporcional a altura. */
@media (min-width: 921px) {
  #depoimentos,
  #planos,
  #como-funciona,
  #faq {
    padding-top: clamp(48px, 6vh, 88px);
    padding-bottom: clamp(48px, 6vh, 88px);
  }

  #depoimentos .testimonials-grid {
    margin-bottom: 0;
  }

  #depoimentos .office-showcase {
    margin-top: clamp(20px, 3vh, 32px);
    max-height: clamp(190px, 24vh, 300px);
  }

  #depoimentos .office-showcase img {
    height: clamp(190px, 24vh, 300px);
    object-position: center 22%;
  }
}

/* Janelas baixas (notebook): respiro menor e foto menor; o paragrafo do painel de
   veiculos sai, porque os tres itens logo abaixo ja dizem o mesmo. */
:root {
  --section-header-gap: clamp(20px, 3.6vh, 56px);
}

@media (min-width: 921px) {
  #depoimentos,
  #planos,
  #como-funciona,
  #faq {
    padding-top: clamp(40px, 5vh, 88px);
    padding-bottom: clamp(40px, 5vh, 88px);
  }

  #depoimentos .office-showcase {
    max-height: clamp(140px, 20vh, 300px);
  }

  #depoimentos .office-showcase img {
    height: clamp(140px, 20vh, 300px);
  }
}


.steps-cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

@media (min-width: 921px) {
  .steps-cta {
    margin-top: clamp(24px, 4vh, 64px);
  }
}

/* Veiculos e depoimentos PREENCHEM a tela (desktop): a secao ocupa a altura util
   (janela menos o header fixo rolado, 89px) e o cartao / a foto crescem para absorver a
   sobra, em vez de uma altura calculada para um unico tamanho de janela. */
@media (min-width: 921px) {
  .vehicle-showcase-section,
  #depoimentos {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .vehicle-showcase-section > .container,
  #depoimentos > .container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .vehicle-showcase-section .showcase-stage-card {
    flex: 1 1 0;
    height: auto;
    min-height: 430px;
    max-height: 760px;
    display: flex;
    flex-direction: column;
  }

  .vehicle-showcase-section .showcase-stage-grid {
    flex: 1;
    min-height: 0;
    height: auto;
  }

  #depoimentos .office-showcase {
    flex: 1 1 auto;
    min-height: 150px;
    max-height: 480px;
  }

  #depoimentos .office-showcase img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* Encaixe: cada secao tem exatamente a altura util da tela (janela menos o header fixo),
   com o conteudo centralizado. As que tem mais conteudo que isso comprimem o que da. */
@media (min-width: 921px) {
  #planos,
  #como-funciona,
  #faq,
  #contato {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #planos > .container,
  #como-funciona > .container,
  #faq > .container,
  #contato > .container {
    width: 100%;
  }

  /* Depoimentos: cartoes e subtitulo mais enxutos para a foto da sede voltar a ter tamanho */
  #depoimentos .section-subtitle {
    max-width: 1000px;
  }

  #depoimentos .testi-card {
    padding: var(--space-lg);
  }

  #depoimentos .testi-quote {
    margin-bottom: var(--space-md);
  }

  #depoimentos .office-showcase img {
    object-position: center 15%;
  }
}

@media (min-width: 921px) {
  .vehicle-showcase-section .showcase-content-panel {
    padding-top: clamp(14px, 2.2vh, 26px);
    padding-bottom: clamp(14px, 2.2vh, 26px);
  }
}

:root {
  --header-h: 89px; /* altura do header ja rolado: vale para toda secao abaixo do hero */
}

/* FAQ em duas colunas (titulo a esquerda, perguntas a direita) e CTA final com titulo em 2 linhas */
@media (min-width: 921px) {
  #faq > .container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    column-gap: 72px;
    align-items: center;
  }

  #faq .section-header {
    margin-bottom: 0;
  }

  #faq .faq-accordion {
    max-width: none;
    margin: 0;
  }

  .final-cta-content {
    max-width: 900px;
  }
}

/* Rolagem livre (pedido do Hugo em 2026-09-29): o scroll-snap que prendia a rolagem
   secao a secao foi removido. As secoes continuam com a altura da tela, so a rolagem
   deixou de travar/pular entre elas. */

/* Solucao: os cartoes do carrossel crescem com a altura da tela para nao sobrar vao
   acima e abaixo da faixa (a secao tem a altura da janela). */
@media (min-width: 921px) {
  .solution-card-slide {
    min-height: clamp(220px, 32vh, 340px);
  }

  .solution-card-slide .solution-title {
    font-size: clamp(1.2rem, 2.4vh, 1.5rem);
  }

  .solution-card-slide .solution-desc {
    font-size: clamp(0.9rem, 1.9vh, 1.05rem);
    line-height: 1.55;
  }
}

/* Depoimentos: cartoes mais compactos para a foto da sede ficar maior */
@media (min-width: 921px) {
  #depoimentos .testi-card {
    padding: 20px 24px;
  }

  #depoimentos .testi-stars {
    margin-bottom: 10px;
  }

  #depoimentos .testi-quote {
    margin-bottom: 12px;
    line-height: 1.5;
  }
}

/* Dor: cartoes com a altura do proprio texto (nao esticados pela secao), texto maior e
   alinhado ao topo; o bloco todo fica centralizado na tela. */
@media (min-width: 921px) {
  #dor .pain-grid {
    align-self: center;
    align-items: stretch;
  }

  #dor .pain-card,
  #dor .pain-card:hover {
    align-items: flex-start;
    min-height: clamp(180px, 26vh, 260px);
    padding: clamp(22px, 3vh, 32px) 24px;
  }

  #dor .pain-card-text {
    font-size: clamp(1.1rem, 2.8vh, 1.55rem);
  }
}

/* CTA final: o microtexto tem de ler sobre a foto */
.final-cta-microcopy,
.final-cta-microcopy span {
  color: #CBD5E1;
}

.footer-bottom a,
.footer-col a {
  color: inherit;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--brand-orange-light);
}

/* So em janelas baixas (<= 840px de altura) o paragrafo do painel de veiculos sai,
   porque nao cabe; em 900px ou mais ele aparece inteiro. */
@media (min-width: 921px) and (max-height: 840px) {
  .showcase-vehicle-desc {
    display: none;
  }
}

/* ==========================================================================
   REVISAO RESPONSIVA (celular, tablet, notebook)
   ========================================================================== */

/* Tablet deitado (921-1099px): os depoimentos empilham e a pagina passa da tela,
   entao aqui nao ha encaixe por tela; o fluxo e o natural. */
@media (min-width: 921px) and (max-width: 1099px) {
  html {
    scroll-snap-type: none;
  }

  section[id] {
    scroll-snap-align: none;
  }

  .vehicle-showcase-section,
  #depoimentos,
  #planos,
  #como-funciona,
  #faq,
  #contato {
    min-height: 0;
  }

  #depoimentos .office-showcase {
    min-height: 340px;
  }
}

/* Alvos de toque: links e botoes com pelo menos 44px de altura */
@media (max-width: 920px), (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .header-phone-link {
    min-height: 44px;
    white-space: nowrap;
  }

  .footer-col a,
  .footer-bottom a {
    display: inline-block;
    padding: 10px 0;
  }

  .sticky-mobile-sub {
    font-size: 0.75rem;
  }
}

/* Celular muito estreito (320-359px): o telefone vira so o icone, para nao quebrar */
@media (max-width: 359px) {
  .header-phone-link span {
    display: none;
  }

  .header-phone-link {
    padding: 0 8px;
  }
}

/* Planos: "A partir de" numa linha propria, para o preco nao quebrar no meio */
@media (max-width: 480px) {
  .pricing-amount-wrap {
    flex-wrap: wrap;
  }

  .pricing-prefix {
    flex-basis: 100%;
    text-align: center;
  }
}

/* Foto da sede no celular: texto e botao empilham (o botao nao fica espremido) */
@media (max-width: 640px) {
  .office-showcase {
    max-height: none;
  }

  .office-showcase img {
    height: 420px;
    object-position: 35% 20%;
  }

  .office-showcase-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .office-showcase-overlay .btn {
    width: 100%;
    justify-content: center;
  }

  /* Abas de veiculos: uma sob a outra, para nenhuma ficar cortada fora da tela */
  .vehicle-tabs-nav {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .vehicle-tab-btn {
    justify-content: center;
  }
}

/* Footer no tablet em pe: marca em cima, duas colunas embaixo */
@media (min-width: 600px) and (max-width: 920px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Formas de pagamento: cada uma inteira na sua linha, sem quebrar o rotulo no meio */
.pricing-payment-methods {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.pricing-payment-methods span {
  white-space: nowrap;
}

/* Notebook baixo (700-740px de altura): respiro vertical menor para cada secao caber na tela */
@media (min-width: 1100px) and (min-height: 700px) and (max-height: 740px) {
  #dor,
  #solucao,
  #depoimentos,
  #planos,
  #como-funciona,
  #faq {
    padding-top: 26px;
    padding-bottom: 26px;
  }
}

/* Dor: o subtitulo fica numa linha so em telas largas (sem "caro." sozinho na segunda linha) */
@media (min-width: 1100px) {
  #dor .section-header,
  #dor .section-subtitle {
    max-width: none;
  }

  #dor .section-subtitle {
    white-space: nowrap;
  }
}

/* Ajuste: o grid com linha 1fr esticava o vao vazio entre cabecalho/cartoes/caixa
   quando os cartoes diminuiram de tamanho. Centraliza o bloco inteiro (cabecalho
   + cartoes + caixa final) como uma coluna, no tamanho natural do conteudo, em vez
   de forcar uma linha do grid a esticar para preencher a tela. */
@media (min-width: 921px) {
  #dor {
    align-items: center;
  }

  #dor .container {
    display: flex;
    flex-direction: column;
    min-height: 0;
    row-gap: clamp(20px, 3.4vh, 40px);
  }

  #dor .pain-grid {
    align-self: stretch;
  }
}

.lead-confirm-dismiss {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: inherit;
  opacity: .7;
  font: inherit;
  font-size: .9rem;
  text-decoration: underline;
  cursor: pointer;
}
.lead-confirm-dismiss:hover { opacity: 1; }

.form-input.is-invalid {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.field-error {
  margin: 6px 2px 0;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #FCA5A5;
}
