﻿:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-tertiary: #1C1C1C;
  --red: #DC2626;
  --red-light: #EF4444;
  --red-dark: #991B1B;
  --red-accent: #B91C1C;
  --text-primary: #FFFFFF;
  --text-secondary: #B8B8B8;
  --text-muted: #6B6B6B;
  --border: #2A2A2A;
  --whatsapp: #25D366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Inline SVG icons */
.icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-brand .logo img {
  height: 64px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

nav a:hover { color: var(--red-light); }

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

nav a:hover::after { width: 100%; }

.btn-header {
  background: var(--red);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-header:hover {
  background: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35);
}

.mobile-toggle {
  display: none;
  font-size: 26px;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.mobile-toggle:hover { border-color: var(--red); color: var(--red-light); }

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 199;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

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

.mobile-menu-header img { height: 36px; }

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
}

.mobile-menu-close:hover { border-color: var(--red); color: var(--red-light); }

.mobile-menu-nav { list-style: none; margin-bottom: 32px; }

.mobile-menu-nav li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu-nav a {
  display: block;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu-nav a:hover {
  color: var(--red-light);
  padding-left: 8px;
}

.mobile-menu-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-cta .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.mobile-menu-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.mobile-menu-contact strong {
  color: var(--text-primary);
  font-size: 15px;
}

body.menu-open { overflow: hidden; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.95)), url('/assets/structure/fachada-home.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(220, 38, 38, 0.10), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: var(--red-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

h1.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--red);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background: var(--red);
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.45);
}

.btn-primary:hover::after { left: 180%; }

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red-light);
}

.btn-whatsapp {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--red);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(220, 38, 38, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-whatsapp:hover {
  background: var(--red);
  color: var(--text-primary);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.35);
  transform: translateY(-2px);
}

.btn-whatsapp:hover::after { left: 180%; }

.btn-whatsapp:active { transform: translateY(0) scale(0.97); }

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* ===== TRUST BAR ===== */
.trust-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.trust-item .num {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-item .label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SECTION HEADER ===== */
section { padding: 100px 0; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* ===== ATMOSPHERIC BACKGROUND (reusable) ===== */
.has-bg-fx,
.cars-section {
  position: relative;
  overflow: hidden;
}

.has-bg-fx > .container,
.cars-section > .container { position: relative; z-index: 2; }

.cars-section {
  background: linear-gradient(180deg, #0d0d0d 0%, #161616 45%, #161616 55%, #0d0d0d 100%);
}

.section-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.section-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('/assets/structure/estoque.jpg?v=20260617-estrutura');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  filter: grayscale(40%);
  mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 90%);
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.bg-blob-1 {
  width: 520px; height: 520px;
  background: rgba(220, 38, 38, 0.35);
  top: -140px; left: -120px;
  animation: floatA 22s ease-in-out infinite alternate;
}

.bg-blob-2 {
  width: 620px; height: 620px;
  background: rgba(185, 28, 28, 0.30);
  bottom: -220px; right: -180px;
  animation: floatB 28s ease-in-out infinite alternate;
}

.bg-blob-3 {
  width: 340px; height: 340px;
  background: rgba(153, 27, 27, 0.25);
  top: 35%; left: 45%;
  animation: floatC 30s ease-in-out infinite alternate;
}

@keyframes floatA {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(90px,80px) scale(1.12); }
}

@keyframes floatB {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-110px,-90px) scale(1.08); }
}

@keyframes floatC {
  0%   { transform: translate(0,0) scale(0.9); }
  100% { transform: translate(-60px,40px) scale(1.15); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 0%, transparent 80%);
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.car-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(220, 38, 38, 0.25);
}

.car-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-image img.car-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image img.car-photo {
  transform: scale(1.06);
}

.car-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: white;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.car-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.car-fav:hover { background: rgba(220, 38, 38, 0.35); }

.car-fav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.car-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-brand {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.car-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.car-version {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.car-specs {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.car-spec {
  flex: 1;
  text-align: center;
}

.car-spec .spec-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.car-spec .spec-value {
  font-size: 14px;
  font-weight: 600;
}

.car-price {
  margin-top: auto;
}

.car-price-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.car-price-value {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.car-actions {
  display: flex;
  gap: 8px;
}

.car-actions .btn-primary,
.car-actions .btn-whatsapp {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  justify-content: center;
}

.cars-cta {
  text-align: center;
  margin-top: 60px;
}

/* ===== DIFERENCIAIS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.benefit-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.20), rgba(220, 38, 38, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red-light);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== ESTRUTURA ===== */
.structure-section { background: var(--bg-secondary); }

.structure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.structure-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.structure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.structure-card:hover img { transform: scale(1.08); }

.structure-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.85));
}

.structure-card span {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: white;
}

/* ===== DEPOIMENTOS - CARROSSEL ===== */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 8px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-testimonials 60s linear infinite;
}

.testimonials-carousel:hover .testimonials-track {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}

.testimonial {
  flex: 0 0 360px;
  width: 360px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial:hover {
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-4px);
}

@media (max-width: 580px) {
  .testimonial { flex: 0 0 300px; width: 300px; padding: 24px; }
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
}

