/* ==========================================================================
   TITANTOOLS - DESIGN INDUSTRIAL SEM BORDAS ARREDONDADAS (SHARP & SHADOWS)
   Branco, Amarelo e Preto • Sombras Marcadas • Ângulos Retos Profissionais
   ========================================================================== */

:root {
  /* Fundo e Superfícies Claras (Branco Puro / Off-White) */
  --bg-main: #fcfcfc;
  --bg-surface: #ffffff;
  --bg-muted: #f4f4f6;
  --bg-highlight: #fefce8;

  /* Textos em Preto Industrial e Cinzas Legíveis */
  --text-main: #09090b;
  --text-muted: #52525b;
  --text-subtle: #a1a1aa;

  /* Bordas Retas Sem Arredondamento */
  --border-light: #e4e4e7;
  --border-subtle: #d4d4d8;
  --border-black: #09090b;

  /* Amarelo Industrial / Psicologia das Cores: Atenção, Energia e Ação */
  --yellow: #ffd000;
  --yellow-hover: #f5c400;
  --yellow-dark: #b45309;
  --yellow-light: #fffbeb;
  --yellow-border: #fde047;

  /* Preto Estrutural */
  --black: #09090b;
  --black-hover: #18181b;
  --black-card: #121215;

  /* Sucesso */
  --success: #15803d;
  --success-light: #f0fdf4;
  --success-border: #bbf7d0;

  /* Sombras Marcadas (Box Shadows Profissionais para os Cards) */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 12px 28px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-hero: 0 14px 35px rgba(0, 0, 0, 0.13), 0 3px 10px rgba(0, 0, 0, 0.07);
  --shadow-toast: 0 14px 32px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.25);

  /* BORDAS ZERO ARREDONDAMENTO (ÂNGULOS RETOS) */
  --radius: 0px;

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Remoção estrita de todas as bordas arredondadas */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

/* Prevenção de auto-zoom no iOS Safari ao tocar em campos de formulário */
input, select, textarea {
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
  background: var(--black);
  color: #f4f4f5;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  padding-top: max(0.55rem, env(safe-area-inset-top));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  border-bottom: 2px solid var(--yellow);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.top-bar-badge {
  background: var(--yellow);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  z-index: 90;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.04em;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50% !important;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 10px rgba(255, 208, 0, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title {
  display: flex;
  align-items: center;
  font-weight: 900;
}

.brand-title span {
  background: var(--black);
  color: var(--yellow);
  padding: 0.1rem 0.45rem;
  margin-left: 2px;
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.45rem;
  margin-left: 0.35rem;
}

.nav-menu {
  display: none;
}

@media (min-width: 860px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .nav-link {
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--black);
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-config {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: #ffffff;
}

.btn-config:hover {
  border-color: var(--black);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.btn-cart {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--black);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  font-weight: 800;
  font-size: 0.875rem;
  transition: var(--transition);
  border: 1.5px solid var(--black);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-cart:hover {
  background: var(--black-hover);
  border-color: var(--yellow);
}

.cart-count {
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.1rem 0.5rem;
  min-width: 22px;
  text-align: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 4rem 0 4.5rem;
  background: radial-gradient(circle at 90% 20%, rgba(255, 208, 0, 0.12) 0%, transparent 40%),
              #ffffff;
  border-bottom: 1.5px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow-light);
  color: #713f12;
  border: 1px solid var(--yellow-border);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
  color: var(--black);
  line-height: 1.15;
}

.hero-title .highlight-yellow {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 208, 0, 0.6) 60%);
  display: inline;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 530px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  padding: 0.95rem 1.85rem;
  font-weight: 900;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid #09090b;
  box-shadow: 4px 4px 0px #09090b; /* Shadow box angular de alto impacto */
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--yellow-hover);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px #09090b;
}

.btn-secondary {
  background: #ffffff;
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 0.9rem 1.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--black);
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item span {
  color: var(--black);
}

