/* ==========================================================================
   WGSTOREE — Design System & Stylesheet (v2)
   Identity: Black & Orange (Zero Neutral Gray / Zero Blue)
   Typography: Self-hosted Inter (Clean, legible sans-serif for Display & Body)
   Motion Engine: GSAP + ScrollTrigger + Lenis (Entrance-only animations)
   ========================================================================== */

/* 1. Font Face (Self-hosted Inter woff2 - weights 400..900) */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Custom Properties (Tokens) */
:root {
  --bg-pure: #040404;
  --bg-primary: #070708;
  --bg-surface: #0d0d0f;
  --bg-card: #09090b;
  
  --brand-orange: #ff5500;
  --brand-orange-hover: #ff6a1a;
  --brand-orange-deep: #cc4400;
  --brand-orange-glow: rgba(255, 85, 0, 0.45);
  --brand-orange-subtle: rgba(255, 85, 0, 0.12);
  --brand-border: rgba(255, 85, 0, 0.28);
  --brand-border-focus: rgba(255, 85, 0, 0.7);
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.45);
  
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 3. Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg-pure);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Continuous background lighting / glow fields */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

/* 4. Default State (Always Visible by Default - Zero FOUC, never disappears) */
.gsap-reveal,
.gsap-fade {
  opacity: 1;
  transform: none;
}

/* 5. Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(4, 4, 4, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 85, 0, 0.14);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 56px;
  }
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.3));
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.brand-title span {
  color: var(--brand-orange);
}

.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-orange);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: var(--brand-orange);
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brand-orange-glow);
}

@media (max-width: 480px) {
  .header-status-pill {
    display: none;
  }
  .header-cta-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

/* 6. Hero Section */
.hero-section {
  padding-top: 130px;
  padding-bottom: 70px;
  position: relative;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 96px;
    padding-bottom: 48px;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 980px;
  margin: 0 auto 20px;
}

.hero-title .highlight-orange {
  color: var(--brand-orange);
  text-shadow: 0 0 35px var(--brand-orange-glow);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 320px));
  justify-content: center;
  gap: 20px;
  margin: 0 auto 40px;
}

@media (max-width: 640px) {
  .hero-actions-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 14px;
  }
}

/* Shiny Sweep Glow Button */
.btn-primary-action {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--brand-orange);
  color: #000000;
  border: 1px solid var(--brand-orange-hover);
  box-shadow: 0 8px 30px rgba(255, 85, 0, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn-primary-action:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 40px rgba(255, 85, 0, 0.55);
}

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

.btn-primary-action::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(25deg);
  animation: sweepGlow 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweepGlow {
  0% { left: -80%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

.hero-highlights-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-highlight-item svg {
  color: var(--brand-orange);
}

/* 7. Brands Ticker */
.brands-ticker-section {
  padding: 24px 0;
  background: #08080a;
  border-top: 1px solid rgba(255, 85, 0, 0.16);
  border-bottom: 1px solid rgba(255, 85, 0, 0.16);
  overflow: hidden;
  position: relative;
}

.ticker-mask {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  animation: tickerLoop 24s linear infinite;
  will-change: transform;
}

.brands-ticker-section:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px var(--brand-orange);
}

/* 8. Portfolio Carousel (Esteira) */
.portfolio-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
}

.esteira-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 10px 0;
}

.esteira-wrapper:active {
  cursor: grabbing;
}

.esteira-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.portfolio-card {
  flex: 0 0 280px;
  width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

@media (max-width: 640px) {
  .portfolio-card {
    flex: 0 0 240px;
    width: 240px;
  }
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange);
  box-shadow: 0 16px 36px var(--brand-orange-subtle);
}

.portfolio-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

/* 9. Hub de Links Oficiais */
.links-hub-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-pure) 0%, #0a0a0c 50%, var(--bg-pure) 100%);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.link-action-card {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.link-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-orange);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-action-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: 0 14px 40px rgba(255, 85, 0, 0.18);
}

.link-action-card:hover::before {
  opacity: 1;
}

.link-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.link-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.link-action-card:hover .link-card-icon {
  background: var(--brand-orange);
  color: #000000;
  transform: scale(1.05);
}

.link-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.link-card-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.link-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease;
}

.link-action-card:hover .link-card-arrow {
  transform: translateX(4px);
  background: var(--brand-orange);
  color: #000000;
}

/* 10. Store Info & Hours */
.store-info-section {
  padding: 80px 0;
  position: relative;
}

.store-info-box {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .store-info-box {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 30px;
  }
}

.store-detail-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.store-detail-title span {
  color: var(--brand-orange);
}

.store-address-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.store-address-block svg {
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.hours-card {
  background: rgba(255, 85, 0, 0.04);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.hours-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 85, 0, 0.1);
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-day {
  color: var(--text-primary);
  font-weight: 600;
}

.hours-time {
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 11. FAQ Accordion */
.faq-section {
  padding: 80px 0;
  position: relative;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--brand-orange);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  background: transparent;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-orange);
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--brand-orange);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 12. Footer */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 85, 0, 0.18);
  background: #030304;
  position: relative;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-brand span {
  color: var(--brand-orange);
}

.footer-bio-text {
  max-width: 540px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer-link-item {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link-item:hover {
  color: var(--brand-orange);
}

.footer-copy-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 85, 0, 0.1);
  width: 100%;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* 13. Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  
  .gsap-reveal, .gsap-fade {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .ticker-track {
    animation: none !important;
  }
  
  .esteira-wrapper {
    overflow-x: auto !important;
  }
  
  .esteira-track {
    transform: none !important;
  }
}