.testimonial-car {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== CONTATO ===== */
.contact-section { background: var(--bg-secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  margin-bottom: 24px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.contact-list {
  list-style: none;
  margin-bottom: 32px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--red-light);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list .info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-list .info-value {
  font-size: 15px;
  font-weight: 500;
}

.contact-form {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.contact-form h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  justify-content: center;
}

.form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

.form-privacy a {
  color: var(--red-light);
  text-decoration: underline;
}

/* ===== MAPA ===== */
.map-section { padding: 0; }

.map-container {
  height: 480px;
  width: 100%;
  filter: invert(0.9) hue-rotate(180deg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg-tertiary); }

.faq-icon {
  color: var(--red);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 220px; }

.faq-answer-inner { padding: 0 24px 20px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--red);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; color: var(--text-secondary); font-size: 14px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red-light); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
  transition: fill 0.2s;
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.social-links a:hover svg { fill: white; }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: transparent;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.35);
  z-index: 99;
  cursor: pointer;
  transition: all 0.2s;
  animation: pulse 2s infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--red);
}

.whatsapp-float:hover svg { fill: white; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(220, 38, 38, 0.35); }
  50% { box-shadow: 0 10px 30px rgba(220, 38, 38, 0.6), 0 0 0 12px rgba(220, 38, 38, 0.10); }
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--red);
  transition: fill 0.2s;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 968px) {
  nav ul { display: none; }
  .btn-header { display: none; }
  .mobile-toggle { display: flex; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  section { padding: 70px 0; }
  .hero { padding: 100px 0 50px; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { justify-content: center; }

  .cars-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
}

@media (max-width: 580px) {
  .container { padding: 0 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .car-actions { flex-direction: column; }
  .car-actions .btn-primary, .car-actions .btn-whatsapp { padding: 14px; }
  .contact-form { padding: 24px; }

  section { padding: 56px 0; }
  .hero { padding: 90px 0 40px; }
  h1.hero-title { font-size: 38px; line-height: 1.1; }
  .hero-sub { font-size: 16px; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 15px; }

  .trust-bar { gap: 16px; padding-top: 32px; }
  .trust-item .num { font-size: 30px; }
  .trust-item .label { font-size: 11px; }

  .cars-grid { grid-template-columns: 1fr; gap: 20px; }
  .car-image { height: 200px; }
  .car-body { padding: 20px; }
  .car-title { font-size: 22px; }
  .car-price-value { font-size: 24px; }

  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .benefit-card { padding: 24px; }

  .structure-grid { grid-template-columns: 1fr; }
  .structure-card { aspect-ratio: 16/10; }

  .testimonial { padding: 24px; }

  .map-container { height: 320px; }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }

  .footer-brand p { max-width: 100%; }
}

@media (max-width: 380px) {
  h1.hero-title { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .car-specs { gap: 12px; }
  .car-spec .spec-label { font-size: 10px; }
}

/* ============================================================
   PERFORMANCE OVERRIDES (mobile + reduced-motion + paint)
   Carregado por último — vence as regras anteriores sem
   precisar alterar o restante do CSS.
   ============================================================ */

/* 1) Respeita preferência do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .bg-blob,
  .whatsapp-float,
  .testimonials-track { animation: none !important; }
}

/* 2) Mobile: corta efeitos caros (blur grande, animações infinitas,
   backdrop-filter pesado) para reduzir GPU/paint e poupar bateria */
@media (max-width: 768px) {
  /* Header sem backdrop-filter — usa cor sólida quase opaca */
  header {
    background: rgba(10, 10, 10, 0.96) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Mobile menu overlay: tira blur */
  .mobile-menu-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.78) !important;
  }

  /* Blobs do fundo: blur menor e sem animação infinita */
  .bg-blob {
    filter: blur(50px) !important;
    animation: none !important;
    opacity: 0.6;
  }
  .bg-blob-3 { display: none; } /* terceiro blob é redundante no mobile */

  /* Foto decorativa de fundo: dispensável no mobile */
  .section-bg-photo { display: none !important; }

  /* Grid decorativo: desligado para reduzir paint */
  .bg-grid { display: none !important; }

  /* WhatsApp float: pulse desligado, blur removido */
  .whatsapp-float {
    animation: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Cards de depoimento: tira backdrop-filter */
  .testimonial {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #141414 !important;
  }

  /* Carrossel de depoimentos mais lento (menos repaint) */
  .testimonials-track { animation-duration: 90s !important; }

  /* Car-fav blur removido */
  .car-fav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* 3) Pinta apenas o necessário: seções fora da viewport
   não precisam ser pintadas até estarem perto da tela */
.structure-section,
.contact-section,
.map-section,
.cars-section,
footer,
#diferenciais,
#depoimentos {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* 4) Hint de composição para o que realmente anima no hover/scroll */
.car-card, .benefit-card, .structure-card img, .btn-primary, .btn-whatsapp {
  will-change: auto;
}

/* 5) Imagens com aspect-ratio explícito evitam CLS */
.car-image img.car-photo { aspect-ratio: 16 / 11; }

