/*
 * override.css — regras mínimas para os cards de bateria gerados pelo script.js
 * Mantido separado para compatibilidade com o fluxo de criação dinâmica de cards.
 */

/* ===== FIX: pull-to-refresh mobile — sem barra preta ===== */
html {
  background-color: #ffffff;
  overscroll-behavior-y: contain;
}

/* ===== STEP NUMBERS MAIORES ===== */
.step-num {
  width: 38px !important;
  height: 38px !important;
  font-size: 1.1rem !important;
  top: -18px !important;
}

/* Estrutura interna do card de bateria (gerado pelo script.js) */
.battery-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1rem 0.85rem;
}

.battery-discount-row {
  margin: 0 1.2rem 0.5rem;
}

.battery-specs-row {
  margin: 0 1.2rem 0.5rem;
}

.info-row {
  margin: 0 1.2rem 0.4rem;
}

.battery-features-list {
  margin: 0.2rem 1.2rem 0.5rem;
}

/* Botão do card ocupa 100% sem padding lateral (borda arredondada inferior) */
.battery-card .btn-order-battery {
  border-radius: 0 0 14px 14px !important;
  margin-top: auto;
}

/* Garante que o wrapper do card de bateria selecionado também seja correto */
.battery-card-single .battery-card-header {
  padding: 1rem 1.2rem 0.5rem;
}

.battery-card-single .btn-order-battery {
  border-radius: 0 0 14px 14px !important;
}

/* ===== CONTEÚDO RICO DOS CARDS (benefícios, tecnologia, verificação) ===== */
.battery-rich-info {
  margin: 0 1.2rem 0.8rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.rich-section {
  background: #f8faff;
  border: 1px solid #e3ecff;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.rich-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E5CBF;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rich-badge {
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
}

.rich-desc {
  font-size: 0.78rem;
  color: #4b5563;
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.rich-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.rich-list li {
  font-size: 0.76rem;
  color: #374151;
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.rich-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1E5CBF;
  font-weight: 700;
}

/* ===== MELHORIAS DO CHAT ===== */
.chat-vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.chat-vehicle-btn {
  background: #fff;
  border: 1.5px solid #1E5CBF;
  color: #1E5CBF;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-vehicle-btn:hover {
  background: #1E5CBF;
  color: #fff;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.3rem 0 0.1rem 0;
}

.chat-sug-btn {
  background: #fff;
  border: 1.5px solid #F6A625;
  color: #c47e00;
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
  font-size: 0.77rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.chat-sug-btn:hover {
  background: #F6A625;
  color: #fff;
}

/* Animação de digitação */
.msg.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  min-height: 0;
  background: #f3f4f6;
}

.msg.typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: chatDot 1.1s infinite;
}

.msg.typing span:nth-child(2) { animation-delay: 0.18s; }
.msg.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chatDot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40%            { transform: scale(1);   opacity: 1;   }
}

/* HTML dentro das mensagens do bot */
.msg.msg-bot b { font-weight: 700; }
.msg.msg-bot i { font-style: italic; }

/* ===== CARDS DE RESULTADO NO CHAT ===== */
.chat-result-card {
  background: #fff;
  border: 1.5px solid #e3ecff;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  margin: 0.4rem 0;
  font-size: 0.8rem;
  color: #1f2937;
}

.chat-result-vehicle {
  font-size: 0.83rem;
  font-weight: 700;
  color: #1E5CBF;
  margin-bottom: 0.3rem;
}

.chat-result-tech,
.chat-result-model {
  font-size: 0.76rem;
  color: #4b5563;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.chat-result-prices {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0 0.55rem;
  flex-wrap: wrap;
}

.chat-price-tag {
  flex: 1;
  min-width: 70px;
  text-align: center;
  border-radius: 6px;
  padding: 0.3rem 0.4rem;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 500;
}

