/* ==========================================================================
   HYPE FELLAS — Streetwear Itaúna, MG
   Design Tokens & Estilo Canônico
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Cores Oficiais */
  --color-black-pure: #050505;
  --color-black-deep: #0a0a0c;
  --color-black-surface: #121214;
  --color-white-pure: #ffffff;
  --color-white-off: #f4f4f6;
  --color-white-surface: #ffffff;
  
  /* Vermelho de Destaque */
  --color-red: #ff1f1f;
  --color-red-glow: rgba(255, 31, 31, 0.35);
  --color-red-border: rgba(255, 31, 31, 0.45);
  --color-red-hover: #e50b0b;

  /* Geometria e Ritmo */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 9999px;
  --container-max: 1140px;
  --header-height: 56px;
  
  /* Transições Suaves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Universal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--color-black-pure);
  color: var(--color-white-pure);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--color-black-pure);
  font-size: 16px;
  line-height: 1.5;
}

/* Tipografia */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  font-weight: 400;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilitário */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Botões Canônicos com Shiny Sweep Glow */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  background-color: var(--color-red);
  color: var(--color-white-pure);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-red-glow);
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shinySweep 3.5s infinite ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 31, 31, 0.6);
  background-color: var(--color-red-hover);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  background-color: transparent;
  color: var(--color-white-pure);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-red-border);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: rgba(255, 31, 31, 0.12);
  border-color: var(--color-red);
  transform: translateY(-1px);
}

@keyframes shinySweep {
  0% {
    left: -100%;
  }
  35% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ==========================================================================
   Barra Superior / Header Minimalista
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 31, 31, 0.2);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white-pure);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-red);
  box-shadow: 0 0 10px var(--color-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-insta-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white-off);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.header-insta-link:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.header-cta {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   Hero Section (Preto Premium)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-black-pure);
  overflow: hidden;
}

/* Efeito de Parallax de Fundo */
.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-radial {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 31, 31, 0.12) 0%, transparent 68%);
  border-radius: 50%;
  filter: blur(40px);
}

.hero-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 16vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.018);
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
}

.hero-logo-wrap {
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.8));
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-red-border);
  background: rgba(18, 18, 20, 0.7);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white-off);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-pill-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-red);
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white-pure);
  margin-bottom: 14px;
  line-height: 1.12;
}

.hero-title span {
  color: var(--color-red);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--color-white-off);
  opacity: 0.85;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hero-cta-btn {
  width: 100%;
  max-width: 320px;
  font-size: 16px;
  min-height: 52px;
}

.hero-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

/* Transição de Fundo Suave da Hero para Esteira */
.hero-transition-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--color-black-deep) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Esteira de Produtos (Faixa Horizontal Infinita GSAP)
   ========================================================================== */
.showcase-section {
  position: relative;
  background-color: var(--color-black-deep);
  padding-top: 50px;
  padding-bottom: 90px;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-white-pure);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Trilho da Esteira */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  cursor: grab;
  padding: 15px 0;
}

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

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

/* Item da Esteira */
.product-card {
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  background-color: var(--color-black-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-red-border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.product-card-btn {
  pointer-events: auto;
  transform: translateY(12px);
  transition: transform 0.3s var(--ease-out-expo);
  font-size: 13px;
  padding: 10px 20px;
  min-height: 42px;
}

.product-card:hover .product-card-overlay,
.product-card:focus-within .product-card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-card:hover .product-card-btn,
.product-card:focus-within .product-card-btn {
  transform: translateY(0);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card:hover {
  border-color: var(--color-red);
}

/* ==========================================================================
   Seção Atendimento & Serviços (Branco Premium com Detalhes Vermelhos)
   Alternância limpa e contínua
   ========================================================================== */
.service-section {
  position: relative;
  background-color: var(--color-white-pure);
  color: var(--color-black-deep);
  padding: 90px 0;
  transition: background-color 0.3s ease;
}

/* Transição suave do topo da seção branca */
.service-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, var(--color-black-deep) 0%, var(--color-white-pure) 100%);
  pointer-events: none;
}

.service-section .section-title {
  color: var(--color-black-deep);
}

.service-section .section-desc {
  color: #333333;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--color-white-surface);
  border: 1px solid rgba(255, 31, 31, 0.35);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-red);
  box-shadow: 0 14px 40px rgba(255, 31, 31, 0.12);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 31, 31, 0.08);
  border: 1px solid rgba(255, 31, 31, 0.2);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-black-deep);
  margin-bottom: 8px;
}

.service-card-text {
  font-size: 15px;
  color: #444444;
  margin-bottom: 24px;
  line-height: 1.5;
}

.service-card-action {
  margin-top: auto;
}

.service-card .btn-primary {
  width: 100%;
}

.service-card .btn-secondary {
  width: 100%;
  color: var(--color-black-deep);
  border-color: rgba(255, 31, 31, 0.5);
}

.service-card .btn-secondary:hover {
  background-color: rgba(255, 31, 31, 0.08);
  border-color: var(--color-red);
}

/* ==========================================================================
   Seção CTA Final (Preto Premium)
   ========================================================================== */
.final-cta-section {
  position: relative;
  background-color: var(--color-black-pure);
  color: var(--color-white-pure);
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

/* Transição suave descendo da seção branca para a preta */
.final-cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, var(--color-white-pure) 0%, var(--color-black-pure) 100%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px;
  background: radial-gradient(circle at center, rgba(255, 31, 31, 0.08) 0%, rgba(10, 10, 12, 0.8) 70%);
  border: 1px solid var(--color-red-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.cta-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-subtext {
  font-size: 16px;
  color: var(--color-white-off);
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-main-btn {
  width: 100%;
  max-width: 340px;
  min-height: 54px;
  font-size: 16px;
}

/* ==========================================================================
   Rodapé Minimalista
   ========================================================================== */
.site-footer {
  background-color: var(--color-black-pure);
  border-top: 1px solid rgba(255, 31, 31, 0.2);
  padding: 40px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-weight: 700;
  color: var(--color-white-pure);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-link {
  color: var(--color-white-off);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-red);
}

/* ==========================================================================
   Mobile-First Ajustes e Responsividade
   ========================================================================== */
@media (max-width: 480px) {
  .hero-logo-wrap {
    width: 150px;
    height: 150px;
    margin-bottom: 16px;
  }

  .product-card {
    flex: 0 0 240px;
    height: 330px;
  }

  .header-insta-link {
    display: none;
  }

  .service-card {
    padding: 24px 18px;
  }

  .cta-box {
    padding: 32px 16px;
  }
}

/* Acessibilidade — Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn-primary::before {
    display: none !important;
  }
  .marquee-track {
    animation: none !important;
    transform: none !important;
  }
}
