:root {
  --bg-page: #090D16;
  --bg-elevated: #0B1120;
  --bg-surface: #0E1525;
  --bg-surface-hover: #121B2F;
  --bg-surface-featured: #0D1629;
  --bg-media: #070B13;
  --bg-input: #0C1220;

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-default: rgba(148, 163, 184, 0.18);
  --border-hover: rgba(148, 163, 184, 0.30);
  --border-accent: rgba(56, 189, 248, 0.34);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.04);

  --text-strong: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #7B8AA0; /* ≥ 5.2:1 em todas as superfícies (WCAG AA) */

  --accent-cobalt: #2563EB;
  --accent-cobalt-hover: #1D4ED8;
  --accent-blue: #3B82F6;
  --accent-cyan: #06B6D4;
  --accent-cyan-bright: #22D3EE;
  --accent-cyan-soft: rgba(6, 182, 212, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-page);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan-bright);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Calibrated top editorial falloff — restrained, no loud neon */
.bg-atmosphere {
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 68% 50% at 50% -18%, rgba(37, 99, 235, 0.16), transparent 72%),
    radial-gradient(ellipse 46% 36% at 80% -10%, rgba(6, 182, 212, 0.10), transparent 70%);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   Minimalist Header
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(9, 13, 22, 0.72);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 1.5px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.75), rgba(34, 211, 238, 0.75));
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.brand-lockup:hover .brand-avatar {
  transform: scale(1.04);
}

.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-page);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  white-space: nowrap;
}

.brand-tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(148, 163, 184, 0.05);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  min-width: 34px;
  padding: 0 8px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.channel-link:hover {
  color: var(--text-strong);
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--border-subtle);
}

.channel-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.channel-label {
  display: none;
}

.channel-magalu {
  padding: 0 10px;
  border-color: rgba(56, 189, 248, 0.24);
  background: rgba(37, 99, 235, 0.12);
  color: #BAE6FD;
  font-weight: 600;
}

.channel-magalu:hover {
  color: var(--text-strong);
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
}

.channel-magalu-label {
  font-size: 0.76rem;
  white-space: nowrap;
}

/* ==========================================================================
   Compact Editorial Hero
   ========================================================================== */
.main-content {
  flex: 1;
}

.hero-section {
  padding: 18px 0 14px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-copy {
  max-width: 650px;
}

.hero-eyebrow {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #7DD3FC;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.65);
  flex-shrink: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.42rem, 5.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.032em;
  color: var(--text-strong);
  text-wrap: balance;
}

.hero-subtitle {
  margin: 8px 0 0;
  max-width: 560px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-aside {
  display: none;
}

/* ==========================================================================
   Sticky Search & Dual Filter Bar
   ========================================================================== */
.controls-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 0;
  background: rgba(9, 13, 22, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.controls-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.controls-top-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  pointer-events: none;
  transition: fill 0.18s ease;
}

.search-box:focus-within .search-icon {
  fill: var(--accent-cyan-bright);
}

.search-input {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.88rem;
  box-shadow: var(--highlight-top);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:hover {
  border-color: var(--border-hover);
}

.search-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
}

.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-kbd {
  display: none;
  position: absolute;
  right: 10px;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  border: 1px solid var(--border-default);
  background: rgba(148, 163, 184, 0.06);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  pointer-events: none;
}

.search-box.has-value .search-kbd,
.search-box:focus-within .search-kbd {
  display: none;
}

.search-clear {
  position: absolute;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.search-clear[hidden] {
  display: none;
}

.search-clear:hover {
  background: rgba(148, 163, 184, 0.26);
  color: var(--text-strong);
}

/* Filter Groups */
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.filter-group-label {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
  flex: 1;
  /* Respiro para o anel de foco não ser cortado pelo overflow */
  padding: 4px;
  margin: -4px;
  scroll-padding-inline: 4px;
}

@media (max-width: 959px) {
  .filter-strip.has-fade-end {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
  }
}

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

.filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(14, 21, 37, 0.7);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.14s ease;
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.filter-chip:active {
  transform: scale(0.98);
}

.filter-chip.is-active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #090D16;
  font-weight: 600;
}

.market-chip {
  height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  background: transparent;
  border-color: var(--border-subtle);
}

.market-chip.is-active {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: #E0F2FE;
  font-weight: 600;
}

.market-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-magalu {
  background-color: #38A1FF;
}

.dot-shopee {
  background-color: #FF6B4A;
}

.dot-tiktok {
  background-color: #25F4EE;
}

.dot-ml {
  background-color: #FACC15;
}

.dot-amazon {
  background-color: #F59E0B;
}

/* ==========================================================================
   Catalog Section & Grid
   ========================================================================== */
.catalog-section {
  padding: 16px 0 44px;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 14px;
}

.catalog-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.results-count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.inline-reset {
  font-size: 0.75rem;
  font-weight: 500;
  color: #7DD3FC;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(6, 182, 212, 0.08);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.inline-reset[hidden] {
  display: none;
}

.inline-reset:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--text-strong);
}