.chat-price-tag b {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-price-tag.moura   { background: #eef4ff; color: #1E5CBF; border: 1px solid #c3d9ff; }
.chat-price-tag.heliar  { background: #edfdf5; color: #047857; border: 1px solid #a7f3d0; }
.chat-price-tag.eco     { background: #fefce8; color: #854d0e; border: 1px solid #fde68a; }

.chat-cta-btn {
  display: block;
  width: 100%;
  background: #1E5CBF;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.42rem 1rem;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s;
}

.chat-cta-btn:hover {
  background: #153F82;
}

/* ===== PHONE BUTTON NO HEADER ===== */
.btn-phone-header {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: #1E5CBF;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  background: #eef4ff;
  border: 1.5px solid #c3d9ff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  transition: background 0.18s;
  margin-left: auto;
}

.btn-phone-header:hover { background: #dbeafe; }

@media (min-width: 768px) {
  .btn-phone-header { display: flex; }
}

/* ===== STEP CARD COM ÍCONE SVG MAIOR ===== */
.step-card {
  padding: 2.5rem 1.5rem 2rem;
  min-height: 220px;
}

/* ===== LOGOS CAROUSEL MAIORES ===== */
.logos-slide span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ===== CHAT FAB MOBILE ===== */
@media (max-width: 768px) {
  .btn-toggle-chat {
    bottom: 6.5rem;
    right: 1rem;
    width: 56px;
    height: 56px;
  }

  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
  }
}

/* ===== SEÇÃO FAQ COMPACTA ===== */
.faq-section {
  padding: 32px 0 40px;
}

/* ===== HERO COMPACTO ===== */
.hero-section {
  padding: 70px 1.5rem 80px;
}

/* ===== RESULTADOS SEÇÃO COMPACTA ===== */
.results-section {
  padding: 32px 0;
}

/* ===== FOOTER GRID 5 COLS ===== */
@media (min-width: 769px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* ===== HERO TITLE 2 LINHAS ===== */
.hero-section h1.hero-title-2lines {
  font-size: clamp(1.75rem, 4.5vw, 2.4rem) !important;
  line-height: 1.22;
}

@media (min-width: 768px) {
  .hero-section h1.hero-title-2lines {
    font-size: clamp(1.9rem, 2.7vw, 2.4rem) !important;
  }
}

/* ===== HERO COUNTER STRIP ===== */
.hero-counter-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
}

.counter-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.counter-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
  animation: dotPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74,222,128,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.counter-divider { opacity: 0.5; }
.hero-counter-strip strong { color: #fff; }

/* ===== STEP ICONS PNG ===== */
.step-icon-img {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.step-img-icon {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 20px rgba(30,92,191,0.22));
}

/* ===== BIA ROBOT FAB CHAT ===== */
.btn-bia-fab {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  flex-direction: column !important;
  gap: 2px !important;
  overflow: hidden !important;
  bottom: 5.8rem !important;
  right: 1.5rem !important;
  background: #1E5CBF !important;
  box-shadow: 0 4px 18px rgba(30,92,191,0.5) !important;
  animation: biaPulse 2.6s ease-in-out infinite !important;
}

.bia-fab-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.bia-fab-label {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #F6A625;
  line-height: 1;
  margin-top: -3px;
}

@keyframes biaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,92,191,0.55), 0 4px 18px rgba(30,92,191,0.45); }
  50% { box-shadow: 0 0 0 10px rgba(30,92,191,0), 0 4px 18px rgba(30,92,191,0.45); }
}

@media (max-width: 768px) {
  .btn-bia-fab { bottom: 5rem !important; right: 1rem !important; }
}

/* ===== MOBILE PHONE FAB ===== */
.phone-fab-mobile {
  display: none;
  position: fixed;
  bottom: 1.1rem;
  right: 5rem;
  z-index: 1399;
  background: #fff;
  color: #1E5CBF;
  border: 2px solid #1E5CBF;
  border-radius: 24px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(30,92,191,0.25);
  animation: phonePulse 2.8s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,92,191,0.4), 0 4px 14px rgba(30,92,191,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(30,92,191,0), 0 4px 14px rgba(30,92,191,0.25); }
}

@media (max-width: 768px) {
  .phone-fab-mobile { display: flex; }
}

/* ===== FAQ VER MAIS ===== */
.faq-toggle-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-faq-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eef4ff;
  color: #1E5CBF;
  border: 1.5px solid #c3d9ff;
  border-radius: 22px;
  padding: 0.5rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}

.btn-faq-more:hover { background: #dbeafe; transform: scale(1.02); }

.faq-extra { display: block; }
.faq-extra.hidden { display: none !important; }

/* ===== VEHICLE AUTOCOMPLETE ===== */
.vehicle-ac-dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #c3d9ff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(30,92,191,0.15);
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 4px;
}

.vac-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-size: 0.87rem;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s;
}

.vac-item:last-child { border-bottom: none; }
.vac-item:hover { background: #eef4ff; }

/* ===== COLLAPSIBLE RICH CONTENT ===== */
.battery-rich-collapse {
  margin: 0.5rem 0;
}

.btn-rich-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  background: #eef4ff;
  color: #1E5CBF;
  border: 1.5px solid #c3d9ff;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-align: left;
  justify-content: space-between;
  transition: background 0.18s;
}

