/* ==========================================================================
   MW HUB — Folha de estilo principal
   Paleta: preto/cinza-chumbo + laranja MW HUB como destaque
   Tipografia: "Sora" (títulos) + "Inter" (corpo) via Google Fonts
   Espaçamento: sistema de 8px
   ========================================================================== */

/* ---- Variáveis de cor e design tokens ------------------------------------ */
:root {
  /* Escalas de cor */
  --neutral-900: #0a0a0b;
  --neutral-800: #131316;
  --neutral-700: #1c1c21;
  --neutral-600: #2a2a31;
  --neutral-500: #3a3a42;
  --neutral-400: #6b6b78;
  --neutral-300: #9a9aa8;
  --neutral-200: #c8c8d4;
  --neutral-100: #e8e8ee;
  --neutral-50: #f5f5f8;

  /* Cor de destaque — laranja MW HUB (energia do esporte) */
  --accent-500: #ff5a00;
  --accent-400: #ff7f3d;
  --accent-600: #d94a00;

  /* Cores semânticas */
  --success: #ff5a00;
  --warning: #ffb800;
  --error: #ff4757;

  /* Tipografia */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Espaçamento (sistema 8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 80px;
  --sp-9: 120px;

  /* Sombras sutis */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Bordas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Easings customizados */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-power: cubic-bezier(0.22, 1, 0.36, 1);

  /* Largura máxima de conteúdo */
  --max-width: 1280px;

  --header-h: 72px;
}

/* ---- Reset básico -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis cuida do smooth scroll */
}

body {
  font-family: var(--font-body);
  background-color: var(--neutral-900);
  color: var(--neutral-100);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ---- Tipografia ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-hero {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.t-section {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-500);
}

.eyebrow--logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow--logo img {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---- Layout utilitário --------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section {
  padding: var(--sp-9) 0;
  position: relative;
}

/* ---- Cursor customizado -------------------------------------------------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo),
    background 0.3s ease;
}

.cursor-dot.is-hovering {
  width: 40px;
  height: 40px;
  background: var(--accent-400);
  opacity: 0.3;
}

/* Esconde o cursor customizado em touch devices */
@media (hover: none) {
  .cursor-dot { display: none; }
}

/* ---- Header -------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out-expo), backdrop-filter 0.4s ease;
}

.header.is-scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-700);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__img {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo__accent {
  color: var(--accent-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-200);
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--neutral-50);
}

.nav__link:hover::after {
  width: 100%;
}

/* Botão do carrinho no header */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--neutral-700);
  transition: background 0.3s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: var(--neutral-600);
  transform: translateY(-1px);
}

.cart-btn__icon {
  width: 20px;
  height: 20px;
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-500);
  color: var(--neutral-900);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  transform: scale(0);
  transition: transform 0.3s var(--ease-out-expo);
}

.cart-btn__count.is-visible {
  transform: scale(1);
}

/* Animação de pulse ao adicionar item */
@keyframes cartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); background: var(--accent-400); }
  100% { transform: scale(1); }
}

.cart-btn__count.is-pulsing {
  animation: cartPulse 0.5s var(--ease-out-expo);
}

/* ---- Botões -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-500);
  color: var(--neutral-900);
}

.btn--primary:hover {
  background: var(--accent-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 90, 0, 0.3);
}

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

.btn--ghost {
  background: transparent;
  color: var(--neutral-100);
  border: 1px solid var(--neutral-600);
}

.btn--ghost:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--neutral-900);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(0.3) contrast(1.1);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--neutral-900) 0%, transparent 30%, transparent 60%, var(--neutral-900) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--sp-6);
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--neutral-300);
  font-weight: 400;
  max-width: 500px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}

.hero__product {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__product-img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* SVG de trajetória curva no fundo do hero */
.hero__path {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
}

.hero__path path {
  fill: none;
  stroke: var(--accent-500);
  stroke-width: 2;
  stroke-dasharray: 4 8;
}

/* ---- Seção: Sobre a empresa MW HUB ---------------------------------------------- */
.about {
  background: var(--neutral-900);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-7);
  align-items: center;
}

