:root {
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --primary: #0074ff;
  --primary-dark: #0053c1;
  --accent: #ffb300;
  --danger: #e53935;
  --text: #222;
  --muted: #666;
  --border: #e2e4ec;
  --radius-card: 18px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text);
}

/* BARRA PRETA */
.top-alert {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* CONTAINER PRINCIPAL */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 90px;
}

/* BOTÃO PADRÃO */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(0,116,255,0.35);
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* HERO */
.hero {
  margin-top: 18px;
}

.hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px 16px 24px;
  text-align: center;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-image {
  max-width: 260px;
  width: 100%;
  border-radius: 16px;
}

.hero-title {
  margin: 0 0 4px;
  font-size: 2rem;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.hero-stars {
  color: #ffb300;
  font-size: 1.1rem;
}

.hero-rating-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-subtitle {
  margin: 4px 0 10px;
  font-size: 1rem;
  font-weight: 500;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  text-align: left;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-line {
  margin: 10px 0 4px;
  font-size: 0.96rem;
}

.hero-benefits {
  margin: 2px 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero-btn {
  margin-top: 4px;
}

/* SEÇÕES GENÉRICAS */
.section {
  margin-top: 22px;
}

.section-heading h2 {
  text-align: center;
  margin: 0;
  font-size: 1.5rem;
}

.section-center {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* BLOCO DE IMAGEM + TEXTO */
.block {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px 16px 18px;
}

.block-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
  margin-bottom: 12px;
}

.block-text h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.block-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* TEXTBOX CENTRAL */
.section-textbox .textbox {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px 16px 20px;
}

.section-textbox h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.section-textbox p {
  margin: 4px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.textbox-image {
  margin-top: 10px;
  max-width: 260px;
  width: 100%;
  display: block;
}

/* DEPOIMENTOS */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testimonial {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 16px;
  font-size: 0.9rem;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.testimonial-header span {
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonial-stars {
  color: #ffb300;
  font-size: 1rem;
  margin-bottom: 6px;
}

/* IMAGENS PRÓXIMO DAS OFERTAS */
.section-images-near-offers .inline-images {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.section-images-near-offers img {
  max-width: 200px;
  width: 100%;
  border-radius: 12px;
}

/* OFERTAS */
.offers h2 {
  text-align: center;
  margin: 0 0 14px;
  font-size: 1.5rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.offer-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 16px 10px 16px;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
}

.offer-card h3 {
  margin: 6px 0 6px;
  font-size: 1.05rem;
}

.offer-header {
  margin-bottom: 4px;
}

.offer-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.offer-save {
  margin: 4px 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.offer-old {
  margin: 0;
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
}

.offer-price {
  margin: 4px 0 2px;
  font-size: 1.3rem;
  font-weight: 700;
}

.offer-installments {
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.offer-btn {
  width: 100%;
  font-size: 0.85rem;
  padding-block: 10px;
  margin-bottom: 6px;
}

.offer-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.offer-card--recommended {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.offer-ribbon {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--danger);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* FAQ */
.faq-list {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 10px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-item p {
  margin: 4px 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* RODAPÉ */
.footer {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 230px;
}

.footer-col h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-img {
  max-width: 220px;
  width: 100%;
}

.footer-text {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}

/* POPUP */
.popup-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  z-index: 20;
}

.popup {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  max-width: 420px;
  width: 90%;
  padding: 18px 16px 18px;
  text-align: center;
  position: relative;
}

.popup h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.popup p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.popup-img-wrap img {
  max-width: 220px;
  width: 100%;
  margin: 8px 0;
}

.popup-timer {
  margin: 8px 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--danger);
}

.popup-btn {
  width: 100%;
}

.popup-stock {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.popup-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* BARRA FIXA INFERIOR */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  font-size: 0.85rem;
  z-index: 15;
}

.bottom-bar-btn {
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

/* RESPONSIVO */
@media (max-width: 800px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card--recommended {
    transform: none;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .page {
    padding-bottom: 100px;
  }
}
/* FOTO DO CARD */
.offer-img {
  width: 160px;           /* tamanho pequeno */
  display: block;
  margin: 10px auto 15px auto;   /* centralizada */
  border-radius: 6px;
}

/* Ajuste caso queira um pouco maior no recomendado */
.offer-card--recommended .offer-img {
  width: 100px;
}

/* Ajuste padrão dos cards (caso já não exista no seu CSS) */
.offer-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}
.testimonial {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.testimonial-photo {
  width: 100%;
  max-width: 150px;
  border-radius: 10px;
  margin: 14px auto 0;
  display: block;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 15px;
}

.bottom-bar-text {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

#stockTimer {
  color: #ff4444;
  font-weight: bold;
}
/* --- AJUSTE GLOBAL DAS FOTOS DOS CARDS --- */

/* tamanho maior para todas as imagens */
.offer-img {
  width: 220px !important;     /* aumente aqui */
  height: auto;
}

/* remove a redução do card recomendado */
.offer-card--recommended .offer-img {
  width: 220px !important;
}
/* Reduzir tamanho da imagem de formas de pagamento no rodapé */
.footer-col img.footer-img {
  max-width: 110px !important;   /* tamanho ideal */
  width: auto !important;
}
