/* =====================================================
   GH STORE — ESTILOS
   Mobile-first · preto/branco/cinza + verde de confiança
   ===================================================== */

:root {
  --black: #0b0b0c;
  --ink: #161618;
  --white: #ffffff;
  --gray-100: #f4f4f5;
  --gray-200: #e8e8ea;
  --gray-300: #d4d4d8;
  --gray-500: #8a8a8e;
  --gray-700: #4a4a4e;
  --green: #1e7a4b;
  --green-dark: #145936;
  --green-soft: #e5f2ec;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 1rem;
  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(11, 11, 12, 0.06);
  --shadow-hover: 0 10px 30px rgba(11, 11, 12, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 2rem; } }

.section { padding-block: 3.5rem; }
@media (min-width: 900px) { .section { padding-block: 5.5rem; } }

/* ---------- Tipografia de seção ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.section-title.center { text-align: center; }

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

/* =====================================================
   1. BARRA PROMOCIONAL (marquee)
   ===================================================== */
.promo-bar {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding-block: 0.55rem;
}
.promo-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.promo-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 1.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-track { animation: none; justify-content: center; width: 100%; }
  .promo-track span:not(:first-child) { display: none; }
}

/* =====================================================
   2. HEADER
   ===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(11, 11, 12, 0.08); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.header-left { display: flex; gap: 0.25rem; }
.header-right { display: flex; gap: 0.25rem; justify-content: flex-end; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--gray-100); }

.hide-sm { display: none; }
@media (min-width: 480px) { .hide-sm { display: inline-flex; } }

.bag-btn { position: relative; }
.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding-inline: 4px;
  background: var(--green);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 999px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
}

/* Menu mobile */
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.mobile-menu a {
  padding: 0.9rem var(--gutter);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a:hover { background: var(--gray-100); }
.mobile-menu .menu-wa { color: var(--green); }

/* =====================================================
   3. HERO
   ===================================================== */
.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;
}

.hero {
  /* gradiente por cima da foto garante leitura do texto à esquerda */
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.78) 0%, rgba(11, 11, 12, 0.45) 42%, rgba(11, 11, 12, 0.05) 75%),
    url("../img/hero.jpg") right 22% / cover no-repeat,
    var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  align-items: center;
  min-height: 480px;
  padding-block: 3.25rem;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  max-width: 18ch;
  text-shadow: 0 2px 18px rgba(11, 11, 12, 0.65);
}
.hero-text {
  color: var(--gray-200);
  font-size: 0.95rem;
  margin-top: 0.9rem;
  max-width: 34ch;
  text-shadow: 0 1px 10px rgba(11, 11, 12, 0.75);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 900px) {
  .hero-inner {
    min-height: 560px;
    padding-block: 4.5rem;
  }
}
@media (max-width: 640px) {
  /* no celular usa o banner retrato: logo no topo, produtos embaixo,
     texto centralizado sobre a área escura das camisetas */
  .hero {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, 0.25) 0%, rgba(11, 11, 12, 0.55) 38%, rgba(11, 11, 12, 0.45) 62%, rgba(11, 11, 12, 0.12) 100%),
      url("../img/hero-mobile.jpg") top center / cover no-repeat,
      var(--black);
  }
  .hero-inner {
    min-height: 88vh;
    align-items: center;
  }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: scale(0.98); }

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover { background: var(--gray-200); border-color: var(--gray-200); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover { background: var(--gray-700); border-color: var(--gray-700); }

/* =====================================================
   4. CATEGORIAS
   ===================================================== */
.categories {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.cat-track {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: 0.9rem;
}
.cat-track::-webkit-scrollbar { display: none; }

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 84px;
  padding: 0.65rem 0.75rem 0.55rem;
  border-bottom: 3px solid transparent;
  color: var(--gray-700);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cat-item svg { width: 26px; height: 26px; }
.cat-item span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cat-item:hover { color: var(--black); }
.cat-item.is-active {
  color: var(--black);
  border-bottom-color: var(--black);
}
@media (min-width: 900px) {
  .cat-track { justify-content: center; gap: 1.5rem; }
}

/* =====================================================
   5. PRODUTOS
   ===================================================== */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.link-all {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.link-all:hover .arrow { transform: translateX(5px); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 700px) { .product-grid { gap: 1.25rem; } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  .product-card:hover .product-img svg { transform: scale(1.05); }
  .product-card:hover .product-img img { transform: scale(1.05); }
}

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  overflow: hidden;
}
.product-img svg,
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.fav-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(11, 11, 12, 0.12);
  color: var(--gray-700);
  transition: color 0.2s ease, transform 0.2s var(--ease);
  z-index: 2;
}
.fav-btn svg { width: 18px; height: 18px; }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.is-fav { color: var(--green); }
.fav-btn.is-fav svg path { fill: currentColor; }

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 0.9rem 1rem;
  flex: 1;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-price-old {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration-thickness: 1.5px;
}

/* selo de desconto — o único vermelho da página, de propósito */
.sale-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  background: #cf3527;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(207, 53, 39, 0.35);
}
.product-name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  /* reserva 2 linhas para que categoria e selo alinhem entre os cards */
  min-height: 2.6em;
}
.product-cat {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-top: 0.2rem;
}
.status-badge.is-consulta { color: var(--gray-500); }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 122, 75, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(30, 122, 75, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

.buy-btn {
  /* margin-top:auto cola o botão na base do card — assim a fileira
     inteira alinha mesmo quando o nome do produto quebra em 2 linhas */
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 0.5rem;
  font-size: 0.78rem;
}
.product-info .status-badge { margin-bottom: 0.6rem; }

.grid-empty {
  text-align: center;
  color: var(--gray-500);
  padding-block: 2.5rem;
}

/* =====================================================
   6. BLOCO DE KITS
   ===================================================== */
.section-dark {
  background: linear-gradient(135deg, #18181b 0%, var(--black) 100%);
  color: var(--white);
}
.kits {
  /* grafite inteiro (contain) ancorado à direita; texto na faixa preta à esquerda */
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(11, 11, 12, 0.92) 34%, rgba(11, 11, 12, 0.4) 56%, rgba(11, 11, 12, 0) 78%),
    url("../img/kits-bg.jpg") right center / contain no-repeat,
    var(--black);
}
.kits-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: 3.5rem;
  min-height: 340px;
}
.kits-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5.5vw, 2.5rem);
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-shadow: 0 2px 16px rgba(11, 11, 12, 0.8);
}
.kits-text {
  color: var(--gray-200);
  margin-block: 1rem 1.75rem;
  max-width: 40ch;
  text-shadow: 0 1px 10px rgba(11, 11, 12, 0.85);
}
.kits-content { max-width: 560px; }