.catalog-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ==========================================================================
   Product Cards (Standard & Featured Editorial Spotlight)
   ========================================================================== */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--highlight-top);
  transition:
    border-color 0.22s var(--ease-out),
    background-color 0.22s var(--ease-out),
    transform 0.22s var(--ease-out);
}

.product-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.product-media-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-media);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease-out);
}

.product-card:hover .product-image {
  transform: scale(1.028);
}

.featured-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(9, 13, 22, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #BAE6FD;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.featured-star {
  width: 11px;
  height: 11px;
  fill: var(--accent-cyan-bright);
  flex-shrink: 0;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  gap: 10px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: rgba(148, 163, 184, 0.05);
}

.category-tag.is-official {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #BAE6FD;
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(37, 99, 235, 0.08);
}

/* Refined Editorial Marketplace Badges */
.marketplace-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid transparent;
}

.marketplace-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-magalu {
  background: rgba(0, 134, 255, 0.12);
  border-color: rgba(56, 161, 255, 0.30);
  color: #93C5FD;
}

.badge-magalu .marketplace-dot {
  background-color: #38A1FF;
}

.badge-shopee {
  background: rgba(238, 77, 45, 0.12);
  border-color: rgba(255, 107, 74, 0.30);
  color: #FDBA74;
}

.badge-shopee .marketplace-dot {
  background-color: #FF6B4A;
}

.badge-tiktok {
  background: rgba(37, 244, 238, 0.10);
  border-color: rgba(37, 244, 238, 0.28);
  color: #A5F3FC;
}

.badge-tiktok .marketplace-dot {
  background-color: #25F4EE;
}

.badge-ml {
  background: rgba(250, 204, 21, 0.10);
  border-color: rgba(250, 204, 21, 0.28);
  color: #FDE047;
}

.badge-ml .marketplace-dot {
  background-color: #FACC15;
}

.badge-amazon {
  background: rgba(245, 158, 11, 0.10);
  border-color: rgba(245, 158, 11, 0.28);
  color: #FCD34D;
}

.badge-amazon .marketplace-dot {
  background-color: #F59E0B;
}

.badge-default {
  background: rgba(148, 163, 184, 0.10);
  border-color: rgba(148, 163, 184, 0.24);
  color: #CBD5E1;
}

.badge-default .marketplace-dot {
  background-color: #94A3B8;
}

.product-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.product-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.featured-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.featured-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.featured-highlights li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  flex-shrink: 0;
}

/* Card Actions */
.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.cta-button {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-cobalt);
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--text-strong);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease;
}

.cta-button:hover {
  background: var(--accent-cobalt-hover);
  border-color: rgba(56, 189, 248, 0.55);
}

.cta-button:active {
  transform: scale(0.99);
}

.cta-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.18s var(--ease-out);
}

.cta-button:hover .cta-icon {
  transform: translate(2px, -2px);
}