.btn-rich-toggle:hover { background: #dbeafe; }
.rich-chevron { font-size: 0.9rem; }

/* ===== MOBILE INPUT ZOOM FIX ===== */
@media (max-width: 768px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  input[type="time"],
  select, textarea {
    font-size: 16px !important;
    touch-action: manipulation;
  }
}

/* ===== FOOTER EMAIL ===== */
.footer-email {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none !important;
}

.footer-email:hover { color: #fff !important; }

/* ===== FOOTER ASTERISK ===== */
.footer-asterisk {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
}

/* ===== SECTION SUBTITLE ===== */
.section-subtitle {
  text-align: center;
  color: var(--text-muted, #64748b);
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 56px 0 48px;
  background: linear-gradient(160deg, #0d1f44 0%, #1E5CBF 55%, #153F82 100%);
}

.reviews-section .section-title,
.reviews-section .section-subtitle {
  color: #fff;
}

.reviews-section .section-subtitle { color: rgba(255,255,255,0.72); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.review-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  position: relative;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background 0.2s;
}

.review-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); }

.review-card-featured {
  background: rgba(246,166,37,0.12);
  border-color: rgba(246,166,37,0.35);
}

.review-badge-top {
  position: absolute;
  top: -10px;
  right: 18px;
  background: #F6A625;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}

.review-stars {
  color: #F6A625;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E5CBF 0%, #F6A625 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.review-author span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

.reviews-summary {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.score-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #F6A625;
  line-height: 1;
}

.score-stars {
  color: #F6A625;
  font-size: 1.3rem;
  letter-spacing: 2px;
  display: block;
}

.score-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.reviews-count { font-size: 0.88rem; color: rgba(255,255,255,0.72); }

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(30,92,191,0.08);
  border: 1px solid #e3ecff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(30,92,191,0.14); }

.blog-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.blog-img-1 {
  background: linear-gradient(135deg, #1E5CBF 0%, #0a1f44 50%, #F6A625 100%);
}

.blog-img-2 {
  background: linear-gradient(135deg, #153F82 0%, #1E5CBF 60%, #22d3ee 100%);
}

.blog-img-3 {
  background: linear-gradient(135deg, #0a1f44 0%, #1E5CBF 40%, #F6A625 100%);
}

.blog-body { padding: 1.2rem 1.3rem 1.4rem; }

.blog-tag {
  display: inline-block;
  background: #eef4ff;
  color: #1E5CBF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-body h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-body p {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #94a3b8;
}

.blog-link {
  color: #1E5CBF;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s;
}

.blog-link:hover { color: #F6A625; }

/* ===== GRADIENTES SEÇÕES ===== */
.steps-section {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%) !important;
}

.brands-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 60%, #e8f0ff 100%) !important;
}

.faq-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%) !important;
}

/* ===== HERO GRADIENTE MELHORADO ===== */
.hero-section {
  background: linear-gradient(120deg, rgba(10,31,68,0.88) 0%, rgba(30,92,191,0.72) 100%), url('assets/hero-bg-3.png') center/cover no-repeat !important;
}

/* ===== HERO 2 COLUNAS ===== */
.hero-content-wide {
  max-width: 1100px !important;
  text-align: left !important;
}

.hero-cols {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-col-text {
  flex: 1;
  min-width: 0;
}

.hero-col-phone {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== PHONE MOCKUP FLUTUANTE ===== */
.hero-phone-mockup {
  width: 185px;
  height: 360px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  padding: 10px 9px 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
  animation: phoneFloat 3.8s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.phone-notch {
  width: 55px;
  height: 5px;
  background: rgba(255,255,255,0.35);
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-screen-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.15);
  border-radius: 7px;
  padding: 4px 8px;
}

.phone-online-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

.phone-chat-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 2px;
}

.phone-msg-bot {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.phone-bot-tag {
  font-size: 0.48rem;
  font-weight: 800;
  background: #F6A625;
  color: #fff;
  border-radius: 3px;
  padding: 1px 3px;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.phone-bubble {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.95);
  border-radius: 2px 8px 8px 8px;
  padding: 4px 7px;
  font-size: 0.58rem;
  line-height: 1.38;
}

.phone-msg-user {
  display: flex;
  justify-content: flex-end;
}

.phone-bubble-user {
  background: rgba(246,166,37,0.28);
  border: 1px solid rgba(246,166,37,0.4);
  color: rgba(255,255,255,0.92);
  border-radius: 8px 2px 8px 8px;
  padding: 4px 7px;
  font-size: 0.58rem;
  line-height: 1.38;
}

.phone-counter-box {
  background: rgba(255,255,255,0.15);
  border-radius: 9px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.88);
  margin-top: auto;
}

.phone-counter-box strong {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 800;
}

.phone-home-bar {
  width: 48px;
  height: 4px;
  background: rgba(255,255,255,0.28);
  border-radius: 2px;
  margin: 7px auto 0;
}

@media (max-width: 900px) {
  .hero-col-phone { display: none; }
  .hero-content-wide { text-align: center !important; }
  .hero-cols { flex-direction: column; }
}

/* ===== HERO TRUST: left-align no layout 2 cols ===== */
.hero-content-wide .hero-trust {
  justify-content: flex-start;
  gap: 1.2rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.hero-content-wide .hero-counter-strip {
  justify-content: flex-start;
}

/* ===== MOURA DESTAQUE (CENTRO) ===== */
.brand-moura-featured {
  transform: scale(1.06);
  border: 2px solid #1E5CBF !important;
  box-shadow: 0 8px 32px rgba(30,92,191,0.22) !important;
  position: relative !important;
  z-index: 1;
}

.brand-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #F6A625, #f59e0b);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(246,166,37,0.4);
}

.brand-moura-featured img {
  height: 120px !important;
  object-fit: contain;
}

.brands-grid-featured {
  align-items: stretch;
  padding-top: 18px;
}

@media (max-width: 768px) {
  .brand-moura-featured { order: -1; transform: scale(1); }
  .brand-heliar-card { order: 0; }
  .brand-eco-card { order: 1; }
}

/* ===== MOBILE BATTERY ORDER — Moura primeiro ===== */
@media (max-width: 900px) {
  .battery-card-moura    { order: -1; }
  .battery-card-heliar   { order: 0;  }
  .battery-card-economica { order: 1; }
}

/* ===== PHONE CTA ROTATING TEXT ===== */
#phoneCTAText,
#phoneCTATextMobile {
  display: inline-block;
  transition: opacity 0.3s ease;
}
#phoneCTAText.fade,
#phoneCTATextMobile.fade {
  opacity: 0;
}

/* ===== REVIEWS INFINITE CAROUSEL ===== */
.reviews-carousel-wrap {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0 1.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviewsMarquee 36s linear infinite;
}

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

.reviews-carousel-track .review-card {
  width: 320px;
  flex-shrink: 0;
}

@keyframes reviewsMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== BLOG REAL IMAGES ===== */
.blog-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.blog-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

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

.blog-tag-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ===== ARTICLE MODAL ===== */
.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeInOverlay 0.25s ease;
}

.article-modal-overlay.hidden {
  display: none !important;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.article-modal-box {
  background: #fff;
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem 2.2rem 2.4rem;
  animation: slideUpModal 0.28s ease;
  box-shadow: 0 20px 60px rgba(10,31,68,0.3);
}

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

.article-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.article-modal-close:hover { background: #e2e8f0; }

.article-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.4rem;
}

.article-modal-tag {
  display: inline-block;
  background: #eef4ff;
  color: #1E5CBF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.article-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a1f44;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-modal-meta {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 1.4rem;
}

.article-modal-body {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.75;
}

.article-modal-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1f44;
  margin: 1.2rem 0 0.4rem;
}

.article-modal-body ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 1rem;
}

.article-modal-body li {
  margin-bottom: 0.35rem;
}

.article-modal-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: #1E5CBF;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s;
}
.article-modal-cta:hover { background: #153F82; }

/* ===== WRAPPER DA IMAGEM — posição relativa para o badge % ===== */
.battery-image-wrap {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== IMAGEM DA BATERIA — proporcional, esquerda com margens iguais ===== */
.battery-image {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  object-fit: contain !important;
  display: block;
}

/* Moura: image with more transparent padding — scale up to match others */
.battery-card-moura .battery-image {
  transform: scale(1.4);
  transform-origin: center;
}

/* ===== BADGE DE DESCONTO PIX — etiqueta ao final da barra de desconto ===== */
.pix-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c95d00;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ===== LOGO DA MARCA DO CARRO — maior no info-row ===== */
.info-icon.brand-logo {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain;
}

/* ===== PRICING — lado direito, fundo branco, sem caixa ===== */
.battery-pricing {
  flex: 1;
  min-width: 0;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: left;
}
.battery-pricing .installments {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 0.05rem;
  font-weight: 400;
}
.battery-pricing .battery-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #003087;
  line-height: 1.0;
  margin: 0 0 0.2rem;
  letter-spacing: -0.5px;
}
.battery-pricing .battery-cash {
  font-size: 0.82rem;
  color: #444;
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0;
  line-height: 1.35;
}
.battery-pricing .cash-label {
  display: inline;
  font-weight: 400;
  color: #444;
}
.battery-pricing .cash-price {
  font-weight: 700;
  font-size: 0.82rem;
  color: #003087;
}

/* ===== CARD NÃO COMPATÍVEL (Econômica para AGM/EFB) ===== */
.battery-card-incompatible {
  opacity: 0.65;
  pointer-events: none;
  cursor: default;
  background: #f5f5f5 !important;
  border-color: #ddd !important;
}
.battery-card-incompatible .brand-ribbon {
  background: #999 !important;
  color: #fff !important;
}
.incompatible-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.2rem 2rem;
  text-align: center;
  gap: 0.6rem;
}
.incompatible-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
}
.incompatible-x {
  font-size: 1.6rem;
  color: #999;
  font-weight: 800;
  line-height: 1;
}
.incompatible-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #666;
}
.incompatible-desc {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  max-width: 220px;
}

