/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:  #00205B;
  --blue:       #003087;
  --blue-mid:   #0143A3;
  --yellow:     #FFC72C;
  --yellow-dark:#E5A800;
  --white:      #ffffff;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --text:       #0F172A;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,32,91,0.13);
  --shadow-xl:  0 16px 48px rgba(0,32,91,0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: static;
  background: var(--blue-dark);
  border-bottom: 2px solid rgba(255,199,44,.2);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.logo-text { line-height: 1.1; }
.logo-main { font-size: 14px; font-weight: 900; color: var(--white); letter-spacing: 1.5px; display: block; }
.logo-sub  { font-size: 10px; font-weight: 500; color: var(--yellow); letter-spacing: 2px; display: block; text-transform: uppercase; }
.navbar-links { display: flex; gap: 28px; margin: 0 auto; }
.navbar-links a { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; transition: color .2s; }
.navbar-links a:hover { color: var(--yellow); }
.btn-whatsapp {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  background: #25D366; color: var(--white);
  padding: 10px 20px; border-radius: 24px;
  font-size: 14px; font-weight: 600;
  transition: all .25s;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.navbar-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.navbar-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #0143A3 100%);
  display: flex; align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Yellow diagonal accent */
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: var(--yellow);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.12;
}

.hero-content {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  position: relative; z-index: 1;
  width: 100%;
}
.hero-text { color: var(--white); }
.hero-text h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero-text h1 .highlight { color: var(--yellow); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 36px; line-height: 1.6; }

/* SEARCH */
.search-wrapper { position: relative; margin-bottom: 36px; }
.search-box {
  display: flex; align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .25s;
}
.search-box:focus-within { border-color: var(--yellow); }
.search-box input {
  flex: 1; padding: 18px 20px;
  border: none; outline: none;
  font-size: 16px; color: var(--text);
  font-family: inherit; background: transparent;
}
.search-box input::placeholder { color: var(--gray-400); }
.search-btn {
  width: 58px; height: 58px; flex-shrink: 0;
  background: var(--yellow);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark);
  transition: background .2s;
}
.search-btn:hover { background: var(--yellow-dark); }

/* DROPDOWN */
/* ── DROPDOWN ── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,32,91,0.18), 0 2px 8px rgba(0,0,0,0.06);
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  display: none;
  border: 1px solid var(--gray-200);
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}
.search-dropdown::-webkit-scrollbar { width: 4px; }
.search-dropdown::-webkit-scrollbar-track { background: transparent; }
.search-dropdown::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.search-dropdown.open { display: block; animation: dropIn .22s cubic-bezier(.22,.68,0,1.2); }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header "10 Resultados" */
.dropdown-header {
  padding: 12px 18px 10px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: .2px;
  position: sticky; top: 0; z-index: 1;
}

/* Each row */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--gray-100);
}
.dropdown-item:last-child  { border-bottom: none; }
.dropdown-item:hover        { background: var(--gray-50); }
.dropdown-item:active       { background: var(--gray-100); }

/* SVG Logo circle */
.car-logo-svg {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #f4f6f9;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.car-logo-svg svg { width: 100%; height: 100%; }
.car-logo-fallback {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 1px;
  padding: 0;
}

/* Text */
.car-info { flex: 1; min-width: 0; }
.car-name  { font-weight: 700; color: var(--blue); font-size: 14px; line-height: 1.3; }
.car-year  { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* Loading / empty states */
.dropdown-loading {
  padding: 28px 24px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dropdown-empty { padding: 28px; text-align: center; color: var(--gray-400); font-size: 14px; line-height: 1.6; }


/* SHARE ROW */
.share-row { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 14px; }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all .2s;
}
.share-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.1); }

/* HERO IMAGE */
.hero-image { display: flex; align-items: center; justify-content: center; }
.battery-visual { position: relative; }
.battery-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(255,199,44,.25) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.battery-img {
  width: 380px; max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* PLACEHOLDER BATTERY */
.battery-placeholder { display: flex; align-items: center; justify-content: center; width: 300px; height: 200px; }
.battery-body {
  width: 260px; height: 160px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(255,199,44,.4);
}
.battery-label { text-align: center; display: flex; flex-direction: column; gap: 4px; color: var(--blue-dark); }
.battery-label span:first-child { font-size: 40px; }
.battery-label strong { font-size: 20px; font-weight: 900; letter-spacing: 4px; }
.battery-label span:last-child { font-size: 16px; font-weight: 700; }

/* PARTICLES */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,199,44,.4);
  animation: particleFloat linear infinite;
}
.p1 { width: 8px; height: 8px; left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.p2 { width: 12px; height: 12px; left: 20%; top: 70%; animation-duration: 11s; animation-delay: -3s; }
.p3 { width: 6px; height: 6px; right: 30%; top: 30%; animation-duration: 9s; animation-delay: -5s; }
.p4 { width: 10px; height: 10px; right: 10%; bottom: 20%; animation-duration: 13s; animation-delay: -2s; }
@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-120px) scale(0.4); opacity: 0; }
}

