:root {
  /* 60% Black · 30% White · 10% Gray */
  --black: #0a0a0a;
  --white: #f5f5f5;
  --grey: #141414;
  --grey-mid: #222222;
  --muted: #777777;
  --accent: #ffffff;
  --accent-soft: #c8c8c8;
  /* Sora Bold (titles) · Sora Light (body) — owner request */
  --font-display: 'Sora', sans-serif;
  --font-cond: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300; /* Sora Light for texts */
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.4;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700; /* Sora Bold */
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0; /* allow shrink so hamburger is never pushed off-screen */
  flex-shrink: 1;
}
.nav-logo img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0; /* never compress lang + hamburger */
}
.lang-toggle {
  display: flex;
  gap: 6px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang-toggle button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: none;
  padding: 4px 8px;
  transition: color 0.2s;
}
.lang-toggle button.active,
.lang-toggle button:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent-soft); color: var(--black); }

/* HAMBURGER — large touch target for phones (Honor / Android) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: none;
  padding: 0;
  margin: 0;
  z-index: 110;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.98);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700; /* Sora Bold */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-cta {
  margin-top: 20px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--accent);
  padding: 14px 36px;
  text-decoration: none;
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
}
.mobile-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
}
.mobile-close span:first-child {
  transform: rotate(45deg);
}
.mobile-close span:last-child {
  transform: rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.4) 50%, rgba(8,8,8,0.2) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-number {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-55%);
  font-family: var(--font-display);
  font-size: clamp(200px, 28vw, 400px);
  font-weight: 700;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 700; /* Sora Bold — titles */
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--white); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* BUTTONS */
.btn-primary {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 16px 36px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-soft); color: var(--black); }
.btn-secondary {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 16px 36px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: none;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); }
.btn-large {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 20px 52px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-large:hover { background: var(--accent-soft); color: var(--black); }
.btn-large-outline {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 20px 52px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: none;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-large-outline:hover { border-color: var(--white); }

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
  z-index: 2;
}
.scroll-hint span {
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-bar {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDrop 1.5s ease infinite;
}

/* MARQUEE */
.marquee-wrap {
  background: var(--accent);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--black);
  padding: 0 40px;
  flex-shrink: 0;
}
.marquee-sep { color: rgba(0,0,0,0.3); }

/* SECTIONS */
section { padding: 120px 48px; }
.section-label {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 700; /* Sora Bold — titles */
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 60px;
}

/* PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  border: 1px solid var(--grey-mid);
}
.pillar {
  background: var(--black);
  padding: 48px 28px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
/* Card 04 (Educação): keep coach's face in frame */
.pillar:nth-child(4) {
  background-position: center 22%;
}
.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.25) 100%);
  z-index: 0;
  transition: background 0.4s ease;
}
.pillar:hover::after {
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.15) 100%);
}
.pillar:hover { transform: scale(1.01); }
.pillar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  position: relative;
  z-index: 1;
}
.pillar-icon { display: none; }
.pillar-title {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--white);
}
.pillar-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,245,245,0.75);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* STATS */
.stats-strip {
  background: var(--accent);
  padding: 70px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}

/* HOW TO BECOME A MEMBER */
.how-section {
  background: var(--black);
  padding-bottom: 80px;
}
.how-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  border: 1px solid var(--grey-mid);
  margin-bottom: 48px;
}
.how-step {
  background: var(--black);
  padding: 40px 28px;
  position: relative;
  transition: background 0.3s;
}
.how-step:hover {
  background: var(--grey);
}
.how-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 20px;
}
.how-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--white);
}
.how-step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}
.how-cta {
  display: flex;
  justify-content: flex-start;
}

/* Home teaser variant */
.how-teaser {
  background: var(--grey);
}
.how-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  border: 1px solid var(--grey-mid);
  margin-bottom: 48px;
}
.how-teaser-step {
  background: var(--grey);
  padding: 40px 28px;
  transition: background 0.3s;
}
.how-teaser-step:hover {
  background: var(--black);
}
.how-teaser-step .how-num {
  color: rgba(255,255,255,0.08);
}

/* PLANS */
.plans-section { background: var(--grey); }
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--grey-mid);
  border: 1px solid var(--grey-mid);
}
.plan {
  background: var(--grey);
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}
.plan.featured { background: var(--black); }
.plan-badge {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--accent);
  padding: 5px 12px;
  margin-bottom: 28px;
  align-self: flex-start;
}
.plan-tier {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plan-price {
  font-family: var(--font-cond);
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 4px;
  line-height: 1;
}
.plan-price span {
  font-size: 16px;
  color: var(--muted);
}
.plan-period {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.plan-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 36px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.plan-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}
.plan-features li.active { color: var(--white); }
.plan-btn {
  display: block;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  transition: all 0.2s;
  cursor: none;
}
.plan-btn:hover,
.plan.featured .plan-btn {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* EVENTS */
/* EVENTS — Past | Upcoming split */
.events-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 100px;
}
.events-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-mid);
}

