/* ═══════════════════════════════════════════
   LEGALIZACAR — Design System "Oficina Premium"
   ═══════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
  --bg-primary: #0D0E10;
  --bg-elevated: #1A1C1F;
  --bg-accent: #1C2C3A;
  --text-primary: #F2F2F0;
  --text-secondary: #9A9A98;
  --accent: #E86A2A;
  --accent-hover: #D15518;
  --success: #2E9E5C;
  --border: #2A2C2F;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Noise texture overlay — premium depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Scroll Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Vehicle card filter animation */
.vehicle-card {
  transition: all 0.3s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.vehicle-card.hiding {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }

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

ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.text-secondary { color: var(--text-secondary); }

/* ─── Layout Utilities ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

@media (min-width: 768px) {
  section { padding: 120px 0; }
  .container { padding: 0 32px; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 106, 42, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(13, 14, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.header-logo {
  display: inline-flex;
  align-items: center;
}
.header-logo img {
  height: 36px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}
.header-logo:hover img { opacity: 0.85; }

.site-footer .header-logo img {
  height: 32px;
}

.header-nav { display: none; gap: 32px; }
.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}
.header-nav a:hover { color: var(--text-primary); }

.header-cta { display: none; }

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

@media (min-width: 768px) {
  .header-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .mobile-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(232, 106, 42, 0.12), transparent),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(28, 44, 58, 0.5), transparent);
  pointer-events: none;
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Technical blueprint grid on hero — automotive engineering feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(232,106,42,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,106,42,0.3) 1px, transparent 1px),
    linear-gradient(rgba(232,106,42,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,106,42,0.12) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
}

/* Hexagonal engineering pattern on body sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-color: var(--bg-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 34L0 84V50l28-16 28 16v34L28 100z' fill='none' stroke='%23E86A2A' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

/* Hero Split Layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr 420px;
    gap: 64px;
  }
}

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

/* Hero Trust Badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero Visual — CRLV Card Mockup */
.hero-visual {
  position: relative;
  z-index: 1;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.crlv-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,106,42,0.1);
  animation: crlv-float 6s ease-in-out infinite;
}

@keyframes crlv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.crlv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-accent);
  border-bottom: 1px solid var(--border);
}

.crlv-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.crlv-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.crlv-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crlv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.crlv-row:last-child { border-bottom: none; padding-bottom: 0; }

.crlv-row span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.crlv-row strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
}

.crlv-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(46, 158, 92, 0.08);
  border-top: 1px solid var(--border);
}
.crlv-footer span {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.hero-badge strong { color: var(--accent); }

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Stats Bar ─── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ─── Cards Grid ─── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card-icon {
  width: 48px; height: 48px;
  background: var(--bg-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  transition: all 0.3s var(--ease);
}
.card:hover .card-icon {
  background: var(--accent);
  color: #fff;
}

.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* ─── Services Section ─── */
.services-section { background: var(--bg-primary); }

.services-header { max-width: 600px; margin-bottom: 48px; }
.services-header p { color: var(--text-secondary); margin-top: 12px; font-size: 1.05rem; }

.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .service-item { grid-template-columns: 280px 1fr; gap: 40px; }
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.service-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

.service-steps {
  margin-top: 16px;
  padding-left: 0;
}
.service-steps li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.service-steps li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Comparison Table */
.comparison-table {
  margin-top: 48px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}
.comparison-table td:first-child { color: var(--text-secondary); }
.comparison-table .col-legalizacar { color: var(--accent); font-weight: 600; }

/* ─── Vitrine / Vehicles ─── */
.vitrine-section { background: var(--bg-elevated); }

.vitrine-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 106, 42, 0.08);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
}

.vehicle-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.vehicle-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.vehicle-img {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--bg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  position: relative;
}

.vehicle-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--success);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

.vehicle-info { padding: 20px; }
.vehicle-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.vehicle-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 8px 0;
}
.vehicle-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.vehicle-mods {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.sell-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--bg-accent);
  border-radius: var(--radius-lg);
  text-align: center;
}
.sell-cta h3 { margin-bottom: 8px; }
.sell-cta p { color: var(--text-secondary); margin-bottom: 20px; }

/* ─── About Section ─── */
.about-section { background: var(--bg-primary); }

.about-content { max-width: 700px; }
.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.timeline {
  margin-top: 48px;
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-left: 2px solid var(--border);
  margin-left: 28px;
  padding-left: 24px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px; top: 24px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ─── Testimonials ─── */
.testimonials-section { background: var(--bg-elevated); }

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ─── Contact Section ─── */
.contact-section { background: var(--bg-primary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info h3 { margin-bottom: 20px; }

.contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.contact-item strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.contact-item span {
  font-size: 1rem;
  color: var(--text-primary);
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ─── Como Funciona (Steps) ─── */
.how-it-works { background: var(--bg-elevated); }

.steps-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 24px;
}

@media (min-width: 768px) {
 .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
 .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.step-card {
 background: var(--bg-primary);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: 32px 24px;
 position: relative;
 transition: all 0.3s var(--ease);
}
.step-card:hover {
 border-color: var(--accent);
 transform: translateY(-4px);
 box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.step-number {
 font-family: var(--font-display);
 font-weight: 800;
 font-size: 2.5rem;
 color: var(--accent);
 opacity: 0.2;
 line-height: 1;
 margin-bottom: 16px;
}

.step-card h3 {
 font-size: 1.1rem;
 margin-bottom: 10px;
}
.step-card p {
 font-size: 0.9rem;
 color: var(--text-secondary);
 line-height: 1.55;
}

/* ─── Certifications Bar ─── */
.certifications {
 padding: 40px 0;
 background: var(--bg-primary);
 border-top: 1px solid var(--border);
 border-bottom: 1px solid var(--border);
}

.cert-bar {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 32px;
}

.cert-item {
 display: flex;
 align-items: center;
 gap: 10px;
 color: var(--text-secondary);
 font-size: 0.85rem;
 font-weight: 500;
}
.cert-item svg {
 color: var(--accent);
 flex-shrink: 0;
}

/* ─── Map Embed ─── */
.map-embed {
 width: 100%;
 aspect-ratio: 4/3;
 border-radius: var(--radius-lg);
 overflow: hidden;
 border: 1px solid var(--border);
}
.map-embed iframe {
 width: 100%;
 height: 100%;
 border: 0;
}

/* ─── Vehicle Placeholder Visual ─── */
.vehicle-placeholder-icon {
 opacity: 0.15;
 color: var(--text-secondary);
}
.vehicle-placeholder-text {
 position: absolute;
 bottom: 12px;
 left: 16px;
 font-family: var(--font-mono);
 font-size: 0.7rem;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--text-secondary);
 opacity: 0.5;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: var(--bg-primary);
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

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

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ─── WhatsApp Float ─── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

/* ─── FAQ ─── */
.faq-list { margin-top: 40px; }

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Section CTA Final ─── */
.final-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
}
.final-cta h2 { margin-bottom: 12px; }
.final-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Responsive Table Wrapper ─── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}