/* ==========================================================================
   TRICCY — MODA FEMININA EM TRICÔ
   Paleta: Preto Premium, Branco Premium, Verde Folha, Detalhes Marrom
   Tipografia: Plus Jakarta Sans (Self-hosted WOFF2)
   Zero cinza neutro, zero azul.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-700.woff2') format('woff2');
}

:root {
  --bg-black: #08090a;
  --bg-black-soft: #0d0f11;
  --bg-white: #fcfcfb;
  --bg-white-soft: #f7f6f2;
  
  --text-light: #f5f5f3;
  --text-light-muted: #b8bcb6;
  --text-dark: #121413;
  --text-dark-muted: #4e544c;
  
  --green-leaf: #2e6b2c;
  --green-leaf-light: #3e853c;
  --green-leaf-glow: rgba(46, 107, 44, 0.4);
  --green-leaf-subtle: rgba(46, 107, 44, 0.12);
  
  --brown-accent: #7a5230;
  --brown-subtle: rgba(122, 82, 48, 0.25);
  --brown-border: rgba(122, 82, 48, 0.35);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

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

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

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ==========================================================================
   BOTÃO CANÔNICO SHINY SWEEP GLOW
   ========================================================================== */
.btn-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  min-height: 52px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-leaf) 0%, var(--green-leaf-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 24px -6px var(--green-leaf-glow);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  z-index: 1;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  animation: shinySweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 16px 32px -4px var(--green-leaf-glow);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.985);
}

.btn-whatsapp.btn-sm {
  padding: 12px 24px;
  font-size: 0.9rem;
  min-height: 44px;
}

.btn-icon-wa {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

@keyframes shinySweep {
  0% {
    left: -100%;
  }
  20%, 100% {
    left: 200%;
  }
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 9, 10, 0.75);
  border-bottom: 1px solid rgba(122, 82, 48, 0.2);
  transition: background 0.3s ease;
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.header-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-leaf);
  box-shadow: 0 0 8px var(--green-leaf);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  min-height: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--green-leaf);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.header-cta:hover {
  background: var(--green-leaf-light);
  transform: scale(1.02);
}

/* ==========================================================================
   1. HERO (FUNDO PRETO PREMIUM)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px 24px 90px;
  background: radial-gradient(circle at 50% 35%, #151916 0%, var(--bg-black) 72%);
  overflow: hidden;
}

.hero-glow-layer {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(46, 107, 44, 0.16) 0%, transparent 68%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

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

.hero-logo-wrap {
  width: 100%;
  max-width: 380px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 902 / 470;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.8));
}

.hero-tagline {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.hero-tagline .accent-green {
  color: var(--green-leaf-light);
}

.hero-support-line {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-light-muted);
  font-weight: 400;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-badge-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-muted);
  border: 1px solid var(--brown-border);
  border-radius: 9999px;
  background: rgba(122, 82, 48, 0.1);
}

/* Transição contínua da Hero para a esteira */
.hero-transition-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-black-soft) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   2. ESTEIRA DE PRODUTOS (GSAP CONTINUOUS TICKER)
   ========================================================================== */
.marquee-section {
  position: relative;
  background-color: var(--bg-black-soft);
  padding: 50px 0 80px;
  overflow: hidden;
}

.marquee-header {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 24px;
}

.marquee-header-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-leaf-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.marquee-header-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-light);
}

.marquee-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  touch-action: pan-y;
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.marquee-card {
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--bg-black);
  border: 1px solid var(--brown-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--transition-smooth), border-color 0.3s ease;
}

@media (max-width: 600px) {
  .marquee-card {
    flex: 0 0 210px;
    height: 290px;
    border-radius: 14px;
  }
}

.marquee-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.marquee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 10, 0.9) 0%, rgba(8, 9, 10, 0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.marquee-card:hover .marquee-overlay,
.marquee-card:focus-within .marquee-overlay {
  opacity: 1;
}

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

.marquee-card:hover {
  border-color: var(--green-leaf-light);
  transform: translateY(-4px);
}

/* Transição contínua da esteira para a seção branca */
.marquee-to-white-transition {
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg-black-soft) 0%, var(--bg-white) 100%);
}

/* ==========================================================================
   3. CATEGORIAS (FUNDO BRANCO PREMIUM)
   ========================================================================== */
.categories-section {
  position: relative;
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 80px 0 100px;
  transition: background-color 0.3s ease;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 54px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-leaf);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.2;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.category-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(122, 82, 48, 0.22);
  border-radius: 20px;
  padding: 30px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-leaf);
  box-shadow: 0 20px 40px rgba(46, 107, 44, 0.1);
}

.category-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-color: var(--green-leaf-subtle);
  border: 1px solid rgba(46, 107, 44, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-leaf);
  margin-bottom: 20px;
}

.category-icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.category-desc {
  font-size: 0.92rem;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.category-card .btn-whatsapp {
  width: 100%;
}

/* Transição contínua de Branco para Preto */
.white-to-black-transition {
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-black) 100%);
}

/* ==========================================================================
   4. INSPIRAÇÃO E COLEÇÃO (FUNDO PRETO PREMIUM)
   ========================================================================== */
.inspiration-section {
  position: relative;
  background-color: var(--bg-black);
  color: var(--text-light);
  padding: 80px 0 110px;
  overflow: hidden;
}

.inspiration-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

@media (max-width: 860px) {
  .inspiration-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.inspiration-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.inspiration-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.inspiration-title .highlight-green {
  color: var(--green-leaf-light);
}

.inspiration-lead {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.inspiration-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 38px;
  width: 100%;
}

.inspiration-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background-color: var(--bg-black-soft);
  border: 1px solid var(--brown-border);
  border-radius: 12px;
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  color: var(--green-leaf-light);
  flex-shrink: 0;
}

.feature-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}

.inspiration-card-box {
  background: linear-gradient(145deg, #101214 0%, #090a0c 100%);
  border: 1px solid var(--brown-border);
  border-radius: 24px;
  padding: 38px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(122, 82, 48, 0.25);
}

.location-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-leaf-light);
  font-weight: 700;
}

.location-city {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-light);
}

.location-detail {
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

.direct-actions-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--brown-border);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--green-leaf-light);
  transform: translateY(-2px);
}

.instagram-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   5. RODAPÉ (FUNDO PRETO PREMIUM)
   ========================================================================== */
.site-footer {
  background-color: #040506;
  border-top: 1px solid rgba(122, 82, 48, 0.2);
  padding: 50px 0 40px;
  text-align: center;
  color: var(--text-light-muted);
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer-bio {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--green-leaf-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: #72776f;
}

/* ==========================================================================
   PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .btn-whatsapp::before {
    animation: none !important;
    display: none !important;
  }
}