/* ─── PAST EVENTS CAROUSEL ─────────────────────────────────── */
.past-events-wrap {
  margin-bottom: 40px;
}
.past-events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.past-events-header .events-col-title {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.carousel-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.carousel-btn:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}
.carousel-btn span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--white);
  border-right: 1.5px solid var(--white);
}
#pastPrev span {
  transform: rotate(-135deg);
  margin-left: 3px;
}
#pastNext span {
  transform: rotate(45deg);
  margin-right: 3px;
}
.past-carousel {
  overflow: hidden;
  width: 100%;
}
.past-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}
.past-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.past-slide:hover {
  border-color: rgba(255,255,255,0.28);
}
.past-slide-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.past-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.past-slide:hover .past-slide-img img {
  transform: scale(1.04);
}
.past-slide-body {
  padding: 20px 22px 24px;
}
.past-slide-body .calendar-date {
  margin-bottom: 8px;
}
.past-slide-body .calendar-name {
  font-size: 18px;
  margin-bottom: 8px;
}
.past-slide-body .calendar-meta {
  margin-bottom: 10px;
}
.past-slide-body .calendar-recap {
  border-top: 1px solid var(--grey-mid);
  padding-top: 12px;
  margin-top: 2px;
  font-size: 12.5px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.carousel-dot.active {
  background: var(--white);
  border-color: var(--white);
}
.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calendar-card {
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  padding: 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.calendar-card:hover {
  border-color: rgba(255,255,255,0.25);
  background: var(--grey-mid);
}
.calendar-card.featured {
  border-color: rgba(255,255,255,0.35);
  background: linear-gradient(145deg, var(--grey-mid) 0%, var(--grey) 100%);
}
.calendar-date {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.calendar-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 10px;
}
.calendar-meta {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.calendar-recap {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,245,245,0.7);
  line-height: 1.65;
  border-top: 1px solid var(--grey-mid);
  padding-top: 12px;
  margin-top: 4px;
}
.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.calendar-actions a {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.calendar-actions a:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.calendar-actions a.primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.calendar-actions a.primary:hover {
  background: transparent;
  color: var(--white);
}
.calendar-poster {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid var(--grey-mid);
  display: block;
}
.formats-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-mid);
}
.formats-section .section-label { margin-bottom: 12px; }
.formats-section .section-title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 40px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--grey);
  cursor: none;
}
.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.7);
}
.event-card:hover img { transform: scale(1.06); }
.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.3) 55%, transparent 100%);
  z-index: 1;
}
.event-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
}
.event-tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.event-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}
.event-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ROADMAP */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--grey-mid);
  border: 1px solid var(--grey-mid);
}
.roadmap-phase {
  background: var(--black);
  padding: 52px 36px;
  position: relative;
  overflow: hidden;
}
.roadmap-phase::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.roadmap-phase:hover::after { transform: scaleX(1); }
.phase-month {
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 0.8;
  position: absolute;
  top: 16px;
  right: 20px;
}
.phase-label {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.phase-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.phase-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phase-items li {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.phase-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* COMMUNITY / GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}
.gallery-item:hover img { transform: scale(1.05); }

/* CTA */
.cta-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.cta-section.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-section.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.6) 45%, rgba(10,10,10,0.45) 100%);
  z-index: 0;
}
.cta-section.has-bg > * {
  position: relative;
  z-index: 1;
}
.cta-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.cta-eyebrow {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 700; /* Sora Bold — titles */
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 28px;
  position: relative;
}
.cta-title em {
  font-style: normal;
  color: var(--accent);
}
.cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.cta-section.has-bg .cta-sub {
  color: rgba(245,245,245,0.85);
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 16px;
  position: relative;
}

/* FOOTER */
footer {
  background: var(--grey);
  padding: 60px 48px 40px;
  border-top: 1px solid var(--grey-mid);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.1em;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.9;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--grey-mid);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(136,136,136,0.5);
  letter-spacing: 0.08em;
}
.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 160px 48px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero.has-bg {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.page-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.35) 100%);
  z-index: 0;
}
.page-hero.has-bg > * {
  position: relative;
  z-index: 1;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero .section-title { margin-bottom: 20px; }
.page-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}
.page-hero.has-bg .page-hero-sub {
  color: rgba(245,245,245,0.8);
}