/* =============================================
   SECTION - CARROS MAIS BUSCADOS
   ============================================= */
.section-carros { padding: 80px 0; background: var(--gray-50); }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--blue);
  margin-bottom: 12px;
}
.section-title.dark { color: var(--gray-800); }
.section-subtitle { text-align: center; color: var(--gray-600); font-size: 1rem; margin-bottom: 52px; }
.section-subtitle.dark { color: var(--gray-600); }

.carros-slider-wrapper { position: relative; }
.slider-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark); font-weight: 700;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.slider-arrow:hover { background: var(--yellow-dark); transform: translateY(-50%) scale(1.1); }
.slider-arrow.left  { left: -23px; }
.slider-arrow.right { right: -23px; }

.carros-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity .3s;
  max-width: 560px;
  margin: 0 auto;
}

.carro-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,32,91,0.07);
  cursor: pointer;
  transition: all .22s;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
}
.carro-card:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: 0 8px 32px rgba(0,32,91,0.13);
}

.carro-card-info { flex: 1; min-width: 0; }
.carro-card-name  {
  font-size: 18px; font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.carro-card-brand {
  font-size: 13px; color: var(--gray-400);
  font-weight: 500;
}

.carro-card-img {
  width: 45%;
  max-width: 200px;
  height: 80px;
  object-fit: contain;
  object-position: right center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
  transition: transform .22s;
}
.carro-card:hover .carro-card-img { transform: scale(1.04) translateX(4px); }

/* Dot pagination */
.car-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.car-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.car-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 5px;
}
.car-dot:hover:not(.active) { background: var(--gray-400); }

/* =============================================
   SECTION - DELIVERY CTA
   ============================================= */
.section-delivery { background: var(--blue); }
.delivery-bg {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  position: relative; overflow: hidden;
}
.delivery-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.delivery-content {
  max-width: 700px; margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
  position: relative; z-index: 1;
}
.delivery-map-icon { margin-bottom: 20px; color: var(--yellow); }
.delivery-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--white);
  line-height: 1.2; margin-bottom: 16px;
}
.delivery-content h2 span { color: var(--yellow); }
.delivery-content p { color: rgba(255,255,255,.75); margin-bottom: 36px; font-size: 1.1rem; }
.delivery-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
.delivery-input-wrap {
  flex: 1; display: flex; align-items: center;
  background: var(--white); border-radius: var(--radius);
  padding: 0 16px; gap: 8px;
  box-shadow: var(--shadow-xl);
}
.delivery-pin { color: var(--blue); flex-shrink: 0; }
.delivery-input-wrap input {
  flex: 1; border: none; outline: none;
  padding: 16px 0;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: transparent;
}
.btn-delivery {
  display: flex; align-items: center; gap: 8px;
  background: #25D366; color: var(--white);
  padding: 16px 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .2s;
}
.btn-delivery:hover { background: #1ebe5b; transform: translateY(-2px); }

/* =============================================
   SECTION - DIFERENCIAIS
   ============================================= */
.section-diferenciais { padding: 80px 0; background: var(--white); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diferencial-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: all .25s;
}
.diferencial-card:hover { background: var(--white); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.diferencial-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.diferencial-icon.blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: var(--white); }
.diferencial-card h3 { font-size: 18px; font-weight: 800; color: var(--blue-dark); margin-bottom: 10px; }
.diferencial-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* =============================================
   SECTION - BRANDS
   ============================================= */
.section-brands { padding: 80px 0; background: var(--gray-50); }
.brands-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.brand-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  height: 100px;
  transition: all .2s;
}
.brand-item:hover { box-shadow: var(--shadow); transform: scale(1.03); }
.brand-item img { max-width: 100px; max-height: 60px; object-fit: contain; filter: grayscale(40%); transition: filter .2s; }
.brand-item:hover img { filter: grayscale(0%); }

/* =============================================
   SECTION - FAQ
   ============================================= */
.section-faq { padding: 80px 0; background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
}
.faq-item.active { border-color: var(--blue); box-shadow: var(--shadow); }
.faq-question {
  width: 100%; padding: 20px 24px;
  background: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--gray-800); text-align: left;
  transition: background .2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-icon { flex-shrink: 0; color: var(--blue); transition: transform .3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 20px; }
