/* ═══════════════════════════════════════════
   NOVARA — Capa Protetora Premium
   style.css
   ═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F9FAFB;
  --bg-alt: #F3F4F6;
  --bg-white: #FFFFFF;
  --bg-dark: #0E0E10;
  --orange: #CC0000;
  --border: #E5E7EB;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --red: #CC0000;
  --red-light: rgba(204, 0, 0, 0.10);
  --green: #CC0000;
  --green-light: #FFF0F0;
  --green-border: rgba(204, 0, 0, 0.25);
  --yellow: #FBBF24;
  --gold: #D4A017;
  --gold-light: rgba(212, 160, 23, 0.15);
  --blue: #024AB4;
  --blue-light: rgba(2, 74, 180, 0.12);
  --accent: #1a1a1a;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  --font: 'Roboto', sans-serif;
  --max: 500px;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: var(--max);
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

ul {
  list-style: none;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   TOP BANNER
══════════════════════════════════════════ */
.top-banner {
  background: #CC0000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
}

.top-banner__scroll {
  display: inline-flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
}

.top-banner__scroll span {
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.menu-toggle {
  display: flex;
  align-items: center;
  color: var(--text);
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--bg-alt);
}

.site-header__logo img {
  height: 52px;
  width: auto;
}

/* ── SIDE MENU (DRAWER) ── */
.side-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  backdrop-filter: blur(2px);
}

.side-menu-overlay.open {
  display: block;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-white);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.side-menu__close {
  font-size: 26px;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.side-menu__close:hover {
  background: var(--bg-alt);
}

.side-menu__body {
  padding: 20px 16px;
  flex: 1;
}

.side-menu__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.side-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-menu__link {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.18s;
}

.side-menu__link:hover {
  background: var(--bg-alt);
}

.side-menu__divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.side-menu__support p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.side-menu__support a {
  color: var(--blue);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   PRODUCT HERO
══════════════════════════════════════════ */
.product-hero {
  background: var(--bg-white);
  padding: 0 0 24px;
}

/* ── GALLERY ── */
.gallery {
  background: var(--bg-alt);
  position: relative;
}

.gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  letter-spacing: 0.2px;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.gallery__main img.fading {
  opacity: 0;
}

.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  background: var(--bg-alt);
  scrollbar-width: none;
}

.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery__thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__thumb.active {
  border-color: var(--orange);
}

.gallery__thumb:hover {
  border-color: var(--text-muted);
}

/* ── PRODUCT INFO ── */
.product-info {
  padding: 18px 16px 0;
}

.product-header__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.product-header__verified-icon {
  color: var(--blue);
  font-size: 16px;
}

/* Badges row */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge--gold {
  background: var(--gold-light);
  color: var(--gold);
  border-color: rgba(212, 160, 23, 0.35);
}

.badge--green {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green-border);
}

.badge--blue {
  background: var(--blue-light);
  color: var(--blue);
  border-color: rgba(2, 74, 180, 0.25);
}

/* Stars */
.stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  cursor: pointer;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 15px;
  height: 15px;
}

.stars-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.stars-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   COLOR VARIANTS
══════════════════════════════════════════ */
.color-variants {
  margin-bottom: 16px;
}

.color-variants__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.color-variants__selected {
  color: var(--text);
  font-weight: 700;
}

.color-variants__options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  outline: 3px solid transparent;
  outline-offset: 3px;
  border: 2px solid rgba(0,0,0,0.1);
  position: relative;
}

.color-swatch.active {
  outline-color: var(--orange);
  transform: scale(1.12);
}

.color-swatch:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ── Offer Banner ── */
.offer-banner {
  background: #0E0E10;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-left: 4px solid var(--orange);
}

.offer-banner__title {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.offer-banner__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
}

/* ── Preço principal ── */
.price-main-block {
  margin-bottom: 12px;
}

.price-old-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.price-old-line s {
  color: var(--text-muted);
}

.price-current-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.price-current {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.price-badge-save {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
}

/* ── PIX reveal ── */
.pix-reveal-wrap {
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1.5px dashed var(--green);
  overflow: hidden;
}

.pix-reveal-wrap .price-pix-block {
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--green-border);
}

/* Price block */
.price-pix-block {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-pix-icon {
  font-size: 22px;
}

.price-pix-main {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
}

.price-pix-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.price-pix-note {
  font-size: 12px;
  color: var(--green);
  margin-top: 2px;
}

.price-installment {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Shipping block */
.shipping-block {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.shipping-block svg {
  color: var(--text-muted);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.shipping-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
}

.shipping-city {
  font-weight: 700;
  color: var(--text);
}

.shipping-days {
  font-size: 15px;
  font-weight: 800;
  color: #059669;
}

/* CTA Button */
.buy-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #CC0000, #990000);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 17px 20px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.45);
  animation: pulse-btn 2.5s infinite;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 20px rgba(204, 0, 0, 0.45); }
  50% { box-shadow: 0 4px 30px rgba(204, 0, 0, 0.7); }
}

.buy-btn:hover {
  background: linear-gradient(135deg, #aa0000, #880000);
  transform: translateY(-1px);
  animation: none;
}

.buy-btn:active {
  transform: translateY(0);
}

/* Payment icons */
.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0 8px;
}

.payment-icons img {
  height: 20px;
  width: auto;
}

/* ══════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════ */
.trust-strip {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 20px 16px;
  background: var(--bg-white);
  border-top: 1px solid var(--bg-alt);
  border-bottom: 1px solid var(--bg-alt);
  margin-top: 24px;
  text-align: center;
  gap: 8px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.trust-icon {
  font-size: 26px;
  line-height: 1;
}

.trust-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.trust-sublabel {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ══════════════════════════════════════════
   SECTION GENERIC
══════════════════════════════════════════ */
.section {
  padding: 36px 16px;
}

.section--alt {
  background: var(--bg-alt);
}

.section--white {
  background: var(--bg-white);
}

.section--dark {
  background: var(--bg-dark);
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   WHY CHEAP
══════════════════════════════════════════ */
.why-cheap-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-cheap-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.why-cheap-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-cheap-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.why-cheap-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ══════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════ */
.reviews-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.reviews-rating__score {
  font-size: 42px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.reviews-rating__right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews-rating__stars {
  font-size: 20px;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 0;
}

.reviews-rating__count {
  font-size: 13px;
  color: var(--text-muted);
}

.reviews-rating__badge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  background: var(--bg-white);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.review-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.review-stars {
  font-size: 14px;
  color: var(--yellow);
  margin-bottom: 6px;
}

.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}

.review-verified {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

.review-img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 8px;
  display: block;
  object-fit: cover;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: background 0.18s;
}

.faq-question:hover {
  background: var(--border);
}

.faq-arrow {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 16px 14px;
}

/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.final-cta {
  background: var(--bg-white);
  padding: 36px 16px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.price-main {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.price-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════
   STICKY CTA
══════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  padding: 10px 16px 12px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: none;
  box-shadow: none;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sticky-cta.visible {
  opacity: 1;
  pointer-events: all;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  padding: 28px 16px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}

.site-footer__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.site-footer__logo img {
  height: 32px;
  width: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-bottom: 16px;
}

.site-footer__nav a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
}

.site-footer__divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.site-footer__copy {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px;
}

.site-footer__email {
  font-size: 11px;
  color: var(--text-muted);
}

.site-footer__email a {
  color: var(--orange);
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   SHAKE ANIMATION
══════════════════════════════════════════ */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.shake {
  animation: shake 0.55s ease;
}
