@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f2f2f2; color: #333; font-size: 14px; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
footer { margin-top: auto; }

/* ── TOPBAR ── */
.topbar {
  background: #222;
  color: #ccc;
  font-size: 12px;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left a { color: #ccc; display: flex; align-items: center; gap: 5px; transition: color .15s; }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right a { color: #ccc; font-size: 12px; transition: color .15s; }
.topbar-right a:hover { color: #fff; }

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo img { height: 54px; width: auto; }
.header-search {
  flex: 1; max-width: 480px;
  display: flex;
  border: 2px solid #0077cc;
  border-radius: 4px;
  overflow: hidden;
}
.header-search input {
  flex: 1; padding: 9px 14px;
  border: none; outline: none;
  font-size: 13px; font-family: 'Inter', sans-serif;
  color: #333;
}
.header-search button {
  background: transparent; color: #0077cc;
  border: none; padding: 8px 12px;
  cursor: pointer; display: flex; align-items: center;
  transition: opacity .15s;
}
.header-search button:hover { opacity: 0.7; }
.header-cart {
  display: flex; align-items: center; gap: 8px;
  background: #0077cc; color: #fff;
  padding: 9px 16px; border-radius: 4px;
  font-size: 13px; font-weight: 600;
  transition: background .15s;
}
.header-cart:hover { background: #005fa3; }
.header-cart .count {
  background: #ff4444; color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── NAV COM ÍCONES ── */
.site-nav { background: #0077cc; }
.nav-list {
  display: flex; list-style: none;
  padding: 0 24px; margin: 0;
  overflow-x: auto;
}
.nav-list li > a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: rgba(255,255,255,.85);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 10px 20px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all .15s;
}
.nav-list li > a:hover,
.nav-list li > a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-bottom-color: #fff;
}
.nav-list li > a svg { opacity: .85; }

/* ── BANNER ── */
.banner {
  position: relative;
  background: linear-gradient(90deg, #1a3a6a 0%, #0077cc 100%);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}
.banner-img {
  width: 55%;
  background: #1a3a6a;
  overflow: hidden;
  position: relative;
}
.banner-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.banner-img .placeholder-img {
  width: 100%; height: 100%; min-height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a3a6a, #0077cc);
  color: rgba(255,255,255,.5);
  font-size: 13px; gap: 10px;
}
.banner-text {
  flex: 1;
  padding: 40px 40px 40px 32px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 14px;
}
.banner-text h1 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800; color: #fff;
  line-height: 1.25;
}
.banner-text h1 em { font-style: normal; color: #7dd3fc; }
.banner-text p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.65; }
.banner-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 4px;
  width: fit-content; transition: background .2s;
}
.banner-cta:hover { background: #1da851; }
.banner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; padding: 8px 14px;
  color: #fff; font-size: 12px; font-weight: 600;
  width: fit-content;
}

/* ── DIFERENCIAIS BAR ── */
.diferenciais {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 24px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.dif-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 24px;
  border-right: 1px solid #e8e8e8;
  font-size: 12px; font-weight: 600; color: #555;
}
.dif-item:last-child { border-right: none; }
.dif-item svg { color: #0077cc; flex-shrink: 0; }
.dif-item span { color: #0077cc; display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; }

/* ── CONTENT WRAPPER ── */
.content { width: 100%; padding: 24px; }

/* ── SECTION HEADER ── */
.sec-header {
  background: #0077cc;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  border-radius: 2px;
}

/* ── PRODUCT GRID ── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.prod-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .15s;
}
.prod-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.prod-thumb {
  background: #f7f7f7;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.prod-thumb img { max-height: 140px; object-fit: contain; }
.prod-thumb .img-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; width: 100%;
  color: #bbb; font-size: 11px; text-align: center;
}
.prod-label {
  position: absolute; top: 8px; left: 8px;
  background: #ff6600; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 2px;
  text-transform: uppercase;
}
.prod-label.azul { background: #0077cc; }

.prod-body { padding: 12px; flex: 1; }
.prod-name {
  font-size: 13px; font-weight: 600; color: #333;
  line-height: 1.4; margin-bottom: 6px;
}
.prod-sku { font-size: 10px; color: #bbb; margin-bottom: 8px; }
.prod-price { font-size: 18px; font-weight: 800; color: #0077cc; }
.prod-price-old { font-size: 11px; color: #bbb; text-decoration: line-through; margin-bottom: 2px; }
.prod-installment { font-size: 11px; color: #888; margin-top: 2px; }

.prod-footer { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.btn-cart {
  display: block; text-align: center;
  background: #0077cc; color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 9px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .3px;
  transition: background .15s;
}
.btn-cart:hover { background: #005fa3; }
.btn-detail {
  display: block; text-align: center;
  background: transparent; color: #0077cc;
  font-size: 11px; font-weight: 600;
  padding: 6px; border-radius: 3px;
  border: 1px solid #0077cc;
  transition: all .15s;
}
.btn-detail:hover { background: #0077cc; color: #fff; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(90deg, #1a3a6a 0%, #0077cc 100%);
  padding: 36px 24px;
  color: #fff;
}
.page-hero h1 { font-size: clamp(22px,3vw,34px); font-weight: 800; margin-bottom: 6px; }
.page-hero p { font-size: 13px; color: rgba(255,255,255,.65); max-width: 500px; }

/* ── SPECS ── */
.specs-box { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; margin-bottom: 24px; overflow: hidden; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs-table th { background: #0077cc; color: #fff; text-align: left; padding: 10px 16px; font-weight: 600; }
.specs-table td { padding: 10px 16px; border-bottom: 1px solid #f0f0f0; color: #555; }
.specs-table td strong { color: #1a3a6a; }
.specs-table tr:nth-child(even) td { background: #f9f9f9; }

/* ── SOBRE ── */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sobre-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; padding: 24px; }
.sobre-card h2 { font-size: 18px; font-weight: 800; color: #1a3a6a; margin-bottom: 14px; border-bottom: 3px solid #0077cc; padding-bottom: 10px; }
.sobre-card p { color: #666; line-height: 1.8; font-size: 13px; margin-bottom: 10px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.stat-box { background: #f0f7ff; border-left: 3px solid #0077cc; border-radius: 3px; padding: 14px; }
.stat-num { font-size: 26px; font-weight: 800; color: #0077cc; }
.stat-lbl { font-size: 11px; color: #888; margin-top: 2px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #f9f9f9; border: 1px solid #eee; border-radius: 3px; }
.info-icon { width: 34px; height: 34px; background: #e8f0ff; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #0077cc; }
.info-item h4 { font-size: 13px; font-weight: 700; color: #1a3a6a; margin-bottom: 2px; }
.info-item p { font-size: 12px; color: #888; }

/* ── CONTATO ── */
.contato-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.contato-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; padding: 24px; }
.contato-card h3 { font-size: 15px; font-weight: 700; color: #1a3a6a; margin-bottom: 18px; border-bottom: 2px solid #0077cc; padding-bottom: 10px; }
.c-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.c-icon { width: 36px; height: 36px; background: #e8f0ff; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #0077cc; }
.c-item strong { display: block; font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.c-item a, .c-item span { font-size: 14px; font-weight: 600; color: #1a3a6a; }
.c-item a:hover { color: #0077cc; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 4px; }
.fg input, .fg textarea, .fg select { width: 100%; padding: 9px 11px; border: 1px solid #ddd; border-radius: 3px; font-size: 13px; font-family: 'Inter',sans-serif; color: #333; outline: none; background: #fff; transition: border-color .15s; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: #0077cc; }
.fg textarea { min-height: 100px; resize: vertical; }
.btn-submit { width: 100%; padding: 11px; background: #0077cc; color: #fff; font-size: 13px; font-weight: 700; border: none; border-radius: 3px; cursor: pointer; text-transform: uppercase; letter-spacing: .3px; transition: background .15s; display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.btn-submit:hover { background: #005fa3; }
.btn-envio-grupo { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.btn-wpp-submit { background: #25d366; }
.btn-wpp-submit:hover { background: #1ebe5a; }
.btn-email-submit { background: #0077cc; }
.btn-email-submit:hover { background: #005fa3; }

/* ── CTA ── */
.cta-bar { background: #1a3a6a; padding: 36px 24px; text-align: center; }
.cta-bar h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-bar p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.btn-wpp-lg { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; padding: 14px 32px; border-radius: 4px; transition: background .2s; }
.btn-wpp-lg:hover { background: #1da851; }

/* ── FOOTER ── */
footer { background: #ffffff; color: #333; padding: 28px 24px 16px; border-top: 1px solid #e0e0e0; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid #e0e0e0; margin-bottom: 14px; }
.footer-logo img { height: 36px; }
.footer-brand p { font-size: 12px; margin-top: 8px; color: #555; max-width: 220px; line-height: 1.65; }
.footer-links h4 { color: #1a3a6a; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.footer-links a { display: block; font-size: 12px; color: #555; margin-bottom: 5px; transition: color .15s; }
.footer-links a:hover { color: #0077cc; }
.footer-bottom { font-size: 11px; color: #888; text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .topbar,.site-header,.content,.page-hero,.cta-bar,footer { padding-left: 14px; padding-right: 14px; }
  .nav-list { padding-left: 14px; }
  .banner { flex-direction: column; }
  .banner-img { width: 100%; min-height: 180px; }
  .banner-text { padding: 24px; }
  .diferenciais { flex-wrap: wrap; justify-content: flex-start; }
  .dif-item { border-right: none; border-bottom: 1px solid #eee; width: 50%; }
  .sobre-grid,.contato-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; }
  .header-search { display: none; }
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  user-select: none;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  transition: opacity .15s;
  background: none;
  border: none;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
/* Cursor pointer nas imagens do carousel para indicar que é clicável */
.carousel-slide img { cursor: zoom-in; }


/* ── BANNER CAROUSEL ── */
.banner-carousel {
  position: relative;
  width: 100%; height: 100%;
  min-height: 280px;
  overflow: hidden;
}
.bslide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
}
.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .15s;
}
.banner-btn:hover { background: rgba(0,0,0,.6); }
.banner-prev { left: 10px; }
.banner-next { right: 10px; }
.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .2s;
}
.banner-dot.active { background: #fff; }

/* ── CARRINHO BADGE ── */
.cart-badge { display:none; }
.header-cart { position:relative; }

/* ── RESPONSIVIDADE MOBILE (melhorias) ── */
@media (max-width: 480px) {
  .site-header { padding: 8px 12px; gap: 8px; }
  .header-search { display: none; }
  .header-logo img { height: 32px; }

  .banner { flex-direction: column; min-height: auto; }
  .banner-img { width: 100%; min-height: 160px; }
  .banner-text { padding: 20px 16px; }
  .banner-text h2 { font-size: 18px; }

  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .prod-card { font-size: 12px; }
  .prod-name { font-size: 12px; }
  .prod-price { font-size: 14px; }

  .page-hero { padding: 20px 16px; }
  .page-hero h1 { font-size: 18px; }

  /* Checkout mobile */
  .ck-wrap { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .row2 { grid-template-columns: 1fr; }
  .resumo-sticky { position: static; }

  /* Cards de produto no detalhe */
  .prod-detail-grid { grid-template-columns: 1fr !important; }

  /* Nav scroll horizontal no mobile */
  .nav-list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-list li { flex: 0 0 auto; }
  .nav-list li > a { padding: 8px 12px; font-size: 10px; }

  /* CTA bar */
  .cta-bar { padding: 28px 16px; }
  .cta-bar h2 { font-size: 17px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .loja-grid { grid-template-columns: 1fr; }
  .filtros { position: static; }
}

/* ── RESPONSIVIDADE MOBILE — MELHORIAS ADICIONAIS ── */

/* Header */
@media (max-width: 600px) {
  .site-header {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .header-logo img { height: 30px; }
  .header-search { display: none; }
  .header-cart {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  /* Nav — scroll horizontal com abas menores */
  .nav-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding: 0;
  }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-list li { flex: 0 0 auto; }
  .nav-list li > a {
    padding: 8px 10px;
    font-size: 9px;
    gap: 2px;
  }
  .nav-list li > a svg { width: 16px; height: 16px; }

  /* Banner */
  .banner { flex-direction: column; min-height: auto; }
  .banner-img { width: 100%; min-height: 150px; order: -1; }
  .banner-text { padding: 16px; }
  .banner-text h2 { font-size: 16px; }
  .banner-text p { font-size: 12px; }
  .banner-badge { font-size: 11px; }
  .banner-cta { padding: 10px 16px; font-size: 12px; }

  /* Cards de produto — 2 colunas no mobile */
  .prod-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }
  .prod-card { border-radius: 6px; }
  .prod-thumb { min-height: 100px; }
  .prod-name { font-size: 11px; line-height: 1.3; }
  .prod-sku { font-size: 9px; }
  .prod-price { font-size: 13px; }
  .prod-installment { font-size: 10px; }
  .btn-cart { padding: 8px 6px; font-size: 11px; }
  .btn-detail { padding: 6px; font-size: 10px; }

  /* Página hero */
  .page-hero { padding: 16px; }
  .page-hero h1 { font-size: 17px; }
  .page-hero p { font-size: 12px; }

  /* Página de detalhe do produto */
  .prod-detail-wrap { padding: 12px !important; }
  .prod-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Checkout */
  .ck-wrap {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }
  .ck-card { padding: 14px; }
  .row2 { grid-template-columns: 1fr; gap: 8px; }
  .resumo-sticky { position: static; }
  .btn-finalizar { font-size: 13px; padding: 12px; }

  /* CTA bar */
  .cta-bar { padding: 24px 16px; }
  .cta-bar h2 { font-size: 16px; }
  .cta-bar p { font-size: 12px; }
  .btn-wpp-lg { font-size: 13px; padding: 10px 18px; }

  /* Footer */
  footer { padding: 20px 14px 12px; }
  .footer-top {
    flex-direction: column;
    gap: 16px;
  }
  .footer-logo img { height: 28px; }
  .footer-brand p { font-size: 11px; }
  .footer-links h4 { font-size: 10px; }
  .footer-links a { font-size: 11px; }
  .footer-bottom { font-size: 10px; }

  /* WA flutuante — não sobrepor o footer */
  .wpp-float { bottom: 16px; right: 14px; width: 48px; height: 48px; }

  /* Lightbox no mobile */
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }

  /* Formulário contato */
  .contato-grid { grid-template-columns: 1fr !important; }
  .fg input, .fg select, .fg textarea { font-size: 16px; } /* evita zoom no iOS */
}