/* Card do Hero com Shadow Box Marcada */
.hero-card {
  background: #ffffff;
  border: 2px solid var(--black);
  padding: 1.35rem;
  box-shadow: 6px 6px 0px var(--black); /* Shadow Box marcante */
  position: relative;
  transition: var(--transition);
}

.hero-card:hover {
  box-shadow: 8px 8px 0px var(--yellow), 8px 8px 0px 2px var(--black);
  transform: translate(-2px, -2px);
}

.hero-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.03em;
  z-index: 2;
}

.hero-card-media {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.25rem;
  border: 1.5px solid var(--border-light);
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   CARROSSEL / GALERIA DE FOTOS INTERATIVA
   ========================================================================== */
.hero-gallery,
.product-gallery {
  position: relative;
  user-select: none;
  background: #f8fafc;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Botões de navegação lateral */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(9, 9, 11, 0.85);
  color: #ffffff;
  border: 1.5px solid var(--yellow);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.4);
}

.gallery-nav-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--black);
  transform: translateY(-50%) scale(1.08);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

/* Contador de fotos elegante */
.gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(9, 9, 11, 0.85);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 208, 0, 0.5);
  letter-spacing: 0.05em;
  z-index: 5;
  pointer-events: none;
}

/* Indicadores de pontinho (dots) */
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 20px;
  max-width: 90%;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.gallery-dot.active {
  background: var(--yellow);
  width: 18px;
  border-radius: 10px;
}

.hero-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.hero-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.hero-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-old-price {
  font-size: 0.9rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.hero-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--black);
}

.pix-pill {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--yellow-light);
  color: #713f12;
  border: 1px solid var(--yellow-border);
  padding: 0.2rem 0.5rem;
}

/* ==========================================================================
   VÍDEO REAL DO ESTOQUE
   ========================================================================== */

.video-section {
  padding: 4.5rem 0;
  background: var(--bg-main);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--yellow);
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.75rem;
  border: 1px solid #eab308;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  color: var(--black);
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Wrapper do vídeo com Box Shadow */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid var(--black);
  padding: 1.15rem;
  box-shadow: 6px 6px 0px var(--black); /* Shadow Box */
}

.video-player-container {
  overflow: hidden;
  background: #09090b;
  min-height: 420px;
  max-height: 640px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--black);
}

.video-player-container video {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: contain !important;
  display: block;
}

.video-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 0.5rem 0.5rem;
  text-align: center;
  border-top: 1.5px solid var(--border-light);
  margin-top: 1rem;
}

.stat-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CATÁLOGO DE PRODUTOS
   ========================================================================== */

.products-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1.5px solid var(--border-light);
  border-bottom: 1.5px solid var(--border-light);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.8rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border: 1.5px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--bg-muted);
  color: var(--black);
  border-color: var(--black);
}

.filter-btn.active {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARDS DE PRODUTOS COM SHADOW BOX E ÂNGULOS RETOS */
.product-card {
  background: #ffffff;
  border: 2px solid var(--black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 0px var(--black); /* Distinctive Shadow Box */
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  box-shadow: 7px 7px 0px var(--yellow), 7px 7px 0px 2px var(--black);
  border-color: var(--black);
  transform: translate(-2px, -2px);
}

.product-image-box {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.02);
}

.discount-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--black);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.product-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--black);
  line-height: 1.35;
}

.product-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-specs li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.product-specs li::before {
  content: '✓';
  color: var(--black);
  font-weight: 900;
}

/* Barra de Escassez no Card */
.stock-scarcity {
  margin-bottom: 0.95rem;
}

.stock-scarcity-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.stock-scarcity-text {
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
}

.stock-scarcity-track {
  width: 100%;
  height: 6px;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.stock-scarcity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--black) 100%);
  transition: width 0.4s ease;
}

