/* ===== Variáveis ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f3;
  --surface: #ffffff;
  --surface-2: #f1eeed;
  --ink: #111111;
  --text: #14100f;
  --muted: #6f6a68;
  --line: rgba(17, 17, 17, 0.1);
  --brand: #d81f2a;      /* vermelho */
  --brand-2: #a5121b;    /* vermelho escuro */
  --accent: #111111;     /* preto */
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Poppins", var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Padrão de logo como fundo de todo o site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("fundo.png");
  background-repeat: repeat;
  background-size: 620px auto;
  opacity: 0.07;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--display);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(216, 31, 42, 0.28);
  animation: btnPulse 2s ease-in-out infinite;
}
.btn--primary:hover { transform: translateY(-2px); background: var(--brand-2); box-shadow: 0 14px 36px rgba(216, 31, 42, 0.4); }
/* Pulso "batida" nos botões principais */
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(216, 31, 42, 0.25); }
  50% { box-shadow: 0 12px 40px rgba(216, 31, 42, 0.55); }
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.2);
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ===== Topbar ===== */
.topbar {
  background: var(--ink);
  color: #ffffff;
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 16px;
  font-weight: 500;
}
.topbar strong { font-weight: 700; color: var(--brand); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--brand); }
/* Logos em imagem — mix-blend-mode remove o fundo branco sobre áreas claras */
.logo__img { height: 50px; width: auto; display: block; mix-blend-mode: multiply; }
.hero__logo {
  width: min(460px, 82%);
  height: auto;
  display: block;
  margin: 0 auto 26px;
}
.footer__logo { height: 48px; width: auto; display: block; mix-blend-mode: multiply; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__cta {
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 600;
}
.nav__cta:hover { background: var(--brand-2); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 82% 0%, rgba(216, 31, 42, 0.1), transparent 60%),
    radial-gradient(50% 50% at 5% 100%, rgba(17, 17, 17, 0.05), transparent 60%);
}
/* Halteres flutuando ao fundo do hero */
.hero__deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.dumbbell {
  position: absolute;
  color: var(--brand);
  opacity: 0.1;
  animation: floaty 7s ease-in-out infinite;
}
.dumbbell--1 { width: 90px;  top: 12%;  left: 6%;   --rot: -18deg; animation-delay: 0s; }
.dumbbell--2 { width: 64px;  top: 22%;  right: 9%;  --rot: 15deg;  opacity: 0.08; animation-delay: 1.2s; }
.dumbbell--3 { width: 110px; bottom: 16%; left: 12%; --rot: 8deg;   opacity: 0.07; animation-delay: 2s; }
.dumbbell--4 { width: 72px;  bottom: 20%; right: 8%; --rot: -12deg; animation-delay: 0.6s; }
.dumbbell--5 { width: 54px;  top: 46%;  left: 46%;  --rot: 22deg;  opacity: 0.06; animation-delay: 1.7s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rot, 0deg)); }
}

/* Carrossel: slides empilhados na mesma célula (altura = maior slide) */
.hero__slider { display: grid; position: relative; z-index: 1; }
.hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.hero__inner {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
}
/* Setas */
.hero__nav {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: background 0.2s ease, color 0.2s ease;
}
.hero__nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero__nav--prev { left: 18px; }
.hero__nav--next { right: 18px; }
/* Bolinhas */
.hero__dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}
.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.22);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}
.hero__dot.is-active { background: var(--brand); width: 28px; border-radius: 6px; }
.hero__content { max-width: 760px; }
.hero__text { margin-left: auto; margin-right: auto; }
.hero__actions { justify-content: center; }
.hero__stats { justify-content: center; }
.hero__tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--brand);
  margin-bottom: 22px;
  background: var(--surface-2);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero__title em { color: var(--brand); font-style: normal; }
