/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: #0a1f44;
  color: #fff;
}
.btn-primary:hover { background: #07152e; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-buy {
  background: #00a650;
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 24px;
  width: 100%;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-buy:hover { background: #009e4a; }
.btn-buy.btn-sm { padding: 12px 20px; font-size: 0.95rem; width: auto; }

/* ===== Top bar ===== */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.8rem;
  color: #555;
  padding: 8px 0;
  text-align: center;
}
.top-bar .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; }
.top-bar .divider { color: #ccc; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}
.logo img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.nav-desktop { display: none; gap: 24px; }
.nav-desktop a { font-weight: 500; font-size: 0.9rem; color: #555; }
.nav-desktop a:hover { color: #0a1f44; }
.header-cta { display: none; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 16px 20px;
  gap: 10px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-weight: 500; padding: 8px 0; color: #333; }
.mobile-nav .btn { margin-top: 6px; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  background: #fff;
  padding: 12px 0;
  font-size: 0.85rem;
  color: #999;
  border-bottom: 1px solid #eee;
}
.breadcrumbs a { color: #0a1f44; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .current { color: #666; }
.breadcrumbs span { margin: 0 6px; color: #ccc; }

/* ===== PRODUCT PAGE ===== */
.product-page {
  background: #fff;
  padding: 24px 0 40px;
}
.product-layout {
  display: grid;
  gap: 28px;
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb.active {
  border-color: #0a1f44;
}
.gallery-main {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 16px;
}
.gallery-main img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
}

/* Product info */
.product-info { max-width: 480px; }
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}
.badge-new {
  background: #0a1f44;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.badge-bestseller {
  color: #00a650;
  font-weight: 600;
}
.product-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin-bottom: 10px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.rating-score { font-weight: 700; color: #333; }
.stars { color: #f5a623; letter-spacing: 1px; font-size: 0.95rem; }
.rating-count { color: #0a1f44; }
.rating-count:hover { text-decoration: underline; }

/* Price */
.price-block { margin-bottom: 20px; }
.price-old {
  font-size: 0.95rem;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-main {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 6px;
}
.price-main .currency {
  font-size: 1.4rem;
  font-weight: 400;
  color: #333;
  margin-top: 6px;
}
.price-main .amount {
  font-size: 2.6rem;
  font-weight: 400;
  color: #333;
  line-height: 1;
}
.price-main .cents {
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
  margin-top: 6px;
}
.discount-tag {
  background: #00a650;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  margin-top: 10px;
  align-self: center;
}
.price-pix {
  font-size: 0.95rem;
  color: #0a1f44;
  margin-bottom: 4px;
}
.price-pix strong { font-weight: 700; }
.price-installments {
  font-size: 0.9rem;
  color: #666;
}

/* Shipping */
.shipping-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.shipping-icon { font-size: 1.4rem; }
.shipping-box strong {
  display: block;
  font-size: 0.95rem;
  color: #0a1f44;
  margin-bottom: 2px;
}
.shipping-box span {
  font-size: 0.85rem;
  color: #666;
}

/* Scarcity */
.scarcity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f23d4f;
  font-weight: 600;
  margin-bottom: 18px;
}
.scarcity .dot {
  width: 8px;
  height: 8px;
  background: #f23d4f;
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.payment-security {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #888;
  margin: 12px 0 20px;
}

.quick-benefits {
  border-top: 1px solid #eee;
  padding-top: 16px;
  display: grid;
  gap: 10px;
}
.qb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
}
.qb-icon {
  color: #00a650;
  font-weight: 700;
  font-size: 1rem;
}

/* ===== Trust bar ===== */
.trust-bar {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.15rem;
  color: #333;
}
.trust-item span {
  font-size: 0.8rem;
  color: #888;
}

/* ===== Sections ===== */
.section {
  padding: 50px 0;
  background: #fff;
}
.section.alt-bg { background: #f7f7f7; }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.section-header p { color: #666; font-size: 0.95rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0a1f44;
  margin-bottom: 8px;
}

/* Description */
.desc-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
.desc-image img {
  border-radius: 10px;
  border: 1px solid #eee;
}
.desc-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}
.desc-content > p {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.feature-list { display: grid; gap: 14px; }
.feature-list li strong {
  display: block;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 2px;
}
.feature-list li span {
  font-size: 0.9rem;
  color: #666;
}

/* Showcase */
.showcase {
  padding: 20px 0 40px;
  background: #fff;
}
.showcase-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.showcase-item {
  text-align: center;
}
.showcase-item img {
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 10px;
}
.showcase-item p {
  font-size: 0.9rem;
  color: #666;
}

/* Two col */
.two-col {
  display: grid;
  gap: 32px;
  align-items: center;
}
.two-col h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}
.two-col > div > p {
  color: #555;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.check-list { margin-bottom: 24px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a650;
  font-weight: 700;
}
.two-col-image img {
  border-radius: 10px;
  border: 1px solid #eee;
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.step {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 22px 20px;
}
.step-num {
  width: 32px;
  height: 32px;
  background: #0a1f44;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
}
.step p {
  font-size: 0.9rem;
  color: #666;
}

/* Reviews */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.big-score {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
}
.rating-summary .stars { color: #f5a623; font-size: 1.1rem; }
.rating-summary span { font-size: 0.85rem; color: #888; display: block; }
.reviews-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.review-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-header .stars { color: #f5a623; font-size: 0.9rem; }
.review-date { font-size: 0.8rem; color: #999; }
.review-text {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 14px;
  line-height: 1.55;
}
.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: #333;
}
.review-author span {
  font-size: 0.8rem;
  color: #999;
}

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: #999;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 16px; }
.faq-answer p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 50px 0;
}
.final-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.final-cta > .container > p {
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.final-price {
  margin-bottom: 24px;
}
.final-price .old {
  display: block;
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.final-price .current {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}
.final-price .pix {
  font-size: 0.95rem;
  color: #00a650;
}

/* Footer */
.footer {
  background: #fff;
  color: #666;
  padding: 40px 0 24px;
  border-top: 1px solid #e5e5e5;
}
.footer-top {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.85rem;
  margin-top: 10px;
  max-width: 260px;
  color: #666;
}
.footer-col h4 {
  color: #333;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #666;
}
.footer-col a:hover { color: #0a1f44; }
.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* Sticky mobile */
.sticky-buy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-buy.visible { transform: translateY(0); }
.sticky-price .old {
  display: block;
  font-size: 0.75rem;
  color: #999;
  text-decoration: line-through;
}
.sticky-price .now {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .product-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: flex-start;
  }
  .gallery {
    flex-direction: row;
    gap: 12px;
    position: sticky;
    top: 80px;
  }
  .gallery-thumbs {
    flex-direction: column;
    overflow-x: visible;
    width: 72px;
  }
  .thumb {
    width: 68px;
    height: 68px;
  }
  .gallery-main {
    flex: 1;
    min-height: 420px;
  }
  .gallery-main img { max-height: 480px; }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .desc-layout { grid-template-columns: 1fr 1.1fr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .two-col { grid-template-columns: 1.1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .sticky-buy { display: none; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
  .product-title { font-size: 1.5rem; }
}