.scarcity-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #713f12;
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.scarcity-pill-danger {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.product-price-section {
  margin-top: auto;
  margin-bottom: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1.5px solid var(--border-light);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.old-price {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.current-price {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--black);
}

.installments-text {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-buy {
  flex: 1;
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 0.9rem;
  font-weight: 900;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid #09090b;
  box-shadow: 2px 2px 0px #09090b;
  transition: var(--transition);
}

.btn-buy:hover {
  background: var(--yellow-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #09090b;
}

.btn-add {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-light);
  color: var(--black);
  padding: 0.75rem 0.95rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-add:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

/* ==========================================================================
   CARRINHO LATERAL (DRAWER)
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  border-left: 2px solid var(--black);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.2rem 1.35rem;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--black);
}

.btn-close-cart {
  width: 34px;
  height: 34px;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-close-cart:hover {
  color: var(--black);
  border-color: var(--black);
  background: var(--border-light);
}

.cart-shipping-bar {
  padding: 0.9rem 1.35rem;
  background: var(--bg-highlight);
  border-bottom: 1.5px solid var(--yellow-border);
}

.shipping-msg {
  font-size: 0.8rem;
  font-weight: 800;
  color: #713f12;
  margin-bottom: 0.45rem;
  text-align: center;
}

.shipping-track {
  width: 100%;
  height: 7px;
  background: #fde68a;
  overflow: hidden;
  border: 1px solid #facc15;
}

.shipping-progress {
  height: 100%;
  background: var(--black);
  transition: width 0.3s ease;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 0.85rem;
  border: 1.5px solid var(--border-light);
  padding: 0.8rem;
  background: #ffffff;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.cart-item-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 800;
  padding-right: 1.5rem;
  color: var(--black);
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--black);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--black);
}

.qty-btn:hover {
  background: var(--bg-muted);
}

.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.825rem;
  font-weight: 800;
}

.btn-item-del {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--text-subtle);
  font-size: 1rem;
  padding: 2px;
}

.btn-item-del:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 1.25rem;
  border-top: 1.5px solid var(--border-light);
  background: var(--bg-main);
}

.coupon-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.coupon-input {
  flex-grow: 1;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 0.6rem 0.8rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--black);
}

.btn-coupon {
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0 1rem;
  transition: var(--transition);
}

.btn-coupon:hover {
  background: var(--black-hover);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1.5px dashed var(--border-light);
}

.btn-checkout {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  padding: 0.95rem;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border: 1.5px solid #09090b;
  box-shadow: 3px 3px 0px #09090b;
  transition: var(--transition);
}

.btn-checkout:hover {
  background: var(--yellow-hover);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #09090b;
}

.cart-security {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   DEPOIMENTOS COM SHADOW BOX & FOTOS REAIS
   ========================================================================== */

.testimonials-section {
  padding: 4.5rem 0;
  background: var(--bg-main);
}

/* Barra de Resumo de Reputação e Avaliações */
.reviews-summary-bar {
  background: #ffffff;
  border: 2px solid var(--black);
  box-shadow: 5px 5px 0px var(--black);
  padding: 1.4rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.summary-score-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-big {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.04em;
}

.score-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stars-gold {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
  line-height: 1;
}

.score-caption {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.summary-badges-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
}

.summary-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.summary-badge-item .badge-icon-check {
  width: 32px;
  height: 32px;
  background: var(--success);
  color: #ffffff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--black);
  box-shadow: 2px 2px 0px var(--black);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.summary-badge-item .badge-icon-star {
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--black);
  box-shadow: 2px 2px 0px var(--black);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.summary-badge-item .badge-icon-cam {
  width: 32px;
  height: 32px;
  background: #f4f4f6;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--black);
  box-shadow: 2px 2px 0px var(--black);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.summary-badge-item strong {
  display: block;
  font-size: 0.825rem;
  color: var(--black);
  line-height: 1.2;
}

.summary-badge-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  border: 2px solid var(--black);
  padding: 1.6rem;
  box-shadow: 5px 5px 0px var(--black); /* Box shadow industrial */
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--black);
  box-shadow: 7px 7px 0px var(--yellow), 7px 7px 0px 2px var(--black);
  transform: translate(-2px, -2px);
}

.author-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.avatar-photo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--black);
  flex-shrink: 0;
}

.avatar-initials {
  width: 48px;
  height: 48px;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 2px solid var(--black);
}

/* Avatar variations */
.avatar-initials.avatar-blue {
  background: #1e3a8a;
  color: #93c5fd;
}

.avatar-initials.avatar-amber {
  background: #78350f;
  color: #fde68a;
}

.avatar-initials.avatar-green {
  background: #14532d;
  color: #86efac;
}

.avatar-initials.avatar-purple {
  background: #581c87;
  color: #d8b4fe;
}

.avatar-initials.avatar-red {
  background: #7f1d1d;
  color: #fca5a5;
}

.avatar-initials.avatar-teal {
  background: #134e4a;
  color: #5eead4;
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--black);
}

.verified-tag {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 800;
}

.testimonial-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.stars-row {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.review-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.product-purchased {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.55rem;
  display: inline-block;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  flex-grow: 1;
}

/* Fotos Reais Anexadas pelo Cliente */
.testimonial-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border-subtle);
}

.testimonial-photo-btn {
  position: relative;
  width: 88px;
  height: 88px;
  border: 2px solid var(--black);
  background: #18181b;
  box-shadow: 2px 2px 0px var(--black);
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s, border-color 0.2s;
  outline: none;
}

.testimonial-photo-btn:hover {
  transform: translate(-2px, -2px);
  border-color: var(--black);
  box-shadow: 4px 4px 0px var(--yellow), 4px 4px 0px 1.5px var(--black);
}

.testimonial-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.testimonial-photo-btn:hover img {
  transform: scale(1.08);
}

.photo-zoom-tag {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(9, 9, 11, 0.88);
  color: var(--yellow);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 5px;
  border: 1px solid rgba(255, 208, 0, 0.5);
  letter-spacing: 0.02em;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}

/* ==========================================================================
   LIGHTBOX MODAL - MAXIMIZAR FOTOS DE DEPOIMENTOS
   ========================================================================== */

body.lightbox-open {
  overflow: hidden !important;
}

.review-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  padding: 1.5rem;
}