.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: var(--sp-6);
  margin: var(--sp-2) 0;
}

.about__stats .stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-500);
  letter-spacing: -0.03em;
  line-height: 1;
}

.about__stats .stat__label {
  font-size: 0.9rem;
  color: var(--neutral-400);
  margin-top: 6px;
  font-weight: 500;
}

.about__text p {
  font-size: 1.1rem;
  color: var(--neutral-300);
  line-height: 1.7;
  max-width: 580px;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--accent-500);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: var(--sp-2);
  transition: gap 0.3s var(--ease-out-expo);
}

.ig-link:hover {
  gap: var(--sp-2);
}

/* ---- Seção: Categorias --------------------------------------------------- */
.categories {
  background: var(--neutral-800);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out-expo);
}

.category-card:hover {
  transform: translateY(-6px);
}

.category-card__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.category-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
  filter: grayscale(0.3) brightness(0.5);
}

.category-card:hover .category-card__bg img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(0.45);
}

.category-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.9) 100%);
}

.category-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-50);
}

.category-card__count {
  font-size: 0.8rem;
  color: var(--accent-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.categories--bg {
  position: relative;
  background-image: linear-gradient(rgba(10,10,11,0.85), rgba(10,10,11,0.85)), url('/imagens_empresa/fundo_cate.jpg');
  background-size: cover;
  background-position: center;
}

/* ---- Seção: Destaques (scroll horizontal) -------------------------------- */
.featured {
  background: var(--neutral-900);
  overflow: hidden;
}

.featured__track {
  display: flex;
  gap: var(--sp-3);
  padding: 0 var(--sp-4);
  will-change: transform;
}

.product-card-mini {
  flex: 0 0 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.product-card-mini:hover {
  border-color: var(--accent-600);
  transform: translateY(-4px);
}

.product-card-mini__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.product-card-mini:hover .product-card-mini__img {
  transform: scale(1.06);
}

.product-card-mini__body {
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
}

.product-card-mini__brand {
  font-size: 0.75rem;
  color: var(--accent-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-card-mini__name {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
  color: var(--neutral-100);
}

.product-card-mini__price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-500);
  margin-top: var(--sp-1);
}

/* ---- Seção: Números / Conquistas ----------------------------------------- */
.stats {
  background: var(--neutral-800);
  position: relative;
  overflow: hidden;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--accent-500);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__label {
  font-size: 1rem;
  color: var(--neutral-300);
  margin-top: var(--sp-1);
  font-weight: 500;
}

/* ---- Footer -------------------------------------------------------------- */
.footer {
  background: var(--neutral-900);
  padding: var(--sp-7) 0 var(--sp-4);
  border-top: 1px solid var(--neutral-700);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-5);
}

.footer__banner {
  margin-bottom: var(--sp-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.footer__banner img {
  width: 100%;
  display: block;
}

.footer__logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--sp-1);
}

.footer__cnpj {
  color: var(--neutral-500);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.footer__brand p {
  margin-top: var(--sp-1);
  color: var(--neutral-400);
  font-family: var(--font-body);
  font-size: 0.9rem;
  max-width: 360px;
}

.footer__col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neutral-400);
  margin-bottom: var(--sp-2);
}

.footer__col a,
.footer__col p {
  display: block;
  color: var(--neutral-200);
  font-size: 0.9rem;
  margin-bottom: var(--sp-1);
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: var(--accent-500);
}

.footer__bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--neutral-700);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
  font-size: 0.8rem;
  color: var(--neutral-400);
}

.footer__credit {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--neutral-800);
  font-size: 0.75rem;
  color: var(--neutral-500);
}

.footer__credit a {
  color: var(--neutral-400);
  transition: color 0.3s ease;
}

.footer__credit a:hover {
  color: var(--accent-500);
}

/* ==========================================================================
   PÁGINA DE CATÃLOGO (produtos.html)
   ========================================================================== */

.catalog {
  padding-top: calc(var(--header-h) + var(--sp-6));
  padding-bottom: var(--sp-8);
  min-height: 100vh;
}

.catalog__header {
  margin-bottom: var(--sp-5);
}