.copy-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  background: rgba(148, 163, 184, 0.04);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.14s ease;
}

.copy-button:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(148, 163, 184, 0.10);
}

.copy-button:active {
  transform: scale(0.98);
}

.copy-button.is-copied {
  color: #67E8F9;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(6, 182, 212, 0.12);
  animation: copy-pop 0.28s var(--ease-out);
}

.copy-button.is-failed {
  color: #FCA5A5;
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.10);
}

@keyframes copy-pop {
  0% { transform: scale(0.96); }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Mídia fica dentro de card com overflow:hidden — foco desenhado para dentro */
.product-media-link:focus-visible {
  outline-offset: -3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.copy-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Featured Editorial Spotlight Card */
.product-card.is-featured {
  grid-column: 1 / -1;
  background:
    radial-gradient(ellipse 65% 80% at 100% 0%, rgba(37, 99, 235, 0.11), transparent 62%),
    var(--bg-surface-featured);
  border-color: rgba(56, 189, 248, 0.28);
}

.product-card.is-featured::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.65) 28%,
    rgba(34, 211, 238, 0.75) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.product-card.is-featured:hover {
  border-color: rgba(56, 189, 248, 0.46);
  background:
    radial-gradient(ellipse 65% 80% at 100% 0%, rgba(37, 99, 235, 0.15), transparent 62%),
    #101A30;
}

.product-card.is-featured .product-title {
  font-size: clamp(1.18rem, 3.6vw, 1.52rem);
  letter-spacing: -0.028em;
  line-height: 1.2;
}

.product-card.is-featured .product-desc {
  font-size: 0.92rem;
  max-width: 52ch;
}

.product-card.is-featured .cta-button {
  background: linear-gradient(135deg, #2563EB 0%, #0284C7 100%);
  border-color: rgba(56, 189, 248, 0.48);
}

.product-card.is-featured .cta-button:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #0369A1 100%);
  border-color: rgba(34, 211, 238, 0.72);
}

/* ==========================================================================
   Empty & Error States
   ========================================================================== */
.state-card {
  margin-top: 12px;
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-lg);
}

.state-card[hidden] {
  display: none;
}

.state-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.state-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.state-text {
  margin: 0 auto 20px;
  max-width: 440px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
  background: var(--accent-cyan-soft);
  color: #E0F2FE;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: var(--accent-cyan-bright);
  color: var(--text-strong);
}

/* ==========================================================================
   Trust & Curation Section (Pre-Footer)
   ========================================================================== */
.trust-section {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.trust-header {
  margin-bottom: 20px;
}

.section-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #7DD3FC;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(1.18rem, 3.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.22;
  color: var(--text-strong);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--highlight-top);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.trust-card:hover {
  border-color: var(--border-default);
  background: var(--bg-surface-hover);
}

.trust-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.trust-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #7DD3FC;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.trust-card-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #070A12;
  padding: 32px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(56, 189, 248, 0.30);
}