.review-lightbox-modal.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.96);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-media-wrapper {
  background: #ffffff;
  border: 3px solid var(--black);
  box-shadow: 8px 8px 0px var(--yellow), 8px 8px 0px 2px var(--black);
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-img-box {
  background: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 72vh;
  position: relative;
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.18s ease;
}

.lightbox-caption-bar {
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-top: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-caption-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  flex: 1;
}

.lightbox-counter-badge {
  background: var(--black);
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--black);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.lightbox-close-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0px var(--black);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: transform 0.15s, background-color 0.15s;
}

.lightbox-close-btn:hover {
  background: #ffffff;
  transform: scale(1.08);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: #ffffff;
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0px var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: all 0.15s;
}

.lightbox-nav-btn:hover {
  background: var(--yellow);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev-btn {
  left: -22px;
}

.lightbox-next-btn {
  right: -22px;
}



/* ==========================================================================
   BENEFÍCIOS E FAQ
   ========================================================================== */

.benefits-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 3.5rem 0;
  border-bottom: 1.5px solid var(--border-light);
  background: #ffffff;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #ffffff;
  border: 1.5px solid var(--black);
  padding: 1.25rem;
  box-shadow: 4px 4px 0px var(--black);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px var(--yellow), 5px 5px 0px 1.5px var(--black);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-light);
  color: var(--black);
  border: 1.5px solid var(--yellow-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--black);
}

.benefit-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* FAQ */
.faq-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1.5px solid var(--black);
  background: #ffffff;
  box-shadow: 4px 4px 0px var(--black);
  transition: var(--transition);
}