.hero__text {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero__stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.hero__stats span { color: var(--muted); font-size: 0.85rem; }

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  background: var(--ink);
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scroll 22s linear infinite;
}
.marquee__track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.marquee__track span:nth-child(even) { color: var(--brand); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section--alt { background: rgba(246, 244, 243, 0.82); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section__title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }

/* ===== Coleções ===== */
/* ===== Filtro de categorias ===== */
.filter { display: flex; justify-content: center; margin-bottom: 40px; }
.filter__dropdown { position: relative; }
.filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  justify-content: space-between;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter__btn:hover { border-color: rgba(216, 31, 42, 0.5); }
.filter__dropdown.is-open .filter__btn { border-color: var(--brand); box-shadow: 0 8px 24px rgba(17,17,17,0.08); }
.filter__caret { transition: transform 0.25s ease; color: var(--brand); }
.filter__dropdown.is-open .filter__caret { transform: rotate(180deg); }
.filter__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}
.filter__dropdown.is-open .filter__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.filter__option {
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter__option:hover { background: var(--surface-2); }
.filter__option.is-active { background: var(--brand); color: #fff; }

.grid--collections { grid-template-columns: repeat(4, 1fr); }
/* Seções por categoria na home */
.cat-group { margin-bottom: 56px; }
.cat-group:last-child { margin-bottom: 0; }
.cat-group__title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-group__title::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--brand);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px) scale(1.015); border-color: rgba(216, 31, 42, 0.4); box-shadow: var(--shadow); }
.card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-2);
}
.card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s ease;
}
.card__photo.is-active { opacity: 1; pointer-events: auto; }
.card:hover .card__photo.is-active { transform: scale(1.04); }

/* Slideshow de fotos no card */
.card__imgnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.card:hover .card__imgnav { opacity: 1; }
.card__imgnav:hover { background: var(--brand); color: #fff; }
.card__imgnav--prev { left: 10px; }
.card__imgnav--next { right: 10px; }
.card__imgdots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.card__imgdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.card__imgdot.is-active { background: var(--brand); width: 18px; border-radius: 4px; }
@media (max-width: 640px) {
  .card__imgnav { opacity: 1; width: 30px; height: 30px; font-size: 1.1rem; }
}
.card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--display);
}
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__cat { color: var(--brand); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.card__img { cursor: zoom-in; }
.card__name { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin: 6px 0 4px; color: var(--ink); }
.card__code { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; margin-bottom: 8px; }
.card__note { display: block; color: var(--brand); font-size: 0.78rem; font-weight: 500; margin-bottom: 12px; }

/* Cores (swatches) */
.card__colors { display: flex; gap: 8px; margin-bottom: 14px; }
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: var(--sw, #ccc);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--brand); }

/* Tamanho (dropdown) */
.card__size { display: block; margin-bottom: 16px; }
.card__size-label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.card__select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d81f2a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.card__select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.card__price { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.card__price small { color: var(--muted); font-size: 0.8rem; text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.card__btn {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--display);
}
.card__btn:hover { background: var(--brand); border-color: var(--brand); }
/* Esgotado / reposição */
.card__tag--out { background: #4a4a4a; }
.card__look {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card--out .card__photo { filter: grayscale(0.25); }
.card--out .card__price { color: var(--muted); }
.card__restock {
  background: var(--brand);
  border-color: var(--brand);
  font-size: 0.82rem;
}
.card__restock:hover { background: var(--brand-2); border-color: var(--brand-2); }

/* ===== Benefícios ===== */
.grid--benefits { grid-template-columns: repeat(4, 1fr); }
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(216,31,42,0.14), rgba(165,18,27,0.06));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.benefit h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.benefit p { color: var(--muted); font-size: 0.92rem; }

/* ===== Sobre ===== */
.about__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about__content p { color: var(--muted); margin-top: 16px; }
.about__list { justify-items: start; max-width: 340px; margin-left: auto; margin-right: auto; text-align: left; }
.about__list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.about__list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--ink);
}
.about__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffffff;
  background: var(--brand);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ===== Depoimentos ===== */
.grid--reviews { grid-template-columns: repeat(3, 1fr); }
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 8px 30px rgba(17,17,17,0.04);
}
.review__stars { color: var(--brand); margin-bottom: 14px; letter-spacing: 2px; }
.review__text { font-size: 1rem; margin-bottom: 22px; color: var(--text); }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: #ffffff;
}
.review__name { font-weight: 600; font-family: var(--display); color: var(--ink); }
.review__role { color: var(--muted); font-size: 0.82rem; }