/* Days-to-event badge (Planos, Eventos, Contacto) */
.days-badge {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 20px;
}
.page-hero.has-bg .days-badge {
  color: rgba(255,255,255,0.9);
}
.calendar-card .days-badge {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--accent);
}
.days-badge .js-days-to-event {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-right: 6px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.contact-item {
  margin-bottom: 28px;
}
.contact-item label {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.contact-item a, .contact-item p {
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--accent); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  cursor: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollDrop {
  0% { top: -100%; }
  100% { top: 200%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar { min-height: 400px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .past-slide {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 900px) {
  nav {
    padding: 12px 16px;
    gap: 8px;
  }
  .nav-logo {
    font-size: 14px;
    letter-spacing: 0.06em;
    gap: 8px;
  }
  .nav-logo img {
    height: 28px;
  }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .mobile-menu { display: flex; }
  .nav-right {
    gap: 8px;
  }
  .lang-toggle { margin-right: 0; }
  section, .page-hero { padding: 80px 24px; }
  .hero { padding: 0 24px 60px; }
  .hero-title { font-size: 64px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar {
    min-height: 420px;
    padding: 36px 20px 28px;
    overflow: hidden;
  }
  /* Face sits high in the photo — bias crop upward on short cards */
  .pillar:nth-child(4) {
    background-position: center 12%;
  }
  .pillar-num { font-size: 36px; }
  .pillar-title { font-size: 16px; }
  .pillar-desc {
    font-size: 12px;
    line-height: 1.65;
  }
  .plans-grid, .roadmap-grid, .events-grid, .how-grid, .how-teaser-grid { grid-template-columns: 1fr; }
  .events-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* On mobile: upcoming first (more urgent), then past */
  .events-split .col-past { order: 2; }
  .events-split .col-upcoming { order: 1; }
  .calendar-name { font-size: 20px; }
  .calendar-poster { max-width: 320px; margin-left: auto; margin-right: auto; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-large, .btn-large-outline { text-align: center; }
  .footer-links { flex-direction: column; gap: 28px; }

  /* Carousel mobile */
  .past-slide {
    flex: 0 0 85%;
  }
  .past-events-header {
    margin-bottom: 20px;
  }
  .past-slide-body {
    padding: 18px 18px 22px;
  }
  .past-slide-body .calendar-name {
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar {
    min-height: 340px;
    padding: 40px 24px 32px;
  }
  .pillar:nth-child(4) {
    background-position: center 18%;
  }
  .pillar-num { font-size: 40px; }
  .pillar-title { font-size: 17px; }
  .pillar-desc {
    font-size: 13px;
    line-height: 1.7;
  }
  .stats-strip { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .past-slide {
    flex: 0 0 92%;
  }
}
/* ─── LOJA / PRODUCTS ─────────────────────────────────────────────────────── */
.loja-section {
  padding: 0 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.22);
}
.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d0d0d;
  border-bottom: 1px solid var(--grey-mid);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.03);
}
.product-body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}
.product-body .btn-outline-thin {
  margin-top: auto;
}
.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  flex-grow: 1;
}
.product-price {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.product-price span {
  font-size: 13px;
  color: var(--muted);
  margin-left: 2px;
}
.product-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 10px;
  margin: 8px 0 4px;
}
.size-label,
.qty-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}
.product-meta .size-label,
.product-meta .qty-label {
  display: none; /* compact cards; aria-labels remain on controls */
}
.product-size {
  background: var(--black);
  border: 1px solid var(--grey-mid);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  padding: 0 28px 0 12px;
  border-radius: 2px;
  outline: none;
  cursor: none;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  line-height: 40px;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.product-size:focus {
  border-color: var(--accent);
}
.product-meta .qty-stepper {
  flex: 0 0 auto;
}
.btn-outline-thin {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: none;
}
.btn-outline-thin:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.btn-outline-thin.added {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* Checkout */
.checkout-section {
  padding: 80px 48px 100px;
  border-top: 1px solid var(--grey-mid);
  max-width: 1400px;
  margin: 0 auto;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.checkout-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  line-height: 1.15;
}
.cart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--grey-mid);
  margin-bottom: 20px;
  min-height: 80px;
}
.cart-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 13.5px;
  font-weight: 300;
}
.cart-list li:last-child {
  border-bottom: none;
}
.cart-empty {
  color: var(--muted);
  justify-content: center !important;
  padding: 28px 18px !important;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-name {
  font-weight: 400;
  letter-spacing: 0.03em;
}
.cart-item-meta {
  font-size: 12px;
  color: var(--muted);
}
.cart-item-price {
  white-space: nowrap;
  font-weight: 400;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  cursor: none;
  transition: color 0.15s;
}
.cart-item-remove:hover {
  color: var(--white);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-top: 4px;
}
.cart-total-row strong {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
}
.cart-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.checkout-form .form-group {
  margin-bottom: 18px;
}
.checkout-wa-btn {
  width: 100%;
  text-align: center;
  border: none;
  margin-top: 8px;
  cursor: none;
}
.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* Sticky mobile cart bar */
.mobile-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--grey-mid);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-cart-bar.visible {
  display: flex;
}
.mobile-cart-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mobile-cart-count {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.mobile-cart-total {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.mobile-cart-btn {
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--white);
  padding: 12px 18px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.mobile-cart-btn:hover,
.mobile-cart-btn:active {
  background: var(--accent-soft);
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .loja-section {
    padding: 0 16px 100px; /* room for sticky bar */
  }
  .checkout-section {
    padding: 48px 16px calc(100px + env(safe-area-inset-bottom, 0px));
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    border-radius: 0;
  }
  .product-img-wrap {
    aspect-ratio: 1 / 1.05;
  }
  .product-body {
    padding: 14px 12px 16px;
    gap: 6px;
  }
  .product-name {
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }
  .product-desc {
    display: none; /* cleaner cards on mobile — name + price lead */
  }
  .product-price {
    font-size: 16px;
    margin-top: 2px;
  }
  .product-price span {
    font-size: 11px;
  }
  .product-meta {
    gap: 8px;
    margin: 6px 0 2px;
    flex-wrap: nowrap;
  }
  .product-size {
    font-size: 14px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    line-height: 40px;
    padding: 0 26px 0 10px;
    width: auto;
    flex: 1 1 0;
  }
  .product-meta .qty-stepper {
    height: 40px;
    width: 96px;
    flex: 0 0 96px;
  }
  .btn-outline-thin {
    margin-top: 8px;
    padding: 12px 10px;
    font-size: 10px;
    letter-spacing: 0.14em;
    min-height: 44px;
  }
  .product-body {
    display: flex;
    flex-direction: column;
  }
  .product-body .btn-outline-thin {
    margin-top: auto;
  }
  .checkout-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .cart-list li {
    padding: 14px 14px;
    gap: 10px;
    font-size: 13px;
  }
  .cart-item-remove {
    min-width: 36px;
    min-height: 36px;
    font-size: 22px;
  }
  .checkout-form .form-group input,
  .checkout-form .form-group textarea {
    font-size: 16px; /* no iOS zoom */
    padding: 14px 14px;
    min-height: 48px;
  }
  .checkout-form .form-group textarea {
    min-height: 100px;
  }
  .checkout-wa-btn {
    min-height: 52px;
    padding: 16px 20px;
    font-size: 13px;
  }
  /* Show sticky bar only on mobile shop pages when cart has items */
  body.has-mobile-cart .mobile-cart-bar.visible {
    display: flex;
  }
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-body {
    padding: 12px 10px 14px;
  }
  .product-name {
    font-size: 11px;
  }
  .product-price {
    font-size: 15px;
  }
  .loja-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .checkout-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mobile-cart-btn {
    padding: 12px 14px;
    font-size: 10px;
  }
}
/* Very small phones — keep size + qty on one row */
@media (max-width: 380px) {
  .products-grid {
    gap: 8px;
  }
  .product-meta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 6px;
  }
  .product-size {
    flex: 1 1 0;
    min-width: 0;
    font-size: 13px;
    padding-right: 22px;
  }
  .product-meta .qty-stepper {
    width: 90px;
    flex: 0 0 90px;
  }
}


/* Touch: restore normal cursor, hide custom cursor dots */
@media (hover: none), (pointer: coarse) {
  body, a, button, input, select, textarea, .plan-btn, .btn-outline-thin, .qty-btn {
    cursor: auto !important;
  }
  .cursor,
  .cursor-ring {
    display: none !important;
  }
}

/* ─── QTY STEPPER ─────────────────────────────────────────────────────────── */
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--grey-mid);
  border-radius: 2px;
  overflow: hidden;
  height: 40px;
  width: 108px;
  flex: 0 0 108px;
  box-sizing: border-box;
}
.qty-btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: auto;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  cursor: none;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.qty-btn:hover,
.qty-btn:active {
  background: rgba(255,255,255,0.08);
}
.qty-stepper .product-qty,
.qty-stepper .qty-value {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: auto;
  border: none;
  border-left: 1px solid var(--grey-mid);
  border-right: 1px solid var(--grey-mid);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
  outline: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.qty-stepper .product-qty::-webkit-outer-spin-button,
.qty-stepper .product-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart qty stepper inside panel/checkout — fixed compact size */
.cart-qty-stepper {
  margin-top: 10px;
  height: 32px !important;
  max-height: 32px;
  width: 96px !important;
  flex: 0 0 96px !important;
  align-self: flex-start;
}
.cart-qty-stepper .qty-btn {
  font-size: 15px;
  height: 32px;
  flex: 1 1 0;
}
.cart-qty-stepper .qty-value {
  font-size: 13px;
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── CART PANEL (drawer) ─────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cart-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  height: 100dvh;
  background: var(--black);
  border-left: 1px solid var(--grey-mid);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cart-panel.open {
  transform: translateX(0);
}
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--grey-mid);
  flex-shrink: 0;
}
.cart-panel-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cart-panel-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--grey-mid);
  background: transparent;
  position: relative;
  cursor: none;
  flex-shrink: 0;
}
.cart-panel-close span {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1px;
  background: var(--white);
}
.cart-panel-close span:first-child {
  transform: rotate(45deg);
}
.cart-panel-close span:last-child {
  transform: rotate(-45deg);
}
.cart-panel-list {
  list-style: none;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}