.footer-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.footer-tagline {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-email {
  font-size: 0.9rem;
  font-weight: 500;
  color: #7DD3FC;
  transition: color 0.16s ease;
}

.footer-email:hover {
  color: var(--text-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclosure-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.disclosure-title {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.disclosure-text {
  margin: 0 0 10px;
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.disclosure-amazon {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  transition: color 0.16s ease;
}

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

/* ==========================================================================
   Progressive Reveal Animations (IntersectionObserver)
   ========================================================================== */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal-ready .reveal-delay-1 {
  transition-delay: 55ms;
}

.js-reveal-ready .reveal-delay-2 {
  transition-delay: 110ms;
}

.js-reveal-ready .reveal-delay-3 {
  transition-delay: 165ms;
}

/* ==========================================================================
   Mobile / Tablet com chips roláveis (< 960px) — áreas de toque confortáveis
   ========================================================================== */
@media (max-width: 959px) {
  .filter-chip,
  .market-chip {
    height: 36px;
  }

  .channel-link {
    height: 38px;
    min-width: 38px;
  }

  .search-input {
    height: 42px;
  }

  .search-clear {
    right: 5px;
    width: 32px;
    height: 32px;
  }

  .inline-reset {
    min-height: 30px;
    padding: 4px 10px;
  }
}

/* ==========================================================================
   Mobile (≤ 640px) — primeira dobra mais eficiente
   ========================================================================== */
@media (max-width: 640px) {
  .hero-section {
    padding: 12px 0 10px;
  }

  .hero-eyebrow {
    margin-bottom: 6px;
  }

  .hero-title {
    font-size: clamp(1.3rem, 5.4vw, 1.6rem);
  }

  .hero-subtitle {
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .catalog-section {
    padding-top: 12px;
  }

  .catalog-meta {
    margin-bottom: 10px;
  }

  .product-card.is-featured .product-media-link {
    aspect-ratio: 16 / 9;
  }

  .product-card.is-featured .product-body {
    padding: 14px 16px 16px;
    gap: 8px;
  }

  .product-card.is-featured .product-desc {
    font-size: 0.875rem;
  }

  .product-card.is-featured .product-actions {
    margin-top: 2px;
    padding-top: 12px;
  }

  .featured-ribbon {
    top: 10px;
    left: 10px;
  }
}

/* ==========================================================================
   Responsive — Tablet (640px+)
   ========================================================================== */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .brand-avatar {
    width: 38px;
    height: 38px;
  }

  .brand-tag {
    display: inline-flex;
  }

  .channel-link {
    padding: 0 10px;
  }

  .channel-label {
    display: inline;
  }

  .filter-group-label {
    display: inline-block;
    min-width: 68px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .footer-top,
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-contact {
    text-align: right;
  }
}

/* ==========================================================================
   Responsive — Editorial Asymmetric Featured Card (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .product-card.is-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }

  .product-card.is-featured .product-media-link {
    aspect-ratio: auto;
    min-height: 290px;
    border-bottom: 0;
    border-right: 1px solid var(--border-subtle);
  }

  .product-card.is-featured .product-body {
    padding: 24px 26px;
    justify-content: center;
    gap: 12px;
  }

  .product-card.is-featured .product-desc {
    flex: 0 1 auto;
  }

  .product-card.is-featured .product-actions {
    margin-top: 8px;
    padding-top: 16px;
  }

  .product-card.is-featured .cta-button,
  .product-card.is-featured .copy-button {
    height: 44px;
  }
}

/* ==========================================================================
   Responsive — Desktop (960px+)
   ========================================================================== */
@media (min-width: 960px) {
  .header-inner {
    min-height: 62px;
  }

  .hero-section {
    padding: 28px 0 22px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .hero-subtitle {
    font-size: 0.94rem;
  }

  .hero-aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 24px;
    border-left: 1px solid var(--border-subtle);
    flex-shrink: 0;
  }

  .hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
  }

  .hero-stat-value {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
  }

  .controls-bar {
    padding: 12px 0;
  }

  .controls-top-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .search-box {
    flex: 0 1 340px;
  }

  .search-kbd {
    display: inline-flex;
  }

  .controls-top-row .filter-group {
    flex: 1;
    justify-content: flex-end;
  }

  .controls-top-row .filter-group-label {
    min-width: auto;
  }

  .controls-top-row .filter-strip {
    flex: 0 1 auto;
    justify-content: flex-end;
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .filter-group-marketplace {
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
  }

  .filter-group-marketplace .filter-strip {
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .catalog-section {
    padding: 22px 0 56px;
  }

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

  .products-grid[data-standard-count="1"],
  .products-grid[data-standard-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.is-featured {
    grid-template-columns: 1.2fr 1fr;
  }

  .product-card.is-featured .product-media-link {
    min-height: 320px;
  }

  .product-card.is-featured .product-body {
    padding: 30px 32px;
  }

  .trust-section {
    padding: 48px 0 56px;
  }

  .trust-card {
    padding: 22px;
  }
}

/* ==========================================================================
   Reduced Motion Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
