/* ==========================================================================
   KAYAN LOJA - Identidade Visual & Design System
   Fragrâncias Premium, iPhones e Acessórios - São Paulo, SP
   ========================================================================== */

/* 1. Fonte Auto-Hospedada (Woff2 Única) */
@font-face {
  font-family: 'KayanSans';
  src: url('assets/fonts/font.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens de Design (Ouro Brilhante, Preto e Branco Premium) */
:root {
  --color-gold-bright: #F5C542;
  --color-gold-core: #E6B83B;
  --color-gold-deep: #C79724;
  --color-gold-glow: rgba(245, 197, 66, 0.35);
  --color-gold-subtle: rgba(230, 184, 59, 0.15);
  --color-gold-border: rgba(230, 184, 59, 0.28);
  --color-gold-border-hover: rgba(245, 197, 66, 0.65);

  --bg-black: #000000;
  --bg-black-soft: #080808;
  --bg-black-surface: #0e0e0e;

  --bg-white: #FFFFFF;
  --bg-white-soft: #F9F9F8;
  --bg-white-surface: #FFFFFF;

  --text-light-high: #FFFFFF;
  --text-light-mid: #D6D6D6;
  --text-light-dim: #A0A0A0;

  --text-dark-high: #000000;
  --text-dark-mid: #222222;
  --text-dark-dim: #555555;

  --font-family: 'KayanSans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-light-high);
  font-family: var(--font-family);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Controlado via Lenis */
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden !important;
  line-height: 1.5;
  background-color: var(--bg-black);
}

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

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

ul, ol {
  list-style: none;
}

button, input {
  font-family: inherit;
}

/* 4. Container Universal */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 5. Barra Superior Minimalista */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 184, 59, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand .brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-light-high);
  text-transform: uppercase;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  background: var(--color-gold-bright);
  color: #000000;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #FFE066;
  box-shadow: 0 4px 15px var(--color-gold-glow);
}

/* 6. Botões Globais & Shiny Sweep Glow */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  background: var(--color-gold-bright);
  color: #000000;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--color-gold-glow);
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #FFE270;
  box-shadow: 0 10px 32px var(--color-gold-glow);
}

/* Shiny Sweep Glow Automático Contínuo */
.gold-sweep .btn-sweep-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: shineSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shineSweep {
  0% { left: -120%; }
  30%, 100% { left: 180%; }
}

/* 7. Seção 1: Hero (Preto Premium) */
.section-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 80px;
  background-color: var(--bg-black);
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(230, 184, 59, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-logo-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  mix-blend-mode: screen;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-light-high);
  margin-bottom: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-bio {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--color-gold-bright);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-light-mid);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-black-soft));
  pointer-events: none;
  z-index: 1;
}

/* 8. Seção 2: Esteira de Produtos (Preto / Dourado) */
.section-track {
  position: relative;
  background-color: var(--bg-black-soft);
  padding: 60px 0 90px;
  overflow: hidden;
}

.track-header {
  text-align: center;
  margin-bottom: 40px;
}

.track-tag, .category-tag, .location-tag, .contact-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-title.text-light { color: var(--text-light-high); }
.section-title.text-dark { color: var(--text-dark-high); }

.section-description {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

.section-description.text-light-dim { color: var(--text-light-dim); }
.section-description.text-dark-dim { color: var(--text-dark-dim); }

/* Viewport & Track da Esteira */
.marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  padding: 10px 0;
}

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

.product-item {
  position: relative;
  flex: 0 0 280px;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-black-surface);
  border: 1px solid var(--color-gold-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-bright);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .product-img {
  transform: scale(1.04);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay,
.product-item:focus-within .product-overlay {
  opacity: 1;
}

.btn-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-gold-bright);
  color: #000000;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px var(--color-gold-glow);
  transition: var(--transition-smooth);
}

.btn-product:hover {
  background: #FFE270;
  transform: scale(1.03);
}