.catalog__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.catalog__subtitle {
  font-size: 1.1rem;
  color: var(--neutral-300);
  margin-top: var(--sp-1);
}

/* Barra de busca */
.search-bar {
  position: relative;
  max-width: 600px;
  margin: var(--sp-4) 0;
}

.search-bar__input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: var(--radius-full);
  color: var(--neutral-100);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar__input:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1);
}

.search-bar__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
  width: 20px;
  height: 20px;
}

/* Filtros por categoria (tabs) */
.filter-tabs {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--neutral-800);
  color: var(--neutral-300);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--neutral-700);
  transition: all 0.3s var(--ease-out-expo);
}

.filter-tab:hover {
  border-color: var(--neutral-500);
  color: var(--neutral-100);
}

.filter-tab.is-active {
  background: var(--accent-500);
  color: var(--neutral-900);
  border-color: var(--accent-500);
}

/* Filtros adicionais */
.filter-row {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}

.filter-select {
  padding: 10px 16px;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: var(--radius-sm);
  color: var(--neutral-100);
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent-500);
}

.filter-select option {
  background: var(--neutral-800);
}

/* Grid de produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-3);
}

.product-card {
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s ease;
  will-change: transform;
  perspective: 1000px;
}

.product-card:hover {
  border-color: var(--accent-600);
  box-shadow: var(--shadow-md);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--neutral-700);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.product-card:hover .product-card__img {
  transform: scale(1.06);
}

.product-card__badge {
  position: absolute;
  top: var(--sp-1);
  left: var(--sp-1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-500);
}

.product-card__body {
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card__brand {
  font-size: 0.75rem;
  color: var(--accent-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-100);
}

.product-card__meta {
  display: flex;
  gap: var(--sp-2);
  font-size: 0.8rem;
  color: var(--neutral-400);
}

.product-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-2);
}

.product-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-500);
  font-family: var(--font-display);
}

.product-card__add {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-500);
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s ease;
}

.product-card__add:hover {
  transform: scale(1.1);
  background: var(--accent-400);
}

.product-card__add:active {
  transform: scale(0.95);
}

.product-card__add svg {
  width: 20px;
  height: 20px;
}

/* Estado vazio */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-7) var(--sp-4);
  color: var(--neutral-400);
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--sp-2);
  color: var(--neutral-600);
}

.empty-state__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-200);
  margin-bottom: var(--sp-1);
}

/* ==========================================================================
   PÃGINA DE PRODUTO (produto.html)
   ========================================================================== */

.product-page {
  padding-top: calc(var(--header-h) + var(--sp-5));
  padding-bottom: var(--sp-8);
  min-height: 100vh;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--neutral-300);
  font-size: 0.9rem;
  margin-bottom: var(--sp-3);
  transition: color 0.3s ease, gap 0.3s var(--ease-out-expo);
}

.back-link:hover {
  color: var(--accent-500);
  gap: var(--sp-2);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}

/* Galeria */
.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--neutral-800);
  position: relative;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease-out-expo);
}

.gallery__thumbs {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.gallery__thumb.is-active {
  border-color: var(--accent-500);
}

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

/* Info do produto */
.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.product-info__brand {
  font-size: 0.8rem;
  color: var(--accent-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.product-info__name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-info__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-500);
  font-family: var(--font-display);
  margin: var(--sp-1) 0;
}

.product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: var(--sp-1) 0;
}

.meta-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  font-size: 0.8rem;
  color: var(--neutral-200);
}

.meta-pill strong {
  color: var(--accent-500);
}

.product-info__desc {
  color: var(--neutral-300);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 520px;
}

/* Seletor de quantidade */
.qty-selector {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: var(--sp-2) 0;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--neutral-100);
  transition: all 0.3s ease;
}

.qty-btn:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
}

.qty-value {
  font-size: 1.3rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  font-family: var(--font-display);
}

/* Produtos relacionados */
.related {
  margin-top: var(--sp-8);
}

.related__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--sp-3);
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-3);
}

