/* RochaStack Afiliados — Layout Classic Store Theme */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.classic-store-theme {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

:root {
  --primary: #e11d48;
  --primary-dark: #be123c;
  --ink: #0f172a;
  --muted: #64748b;
  --bg-soft: #ffffff;
  --border: #e2e8f0;
  --success: #16a34a;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section__title {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.section__title--center { text-align: center; }

/* Topbar */
.topbar { background: var(--ink); color: #fff; padding: 10px 0; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar__logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 0.04em; }
.topbar__badge { color: #f43f5e; font-weight: 700; display: flex; align-items: center; gap: 6px; }

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #f43f5e;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(244, 63, 94, 0.4);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--cta {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.3);
}

.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.45);
}

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }

.btn--cta-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Eyebrow & Badges */
.eyebrow {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: inline-block;
}
.eyebrow--pill {
  background: rgba(225, 29, 72, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge--discount { background: var(--success); color: #fff; }
.badge--before { background: #64748b; color: #fff; }
.badge--after { background: var(--primary); color: #fff; }

/* Hero */
.hero { padding: 32px 0 48px; background: #ffffff; border-bottom: 1px solid var(--border); }
.hero__grid { display: flex; flex-direction: column; gap: 32px; }
.hero__headline {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero__headline mark { background: none; color: var(--primary); }
.hero__subheadline { color: var(--muted); font-size: 17px; margin-bottom: 20px; line-height: 1.5; }

.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; }
.stars { color: #f59e0b; }

.price-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.price-box__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.price-box__from { color: var(--muted); font-size: 14px; }
.price-box__now { font-family: 'Outfit', sans-serif; font-size: 38px; font-weight: 900; color: var(--primary); }
.price-box__installment { color: #047857; font-weight: 700; font-size: 14px; margin-top: 4px; }
.price-box__extra { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; font-weight: 600; }

.trust-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.hero__image-wrapper {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 12px;
}
.hero__image-wrapper img { border-radius: 12px; width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* Countdown Sticky Bar */
.countdown-bar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; }
.countdown-bar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.countdown-bar__label { font-weight: 800; font-size: 14px; }
.countdown { display: flex; gap: 8px; }
.countdown__unit {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  min-width: 48px;
}
.countdown__unit span { display: block; font-size: 20px; font-weight: 900; color: #38bdf8; }
.countdown__unit small { font-size: 10px; text-transform: uppercase; opacity: 0.7; }

/* Cards & Lists */
.pain-points__grid, .benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pain-card {
  background: #fff;
  border: 1px solid #fee2e2;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pain-card__icon { color: #ef4444; font-weight: 900; font-size: 18px; }

.benefit-card {
  background: #fff;
  border: 1px solid #dcfce7;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-card__icon { color: #22c55e; font-weight: 900; font-size: 18px; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feature-box { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid var(--border); }
.feature-box__text { color: var(--muted); font-size: 16px; }

/* Video */
.video-block__frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  margin-top: 16px;
}
.video-block__frame iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }
.video-block__caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

/* Gallery & Before After */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.gallery-item img { border-radius: 12px; width:100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--border); }

.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.before-after-card { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.before-after-card img { width:100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.before-after-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Testimonials */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.testimonial-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card__name { display: block; font-size: 15px; color: var(--ink); }
.testimonial-card__info { font-size: 12px; color: var(--muted); display: block; }
.testimonial-card__text { color: var(--muted); font-size: 14px; font-style: italic; }

/* Offer Section */
.offer-box {
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
}
.offer-box__subtitle { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 24px; color: var(--ink); }

.kits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kit-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; position: relative; }
.kit-card--highlight { border-color: var(--primary); background: #fff; box-shadow: 0 10px 25px rgba(225, 29, 72, 0.15); }
.kit-card__title { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.kit-card__price { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.kit-card__badge { font-size: 10px; font-weight: 800; background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 99px; display: inline-block; margin-bottom: 8px; }

/* Cross Sell */
.cross-sell-box { background: #fef2f2; border: 1px dashed #fca5a5; border-radius: 16px; padding: 24px; text-align: center; max-width: 600px; margin: 0 auto; }
.cross-sell__name { font-size: 20px; font-weight: 800; color: var(--ink); margin: 8px 0 4px; }
.cross-sell__description { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.cross-sell__price { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 14px; }

/* Guarantee */
.guarantee__inner { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.guarantee__seal { background: var(--primary); color: #fff; font-size: 28px; font-weight: 900; border-radius: 50%; min-width: 80px; height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.guarantee__seal small { font-size: 10px; opacity: 0.8; }

/* FAQ */
.accordion { max-width: 800px; margin: 24px auto 0; }
.accordion__item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.accordion__trigger { width: 100%; background: transparent; border: none; padding: 16px 20px; color: var(--ink); font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion__panel { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--muted); font-size: 15px; }
.accordion__item.is-open .accordion__panel { padding-bottom: 16px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 36px 0 90px; font-size: 13px; text-align: center; }
.footer p { margin-bottom: 6px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff; text-align: center; padding: 14px; font-weight: 800;
  transform: translateY(100%); transition: transform 0.2s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

@media (min-width: 768px) {
  .hero__grid { flex-direction: row; align-items: center; }
  .hero__copy { flex: 1; }
  .hero__headline { font-size: 42px; }
  .hero__media { flex: 1; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
}
