/* ==========================================================
   RESET & BASE
========================================================== */
:root {
  --primary: #28a745;
  --text: #111;
  --muted: #555;
  --line: #eaeaea;
  --card: #fff;
  --bg: #fafafa;
  --radius: 14px;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}
/* ==========================================================
   BARRA DE PROMOÇÃO
========================================================== */
.promo-bar {
  background: #004c7f;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 0;
}

/* Desktop */
@media (min-width: 768px) {
  .promo-bar {
    font-size: 16px;
    padding: 7px 0;
  }
}
/* ==========================================================
   Cabeçalho
========================================================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 4px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo img {
  height: 28px;
}
.cart img {
  width: 23px;
  height: 20px;
}

/* Header desktop */
@media (min-width: 1024px) {
  header {
    padding: 10px 30px;
  }
  .logo img {
    height: 28px; 
  }
  .cart img {
    width: 24px;
    height: 24px;
  }
}
/* ==========================================================
   TÍTULO
========================================================== */
h1 {
  text-align: center;
  padding: 10px;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 800;
  color: #111;
}

/* Título desktop */
@media (min-width: 1024px) {
  h1 {
    text-align: left;
    font-size: 36px;
    padding: 25px 10px 10px;
    text-align: center;
  }
}
/* ==========================================================
   BANNER PRINCIPAL
========================================================== */
.banner img {
  width: 100%;
  margin: 10px 0;
}

/* Banner desktop */
@media (min-width: 1024px) {
  .banner img {
    max-width: 1100px;
    margin: 20px auto;
    display: block;
    border-radius: 18px;
  }
}
/* ==========================================================
   CARD PRODUTOS
========================================================== */
.products {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px;
}

/* Desktop */
@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 60px;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.card img {
  max-height: 200px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.card h2 {
  font-size: 18px;
  margin: 12px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reviews-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  margin: 10px 0;
}
.reviews-mini .rating {
  font-weight: 600;
  color: #111;
  font-size: 15px;
}
.reviews-mini .stars {
  font-size: 18px;
  color: #ddd;
  position: relative;
  display: inline-block;
  line-height: 1;
}
.reviews-mini .stars::after {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  color: #f5a623;
  overflow: hidden;
  white-space: nowrap;
}
.stars.stars-50::after { width: 100%; }
.stars.stars-49::after { width: 98%; }
.stars.stars-48::after { width: 96%; }
.stars.stars-47::after { width: 94%; }
.stars.stars-46::after { width: 92%; }
.stars.stars-45::after { width: 90%; }
.reviews-mini .count {
  color: #555;
  font-size: 14px;
}

.price {
  margin: 14px 0;
  font-size: 20px;
}
.price .new {
  color: var(--primary);
  font-weight: 800;
  font-size: 22px;
}
.price .old {
  text-decoration: line-through;
  color: #777;
  margin-left: 8px;
  font-size: 18px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 10px;
  transition: all 0.2s;
  margin-top: auto;
}
.btn:hover {
  background: #218838;
  transform: scale(1.05);
}

/* --- AJUSTES DESKTOP --- */
@media (min-width: 1024px) {
  .reviews-mini { font-size: 16px; }
  .reviews-mini .rating { font-size: 16px; }
  .reviews-mini .stars { font-size: 20px; }
  .reviews-mini .count { font-size: 15px; }

  .price { font-size: 22px; }
  .price .new { font-size: 24px; }
  .price .old { font-size: 20px; }
}

/* --- AJUSTES MOBILE --- */
@media (max-width: 767px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .card {
    padding: 10px;
    border-radius: 8px;  
    height: auto;        
  }

  .card img {
    max-height: 110px;
    margin-bottom: 6px;
  }

  .card h2 {
    font-size: 13px;
    line-height: 1.4;
    min-height: 36px;
    margin: 4px 0;
  }

  .reviews-mini { 
    font-size: 13px; 
    gap: 4px; 
    margin: 4px 0; 
  }
  .reviews-mini .rating { font-size: 13px; }
  .reviews-mini .stars { font-size: 14px; }
  .reviews-mini .count { font-size: 12px; }

  .price { 
    margin: 6px 0; 
    font-size: 14px; 
  }
  .price .new { 
    font-size: 18px;
  }
  .price .old { 
    font-size: 12px; 
  }

  .btn {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 5px;
    display: inline-block;
    margin: 6px auto 0;
  }
}
/* ==========================================================
   BENEFÍCIOS
========================================================== */
.benefits {
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: none;
  box-shadow: none;
}
.benefits h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  gap: 30px;
}
.benefit-card {
  text-align: center;
  background: none;
  box-shadow: none;
}
.benefit-card img {
  width: 100%;
  max-width: 120px;
  margin: 0 auto 15px;
  display: block;
  border-radius: 12px;
}
.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 15px;
  color: #555;
  max-width: 260px;
  margin: 0 auto;
}
/* Tablets */
@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
  .benefit-card {
    text-align: left;
  }
  .benefit-card img {
    max-width: 220px;
    border-radius: 14px;
    margin: 0 0 20px 0;
  }
}