/* ==========================================================================
   CARRINHO — Drawer lateral
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--neutral-800);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-3);
  border-bottom: 1px solid var(--neutral-700);
}

.cart-drawer__title {
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  transition: background 0.3s ease, color 0.3s ease;
}

.cart-drawer__close:hover {
  background: var(--neutral-700);
  color: var(--accent-500);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-2) var(--sp-3);
}

/* Item do carrinho */
.cart-item {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--neutral-700);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease,
    height 0.4s ease;
  overflow: hidden;
}

.cart-item.is-removing {
  transform: translateX(120%);
  opacity: 0;
  height: 0;
  padding: 0;
  border: none;
}

.cart-item__img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-100);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item__meta {
  font-size: 0.75rem;
  color: var(--neutral-400);
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--neutral-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--neutral-200);
  transition: background 0.3s ease, color 0.3s ease;
}

.cart-qty-btn:hover {
  background: var(--accent-500);
  color: var(--neutral-900);
}

.cart-item__qty-value {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.cart-item__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-500);
  font-family: var(--font-display);
}

.cart-item__remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  transition: color 0.3s ease, background 0.3s ease;
  align-self: flex-start;
}

.cart-item__remove:hover {
  color: var(--error);
  background: rgba(255, 71, 87, 0.1);
}

/* Carrinho vazio */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--sp-2);
  text-align: center;
  padding: var(--sp-4);
}

.cart-empty__icon {
  width: 64px;
  height: 64px;
  color: var(--neutral-600);
}

.cart-empty__text {
  color: var(--neutral-400);
  font-size: 0.95rem;
}

/* Rodapé do carrinho */
.cart-drawer__footer {
  padding: var(--sp-3);
  border-top: 1px solid var(--neutral-700);
  background: var(--neutral-800);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
}

.cart-total__label {
  font-size: 0.9rem;
  color: var(--neutral-300);
}

.cart-total__value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-500);
  font-family: var(--font-display);
}

/* Imagem que "voa" para o carrinho */
.fly-clone {
  position: fixed;
  border-radius: var(--radius-sm);
  object-fit: cover;
  z-index: 3000;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-4);
  }

  .hero__product {
    display: none;
  }

  .hero__actions {
    justify-content: center;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .about__img {
    max-width: 400px;
    margin: 0 auto;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav__link {
    display: none;
  }

  .nav {
    gap: var(--sp-1);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-1);
    text-align: center;
  }

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

  .filter-tabs {
    gap: 6px;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--sp-2);
  }

  .product-card__price {
    font-size: 1.1rem;
  }

  .product-card__name {
    font-size: 0.9rem;
  }

  .product-card__add {
    width: 36px;
    height: 36px;
  }

  .product-card-mini {
    flex: 0 0 260px;
  }

  .cart-drawer {
    width: 100vw;
  }

  .featured__track {
    padding: 0 var(--sp-3);
  }

  .section {
    padding: var(--sp-7) 0;
  }

  .product-detail {
    gap: var(--sp-3);
  }

  .product-info__price {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .categories__grid {
    grid-template-columns: 1fr;
  }

  .hero__product-img {
    max-width: 280px;
  }
}

/* Respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   MODAL DE CHECKOUT — cartão animado + formulário de pagamento
   ========================================================================== */

.cart-notice {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--neutral-400);
  margin-top: var(--sp-2);
  line-height: 1.5;
}

.cart-notice svg {
  color: var(--accent-500);
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}

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

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 2201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}

.checkout-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.checkout-modal__panel {
  position: relative;
  width: 100%;
  max-width: min(1040px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.4s var(--ease-out-expo);
  box-sizing: border-box;
}

.checkout-modal.is-open .checkout-modal__panel {
  transform: scale(1) translateY(0);
}

.checkout-modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 2;
}

.checkout-modal__close:hover {
  background: var(--neutral-700);
  color: var(--accent-500);
}

.checkout-modal__grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: var(--sp-6);
  min-width: 0;
}

/* ---- Cartão animado ------------------------------------------------------ */

.checkout-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
}

.checkout-card-float {
  perspective: 1200px;
}