/* ===== Newsletter ===== */
.newsletter {
  padding: 80px 0;
  background: var(--ink);
}
.newsletter__inner {
  background: #1a1614;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter__text h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
.newsletter__text p { color: rgba(255,255,255,0.65); }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter__form input {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: var(--font);
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__form input:focus { outline: 2px solid var(--brand); }
.newsletter__msg { width: 100%; font-size: 0.9rem; color: var(--brand); min-height: 20px; }

/* ===== Footer (simples) ===== */
.footer { background: rgba(255, 255, 255, 0.85); border-top: 1px solid var(--line); }
.footer__simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 46px 24px;
}
.footer__social { display: flex; gap: 22px; }
.footer__social a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer__social a:hover { color: var(--brand); }
.footer__credit { color: var(--muted); font-size: 0.85rem; }
.footer__credit a { color: var(--ink); font-weight: 600; transition: color 0.2s ease; }
.footer__credit a:hover { color: var(--brand); }

/* ===== Lightbox (zoom) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: var(--brand); }

/* ===== Cabeçalho: carrinho ===== */
.header__right { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cart-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--display);
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-btn__count.is-visible { display: flex; }
.cart-btn.is-bump { animation: cartBump 0.35s ease; }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); background: var(--brand); color: #fff; }
  100% { transform: scale(1); }
}

/* ===== Carrinho (drawer) ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 90vw);
  background: var(--bg);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  box-shadow: -20px 0 50px rgba(17, 17, 17, 0.15);
}
.cart.is-open { transform: translateX(0); }
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart__head h3 { font-family: var(--display); font-size: 1.2rem; }
.cart__close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.cart__close:hover { color: var(--brand); }
.cart__body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.cart__empty { color: var(--muted); text-align: center; padding: 30px 0; }
.cart__items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-item__info { display: flex; flex-direction: column; }
.cart-item__name { font-weight: 600; font-family: var(--display); font-size: 0.95rem; }
.cart-item__meta { color: var(--ink); font-size: 0.78rem; font-weight: 500; }
.cart-item__unit { color: var(--muted); font-size: 0.8rem; }
.cart-item__sub { font-weight: 700; font-family: var(--display); grid-column: 2; text-align: right; }
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  grid-column: 1;
}
.cart-item__qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-item__qty button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cart__pay { margin-top: 26px; }
.cart__pay h4 { font-family: var(--display); font-size: 1rem; margin-bottom: 12px; }
.cart__pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cart__pay-opt:hover { border-color: rgba(216, 31, 42, 0.5); }
.cart__pay-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.cart__pay-opt:has(input:checked) { border-color: var(--brand); background: rgba(216, 31, 42, 0.05); }
.cart__coupon { margin-top: 24px; }
.cart__coupon h4 { font-family: var(--display); font-size: 1rem; margin-bottom: 12px; }
.cart__coupon h4 small { color: var(--muted); font-weight: 500; }
.cart__coupon-row { display: flex; gap: 8px; }
.cart__coupon-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}
.cart__coupon-row input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.cart__coupon-row button {
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cart__coupon-row button:hover { background: var(--brand); }
.cart__coupon-msg { font-size: 0.82rem; margin-top: 8px; min-height: 18px; }
.cart__discount { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--brand); font-weight: 600; font-size: 0.9rem; }
.cart__foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cart__total span { color: var(--muted); }
.cart__total strong { font-family: var(--display); font-size: 1.5rem; }
.cart__checkout { width: 100%; }
.cart__checkout:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.cart__note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ===== Política de trocas ===== */
.policy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.policy__item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.policy__icon {
  font-size: 1.8rem;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(216, 31, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy__item h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 6px; }
.policy__item p { color: var(--muted); font-size: 0.92rem; }
.policy__contact {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
}
.policy__contact a { color: var(--brand); font-weight: 700; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Menos animações para quem prefere */
@media (prefers-reduced-motion: reduce) {
  .dumbbell, .btn--primary, .marquee__track, .cart-btn.is-bump { animation: none !important; }
  .card, .card__img { transition: none !important; }
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .grid--collections { grid-template-columns: repeat(3, 1fr); }
  .grid--benefits { grid-template-columns: repeat(2, 1fr); }
  .grid--reviews { grid-template-columns: 1fr; }
  .policy { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; padding: 36px; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 127px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 60;
    box-shadow: var(--shadow);
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__link { padding: 13px 16px; text-align: center; }
  .nav__toggle { display: flex; }
  .grid--collections { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-group { margin-bottom: 40px; }
  .cat-group__title { font-size: 1.2rem; }
  .grid--benefits { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .logo__img { height: 42px; }
  .hero__logo { width: min(300px, 86%); }
  .hero__nav { display: none; }
  .hero__dots { bottom: 18px; }
  .card__body { padding: 16px; }
  .card__name { font-size: 1.05rem; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; }
  .card__price { font-size: 1.15rem; white-space: nowrap; }
  .card__btn { width: 100%; padding: 11px; }
  .filter__btn { min-width: 0; width: 100%; }
  .filter__dropdown { width: 100%; max-width: 320px; }
}