.cart-panel-list li,
.checkout-cart-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 13.5px;
  font-weight: 300;
}
.cart-panel-list .cart-empty,
.checkout-cart-list .cart-empty {
  justify-content: center;
  color: var(--muted);
  padding: 48px 24px;
  border-bottom: none;
}
.cart-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 14px;
}
.cart-item-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--grey-mid);
  background: #0d0d0d;
  overflow: hidden;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cart-item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.cart-item-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.cart-line .cart-item-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-item-name {
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.cart-item-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.cart-line .cart-item-price {
  flex: 0 0 auto;
  font-weight: 400;
  font-size: 13px;
  white-space: nowrap;
  padding-top: 1px;
}
.cart-line .cart-item-remove {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: -4px -4px 0 0;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  cursor: none;
  padding: 0;
}
.cart-line .cart-item-remove:hover {
  color: var(--white);
}
.checkout-cart-list .cart-item-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}
@media (max-width: 600px) {
  .cart-item-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
  .checkout-cart-list .cart-item-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }
  .cart-panel-list li,
  .checkout-cart-list li {
    padding: 14px 16px;
  }
}
.cart-panel-footer {
  flex-shrink: 0;
  padding: 20px 20px 24px;
  border-top: 1px solid var(--grey-mid);
  background: var(--grey);
}
.cart-panel-footer .cart-total-row {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.cart-panel-footer .cart-total-row strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}
.cart-panel-footer .cart-note {
  margin-bottom: 16px;
  font-size: 11px;
  line-height: 1.45;
}
.cart-panel-checkout {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border: none;
  margin-bottom: 8px;
  padding: 15px 16px;
  min-height: 48px;
}
.cart-panel-continue {
  width: 100%;
  margin-top: 0;
  background: transparent !important;
  color: var(--muted) !important;
  border: 1px solid var(--grey-mid) !important;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.cart-panel-continue:hover,
.cart-panel-continue:active {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.35) !important;
  background: transparent !important;
}

/* Checkout page extras */
.checkout-page {
  padding-top: 20px;
}
.checkout-back-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.checkout-back-link:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.3);
}
.checkout-cart-list {
  list-style: none;
  border: 1px solid var(--grey-mid);
  margin-bottom: 20px;
  min-height: 80px;
}

@media (max-width: 900px) {
  .qty-stepper {
    height: 40px;
    width: 96px;
    flex: 0 0 96px;
  }
  .qty-btn {
    font-size: 18px;
  }
  .qty-stepper .product-qty,
  .qty-stepper .qty-value {
    font-size: 14px;
  }
  .cart-qty-stepper {
    width: 96px !important;
    flex: 0 0 96px !important;
    height: 32px !important;
    max-height: 32px;
  }
  .cart-panel {
    width: 100%;
  }
  .cart-panel-header {
    padding: 16px 16px;
  }
  .cart-panel-list li {
    padding: 14px 16px;
  }
  .cart-panel-footer {
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .cart-panel-checkout {
    min-height: 48px;
  }
  .mobile-cart-btn {
    cursor: pointer;
    border: none;
    font-family: inherit;
  }
}