.faq-answer p { color: var(--gray-600); line-height: 1.7; font-size: 14px; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--blue-dark); color: var(--white); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 36px; width: auto; object-fit: contain; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 20px; }
.footer-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  color: #25D366; font-size: 14px; font-weight: 600;
  transition: opacity .2s;
}
.footer-whatsapp:hover { opacity: .8; }
.footer-col h4 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--yellow) !important;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  padding: 6px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
/* New modal layout */
.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%; max-width: 420px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  transform: scale(.92) translateY(20px);
  transition: all .3s;
  overflow-y: auto;
  max-height: 92vh;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  padding: 16px 50px 16px 20px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-title {
  color: var(--white);
  font-size: 15px; font-weight: 700;
  letter-spacing: .3px; line-height: 1.3;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); z-index: 10;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.35); }

.modal-img-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 24px 24px 12px;
  background: var(--gray-50);
  min-height: 160px;
}
.modal-img-wrap img { max-height: 140px; max-width: 100%; object-fit: contain; }

.modal-copy-row {
  display: flex; justify-content: center;
  padding: 12px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.btn-copy {
  background: none; border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 8px 18px; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: all .2s;
}
.btn-copy:hover { background: var(--gray-100); }

/* 2-col specs grid */
.modal-specs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 16px 20px; gap: 10px 0;
}
.spec-cell {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 12px;
}
.spec-cell:nth-child(odd) { border-right: 1px solid var(--gray-100); }
.spec-label { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.spec-val   { font-size: 14px; font-weight: 700; }
.spec-val.blue { color: var(--blue); }

.modal-divider { border: none; border-top: 1px solid var(--gray-100); margin: 0 20px; }

/* ── Moura Fácil section ── */
.mourafacil-section {
  margin: 0 16px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 16px;
  padding: 24px 20px 240px; /* extra bottom so native select dropdown has room */
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,32,91,.06);
}
.mourafacil-logo { height: 40px; width: auto; object-fit: contain; }
.mourafacil-sub  {
  font-size: 13px; color: var(--gray-400); font-weight: 500;
  margin: -6px 0 2px;
  letter-spacing: .2px;
}

.city-select-wrap {
  position: relative; width: 100%;
}
.city-select {
  width: 100%; appearance: none;
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  padding: 13px 40px 13px 16px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--blue-dark);
  background: var(--gray-50); cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.city-select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,82,204,.12);
}
.city-chevron {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--gray-400);
}

.btn-ver-preco {
  width: 100%; padding: 15px;
  background: var(--yellow); color: var(--blue-dark);
  border: none; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 800;
  letter-spacing: .3px;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(255,199,44,.35);
}
.btn-ver-preco:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,199,44,.45); }
.btn-ver-preco:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Loading spinner inside btn */
.btn-loading-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(0,32,91,.25);
  border-top-color: var(--blue-dark);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Price reveal card */
