:root {
  --black: #111111;
  --white: #ffffff;
  --gray-100: #f4f4f2;
  --gray-200: #e6e6e3;
  --gray-400: #b8b8b4;
  --gray-600: #6f6f6b;
  --whatsapp: #25d366;
  --radius: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--black);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gray-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--black);
}
.logo-mark { display: flex; color: var(--black); }
.logo-mark img { height: 40px; width: auto; display: block; }
.logo-text {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.logo-text strong { font-weight: 800; }

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  position: relative;
  padding-bottom: 3px;
}
.main-nav a:hover { opacity: 0.6; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 90px 20px 80px;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.98;
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto 34px;
}
.hero .btn-primary { background: var(--white); border-color: var(--white); }

/* ---------- Sections shared ---------- */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.section-badge {
  height: 34px;
  width: auto;
  margin: 0 auto 14px;
  display: block;
  opacity: 0.9;
}
.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 8px;
  font-weight: 800;
}
.section-head p { color: var(--gray-600); margin: 0 0 30px; font-size: 0.95rem; }
.section-head a { text-decoration: underline; }

/* ---------- Map section ---------- */
/* ---------- Como comprar ---------- */
.how-to { padding: 70px 0 20px; }
.how-to-steps {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) {
  .how-to-steps { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}
.step-card-final { background: var(--black); color: var(--white); border-color: var(--black); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.step-card-final .step-num { background: var(--white); color: var(--black); }
.step-card h3 { font-size: 1rem; margin: 0 0 8px; }
.step-card p { font-size: 0.85rem; color: var(--gray-600); margin: 0; line-height: 1.5; }
.step-card-final p { color: var(--gray-400); }

.chip {
  border: 1.5px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { background: var(--gray-100); }
.chip.active { background: var(--black); color: var(--white); }

/* ---------- Leagues (crest grid) ---------- */
.leagues { padding: 70px 0 80px; background: var(--gray-100); }

.league-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 14px;
}
@media (min-width: 560px) {
  .league-grid .league-badge { flex-basis: calc((100% - 14px * 3) / 4); }
}
@media (min-width: 900px) {
  .league-grid { gap: 16px 14px; }
  .league-grid .league-badge { flex-basis: calc((100% - 14px * 7) / 8); }
}

.league-badge {
  flex: 0 1 calc((100% - 14px) / 2);
  border: 1px solid #232323;
  border-radius: 14px;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  aspect-ratio: 4 / 4.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 8px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.league-badge:hover {
  transform: translateY(-4px);
  background: #1b1b1b;
  border-color: #3a3a3a;
}
.league-badge .badge-blob {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.league-badge:hover .badge-blob {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
}
.league-badge .badge-icon {
  width: 26px;
  height: 26px;
  fill: var(--white);
}
.league-badge .badge-name {
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.league-badge .badge-count {
  font-size: 0.65rem;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* ---------- Shop ---------- */
/* ---------- Tabela de medidas ---------- */
.sizes { padding: 60px 0 30px; }
.sizes-tabs {
  max-width: var(--maxw);
  margin: 0 auto 26px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.sizes-panel {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px;
}
.sizes-panel img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.sizes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}
.sizes-table th, .sizes-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.sizes-table th {
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sizes-table tbody tr:nth-child(even) { background: var(--gray-100); }

.shop { padding: 70px 0 90px; }

.filters {
  max-width: var(--maxw);
  margin: 0 auto 8px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#searchInput {
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  font-size: 0.95rem;
  background: var(--gray-100);
}
#searchInput:focus { outline: none; border-color: var(--black); }

.league-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.results-count {
  max-width: var(--maxw);
  margin: 18px auto 10px;
  padding: 0 20px;
  color: var(--gray-600);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.card-img {
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-name {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.6em;
}
.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card-price {
  font-size: 1.05rem;
  font-weight: 800;
}
.card-share {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.card-share svg { width: 15px; height: 15px; }
.card-share:hover { border-color: var(--black); color: var(--black); }
.card-share.copied { border-color: var(--whatsapp); color: var(--whatsapp); background: rgba(37,211,102,0.08); }
.card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}
.card-buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  cursor: pointer;
}
.card-buy:hover { opacity: 0.9; }
.card-buy svg { width: 15px; height: 15px; flex-shrink: 0; }

.empty-state {
  max-width: var(--maxw);
  margin: 40px auto;
  text-align: center;
  color: var(--gray-600);
  padding: 0 20px;
}

/* ---------- Feedbacks ---------- */
.feedbacks { padding: 30px 0 90px; }
.feedback-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feedback-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feedback-img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-100);
}
.feedback-img img { width: 100%; height: 100%; object-fit: cover; }
.feedback-text { font-size: 0.9rem; font-style: italic; margin: 0; flex: 1; }
.feedback-name { font-size: 0.82rem; font-weight: 700; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 50px 20px 24px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid #2c2c2c;
}
.footer-brand p { color: var(--gray-400); margin: 8px 0 0; font-size: 0.9rem; }
.footer-logo { height: 48px; width: auto; margin-bottom: 12px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--white);
}
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 20px auto 0;
  color: var(--gray-600);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 220px; }
  .main-nav a {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
  }
}

@media (min-width: 560px) {
  .filters { flex-direction: row; align-items: center; }
  #searchInput { max-width: 260px; }
}