/* Ajustes só para celular */
@media (max-width: 767px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .benefit-card img {
    max-width: 160px;
    margin: 0 auto 10px;
  }
  .benefit-card h3 {
    font-size: 16px;
  }
  .benefit-card p {
    font-size: 13px;
  }
}
/* ==========================================================
   COPY COM VÍDEO
========================================================== */
.explanation {
  background: #eaf6fb;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 40px auto;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.explanation-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.exp-image img {
  width: 100%;
  border-radius: 10px;
  max-width: 480px;
  display: block;
}

.exp-text {
  max-width: 500px;
}
.exp-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.exp-text p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Versão Desktop */
@media (min-width: 1024px) {
  .explanation-block {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .explanation-block:nth-child(even) {
    flex-direction: row-reverse;
  }
  .exp-image, .exp-text {
    flex: 1;
  }
}
.exp-image video {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 60px;
  }
}
/* ==========================================================
   BLOCO AZUL
========================================================== */
  .safety{background:#004c7f;color:#fff;padding:30px;text-align:center}
  .safety h2{margin-bottom:12px}
/* ==========================================================
   REVIEW
========================================================== */
.reviews {
  background: #f5fff5;
  padding: 40px 0;
  width: 100%;
}
.reviews .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.reviews h2 {
  margin: 20px 0;
  font-size: 22px;
}
.review-top {
  font-size: 14px;
  margin: 0;
  color: #555;
}
.review-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 5px 0 15px;
  font-size: 16px;
  color: #28a745;
  font-weight: 600;
}
.review-stars img {
  height: 22px;
  display: block;
}

.review-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
}
.review-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  min-width: 260px;
  max-width: 280px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: left;
}
.review-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.review-card .stars {
  width: 100px;
  margin: 8px 0;
}
.review-card strong {
  display: block;
  margin-top: 5px;
}
.review-card .verified {
  font-size: 12px;
  color: #555;
  margin: 0;
}

.dots {
  text-align: center;
  margin-top: 10px;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
}
.dot.active {
  background: #28a745;
}
/* ==========================================================
   RODAPÉ
========================================================== */
footer {
  background:#004c7f;
  color:#fff;
  padding:20px;
  margin-top:30px;
}
footer .footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-col {
  flex: 1;
}
.footer-col h3 {
  margin-bottom: 8px;
}
.footer-col a {
  color:#fff;
  display:block;
  margin:4px 0;
  font-size:14px;
}
.copy {
  text-align:center;
  font-size:13px;
  color:#ddd;
  margin-top:20px;
}

/* ---- Layout desktop ---- */
@media (min-width: 768px) {
  footer .footer-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ---- CORRIGE O "ANDAR" NO MOBILE ---- */
body {
  overflow-x: hidden;
}

/* Ajusta grid de produtos no mobile */
@media (max-width: 767px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
    gap: 8px;
  }
  .card {
    max-width: 100%;
  }
}

/* Ajusta reviews para não estourar tela pequena */
.review-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
}
.review-card {
  min-width: 220px;
  max-width: 90vw;
}