.price-reveal { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.price-reveal-card {
  display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border: 1.5px solid rgba(0,82,204,.12);
  border-radius: 12px;
  padding: 14px;
}
.price-reveal-img { width: 80px; height: 64px; object-fit: contain; flex-shrink: 0; }
.price-reveal-info { flex: 1; text-align: left; }
.price-label       { font-size: 11px; color: var(--gray-400); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .5px; }
.price-value       { font-size: 24px; font-weight: 900; color: var(--blue-dark); line-height: 1.1; }
.price-installment { font-size: 11px; color: var(--blue); margin: 3px 0 10px; font-weight: 600; }
.price-meta        { display: flex; gap: 20px; }
.price-meta-label  { font-size: 10px; color: var(--gray-400); display: block; text-transform: uppercase; letter-spacing: .4px; }
.price-meta-val    { font-size: 13px; font-weight: 800; color: var(--blue-dark); display: block; }

.btn-peca-agora {
  width: 100%; padding: 16px;
  background: var(--yellow); color: var(--blue-dark);
  border: none; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 900;
  letter-spacing: .3px;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(255,199,44,.35);
}
.btn-peca-agora:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.price-disclaimer { font-size: 11px; color: var(--gray-400); text-align: center; margin-top: -4px; }

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.floating-whatsapp {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: all .25s;
}
.floating-whatsapp:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,.55); }
.floating-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .35;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .35; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-image { order: -1; }
  .battery-img { width: 260px; }
  .share-row { justify-content: center; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-left { border-right: none; border-bottom: 1px solid var(--gray-100); }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .carros-grid { max-width: 100%; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .delivery-form { flex-direction: column; }
  .btn-delivery { justify-content: center; }
  .slider-arrow { display: none; }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .carro-card-img { width: 38%; height: 64px; }
}

/* =============================================
   CHECKOUT MODAL
   ============================================= */
.co-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.co-overlay.open { opacity: 1; pointer-events: all; }
.co-modal {
  background: #f0f2f5;
  width: 100%; max-width: 440px; max-height: 96vh;
  border-radius: 16px; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  transform: translateY(24px) scale(.96); transition: all .3s;
}
.co-overlay.open .co-modal { transform: none; }
.co-header {
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  border-radius: 16px 16px 0 0;
}
.co-logo { height: 30px; width: auto; object-fit: contain; }
.co-header-center { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.co-delivery-tag { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--gray-400); text-transform: uppercase; }
.co-moura-img { height: 22px; object-fit: contain; }
.co-close {
  background: none; border: none; cursor: pointer; font-size: 18px; color: var(--gray-500);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.co-close:hover { background: var(--gray-100); }
.co-steps {
  background: var(--white);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 10px 16px; gap: 6px;
  border-bottom: 1px solid var(--gray-100);
}
.co-step {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--gray-400); transition: all .3s;
}
.co-step.active { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.co-step.done   { background: var(--blue); border-color: var(--blue); color: var(--white); }
.co-step-line   { flex: none; width: 20px; height: 2px; background: var(--gray-200); border-radius: 2px; }
.co-body { padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.co-title { font-size: 24px; font-weight: 900; color: var(--blue-dark); line-height: 1.15; }
.co-title span { color: var(--blue); }
.co-section-label { font-size: 13px; font-weight: 700; color: var(--blue-dark); margin-top: 4px; }
.co-radio-group { display: flex; flex-direction: column; gap: 6px; }
.co-radio-label {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: 10px; padding: 12px 14px;
  font-size: 14px; font-weight: 500; color: var(--blue-dark); cursor: pointer; transition: border-color .2s;
}
.co-radio-label:has(input:checked) { border-color: var(--blue); }
.co-radio-label input[type="radio"] { accent-color: var(--blue); width: 16px; height: 16px; }
.co-schedule { display: flex; flex-direction: column; gap: 10px; }
.co-select-wrap { position: relative; }
.co-select {
  width: 100%; appearance: none; background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  padding: 13px 36px 13px 14px;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--blue-dark); cursor: pointer;
}
.co-select:focus { outline: none; border-color: var(--blue); }
.co-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); pointer-events: none; }
.co-field-wrap { display: flex; flex-direction: column; gap: 4px; }
.co-input {
  padding: 13px 14px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  color: var(--blue-dark); background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none;
}
.co-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,82,204,.1); }
.co-input.error { border-color: #e53e3e; }
.co-hint { font-size: 11px; color: var(--gray-400); padding-left: 2px; }
.co-btn-primary {
  width: 100%; padding: 16px; background: var(--yellow); color: var(--blue-dark);
  border: none; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 900; letter-spacing: .5px;
  box-shadow: 0 4px 16px rgba(255,199,44,.4); transition: all .2s; margin-top: 4px;
}
.co-btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.co-btn-confirm { background: #22c55e !important; color: var(--white) !important; box-shadow: 0 4px 16px rgba(34,197,94,.35) !important; }
.co-btn-confirm:hover { background: #16a34a !important; }
.co-btn-back {
  background: none; border: none; color: var(--blue); cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; text-align: center; padding: 4px; transition: opacity .2s;
}
.co-btn-back:hover { opacity: .7; }
.co-card-error {
  background: #fff5f5; border: 2px solid #fc8181;
  border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  animation: errorShake .4s ease;
}
@keyframes errorShake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}
.co-error-icon  { font-size: 36px; line-height: 1; }
.co-error-title { font-size: 16px; font-weight: 800; color: #c53030; }
.co-error-text  { font-size: 13px; color: #742a2a; line-height: 1.6; }
.co-btn-pix {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--blue-dark); color: var(--white);
  border: none; border-radius: 10px; padding: 14px 22px;
  font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  transition: all .2s; width: 100%;
  box-shadow: 0 4px 16px rgba(0,32,91,.3);
}
.co-btn-pix:hover { background: var(--blue); transform: translateY(-1px); }
.co-pix-block { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.co-pix-amount { font-size: 28px; font-weight: 900; color: var(--blue-dark); }
.co-pix-note   { font-size: 12px; color: var(--gray-400); margin-top: -6px; }
.co-qr-wrap    { padding: 16px; background: var(--white); border-radius: 16px; border: 1px solid var(--gray-200); }
.co-qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.co-qr-label   { font-size: 12px; color: var(--gray-400); font-weight: 600; }
.co-pix-key-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 10px 14px; width: 100%; box-sizing: border-box;
}
.co-pix-key-label { font-size: 12px; color: var(--gray-400); font-weight: 600; }
.co-pix-key       { font-size: 13px; font-weight: 700; color: var(--blue-dark); word-break: break-all; }
.co-copy-key {
  background: var(--blue-dark); color: var(--white);
  border: none; border-radius: 6px; padding: 5px 12px;
  font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background .2s; flex-shrink: 0;
}
.co-copy-key:hover { background: var(--blue); }
.co-pix-timer { font-size: 13px; color: var(--gray-500); }