@media (min-width: 900px) {
  .kits-inner {
    padding-block: 5.5rem;
    min-height: 460px;
  }
}
@media (max-width: 899px) {
  /* em telas menores: texto em cima, grafite completo embaixo (sem corte);
     um gradiente preto sobre o topo do grafite funde as duas áreas */
  .kits {
    background:
      linear-gradient(180deg, var(--black) 0%, rgba(11, 11, 12, 0) 60%) center bottom / 100% 50vw no-repeat,
      url("../img/kits-bg.jpg") center bottom / 100% auto no-repeat,
      var(--black);
  }
  .kits-inner {
    min-height: 0;
    padding-top: 2.75rem;
    padding-bottom: calc(50vw + 0.5rem); /* reserva a altura do grafite (proporção 2:1) */
  }
}

/* =====================================================
   7. COMO FUNCIONA
   ===================================================== */
.how { background: var(--gray-100); }
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  margin-top: 2.75rem;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.step {
  text-align: center;
  padding-inline: 0.5rem;
}
.step-icon {
  width: 58px;
  height: 58px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--black);
}
.step-icon svg { width: 26px; height: 26px; }
.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-top: 0.9rem;
}
.step-num { color: var(--green); }
.step p {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-top: 0.4rem;
  max-width: 24ch;
  margin-inline: auto;
}

/* =====================================================
   8. BLOCOS FINAIS
   ===================================================== */
.final-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .final-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.final-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.final-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.4rem;
}
.final-icon svg { width: 26px; height: 26px; }
.final-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
.final-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  max-width: 42ch;
}
.route-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-block: 0.15rem 0.2rem;
}
.route-stop {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.route-flag {
  width: 27px;
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(11, 11, 12, 0.12);
}
.route-x {
  color: var(--gray-500);
  font-size: 0.7rem;
}
.final-card .btn { margin-top: 0.9rem; }
.final-card .status-badge { margin-top: 0.6rem; }

/* =====================================================
   9. RODAPÉ
   ===================================================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 3rem;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}
.logo-invert { width: max-content; }
.logo-invert img { height: 110px; }

.footer-tagline {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 32ch;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-700);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--gray-700); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-300);
  width: max-content;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--white); }

.pay-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-badges span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  color: var(--gray-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
}
.footer-bottom a:hover { color: var(--white); }

/* =====================================================
   BOTÃO FLUTUANTE WHATSAPP
   ===================================================== */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(20, 89, 54, 0.4);
  transition: background 0.2s ease, transform 0.2s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--green-dark); transform: scale(1.06); }

/* =====================================================
   REVELAÇÃO AO ROLAR
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-card, .btn, .arrow { transition: none; }
}