.checkout-card-float.is-floating {
  animation: checkoutCardFloat 2.4s ease-in-out infinite;
}

@keyframes checkoutCardFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

.checkout-card {
  position: relative;
  width: 320px;
  height: 190px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.checkout-card.is-flipped {
  transform: rotateY(180deg);
}

.checkout-card__face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--neutral-700);
  overflow: hidden;
}

.checkout-card__face--front {
  background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 65%);
}

.checkout-card__face--front::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 180%;
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.18), transparent 70%);
  transform: rotate(20deg);
  pointer-events: none;
}

.checkout-card__face--back {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 65%);
  transform: rotateY(180deg);
}

.checkout-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.checkout-card__brand-logo {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.checkout-card__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--neutral-100);
}

.checkout-card__chip {
  width: 36px;
  height: 26px;
  border-radius: 6px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  position: relative;
  z-index: 1;
}

.checkout-card__number {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--neutral-50);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.checkout-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.checkout-card__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 60%;
}

.checkout-card__field--right {
  align-items: flex-end;
  text-align: right;
}

.checkout-card__label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-400);
}

.checkout-card__value {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neutral-100);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-card__stripe {
  height: 36px;
  background: var(--neutral-950, #000);
  margin: 10px -20px 0;
}

.checkout-card__cvv-box {
  align-self: flex-end;
  background: var(--neutral-50);
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 14px;
}

.checkout-card__cvv-label {
  font-size: 0.55rem;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-card__cvv-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: 0.15em;
}

.checkout-card__back-logo {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--neutral-500);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  margin-top: auto;
}

.checkout-notice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(255, 90, 0, 0.08);
  border: 1px solid rgba(255, 90, 0, 0.25);
  border-radius: var(--radius-md);
  padding: var(--sp-2);
  color: var(--neutral-300);
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 300px;
}

.checkout-notice svg {
  flex-shrink: 0;
  color: var(--accent-500);
  margin-top: 2px;
}

/* ---- Formulário ------------------------------------------------------ */

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}

.checkout-form__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-1);
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.checkout-form__head h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.checkout-form__total {
  font-size: 0.85rem;
  color: var(--neutral-300);
}

.checkout-form__total strong {
  color: var(--accent-500);
  font-size: 1rem;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.checkout-field label {
  font-size: 0.78rem;
  color: var(--neutral-300);
  font-weight: 500;
}

.checkout-field input,
.checkout-field select {
  background: var(--neutral-900);
  border: 1px solid var(--neutral-600);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--neutral-50);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.checkout-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5e5e5' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  text-overflow: ellipsis;
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.12);
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  min-width: 0;
}

.checkout-toggle {
  display: flex;
  gap: 8px;
}

.checkout-toggle__btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-600);
  background: transparent;
  color: var(--neutral-300);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.checkout-toggle__btn.is-active {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--neutral-900);
}

.checkout-submit {
  width: 100%;
  margin-top: var(--sp-1);
}

.checkout-form__secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--neutral-500);
  margin-top: 4px;
}

/* ---- Etapas: processando / aprovado ------------------------------------ */

.checkout-stage--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-3);
  gap: var(--sp-2);
}

.checkout-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--neutral-700);
  border-top-color: var(--accent-500);
  animation: checkoutSpin 0.9s linear infinite;
}

@keyframes checkoutSpin {
  to { transform: rotate(360deg); }
}

.checkout-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 90, 0, 0.15);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-stage__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.checkout-stage__text {
  color: var(--neutral-300);
  font-size: 0.9rem;
  max-width: 360px;
}

.checkout-success__close {
  color: var(--neutral-400);
  font-size: 0.85rem;
  text-decoration: underline;
  margin-top: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .checkout-modal__grid {
    grid-template-columns: 1fr;
  }

  .checkout-modal__panel {
    padding: var(--sp-3);
    max-height: 94vh;
  }

  .checkout-card-wrap {
    padding-top: var(--sp-2);
  }
}


/* ---- Destaques: cabeçalho com botão "Ver mais" ---------------------------- */
.featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.featured__more {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .featured__head {
    flex-direction: column;
    align-items: flex-start;
  }
}