.faq-header {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  text-align: left;
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-body {
  max-height: 200px;
  padding-bottom: 1.15rem;
}

/* ==========================================================================
   MODAL DE CHECKOUT YAMPI
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.checkout-dialog {
  background: #ffffff;
  border: 2px solid var(--black);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
}

.checkout-top {
  padding: 1.15rem 1.5rem;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-muted);
}

.checkout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--black);
  background: var(--yellow);
  padding: 0.25rem 0.65rem;
  border: 1px solid #eab308;
}

.btn-modal-close {
  font-size: 1.2rem;
  color: var(--text-muted);
  padding: 4px;
}

.btn-modal-close:hover {
  color: var(--black);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.form-input, .form-select {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  color: var(--black);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 2px rgba(255, 208, 0, 0.4);
}

/* Tabs de Pagamento */
.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pay-tab {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-light);
  padding: 0.7rem 0.4rem;
  text-align: center;
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.pay-tab:hover {
  border-color: var(--black);
  color: var(--black);
}

.pay-tab.active {
  background: var(--yellow);
  border-color: var(--black);
  color: var(--black);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.pay-view {
  display: none;
}

.pay-view.active {
  display: block;
}

.pix-card {
  background: var(--bg-highlight);
  border: 1.5px solid var(--yellow-border);
  padding: 1.25rem;
  text-align: center;
}

.pix-qr-wrap {
  width: 160px;
  height: 160px;
  margin: 0.75rem auto;
  background: #ffffff;
  padding: 6px;
  border: 1.5px solid var(--border-light);
}

.pix-qr-wrap img {
  width: 100%;
  height: 100%;
}

.pix-input-group {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.pix-copy-input {
  flex-grow: 1;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 0.55rem;
  font-family: monospace;
  font-size: 0.75rem;
}

.btn-pix-copy {
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0 1rem;
}

.checkout-sidebar {
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--border-light);
  color: var(--black);
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.btn-pay-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  padding: 0.95rem;
  font-weight: 900;
  font-size: 0.95rem;
  margin-top: 1rem;
  border: 1.5px solid #09090b;
  box-shadow: 3px 3px 0px #09090b;
  transition: var(--transition);
}

.btn-pay-submit:hover {
  background: var(--yellow-hover);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #09090b;
}

/* ==========================================================================
   NOTIFICAÇÃO DE PROVA SOCIAL COM SHADOW BOX
   ========================================================================== */

.sales-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #ffffff;
  border: 2px solid var(--black);
  border-left: 8px solid var(--yellow);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 6px 6px 0px var(--black), 0 12px 28px rgba(0, 0, 0, 0.12); /* Shadow Box marcante */
  z-index: 9999;
  max-width: 380px;
  transform: translateY(140px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}

.sales-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sales-notification-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1.5px solid var(--black);
  background: #ffffff;
  flex-shrink: 0;
}

.btn-toast-close {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  margin-left: auto;
  line-height: 1;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-toast-close:hover {
  color: var(--black);
}

.sales-notification-content strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--black);
}

.sales-notification-content span {
  font-size: 0.775rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.35;
}

