
/* Container geral */
.como-chegar {
  max-width: 1100px;
  margin: 28px auto;
  padding: 18px;
  box-sizing: border-box;
}

/* Card com infos + mapa lado a lado (desktop) */
.cc-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  background: linear-gradient(180deg, #0f172a, #111827);
  color: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
}

/* Info lateral */
.cc-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.cc-info h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.2px;
}
.cc-info p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Botão chamativo */
.cc-btn {
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg,#ff8a3d,#ff5a3c);
  color: white;
  box-shadow: 0 6px 18px rgba(255,90,60,0.18);
  transition: transform .16s ease, box-shadow .16s ease;
}
.cc-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,90,60,0.22) }

/* Envoltório do mapa */
.cc-map-wrap {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

/* iframe do mapa — preencha o espaço */
.cc-map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 280px;
  /* estilo "personalizado" — filtro para aparência mais limpa */
  filter: contrast(1.02) saturate(.95) grayscale(.06);
  transform-origin: center;
}

/* marcador visual central (não interage com mapa) */
.cc-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%); /* ponta do marcador apontando para centro */
  pointer-events: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

/* Mobile: empilha e ajusta */
@media (max-width: 880px) {
  .cc-card {
    grid-template-columns: 1fr;
  }
  .cc-info { padding: 16px }
  .cc-map-wrap { min-height: 220px }
}
 
        /*
    Melhorias de UI/UX para Baterias JF
    - Uso de cores mais vibrantes (azul/verde) para CTA e destaque.
    - Tipografia moderna (Poppins).
    - Layout responsivo e focado em mobile-first.
    - Melhor hierarquia visual nos cards de produto.
*/

:root {
    --primary-color: #007bff; /* Azul vibrante para CTAs */
    --secondary-color: #FFD700; /* Verde para sucesso/garantia */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

/* --- Header --- */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-logo img {
    height:auto;
    width: 100px;
    margin:10px 2% 10px 2%;
}

.header-nav {
    display: none; /* Esconder navegação em mobile */
}

.header-contact .btn-contact-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.header-contact .btn-contact-header:hover {
    background-color: #0056b3;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color:#004AAD;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #FFD700;
    color: black;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
}

/* --- Intro Text --- */
.intro-text {
    padding: 30px 0;
    text-align: center;
}

.intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.highlight-bar {
    background-color: var(--light-bg);
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* --- Produtos Section --- */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin: 40px 0 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.produtos {
    padding: 100px 0;
}

.produtos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.produto-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.produto-imagem {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-marca {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.produto-info {
    padding: 20px;
}

.produto-nome {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    min-height: 40px;
}

.preco {
    margin: 15px 0;
    padding: 10px;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
}

.preco-vista {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.valor-vista strong {
    font-size: 1.6rem;
    font-weight: 700;
}

.preco-parcelado {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: space-between;
}

.juros {
    color: var(--secondary-color);
    font-weight: 600;
}

.garantia {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-whatsapp {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #25d366; /* Cor do WhatsApp */
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
}

/* --- Benefícios Section --- */
.beneficios {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
}

.beneficio-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.icon-beneficio {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.beneficio-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 40px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.faq-item {
    background-color: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    outline: none;
}

.faq-item p {
    margin-top: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--secondary-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 30px 0 10px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* --- Media Queries for Desktop --- */
@media (min-width: 768px) {
    .main-header .container {
        padding: 15px 0;
    }

   .header-logo img {
    height: auto;
    width: 200px;
    margin: 5px 5px 0 5px;
}

    .header-nav {
        display: flex;
        gap: 20px;
    }

    .header-nav .nav-link {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        transition: color 0.3s;
    }

    .header-nav .nav-link:hover {
        color: var(--primary-color);
    }

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .beneficios-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .produtos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Badge chamativa e moderna - pronto para usar */
.dev-badge {
  --size: 54px;
  position: fixed;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  height: var(--size);
  background: linear-gradient(135deg, #5eead4 0%, #7c3aed 50%, #60a5fa 100%);
  color: #0b1220;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.18);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 14px;
  line-height: 1;
  transition: transform .18s cubic-bezier(.2,.9,.3,1), box-shadow .18s ease, filter .18s ease;
  z-index: 9999;
  backdrop-filter: blur(6px);
}

/* reduz movimento se usuário prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  .dev-badge { transition: none; transform: none; }
}

/* Logo redondo com iniciais (ou troque por SVG/IMG se quiser) */
.dev-badge__logo {
  min-width: var(--size);
  height: var(--size);
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  font-weight: 700;
  font-size: 14px;
  color: #0b1220;
  box-shadow: 0 6px 14px rgba(2,6,23,0.12);
  transform: translateZ(0);
}

/* Texto */
.dev-badge__text {
  display: inline-flex;
  flex-direction: column;
  white-space: nowrap;
  color: #fff;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}

/* destaque do nome */
.dev-badge__text strong {
  font-weight: 700;
  font-size: 15px;
  color: #061226;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.6));
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(10,20,40,0.08) inset;
}

/* Hover / foco */
.dev-badge:hover,
.dev-badge:focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(7,12,30,0.28);
  filter: saturate(1.05);
  text-decoration: none;
  outline: none;
}

/* foco visível acessível */
.dev-badge:focus {
  box-shadow: 0 18px 40px rgba(7,12,30,0.28), 0 0 0 4px rgba(96,165,250,0.18);
}

/* Versão compacta (ex.: inserir no rodapé como link simples) */
.dev-badge--inline {
  position: static;
  display: inline-flex;
  padding: 6px 10px;
  height: auto;
  border-radius: 8px;
  background: linear-gradient(90deg, #7c3aed 0%, #60a5fa 100%);
  color: #fff;
  box-shadow: none;
  gap: 8px;
}

@media (max-width: 520px) {
  .dev-badge {
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    gap: 8px;
  }
  .dev-badge__text strong { font-size: 13px; }
  .dev-badge__logo { --size: 42px; min-width: 42px; height: 42px; font-size: 13px; }
  .dev-badge__text { font-size: 13px; }
}