/* 9. Seção 3: Categorias (Branco Premium) */
.section-categories {
  position: relative;
  background-color: var(--bg-white);
  color: var(--text-dark-high);
  padding: 100px 0;
  transition: background-color 0.4s ease;
}

.section-intro {
  margin-bottom: 50px;
}

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

.category-card {
  position: relative;
  background: var(--bg-white-surface);
  border: 1px solid rgba(230, 184, 59, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-core);
  box-shadow: 0 16px 40px rgba(230, 184, 59, 0.12);
}

.category-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-gold {
  color: var(--color-gold-deep);
}

.category-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark-high);
  margin-bottom: 12px;
}

.category-text {
  font-size: 0.98rem;
  color: var(--text-dark-dim);
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.btn-category {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  background: var(--color-gold-bright);
  color: #000000;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 4px 18px var(--color-gold-glow);
  transition: var(--transition-smooth);
}

.btn-category:hover {
  background: #FFE270;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-gold-glow);
}

/* 10. Seção 4: Envios (Preto Premium) */
.section-shipping {
  position: relative;
  background-color: var(--bg-black);
  padding: 90px 0;
  text-align: center;
}

.shipping-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 30px;
  background: var(--bg-black-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shipping-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.shipping-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-light-high);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.shipping-sub {
  font-size: 1.05rem;
  color: var(--text-light-dim);
  max-width: 520px;
  margin-bottom: 32px;
}

/* 11. Seção 5: Loja Física e Horário (Branco Premium) */
.section-location {
  position: relative;
  background-color: var(--bg-white-soft);
  color: var(--text-dark-high);
  padding: 100px 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.location-col {
  background: var(--bg-white);
  border: 1px solid rgba(230, 184, 59, 0.35);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.address-full {
  font-size: 1.15rem;
  color: var(--text-dark-mid);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 500;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: #000000;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(230, 184, 59, 0.4);
  transition: var(--transition-smooth);
}

.btn-maps:hover {
  background: var(--color-gold-bright);
  color: #000000;
  border-color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gold-glow);
}

.hours-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark-high);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(230, 184, 59, 0.3);
  font-size: 0.98rem;
}

.day-label {
  font-weight: 600;
  color: var(--text-dark-high);
}

.time-label {
  color: var(--text-dark-dim);
  font-weight: 500;
}

.hours-item.is-closed .time-label {
  color: #BA1A1A;
  font-weight: 700;
  text-transform: capitalize;
}

/* 12. Seção 6: Contato (Preto Premium) */
.section-contact {
  position: relative;
  background-color: var(--bg-black-soft);
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-black-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-bright);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.contact-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light-high);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 1rem;
  color: var(--color-gold-bright);
  margin-bottom: 24px;
  word-break: break-all;
}

.btn-contact-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.btn-contact-outline:hover {
  background: var(--color-gold-bright);
  color: #000000;
  border-color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--color-gold-glow);
}

/* 13. Rodapé Oficial */
.footer {
  background-color: var(--bg-black);
  border-top: 1px solid rgba(230, 184, 59, 0.2);
  padding: 50px 0 30px;
  color: var(--text-light-dim);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-light-high);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-bio {
  color: var(--color-gold-bright);
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-address {
  color: var(--text-light-mid);
  font-size: 0.92rem;
}

.footer-meta {
  text-align: right;
}

.footer-copy {
  margin-bottom: 4px;
}

.footer-loc {
  color: var(--color-gold-bright);
  font-weight: 600;
}

/* 14. Responsividade Total (Mobile-First / Breakpoints) */
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  .nav-cta {
    height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero-logo-wrap {
    width: 170px;
    height: 170px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-item {
    flex: 0 0 210px;
    height: 280px;
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  .btn-primary {
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    font-size: 0.95rem;
  }

  .location-col {
    padding: 28px 20px;
  }

  .shipping-box {
    padding: 36px 18px;
  }
}

/* 15. Acessibilidade & Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .gold-sweep .btn-sweep-shine {
    display: none;
  }
}