.sales-notification-meta {
  font-size: 0.72rem;
  color: #15803d;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #f4f4f5;
  border-top: 3px solid var(--yellow);
  padding: 3.8rem 0 2rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50% !important;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 8px rgba(255, 208, 0, 0.25);
  flex-shrink: 0;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #a1a1aa;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #a1a1aa;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   RESPONSIVIDADE AVANÇADA & COMPATIBILIDADE MOBILE / IOS (IPHONE 13+)
   Otimizado para telas de 390px x 844px, Safari WebKit, Chrome e Firefox Mobile.
   ========================================================================== */

/* Suporte a Safe Areas do iOS (Notch, Dynamic Island e Barra Inferior do Home) */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

/* Prevenção de comportamentos indesejados no iOS Safari */
input, select, textarea, button {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0 3rem;
  }

  .video-section,
  .products-section,
  .testimonials-section,
  .faq-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  /* Container e Espaçamento Seguro */
  .container {
    padding: 0 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  /* Barra de Topo Compacta e Segura */
  .top-bar {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
    padding-top: max(0.45rem, env(safe-area-inset-top));
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .top-bar-content {
    gap: 0.35rem 0.5rem;
    line-height: 1.35;
    justify-content: center;
  }

  .top-bar-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
  }

  /* Header Mobile */
  .site-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .header-container {
    height: 60px;
  }

  .brand-logo {
    gap: 0.45rem;
    font-size: 1.15rem;
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-badge {
    font-size: 0.6rem;
    padding: 0.12rem 0.35rem;
    margin-left: 0.2rem;
  }

  .btn-cart {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    gap: 0.45rem;
    min-height: 42px;
  }

  .cart-count {
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    min-width: 20px;
  }

  /* Hero Section no iPhone */
  .hero-section {
    padding: 1.75rem 0 2.25rem;
  }

  .hero-grid {
    gap: 1.75rem;
  }

  .hero-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-description {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    min-height: 48px;
    font-size: 0.875rem;
    padding: 0.85rem 1rem;
    justify-content: center;
    text-align: center;
    box-shadow: 3px 3px 0px #09090b;
  }

  .trust-row {
    gap: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .hero-card {
    padding: 0.95rem;
    box-shadow: 4px 4px 0px var(--black);
  }

  .hero-card-badge {
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .hero-card-body h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .hero-card-subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
  }

  .hero-price {
    font-size: 1.6rem;
  }

  .hero-card-body .btn-primary {
    min-height: 48px;
  }

  /* Galeria de Fotos e Touch Targets */
  .gallery-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    touch-action: manipulation;
  }

  .gallery-prev {
    left: 6px;
  }

  .gallery-next {
    right: 6px;
  }

  .gallery-counter {
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .gallery-dots {
    bottom: 8px;
    gap: 5px;
    padding: 3px 6px;
  }

  .gallery-dot {
    width: 7px;
    height: 7px;
  }

  .gallery-dot.active {
    width: 14px;
  }

  /* Vídeo Section */
  .video-section {
    padding: 2.25rem 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .section-header p {
    font-size: 0.875rem;
  }

  .video-wrapper {
    padding: 0.65rem;
    box-shadow: 4px 4px 0px var(--black);
  }

  .video-player-container {
    min-height: 380px;
    max-height: 560px;
  }

  .video-player-container video {
    max-height: 560px;
    object-fit: contain !important;
  }

  .video-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0.2rem 0.2rem;
  }

  .stat-box strong {
    font-size: 1.1rem;
  }

  .stat-box span {
    font-size: 0.75rem;
  }

  /* Catálogo e Barra de Filtros com Rolagem Horizontal Suave */
  .products-section {
    padding: 2.25rem 0;
  }

  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    padding: 0.25rem 0.25rem 0.75rem;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    font-size: 0.78rem;
    min-height: 42px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    box-shadow: 4px 4px 0px var(--black);
  }

  .product-info {
    padding: 1.1rem;
  }

  .product-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .product-desc {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .product-specs {
    font-size: 0.78rem;
    margin-bottom: 1rem;
  }

  .current-price {
    font-size: 1.5rem;
  }

  .btn-buy {
    min-height: 46px;
    font-size: 0.875rem;
  }

  .btn-add {
    min-height: 46px;
    min-width: 46px;
    font-size: 1.15rem;
  }

  /* Carrinho Lateral (Drawer no Mobile) */
  .cart-drawer {
    max-width: 100%;
    border-left: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
  }

  .cart-header {
    padding: 1rem 1.15rem;
    padding-top: max(1rem, calc(0.5rem + env(safe-area-inset-top)));
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }

  .btn-close-cart {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.25rem;
  }

  .cart-items {
    padding: 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    -webkit-overflow-scrolling: touch;
  }

  .cart-footer {
    padding: 1rem 1.15rem;
    padding-bottom: max(1.25rem, calc(1rem + env(safe-area-inset-bottom)));
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 1.05rem;
  }

  .qty-val {
    min-width: 28px;
    font-size: 0.875rem;
  }

  .btn-item-del {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    top: 4px;
    right: 4px;
  }

  .coupon-input {
    font-size: 16px !important; /* Previne auto-zoom no iOS Safari */
    min-height: 44px;
  }

  .btn-coupon {
    min-height: 44px;
    font-size: 0.85rem;
    padding: 0 1.15rem;
  }

  .btn-checkout {
    min-height: 52px;
    font-size: 1.05rem;
  }

  /* Depoimentos e Avaliações */
  .testimonials-section {
    padding: 2.25rem 0;
  }

  .reviews-summary-bar {
    padding: 1.15rem;
    box-shadow: 4px 4px 0px var(--black);
    gap: 1rem;
  }

  .summary-score-group {
    width: 100%;
    gap: 0.85rem;
  }

  .score-big {
    font-size: 2.4rem;
  }

  .summary-badges-group {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
  }

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

  .testimonial-card {
    padding: 1.15rem;
    box-shadow: 4px 4px 0px var(--black);
  }

  .testimonial-photos {
    gap: 0.5rem;
  }

  .testimonial-photo-btn {
    width: calc(25% - 0.4rem);
    min-width: 68px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* Lightbox Modal */
  .review-lightbox-modal {
    padding: 0.75rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .lightbox-dialog {
    max-width: 100%;
  }

  .lightbox-img-box {
    max-height: 56dvh;
    min-height: 220px;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-image {
    max-height: 56dvh;
  }

  .lightbox-close-btn {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev-btn {
    left: max(6px, env(safe-area-inset-left));
  }

  .lightbox-next-btn {
    right: max(6px, env(safe-area-inset-right));
  }

  .lightbox-caption-bar {
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  /* Benefícios e FAQ */
  .benefits-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 2rem 0;
  }

  .benefit-item {
    padding: 1rem;
    box-shadow: 3px 3px 0px var(--black);
  }

  .faq-section {
    padding: 2.25rem 0;
  }

  .faq-header {
    padding: 1rem 1.15rem;
    font-size: 0.875rem;
    min-height: 48px;
  }

  /* Modal de Checkout Yampi - Mobile Fullscreen Sheet */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .checkout-dialog {
    max-width: 100%;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: none;
    border-top: 3px solid var(--black);
    box-shadow: none;
    display: flex;
    flex-direction: column;
  }

  .checkout-top {
    padding: 0.85rem 1.15rem;
    padding-top: max(0.85rem, calc(0.4rem + env(safe-area-inset-top)));
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
    flex-shrink: 0;
  }

  .btn-modal-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
  }

  .checkout-grid {
    padding: 1.15rem;
    padding-bottom: max(1.75rem, calc(1rem + env(safe-area-inset-bottom)));
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
    gap: 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-input, .form-select {
    font-size: 16px !important; /* Previne auto-zoom no Safari iOS */
    min-height: 46px;
    padding: 0.7rem 0.85rem;
  }

  .pay-methods {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.35rem;
  }

  .pay-tab {
    padding: 0.6rem 0.2rem;
    font-size: 0.72rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .pix-card {
    padding: 1rem;
  }

  .pix-copy-input {
    font-size: 16px !important;
    min-height: 44px;
  }

  .btn-pix-copy {
    min-height: 44px;
  }

  .btn-pay-submit {
    min-height: 52px;
    font-size: 1rem;
  }

  /* Notificação Flutuante de Prova Social (Ajustada para tela pequena) */
  .sales-notification {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
    box-shadow: 4px 4px 0px var(--black);
  }

  .sales-notification-img {
    width: 40px;
    height: 40px;
  }

  .sales-notification-content strong {
    font-size: 0.8rem;
  }

  .sales-notification-content span {
    font-size: 0.74rem;
  }

  .sales-notification-meta {
    font-size: 0.68rem;
  }

  .btn-toast-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  /* Rodapé */
  .site-footer {
    padding: 2.75rem 0 calc(2rem + env(safe-area-inset-bottom));
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    text-align: center;
    gap: 0.6rem;
  }
}

/* Telas ultra-estreitas (<= 375px: iPhone SE, iPhone mini) */
@media (max-width: 375px) {
  .brand-badge {
    display: none;
  }

  .brand-logo {
    font-size: 1.05rem;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .video-stats {
    grid-template-columns: 1fr;
  }

  .summary-score-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   PERFORMANCE: CONTENT-VISIBILITY PARA SEÇÕES FORA DA TELA INICIAL
   ========================================================================== */
#estoque,
#depoimentos,
#garantia,
#faq,
.footer-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}
